:root {
    /* Primary font for headings */
    --font-heading: 'Poppins', sans-serif;

    /* Secondary font for body text */
    --font-body: 'Open Sans', sans-serif;

    /* Alternative fonts */
    --font-alt-1: 'Inter', sans-serif;       /* Great for buttons, nav links */
    --font-alt-2: 'Roboto', sans-serif;      /* Can be used for subheadings or captions */
    --font-alt-3: 'Nunito', sans-serif;      /* Friendly, readable – good for testimonials or cards */
}


/* colors palette */
:root {
    --color-primary: #1E3A8A;    /* Deep Blue – main headers, buttons, highlights */
    --color-primary-light: #3B82F6; /* Light Blue – hover effects, secondary buttons */
    --color-accent: #F59E0B;     /* Amber – call-to-action buttons, icons, highlights */
    --color-accent-light: #FBBF24; /* Lighter amber – hover/secondary accents */
    --color-bg: #FFFFFF;          /* Main background – keeps it clean and professional */
    --color-bg-light: #F3F4F6;    /* Slight gray background – sections, cards */
    --color-text: #111827;        /* Dark Gray / Almost Black – main text */
    --color-text-light: #6B7280;  /* Gray – secondary text, descriptions */
    --color-border: #D1D5DB;      /* Light gray – dividers, borders */
    --color-success: #10B981;     /* Green – success messages */
    --color-error: #EF4444;       /* Red – errors or alerts */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Body */
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Loader Design */
.loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid;
    border-color: var(--color-primary) transparent transparent;
    animation: rotation 1s linear infinite;
    position: relative;
}

.loader::after,
.loader::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    border: 4px solid;
    border-radius: 50%;
    box-sizing: border-box;
}

.loader::after {
    width: 48px;
    height: 48px;
    border-color: transparent transparent var(--color-accent);
    animation: rotationBack 1.2s linear infinite;
}

.loader::before {
    width: 36px;
    height: 36px;
    border-color: var(--color-primary) transparent transparent;
    animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotationBack {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Fade animation for content */
.content {
    opacity: 0;
    transition: opacity 1s ease;
}

.content.show {
    opacity: 1;
}

/* Main btn */
.main-btn {
    background: var(--color-primary);
    color: var(--color-bg-light);
    font-family: var(--font-heading);
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.5s ease;
}

.main-btn:hover {
    background: var(--color-primary-light);
    box-shadow: 0 0 15px var(--color-primary-light);
    transform: translateY(-3px);
}


/* ================================================================ Navbar ========================================================= */
.navbar {
    background-color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary-light);
    padding: 15px 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    color: var(--color-accent-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-bg-light);
    font-family: var(--font-heading);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1); 
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--color-bg);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: var(--color-primary-light);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: var(--font-alt-3);
    color: var(--color-bg-light);
    text-decoration: none;
    padding: 1rem 0;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu a:hover {
    color: var(--color-accent-light);
    padding-left: 10px;
}

.mobile-menu a.active {
    color: var(--color-accent-light);
    font-weight: 900;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .nav-links {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .cta-container {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}

/* ================================================================ Footer ======================================================== */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-bg-light);
    padding: 60px 0 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--color-primary-light);
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-bg);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
    opacity: 1;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--color-primary-light);
    margin-right: 12px;
    margin-top: 3px;
    width: 16px;
}

.contact-info span {
    line-height: 1.5;
    opacity: 0.9;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
    text-align: left;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-section {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    /* Override center alignment on small screens */
    .footer-logo,
    .footer-logo h3,
    .footer-description,
    .footer-section,
    .footer-section h4,
    .footer-links,
    .contact-info,
    .footer-bottom {
        text-align: left !important;
    }
    
    .footer-section h4::after {
        left: 0 !important;
        transform: none !important;
    }

    .social-icons {
        justify-content: flex-start !important;
    }
}

/* ========================================================= Landing ================================================================ */
.landing {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 21, 34, 0.4);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.landing-text {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.landing-text .main-text,
.landing-text .secondary-text {
    opacity: 0;
    transform: translateY(30px);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    transition: opacity 1s ease, transform 1s ease;
}

.landing-text .main-text.active,
.landing-text .secondary-text.active {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.landing-text .main-text span,
.landing-text .secondary-text span {
    color: var(--color-accent-light);
    font-family: var(--font-alt-3);
    font-weight: 500;
}

.landing-text .main-text h2,
.landing-text .secondary-text h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    margin: 13px 0;
}

.landing-text .main-text h2 span ,
.landing-text .secondary-text h2 span {
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 900;
    text-decoration: underline;
}

.landing-text .main-text p ,
.landing-text .secondary-text p {
    width: 90%;
    margin: auto;
    padding: 12px 0;
    font-family: var(--font-alt-3);
}

.landing-text .btn {
    color: var(--color-bg-light);
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.5s ease;
}

.landing-text .btn:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-bg-light);
}

@media (max-width: 768px) {
    .landing-text .main-text h2 span ,
    .landing-text .secondary-text h2 span {
        font-size: 25px;
    }
}

/* ======================================================= About hero ============================================================= */
.about-section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.image-content {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.description {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.features {
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.feature-icon {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: 1.05rem;
    color: var(--color-text);
}

.btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
}

.floating-image {
    position: absolute;
    width: 60%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.floating-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.15);
}

.floating-image-2 {
    bottom: -30px;
    left: -20px;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .text-content, .image-content {
        width: 100%;
    }

    .floating-image {
        width: 50%;
    }

    .floating-image-2 {
        bottom: -20px;
        left: -10px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .description {
        font-size: 1rem;
    }

    .feature-text {
        font-size: 1rem;
    }

    .main-image {
        height: 300px;
    }

    .floating-image {
        height: 180px;
    }
}

/* ======================================================== Services ============================================================== */
.services-section {
    position: relative;
    padding: 3rem;
    background-image: 
        linear-gradient(rgba(27, 167, 202, 0.55), rgba(32, 82, 189, 0.55)), /* dark overlay */
        url(../imgs/2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-bg); /* ensures text stays light */
    z-index: 1;
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.services-section * {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: .7em;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--color-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 3px 3px rgba(23, 41, 73, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-description {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

/* ---------- Sweet Hover Animations ---------- */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(14, 165, 233, 0.05) 0%,
        rgba(14, 165, 233, 0.15) 50%,
        rgba(14, 165, 233, 0.05) 100%
    );
    transition: all 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    background-color: rgba(14, 165, 233, 0.15);
    color: var(--color-primary);
}

.service-card:hover .service-title {
    color: var(--color-accent);
}

.service-card:focus-within {
    outline: 2px solid var(--color-accent);
    outline-offset: 5px;
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .services-section {
        padding: 3rem 1rem;
    }
}

/* ============================================================ Testimonials ======================================================== */
.testimonials-section {
    padding: 5rem 1rem;
    background-color: var(--color-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: .9rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background-color: var(--color-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--color-accent-light);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    color: #F59E0B;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.6;
    flex: 1;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.carousel-btn {
    background-color: var(--color-accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.carousel-btn:hover {
    background-color: var(--color-accent-light);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    margin: 0 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-border);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .testimonials-section {
        padding: 3rem 1rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Animation for initial load */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-card {
    animation: fadeIn 0.6s ease forwards;
}

/* ======================================================= Contact ================================================================ */
.contact-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: .9rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    padding-right: 1rem;
}

.contact-form-container {
    background-color: var(--color-bg);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

.form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    background-color: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    margin-right: 1.5rem;
    color: var(--color-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--color-text-light);
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--color-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
}

.map-container {
    grid-column: 1 / -1;
    margin-top: 3rem;
    border-radius: 16px;
    overflow: hidden;
}

.map-iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

@media (max-width: 800px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }

    .contact-form-container {
        margin: 0 auto;
        max-width: 500px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .contact-icon {
        margin: auto;
    }

    .contact-details {
        margin: auto;
    }

    .map-iframe {
        height: 250px;
    }
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-item,
.contact-form-container {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-form-container { animation-delay: 0.4s; }
.map-container { animation-delay: 0.5s; }

/* =============================================================== Fab ============================================================== */
.fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    color: white;
    font-size: 1.5rem;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    background-color: var(--color-accent-light);
}

.fab:active {
    transform: scale(0.95);
}

/* Tooltip */
.fab-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-primary);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: var(--shadow);
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-primary);
}

.fab:hover .fab-tooltip {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
}

.close-btn:hover {
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-block {
    display: block;
    width: 100%;
}

.contact-options {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-option {
    flex: 1;
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-option:hover {
    background-color: var(--color-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-option i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fab {
        bottom: 70px; /* Higher to avoid mobile navigation bars */
    }
    
    .fab-tooltip {
        display: none; /* Hide tooltip on mobile for cleaner look */
    }
    
    .contact-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .fab {
        width: 55px;
        height: 55px;
        bottom: 80px;
        right: 20px;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

/* ================================================================= Members  ===================================================== */
.team-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.team-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 1rem;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background-color: var(--color-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.photo-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.team-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-bg);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.photo-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    opacity: 0.1;
    z-index: 1;
}

.team-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.team-role:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 1px;
}

.team-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    color: var(--color-text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    .photo-container {
        width: 130px;
        height: 130px;
    }
}

/* =========================================================== Apointement ======================================================== */
.appointment-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.appointment-card {
    background-color: var(--color-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.appointment-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.appointment-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.appointment-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.appointment-body {
    padding: 2.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    display: block;
}

.form-control, .form-select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--color-bg);
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.time-slot {
    position: relative;
}

.time-slot input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.time-slot label {
    display: block;
    padding: 1rem;
    background-color: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.time-slot input:checked + label {
    background-color: rgba(14, 165, 233, 0.1);
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.time-slot label:hover {
    border-color: var(--color-accent-light);
}

.btn-submit {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.appointment-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.confirmation-note {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.back-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    color: var(--color-primary-light);
}

.calendar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.calendar-icon i {
    font-size: 3rem;
    color: var(--color-accent);
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 1.5rem;
}

.success-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.success-text {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .time-slots {
        grid-template-columns: 1fr;
    }
    
    .appointment-header, .appointment-body, .appointment-footer {
        padding: 1.5rem;
    }
    
    .appointment-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .appointment-title {
        font-size: 1.6rem;
    }
    
    .appointment-description {
        font-size: 1rem;
    }
}