:root {
    --primary: #00f2fe;
    --primary-gradient: linear-gradient(135deg, #67dcf9 0%, #fad0c4 100%);
    /* Soft pink to peach */

    --secondary-gradient: linear-gradient(135deg, #451fa4 0%, #85a9f5 100%);
    /* Light blue freshness */

    --accent-gradient: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    /* Pink-purple calm */

    --dark-gradient: linear-gradient(135deg, #232526 0%, #414345 100%);
    /* Modern dark base */

    --text-primary: #1a1a1a;
    /* Deep charcoal for contrast */

    --text-secondary: #6d6d6d;
    /* Soft gray */

    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.8rem;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #667eea !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Banner */
.banner {
    height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
    background-size: 100px 100px, 150px 150px, 120px 120px;
    animation: backgroundMove 20s infinite linear;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    background-size: 200px 200px, 180px 180px;
    animation: diagonalMove 15s infinite linear reverse;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100px, -100px);
    }
}

@keyframes diagonalMove {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(200px) translateY(200px);
    }
}

/* Floating particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatUp 8s infinite linear;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 3s;
    animation-duration: 6s;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Geometric shapes animation */
.banner .geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotate 20s infinite linear;
}

.shape-2 {
    top: 20%;
    right: 10%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    animation: float 15s infinite ease-in-out;
}

.shape-3 {
    bottom: 30%;
    left: 15%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: bounce 12s infinite ease-in-out;
}

.shape-4 {
    bottom: 20%;
    right: 20%;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: pulse 8s infinite ease-in-out;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(45deg);
    }

    50% {
        transform: translateY(-30px) rotate(45deg);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

/* Dynamic banner content that changes on scroll */
.banner-content {
    position: relative;
    z-index: 10;
    transition: all 0.5s ease;
}

.banner.scrolled .banner-content h1 {
    transform: scale(0.9);
    opacity: 0.8;
}

.banner.scrolled .banner-content p {
    transform: translateY(-10px);
    opacity: 0.7;
}

.banner-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--secondary-gradient);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* About Us */
.about-section {
    padding: 100px 0;
    margin-top: 150px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

/* Services */
.services-section {
    padding: 100px 0;
    background: var(--dark-gradient);
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.service-card h4 {
    color: white;
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card .btn {
    background: var(--accent-gradient);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    margin-top: 15px;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border-radius: 25px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.overlay-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.overlay-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.overlay-header:hover img {
    transform: scale(1.05);
}

.overlay-header .overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 20px;
}

.overlay-header .overlay-title h2 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay-body {
    padding: 30px;
    max-height: calc(90vh - 300px);
    overflow-y: auto;
}

.overlay-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary);
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-item-card {
    background: none;
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.service-item-card .service-icon {
    font-size: 2.5rem;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.service-item-card h5 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-item-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.overlay-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0 30px 30px;
}

.overlay-actions .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-overlay:hover {
    background: white;
    transform: rotate(90deg);
}

/* Responsive overlay */
@media (max-width: 768px) {
    .overlay-content {
        width: 98%;
        max-height: 95vh;
    }

    .overlay-header {
        height: 250px;
    }

    .overlay-header .overlay-title h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .overlay-body {
        padding: 20px;
    }

    .overlay-actions {
        padding: 0 20px 20px;
        flex-direction: column;
    }
}

#serviceFormOverlay {
    /* The core overlay styles are inherited from .overlay */
    padding: 20px;
    /* Use a consistent padding for responsiveness */
    display: none;
    /* Controlled by JavaScript */
}

/* Ensure a proper backdrop for the form overlay */
#serviceFormOverlay.show {
    opacity: 1;
}

#serviceFormOverlay .overlay-content {
    /* The form content will also be a white card, like the main overlay */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 25px;
    max-width: 600px;
    /* A smaller max-width is better for forms */
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    /* Allow scrolling if the form is long */
    box-shadow: 0 25px 80px var(--shadow-strong);
    padding: 40px;
    /* Add internal padding for spacing */
    animation: slideInUp 0.4s ease-out forwards;
}

#serviceFormOverlay #formTitle {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

/* Styling for the close button, which is not in the HTML you provided,
   but is good practice to include for form overlays. */
#serviceFormOverlay .close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    /* background: rgba(0, 0, 0, 0.6) ; */
    color: var(--dark-gradient);
    background: none;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

#serviceFormOverlay .overlay-content,
#serviceFormOverlay .overlay-content .form-control {
    background: transparent;
    border: 1px solid #00f2fe;
    color: #00f2fe;
}

#serviceFormOverlay .overlay-content .form-control::placeholder {
    color: #00f2fe !important;
}

#serviceFormOverlay .close-overlay:hover {
    /* background: var(--dark-gradient); */
    transform: rotate(90deg);
}

/* Form control styling for a clean, modern look */
.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: var(--text-primary);
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
    /* Remove default focus outline */
}

/* Form button styling */
#serviceForm .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#serviceForm .btn-primary {
    background: var(--secondary-gradient);
    border: none;
}

#serviceForm .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-strong);
}



/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    #serviceFormOverlay .overlay-content {
        padding: 30px 20px;
    }
}

/* Why Choose Us */
.why-choose-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.feature-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* FAQs */
.faq-section {
    padding: 100px 0;
    background: var(--primary-gradient);
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}


.faq-header {
    padding: 20px;
    cursor: pointer;
    color: white;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.faq-content.active {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* Contact */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Footer */
.footer {
    background: var(--dark-gradient);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #667eea;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

/* Alert */
/* Add a new overlay class for the dimmed background */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Adjust the alpha value (0.7) for desired darkness */
    backdrop-filter: blur(5px);
    /* Add a blur effect to the background content */
    z-index: 9999;
    /* Place it just behind the alert */
    display: none;
    /* Hidden by default */
    opacity: 0;
    /* Start with 0 opacity for a fade-in effect */
    transition: opacity 0.3s ease-in-out;
}

.custom-alert-overlay.show {
    display: block;
    opacity: 1;
}

/* Original custom-alert styles, with a slightly higher z-index */
.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    text-align: center;
    min-width: 300px;
    /* Add animation for a smoother appearance */
    animation: fadeInAlert 0.3s ease-out;
}

/* New keyframe animation for the alert */
@keyframes fadeInAlert {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Subscribe Section */
.subscribe-section {
    padding: 80px 0;
    background: var(--secondary-gradient);
    color: white;
}

.subscribe-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Privacy & Terms */
.privacy-section,
.terms-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.content-box {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Google Map */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Additional animations for overlay */
@keyframes slideInUp {
    from {
        transform: translate(-50%, -30%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.overlay.show {
    animation: fadeInOverlay 0.3s ease-out;
}