:root {
    --primary: #2563EB;
    --secondary: #1E40AF;
    --accent: #06B6D4;
    --success: #10B981;
    --dark: #0F172A;
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
    --text-muted: #475569;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--dark);
    line-height: 1.6;
    padding-bottom: 50px;
}

/* Typography & Colors */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-weight: 400;
    color: var(--text-muted);
}

.text-primary-custom { color: var(--primary); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-custom-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.btn-custom-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
    color: var(--white);
}

.btn-custom-secondary {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--primary);
    border: 2px solid rgba(37, 99, 235, 0.2);
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Glassmorphism & Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(37, 99, 235, 0.3);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-box {
    transform: scale(1.1);
}

/* Sticky Header */
.navbar-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-custom .nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 12px;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.navbar-custom .nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.05), transparent 40%);
}

.hero-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.15));
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
    100% { transform: translate(0, 0); }
}

.hero-shape-1 { top: -150px; right: -150px; }
.hero-shape-2 { bottom: -150px; left: -150px; animation-delay: -5s; }

.check-list li {
    list-style: none;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1.05rem;
}

.check-list li i {
    color: var(--success);
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    border: 2px dashed #cbd5e1;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { left: 200%; }
}

.hero-placeholder { height: 450px; border-radius: 24px; }
.dashboard-preview-placeholder { height: 280px; border-radius: 20px; }

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    opacity: 0.3;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--white);
    border: 5px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
}

.left { left: 0; }
.right { left: 50%; }
.right::after { left: -12px; }

.timeline-content {
    padding: 24px;
    background-color: var(--white);
    position: relative;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    padding: 20px 24px;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.05));
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 160px 0 60px !important;
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }

    .hero-placeholder {
        margin-top: 40px;
        height: 350px;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    h1.display-4, h1.display-5 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 180px 0 50px !important;
    }
    
    .btn-custom-primary, .btn-custom-secondary {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        display: block;
    }
    
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
        gap: 0 !important;
    }

    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 15px; }
    .timeline-item::after { left: 19px; }
    .left::after, .right::after { left: 19px; }
    .right { left: 0%; }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .dashboard-preview-placeholder {
        height: 200px;
    }
    
    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    #booking-form {
        scroll-margin-top: 80px;
    }
    
    .mobile-sticky-bar {
        display: flex !important;
    }
    body {
        padding-bottom: 120px !important;
    }
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    background: #ffffff !important;
    padding: 12px 15px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1) !important;
    border-top: 1px solid #e2e8f0;
    z-index: 9999 !important;
    gap: 12px;
}

.hero-section {
    background-image: url('../hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn-sticky-demo {
    flex: 1;
    background-color: #172a6e;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    transition: transform 0.2s;
    box-shadow: 0 4px 12px rgba(23, 42, 110, 0.3);
}

.btn-sticky-demo:hover {
    color: #fff;
    transform: scale(0.98);
}

.btn-sticky-wa {
    flex: 1;
    background: #fff;
    color: #25D366;
    border: 2px solid #25D366;
    border-radius: 10px;
    padding: 12px 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    transition: transform 0.2s;
}

.btn-sticky-wa:hover {
    color: #25D366;
    transform: scale(0.98);
}

/* Premium CTA Section */
.cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-glow-1 {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(56, 189, 248, 0.4);
    filter: blur(80px);
    border-radius: 50%;
    animation: pulseGlow 4s infinite alternate;
}

.cta-glow-2 {
    position: absolute;
    bottom: -80px;
    right: -20px;
    width: 350px;
    height: 350px;
    background: rgba(139, 92, 246, 0.4);
    filter: blur(90px);
    border-radius: 50%;
    animation: pulseGlow 5s infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.cta-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-cta-premium {
    background: #fff;
    color: #1e3a8a;
    transition: all 0.3s ease;
}

.btn-cta-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    color: #0f172a;
}

/* Gallery Section */
.gallery-card {
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: var(--primary);
}

.gallery-card img {
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.nav-pills .nav-link {
    color: #475569;
    border-radius: 50rem;
    padding: 10px 24px;
    font-weight: 500;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Trusted Logos Section */
.trusted-logo {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    object-fit: contain;
}

.trusted-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

/* Uiverse Button for About Founder */
.btn-uiverse {
  position: relative;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8em 2em;
  display: inline-block;
  cursor: pointer;
  border-radius: 6em;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary);
}

.btn-uiverse:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  color: #fff;
}

.btn-uiverse:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(37, 99, 235, 0.3);
}

.btn-uiverse::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
  background-color: var(--primary);
}

.btn-uiverse:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

/* Uiverse Button Large Modifier */
.btn-uiverse-lg {
  padding: 1em 2.5em;
  font-size: 17px;
}

/* Uiverse Button Success Modifier */
.btn-uiverse-success {
  background-color: #25D366;
}

.btn-uiverse-success::after {
  background-color: #25D366;
}

.btn-uiverse-success:hover {
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Dark Form Uiverse Style */
.uiverse-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 20px;
  position: relative;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
}

.uiverse-form .title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
  color: #00bfff;
  margin-bottom: 5px;
}

.uiverse-form .title::before {
  width: 18px;
  height: 18px;
}

.uiverse-form .title::after {
  width: 18px;
  height: 18px;
  animation: pulse 1s linear infinite;
}

.uiverse-form .title::before,
.uiverse-form .title::after {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 0px;
  background-color: #00bfff;
}

.uiverse-form .message {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.uiverse-form .flex-row {
  display: flex;
  width: 100%;
  gap: 15px;
}

.uiverse-form label {
  position: relative;
  width: 100%;
  margin-bottom: 5px;
}

.uiverse-form label .input,
.uiverse-form label select,
.uiverse-form label textarea {
  background-color: #333;
  color: #fff;
  width: 100%;
  padding: 22px 10px 8px 15px;
  outline: 0;
  border: 1px solid rgba(105, 105, 105, 0.397);
  border-radius: 10px;
  font-size: medium;
  transition: 0.3s;
}

.uiverse-form label .input:focus,
.uiverse-form label select:focus,
.uiverse-form label textarea:focus {
  border-color: #00bfff;
  box-shadow: 0 0 5px rgba(0, 191, 255, 0.3);
}

.uiverse-form label span {
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 0.9em;
  cursor: text;
  transition: 0.3s ease;
  pointer-events: none;
}

.uiverse-form label .input:placeholder-shown + span,
.uiverse-form label textarea:placeholder-shown + span {
  top: 15px;
  font-size: 0.9em;
}

.uiverse-form label .input:focus + span,
.uiverse-form label .input:valid + span,
.uiverse-form label select + span,
.uiverse-form label textarea:focus + span,
.uiverse-form label textarea:valid + span {
  color: #00bfff;
  top: 5px;
  font-size: 0.7em;
  font-weight: 600;
}

.uiverse-form .submit {
  border: none;
  outline: none;
  padding: 15px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  transition: .3s ease;
  background-color: #00bfff;
  margin-top: 10px;
}

.uiverse-form .submit:hover {
  background-color: #00bfff96;
}

/* Bounce Animation for Scroll Indicator */
.animate-bounce {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Video Hero Container */
.video-hero-container {
    height: 80vh;
    min-height: 500px;
    margin-top: 70px;
}

@media (max-width: 768px) {
    .video-hero-container {
        height: 50vh;
        min-height: 350px;
    }
    .hero-video-cover {
        object-fit: cover !important;
        object-position: 25% center !important;
    }
}

@media (min-width: 769px) {
    .hero-video-cover {
        object-fit: cover !important;
        object-position: center center !important;
    }
}
