/* General Styles */
* {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #000e17;
    color: #d9d9d9;
}

/* Default Modal Styling For Adds */
.promo-ad {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    z-index: 3000;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensure no overflow issues */
  }
  
  .promo-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 95%;
    max-height: 95%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /*overflow: ;  Enable scrolling if content overflows */
  }
  
  .promo-image {
    max-width: 100%;
    max-height: 70vh; /* Ensure image does not exceed viewport height */
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    object-fit: cover; /* Ensure image scales properly */
  }
  
  .timer {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .cta-button {
    background: #00cffd;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 10px;
    transition: background 0.3s ease;
  }
  
  .cta-button:hover {
    background: #0059ff;
  }
  
  .close-button {
    background: #ff5c5c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: not-allowed; /* Initially disabled */
    font-size: 1rem;
    transition: background 0.3s ease;
  }
  
  .close-button:hover:enabled {
    background: #d40000;
    cursor: pointer;
  }
  
  /* Media Queries for Responsiveness */
  @media (min-width: 1200px) {
    .promo-content {
      max-width: 50%;
      max-height: 80%;
    }
  }
  
  @media (min-width: 768px) and (max-width: 1199px) {
    .promo-content {
      max-width: 70%;
      max-height: 85%;
    }
  }
  
  @media (max-width: 767px) {
    .promo-content {
      max-width: 90%;
      max-height: 95%;
    }
  
    .cta-button,
    .close-button {
      width: 100%;
      margin-bottom: 10px;
    }
  }

  /* Popup Overlay */
.popup-overlay {
    display: none; /* Start hidden by default */
    justify-content: center;
    align-items: center;
    position: fixed; /* Fixed to cover the whole screen */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #091d39ce;
    backdrop-filter: blur(10px);
    z-index: 1500; /* Ensure it's above other content */
    opacity: 1; /* Start fully visible */
    visibility: visible;
    transition: opacity 4s ease-in-out; /* Smooth dissolve for fade-out */
    pointer-events: visible;
}

/* Hide State for Overlay */
.popup-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

/* Centered Content (Logo + Text) */
.popup-content {
    display: flex;
    flex-direction: column; /* Stack logo and text */
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Logo Styling */
.popup-logo {
    width: 500px; /* Initial size of logo */
    height: auto;
    z-index: 1;
    margin-bottom: 15px;
}

/* Inviting Text Styling */
.popup-text {
    font-size: 36px;
    color: #38b6ff; /* Futuristic text color */
    font-weight: bold;
    margin-top: 10px; /* Space between logo and text */
    z-index: 2; /* Make sure the text is on top of the logo */
}


/* Media Queries for Smaller Screens */

/* Small Screens (Mobile Phones) */
@media (max-width: 768px) {
    .popup-logo {
        width: 200px; /* Adjust size for smaller screens */
        animation: grabEffect 3s ease-in-out forwards, shrinkAndDisappear 5s 3s forwards;
    }

    .popup-text {
        font-size: 18px; /* Adjust text size for smaller screens */
    }
}

/* Extra Small Screens (Smaller Mobile Phones) */
@media (max-width: 480px) {
    .popup-logo {
        width: 300px; /* Further adjust size for extra small screens */
        animation: grabEffect 3s ease-in-out forwards, shrinkAndDisappear 5s 3s forwards;
    }

    .popup-text {
        font-size: 16px; /* Further adjust text size */
    }
}

/* Hide the popup and the logo slowly */
.popup-overlay.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 5s ease-in-out, visibility 5s ease-in-out; /* Smooth dissolve */
}

.popup-logo.hide {
    opacity: 0;
    transition: opacity 5s ease-in-out; /* Fade out the logo slowly */
}

h1, h2, h3 {
    color: #38b6ff;
    text-align: center;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Adjust height for the header content */
    padding: 20px;
    background-color: rgba(0, 7, 15, 0.85); /* Darker, more tech-like background */
    backdrop-filter: blur(12px); /* Increased blur for a futuristic effect */
    border-bottom: 2px solid #38b6ff;
    border-radius: 15px; /* More rounded borders */
    position: fixed; /* Fix the header position */
    top: 10px; /* Offset from the top */
    left: 10px; /* Offset from the right */
    right: 10px; /* Offset from the right */
    z-index: 1000; /* Ensure the header stays on top */
    box-shadow: 
        0 4px 20px rgba(56, 182, 255, 0.5), /* Preserve existing neon glow */
        inset 0 0 20px rgba(56, 182, 255, 0.1); /* Add inner glow for depth */
    transition: all 0.3s ease; /* Smooth transitions for hover effects */
    /* Add tech-style grid background */
    background-image: 
        linear-gradient(90deg, rgba(56, 182, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(56, 182, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

header:hover {
    box-shadow: 
        0 4px 30px rgba(56, 182, 255, 0.8), /* Enhanced outer glow on hover */
        inset 0 0 25px rgba(56, 182, 255, 0.15); /* Enhanced inner glow on hover */
}

header .logo img {
    width: 15rem;
    margin-right: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 153, 241, 0.904)); /* Neon glow for the logo */
    transition: filter 0.5s ease;
}

header:hover .logo img {
    filter: drop-shadow(0 0 15px rgba(0, 153, 241, 1)); /* Enhanced logo glow on header hover */
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    position: relative;
}

/* Add a subtle scan line effect to nav */
nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    right: -20px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(56, 182, 255, 0.2) 50%, 
        transparent 100%);
    opacity: 0;
    animation: nav-scan 4s infinite;
    pointer-events: none;
}

@keyframes nav-scan {
    0%, 100% { 
        opacity: 0;
        top: 0; 
    }
    50% { 
        opacity: 1;
        top: 100%; 
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px; /* Increased gap for better spacing */
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #38b6ff;
    font-size: 1.1em;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px; /* Improved letter spacing for futuristic look */
    text-transform: uppercase; /* Uppercase for tech style */
    font-size: 0.95em; /* Slightly smaller but bolder look */
    padding: 8px 0; /* Add padding for hover effect */
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #38b6ff 50%, 
        transparent); /* Gradient effect for underline */
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links li a::before {
    content: ''; /* Add top line for symmetry */
    position: absolute;
    width: 8px;
    height: 2px;
    background: #38b6ff;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s ease;
    opacity: 0;
}

.nav-links li a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(56, 182, 255, 0.7); /* Neon glow on hover */
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links li a:hover::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* Active navigation item indicator */
.nav-links li a.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(56, 182, 255, 0.7);
}

.nav-links li a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #38b6ff;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(56, 182, 255, 0.7); /* Neon glow for bars */
}

/* Get Started Button */
.btn-get-started {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 98, 163, 0.8), rgba(56, 182, 255, 0.9)); /* Gradient background */
    color: #ffffff; /* Text color */
    font-size: 1em; /* Font size */
    font-weight: bold; /* Make the text bold */
    padding: 10px 22px; /* Padding for a comfortable button size */
    border: 1px solid #38b6ff; /* Thin border for high-tech look */
    border-radius: 30px; /* Rounded corners for a modern look */
    text-decoration: none; /* Remove underline */
    text-align: center; /* Center-align text */
    transition: all 0.3s ease; /* Smooth hover animation */
    box-shadow: 
        0 0 15px rgba(56, 182, 255, 0.7), /* Neon glow */
        inset 0 0 10px rgba(255, 255, 255, 0.1); /* Inner glow */
    text-transform: uppercase; /* Match navbar style */
    letter-spacing: 0.5px; /* Improved letter spacing */
    position: relative;
    overflow: hidden; /* For shine effect */
}

.btn-get-started::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38b6ff, transparent);
    animation: btn-borderline 3s linear infinite;
    opacity: 0.7;
}

.btn-get-started::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: btn-shine 4s ease-in-out infinite;
}

@keyframes btn-borderline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes btn-shine {
    0%, 100% { left: -50%; opacity: 0; }
    10% { opacity: 0; }
    50% { left: 125%; opacity: 1; }
    60% { opacity: 0; }
}

.btn-get-started:hover,
.btn-get-started:focus {
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.9), rgba(0, 98, 163, 0.8)); /* Reverse gradient */
    color: #ffffff;
    box-shadow: 
        0 0 25px rgba(56, 182, 255, 1), /* Enhanced glow */
        inset 0 0 15px rgba(255, 255, 255, 0.2); /* Enhanced inner glow */
    transform: translateY(-3px); /* Slight lift on hover */
    border-color: #89d4ff; /* Lighter border on hover */
}

.btn-get-started:active {
    transform: translateY(0); /* Reset lift when clicked */
    box-shadow: 
        0 0 15px rgba(56, 182, 255, 0.7),
        inset 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Button Icon Styling - Global */
.btn-get-started i,
.btn-primary i,
.book-now-btn i,
.faq-contact-btn i,
.feedback-btn i,
.cta-button i,
button i,
a.btn i {
    margin-right: 8px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

/* Hover effect for icons - Global */
.btn-get-started:hover i,
.btn-primary:hover i,
.book-now-btn:hover i,
.faq-contact-btn:hover i,
.feedback-btn:hover i,
.cta-button:hover i,
button:hover i,
a.btn:hover i {
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    header {
        flex-wrap: wrap; /* Allow header elements to wrap */
        padding:0px; /* Reduce padding */
        top: 5px; /* Adjust offset */
        left: 5px;
        right: 5px;
    }

    header .logo img {
        position: relative;
        width: 180px; /* Reduce logo size */
        height: auto; /* Maintain aspect ratio */
        margin-right: auto; /* Push logo to the left */
    }


    .hamburger {
        display: flex; /* Show hamburger menu */
        margin-right:10px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hide off-screen */
        height: 100vh;
        width: 70%; /* Full-screen overlay width */
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: 0 0 20px rgba(56, 182, 255, 0.5); /* Neon glow for the overlay */
    }

    .nav-links.active {
        right: 0; /* Slide in from the right */
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .btn-get-started {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 10px; /* Reduce padding further */
    }

    header .logo img {
        width: 150px; /* Adjust logo size */
        height: auto; /* Maintain aspect ratio */
    }

    .nav-links li a {
        font-size: 1.2em; /* Increase font size for better readability */
    }

    .btn-get-started {
        font-size: 1em; /* Adjust button size */
        padding: 10px 20px; /* Adjust padding */
    }
}


/* Hero Section */
#hero {
    text-align: center;
    padding: 150px 20px 100px; /* Increased top padding to account for the header */
    background: linear-gradient(to bottom right, #38b6ff, #000e17); /* Gradient background */
    color: #000e17; /* Text color */
    margin-top:0; /* Small margin for spacing below the fixed header */
    position: relative; /* Ensure proper stacking context */
    z-index: 1; /* Ensures it appears correctly with respect to the header */
    height: 100vh; /* Full viewport height */
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire hero section */
    z-index: -1; /* Places the video behind the content */
}

/* Fallback background image */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../static/images/hero-fallback.jpg') no-repeat center center/cover;
    z-index: -2; /* Places the fallback image behind the video */
}

/* Hide the fallback image if the video is playing */
#hero video.is-playing + .hero-content + ::before {
    display: none;
}

.hero-content {
    position: relative; /* Ensure proper stacking context */
    top: 25%; /* Adjust vertical position */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.6; /* Improve readability */
}

#hero h2 {
    color:#ffffff;
    font-size: 2.5em;
    margin-bottom: 5px; /* Add spacing below the title */
    font-weight: bold;
    line-height: 1.2; /* Improve readability */
}

#hero p {
    font-size: 1.2em;
    margin: 20px 0;
    line-height: 1.6; /* Improve readability of paragraphs */
    color: #ffffff; /* Adjust for better contrast against the background */
}

#hero .btn-primary {
    padding: 15px 30px;
    background-color: #38b6ff; /* Button background color */
    color: #000e17; /* Text color */
    border: none; /* Remove default border */
    border-radius: 50px; /* Rounded corners for the button */
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s; /* Smooth hover effects */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    cursor: pointer; /* Change cursor to pointer on hover */
}

#hero .btn-primary:hover {
    background-color: #d9d9d9; /* Lighter background on hover */
    color: #000e17; /* Ensure text remains visible */
    transform: scale(1.1); /* Slight zoom effect */
}

/* Responsive Adjustments for Hero Section */
@media screen and (max-width: 768px) {
    #hero {
        padding: 120px 15px 80px; /* Adjust padding for smaller screens */
        margin-top: auto;
    }

    #hero h2 {
        font-size: 2em; /* Reduce font size for headings */
    }

    #hero p {
        font-size: 1em; /* Adjust paragraph font size */
    }

    #hero .btn-primary {
        font-size: 0.9em; /* Reduce button font size */
        padding: 12px 25px; /* Adjust padding for smaller buttons */
    }
}

@media screen and (max-width: 480px) {
    #hero {
        padding: 100px 10px 60px; /* Further adjust padding for very small screens */
    }

    #hero h2 {
        font-size: 1.8em; /* Further reduce heading size */
    }

    #hero p {
        font-size: 0.9em; /* Adjust paragraph font size */
    }

    #hero .btn-primary {
        font-size: 0.8em; /* Smaller button text */
        padding: 10px 20px; /* Reduce button padding */
    }
}


/* Services Section */
#services {
    padding: 60px 20px;
}

#services h2 {
    color: #38b6ff;
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(0, 153, 241, 0.904));
}

#services .service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#services .card {
    background-color: #000e17;
    border: 2px solid #38b6ff;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    transition: transform 0.3s;
    text-align: center;
    position: relative;
}

#services .card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    background-color: #ffffffd7;
    color: #000e17;
    cursor: pointer;
}

/* Book Now Button */
.book-now-btn {
    display: block; /* Always visible */
    position: relative;
    bottom: 20px;
    left: 50%;
    width:140px;
    transform: translateX(-50%);
    background-color: #38b6ff;
    color: #000e17;
    border: none;
    margin-top:45px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none; /* Remove underline */
}

.book-now-btn:hover {
    background-color: #1e90ff;
}

/* Ensure Book Now button is visible when modal is open */
.modal-open .book-now-btn {
    display: block !important; /* Force visibility */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Ensure modal appears above all other content */
}

.modal-content {
    background-color: #000e17;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    color: #fff;
    position: relative;
}

#modal-content form {
    z-index: 100;
}

.modal-content h3 {
    color: #38b6ff;
    margin-bottom: 20px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    padding: 10px;
    border: 1px solid #38b6ff;
    border-radius: 5px;
    background-color: #000e17;
    color: #fff;
}

.modal-content textarea {
    resize: vertical;
    height: 100px;
}

.modal-content select {
    height: 120px; /* Adjust height for multiple selections */
}

.modal-content button[type="submit"] {
    background-color: #38b6ff;
    color: #000e17;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.modal-content button[type="submit"]:hover {
    background-color: #1e90ff;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.close:hover {
    color: #38b6ff;
}

/* Core Values Section */
#values {
    padding: 60px 20px;
    text-align: center;
}

#values h2 {
    color: #38b6ff;
    font-size: 2em;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 10px rgba(0, 153, 241, 0.904));
}

#values .value-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card-container {
    width: 200px;
    height: 200px;
    position: relative;
    perspective: 1000px; /* Enable 3D perspective */
}

#values .card {
    display: none;
    background-color: #000e17;
    border: 2px solid #38b6ff;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

#values .card i {
    font-size: 2.5rem; /* Icon size */
    color: #38b6ff; /* Icon color */
    margin-bottom: 15px;
}

#values .card h3 {
    color: #d9d9d9;
    font-size: 1.1em;
    margin: 0;
}

#values .card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); /* Neon glow for the overlay */
    color: #000e17; /* Change text color on hover */
    cursor: pointer;
}

/* Mission Section */
#mission {
    padding: 60px 20px;
    text-align: center;
    background-color: #38b6ffaf;
    color: #000e17;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-statement {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.6;
}

.mission-container h2 {
    color: #000e17;
    font-size: 2rem;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 10px rgba(1, 18, 27, 0.904));
}

.mission-values {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    flex: 1 1 250px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.value-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #000e17;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000e17;
}

.value-item p {
    font-size: 1rem;
    color: #000e17;
    line-height: 1.5;
}

/* Gallery Section */
#gallery {
    padding: 80px 20px;
    background-color: #000e17;
    color: #d9d9d9;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#gallery h2 {
    color: #38b6ff;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(56, 182, 255, 0.7); /* Neon glow for the heading */
}

/* Futuristic 3D Gallery */
.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    perspective: 1000px;
}

/* Particle background */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 3D Gallery Container */
.gallery-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 80%;
    background: rgba(0, 14, 23, 0.7);
    border-radius: 30px;
    padding: 10px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 182, 255, 0.3);
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.5);
}

.gallery-control-btn, .gallery-view-btn {
    background: none;
    border: none;
    color: #38b6ff;
    font-size: 1.2em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(56, 182, 255, 0.1);
    margin: 0 10px;
}

.gallery-control-btn:hover, .gallery-view-btn:hover {
    background: rgba(56, 182, 255, 0.3);
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.8);
    transform: scale(1.1);
}

.gallery-timeline {
    flex: 1;
    height: 4px;
    background: rgba(56, 182, 255, 0.2);
    border-radius: 2px;
    position: relative;
    margin: 0 20px;
    cursor: pointer;
}

.timeline-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 2px;
}

.timeline-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #38b6ff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.8);
    transition: left 0.3s ease;
}

/* 3D Scene */
.scene {
    width: 300px;
    height: 300px;
    perspective: 1000px;
    margin: 0 auto;
    position: relative;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(0deg) rotateX(0deg);
    transition: transform 0.5s ease;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 2px solid rgba(56, 182, 255, 0.5);
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.5);
    background-color: rgba(0, 14, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
}

.cube-face img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cube-face:hover img {
    transform: scale(1.05);
}

/* Cube face positions */
.cube-face.front { transform: translateZ(150px); }
.cube-face.back { transform: rotateY(180deg) translateZ(150px); }
.cube-face.right { transform: rotateY(90deg) translateZ(150px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(150px); }
.cube-face.top { transform: rotateX(90deg) translateZ(150px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(150px); }

/* Gallery Info */
.gallery-info {
    margin-top: 30px;
    background: rgba(0, 14, 23, 0.7);
    border-radius: 10px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 182, 255, 0.3);
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.3);
    max-width: 80%;
}

.gallery-title {
    font-size: 1.4em;
    color: #38b6ff;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(56, 182, 255, 0.5);
}

.gallery-description {
    font-size: 0.9em;
    color: #d9d9d9;
    line-height: 1.5;
}

/* Image Details Panel */
.image-details-panel {
    position: absolute;
    top: 0;
    right: -400px; /* Start off-screen */
    width: 350px;
    height: 100%;
    background: rgba(0, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(56, 182, 255, 0.5);
    box-shadow: -5px 0 20px rgba(56, 182, 255, 0.3);
    z-index: 10;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.image-details-panel.active {
    right: 0;
}

.image-details-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-title {
    font-size: 1.8em;
    color: #38b6ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(56, 182, 255, 0.5);
}

.image-description {
    font-size: 1em;
    color: #d9d9d9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.image-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 30px;
}

.tag {
    background: rgba(56, 182, 255, 0.2);
    color: #38b6ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    border: 1px solid rgba(56, 182, 255, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(56, 182, 255, 0.3);
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.5);
}

.details-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #38b6ff;
    font-size: 1.2em;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(56, 182, 255, 0.1);
}

.details-close-btn:hover {
    background: rgba(56, 182, 255, 0.3);
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.5);
}

/* Holographic Modal */
.holographic-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-frame {
    width: 80%;
    max-width: 900px;
    background: rgba(0, 14, 23, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(56, 182, 255, 0.7);
    border: 1px solid rgba(56, 182, 255, 0.5);
    animation: modalAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

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

.modal-header {
    padding: 15px 20px;
    background: rgba(56, 182, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(56, 182, 255, 0.3);
}

.modal-title {
    color: #38b6ff;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(56, 182, 255, 0.5);
}

.modal-close-btn {
    background: none;
    border: none;
    color: #38b6ff;
    font-size: 1.2em;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(56, 182, 255, 0.1);
}

.modal-close-btn:hover {
    background: rgba(56, 182, 255, 0.3);
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.5);
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
}

#modal-image {
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.3);
    border: 1px solid rgba(56, 182, 255, 0.3);
}

.modal-content {
    flex: 1;
    padding: 10px;
}

#modal-title {
    color: #38b6ff;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(56, 182, 255, 0.5);
}

#modal-description {
    color: #d9d9d9;
    line-height: 1.6;
}

.modal-footer {
    padding: 15px 20px;
    background: rgba(56, 182, 255, 0.1);
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(56, 182, 255, 0.3);
}

.modal-controls {
    display: flex;
    gap: 20px;
}

.modal-nav-btn {
    background: rgba(56, 182, 255, 0.2);
    border: 1px solid rgba(56, 182, 255, 0.3);
    color: #38b6ff;
    font-size: 1em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    background: rgba(56, 182, 255, 0.3);
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.5);
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .gallery-container {
        height: 500px;
    }
    
    .scene {
        width: 250px;
        height: 250px;
    }
    
    .cube-face.front { transform: translateZ(125px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(125px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(125px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(125px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(125px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(125px); }
    
    .gallery-controls {
        width: 90%;
    }
    
    .image-details-panel {
        width: 280px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-container {
        height: 400px;
    }
    
    .scene {
        width: 200px;
        height: 200px;
    }
    
    .cube-face.front { transform: translateZ(100px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(100px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(100px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(100px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }
    
    .gallery-info {
        max-width: 95%;
    }
    
    .modal-frame {
        width: 95%;
    }
}

/* Video Section Styling */
#video-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #0D1B2A;
    color: #A9BCD0;
}

#video-section h2 {
    color: #00CFFD;
    font-size: 2rem;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(0, 153, 241, 0.9));
}

/* Video Carousel Container */
.video-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Video Carousel Wrapper */
.video-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Video Carousel */
.video-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 200%; /* Adjust dynamically based on slides */
}

/* Video Slide */
.video-slide {
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
}

.video-slide video {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 207, 253, 0.7);
    color: #0D1B2A;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-btn:hover {
    background: #00CFFD;
    transform: scale(1.1);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Show buttons when carousel container is hovered */
.carousel-container:hover .carousel-button {
    opacity: 1; /* Show buttons */
}

/* Modal Styles */
.modal2 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

.modal-content2 {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close2 {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close2:hover,
.close2:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 60px 20px;
    /*background: url('../images/code-image-edit1.png') no-repeat center center/cover !important;*/
    background: linear-gradient(to bottom, #000e17, #0d1b2a);
    color: #a9bcd0;
    text-align: center;
}

#why-choose-us h2 {
    font-size: 2rem;
    color: #38b6ff;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 153, 241, 0.904));
}

#why-choose-us p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

#why-choose-us ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#why-choose-us ul li {
    background-color: #0d1b2a;
    border: 1px solid #38b6ff;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

#why-choose-us ul li:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 15px rgba(56, 182, 255, 0.3);
}

#why-choose-us ul li i {
    font-size: 2em;
    color: #38b6ff;
    margin-bottom: 15px;
}

#why-choose-us ul li span {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

#why-choose-us ul li p {
    font-size: 1em;
    color: #a9bcd0;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

/* Center the last card */
#why-choose-us ul li:nth-child(5) {
    grid-column: span 2;
    justify-self: center;
    text-align: center;
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
    #why-choose-us ul {
        grid-template-columns: 1fr;
    }

    #why-choose-us ul li:nth-child(5) {
        grid-column: auto;
    }

    #why-choose-us h2 {
        font-size: 2em;
    }

    #why-choose-us p {
        font-size: 1em;
    }
}



/* Contact Section */
#contact {
    padding: 60px 20px;
    background: url('../images/code-image-edit1.png') no-repeat center center/cover !important;
    background-color: #000e17;
    color: #d9d9d9;
    text-align: center;
}

#contact h2 {
    color: #38b6ff;
    font-size: 2rem;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 10px rgba(0, 153, 241, 0.904));
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-info, #contact form {
    flex: 1 1 400px;
    background-color: rgba(0, 48, 87, 0.418);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    color: #38b6ff;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.contact-info p {
    color: #d9d9d9;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Enhanced Contact Info Cards */
.info-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(56, 182, 255, 0.3);
}

.icon-container {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #38b6ff, #0077b6);
    border-radius: 50%;
    transition: transform 0.3s;
}

.info-card:hover .icon-container {
    transform: rotate(360deg);
}

.icon-container i {
    font-size: 1.5em;
    color: #fff;
}

.info-card h4 {
    color: #38b6ff;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.info-card p {
    color: #d9d9d9;
    font-size: 1em;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #38b6ff;
    font-size: 2.5em;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #d9d9d9;
    transform: translateY(-5px);
}

/* Optional: Unique style for the "Book a Meeting" card */
.info-card.book-meeting {
    background: linear-gradient(135deg, #ffffff9c, #ffffff60); /* Gradient background */
    border: 1.7px solid #38b6ff; /* Border for emphasis */
}

.info-card.book-meeting h4 {
    color:#ffffff ;
}


.info-card.book-meeting .icon-container {
    background: linear-gradient(135deg, #38b6ff, #38b6ff); /* Red gradient for emphasis */
}



/* Contact Form */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact label {
    text-align: left;
    color: #38b6ff;
    font-size: 1.1em;
    font-weight: bold;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #38b6ff;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #d9d9d9;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contact input::placeholder, #contact textarea::placeholder {
    color: #999;
}

#contact input:focus, #contact textarea:focus {
    border-color: #d9d9d9;
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.5);
    outline: none;
}

#contact button {
    padding: 12px 20px;
    background-color: #38b6ff;
    color: #000e17;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#contact button:hover {
    background-color: #d9d9d9;
    transform: translateY(-3px);
}

/* Terms and Conditions Checkbox */
.terms-checkbox {
    margin: 20px 0;
    text-align: left;
    display: flex;
    align-items: center;
}


.terms-checkbox input[type="checkbox"] {
    margin-right: 0px;
    height:1.6rem;
}

.terms-checkbox input[type="checkbox"]:checked {
    background-color: #00cffd;
}

.terms-checkbox input[type="checkbox"]:checked::after {
    content: "✔"; /* Checkmark symbol */
    font-size: 14px;
   
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.terms-checkbox label {
    font-size: 0.9em;
    color: #a9bcd0;
    cursor: pointer;
}

.terms-checkbox a {
    color: #00cffd;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.terms-checkbox input[type="checkbox"] {
    transition: background-color 0.3s, border-color 0.3s;
}

.terms-checkbox input[type="checkbox"]:focus {
    outline: 2px solid #00cffd;
    outline-offset: 2px;
}

/*contact message pop-up */

.popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
}

.popup.success {
    background-color: #4CAF50; /* Green for success */
}

.popup.error {
    background-color: #F44336; /* Red for error */
}

.popup .icon {
    margin-right: 10px;
    font-size: 24px;
}

.popup .close-button {
    margin-left: 20px;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Pulsating Effect for Book a Meeting */
.info-card.book-meeting {
    position: relative;
    overflow: visible;
    animation: none;
}

.info-card.book-meeting.pulsate {
    animation: pulseEffect 1s infinite;
}

/* Callout Style */
.callout {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #38b6ff;
    background: linear-gradient(140deg, #38b6ff, #015583);
    border: 1.3px solid#b9e5ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    display: none;
    z-index: 100;
    width: 150px;
}

.callout::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height:0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #ffffff transparent transparent transparent;
}

/* Pulsating Keyframe */
@keyframes pulseEffect {
    0% {
        box-shadow: 0 0 10px #38b6ff;
    }
    50% {
        box-shadow: 0 0 20px #ffffff;
    }
    100% {
        box-shadow: 0 0 10px #38b6ff;
    }
}



/* Footer Styles */
footer {
    background-color: #000e17;
    color: #a9bcd0;
    font-family: 'Roboto', sans-serif;
    padding: 40px 20px 20px;
    border-top: 2px solid #38b6ff;
    position: relative;
    overflow: hidden;
}

/* Wave Animation Divider */
.footer-wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -10px;
    left: 0;
    width: 200%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%2338b6ff'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%2338b6ff'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%2338b6ff'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    animation: wave 25s linear infinite;
    background-size: 1200px 100%;
}

.footer-wave:nth-child(2) {
    top: -5px;
    animation: wave 20s linear reverse infinite;
    opacity: 0.5;
}

.footer-wave:nth-child(3) {
    top: 0px;
    animation: wave 30s linear infinite;
    opacity: 0.3;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #38b6ff;
    color: #000e17;
    border: none;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10001;
    opacity: 0;
    pointer-events: auto;
}

.back-to-top-btn.visible {
    bottom: 150px !important; /* Position above chatbot: container(20px) + toggle-height(60px) + spacing(20px) + button-height(50px) = 150px */
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 10001 !important;
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.7);
    background-color: #d9d9d9;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* About Us Section */
.footer-about {
    flex: 1 1 250px;
    text-align: center;
}

.footer-about .footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-about .footer-logo:hover {
    transform: scale(1.05);
}

.footer-about p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #d9d9d9;
}

/* Tech Stack Section */
.tech-stack {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(56, 182, 255, 0.3);
}

.tech-stack h4 {
    color: #38b6ff;
    margin-bottom: 15px;
    font-size: 1em;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tech-icon {
    width: 35px;
    height: 35px;
    background: rgba(56, 182, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38b6ff;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tech-icon:hover {
    background: rgba(56, 182, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(56, 182, 255, 0.3);
}

.tech-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 14, 23, 0.9);
    color: #d9d9d9;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tech-icon::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 14, 23, 0.9) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tech-icon:hover::before,
.tech-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Quick Links Section */
.footer-links {
    flex: 1 1 200px;
    text-align: center;
}

.footer-links h3 {
    color: #38b6ff;
    margin-bottom: 15px;
    font-size: 1.2em;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #38b6ff;
    transition: width 0.3s ease;
}

.footer-links:hover h3::after {
    width: 100%;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin: 10px 0;
    transition: transform 0.3s ease;
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links ul li a {
    text-decoration: none;
    color: #38b6ff;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-links ul li a i {
    font-size: 0.9em;
}

.footer-links ul li a:hover {
    color: #d9d9d9;
}

/* Company Timeline Section */
.footer-timeline {
    flex: 1 1 250px;
    text-align: center;
}

.footer-timeline h3 {
    color: #38b6ff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.timeline-container {
    position: relative;
    padding: 10px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(56, 182, 255, 0.1), rgba(56, 182, 255, 0.5), rgba(56, 182, 255, 0.1));
}

.timeline-item {
    position: relative;
    margin-bottom: 15px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #38b6ff;
    box-shadow: 0 0 8px rgba(56, 182, 255, 0.7);
}

.timeline-content {
    padding: 0 25px;
    text-align: center;
}

.timeline-content h4 {
    color: #d9d9d9;
    margin-bottom: 5px;
    font-size: 1em;
}

.timeline-content p {
    color: #a9bcd0;
    font-size: 0.9em;
}

/* Social Media Section */
.footer-social {
    flex: 1 1 200px;
    text-align: center;
}

.footer-social h3 {
    color: #38b6ff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 182, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.social-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(56, 182, 255, 0.7) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon-wrapper:hover::before {
    opacity: 0.4;
}

.footer-social .social-icons a i {
    font-size: 1.5em;
    color: #38b6ff;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icon-wrapper:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 5px 15px rgba(56, 182, 255, 0.4);
}

.social-icon-wrapper:hover i {
    color: #d9d9d9;
}

/* Newsletter Section */
.footer-newsletter {
    flex: 1 1 300px;
    text-align: center;
}

.footer-newsletter h3 {
    color: #38b6ff;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.footer-newsletter p {
    font-size: 0.9em;
    color: #d9d9d9;
    margin-bottom: 15px;
}

.newsletter-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.newsletter-input-wrapper {
    position: relative;
    width: 100%;
}

.newsletter-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #38b6ff;
    font-size: 1.1em;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 12px 12px 35px;
    border: 1px solid #38b6ff;
    border-radius: 25px;
    font-size: 0.9em;
    color: #d9d9d9;
    background-color: rgba(0, 14, 23, 0.5);
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.2) inset;
    transition: all 0.3s ease;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: #d9d9d9;
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.3);
}

.footer-newsletter button {
    padding: 10px 20px;
    background: linear-gradient(to right, #38b6ff, #015583);
    color: #000e17;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

.footer-newsletter button:hover {
    background-color: #d9d9d9;
    transform: scale(1.05);
}

.newsletter-guarantee {
    font-size: 0.8em;
    color: #a9bcd0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.newsletter-guarantee i {
    color: #38b6ff;
    font-size: 0.9em;
}

/* Legal Section */
.footer-legal {
    flex: 1 1 200px;
    text-align: center;
}

.footer-legal h3 {
    color: #38b6ff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal ul li {
    margin: 10px 0;
    transition: transform 0.3s ease;
}

.footer-legal ul li:hover {
    transform: translateY(-3px);
}

.footer-legal ul li a {
    text-decoration: none;
    color: #38b6ff;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-legal ul li a i {
    font-size: 0.9em;
}

.footer-legal ul li a:hover {
    color: #d9d9d9;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #38b6ff;
    padding-top: 20px;
    font-size: 0.9em;
    color: #d9d9d9;
}

.footer-attribution {
    margin-top: 10px;
    font-size: 0.8em;
    color: #a9bcd0;
}

.footer-attribution .pulse {
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    40% { transform: scale(1); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .footer-container {
        justify-content: center;
    }
    
    .footer-about, .footer-links, .footer-timeline, .footer-social, .footer-newsletter, .footer-legal {
        flex: 1 1 300px;
    }
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .footer-about, .footer-links, .footer-timeline, .footer-social, .footer-newsletter, .footer-legal {
        width: 100%;
        max-width: 400px;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        padding-left: 40px;
        text-align: left;
    }
    
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        right: 20px;
    }
    
    .back-to-top-btn.visible {
        bottom: 140px !important; /* Position above chatbot on tablet: container(15px) + toggle-height(55px) + spacing(20px) + button-height(45px) = 140px */
    }
}

@media screen and (max-width: 480px) {
    .footer-wave-container {
        height: 30px;
    }
    
    .footer-wave {
        height: 30px;
    }
    
    .tech-icons {
        gap: 8px;
    }
    
    .tech-icon {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
    
    .social-icon-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .back-to-top-btn {
        width: 40px;
        height: 40px;
        right: 15px;
        z-index: 10001 !important;
        pointer-events: auto !important;
    }
    
    .back-to-top-btn.visible {
        bottom: 125px !important; /* Position above chatbot on mobile: container(10px) + toggle-height(55px) + spacing(20px) + button-height(40px) = 125px */
    }
}

/* Newsletter Subscription Styles */
.newsletter-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.newsletter-message.success {
    background-color: rgba(0, 255, 128, 0.2);
    border: 1px solid #00ff80;
    color: #00ff80;
}

.newsletter-message.error {
    background-color: rgba(255, 59, 48, 0.2);
    border: 1px solid #ff3b30;
    color: #ff3b30;
}

.newsletter-message.animated {
    animation-duration: 0.5s;
}

.newsletter-message.fadeIn {
    animation-name: fadeIn;
}

.newsletter-message.fadeOut {
    animation-name: fadeOut;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Newsletter Subscription Button States */
#subscription-form button[type="submit"] {
    transition: all 0.3s ease;
}

#subscription-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


