@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;600;700&display=swap');

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 84px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Google Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    padding-top: 84px !important;
    margin: 0 !important;
}

/* CONTAINER - 1320px FIXED WIDTH FOR DESKTOP */
.container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .container { max-width: 1140px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .container { max-width: 960px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .container { max-width: 720px; }
}
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* TYPOGRAPHY */
p {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}
span, li, .card-text, .lead, .small, .nav-link, .btn, .text-muted {
    font-weight: 500;
}
h1, h2, h3, h4, h5, h6, .fw-bold, .card-title, .display-5, .display-6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a202c;
}

/* ========== FIXED TOP SLIDER ========== */
.top-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1a202c;
    color: #ffffff;
    overflow: hidden;
    z-index: 1002;
    height: 42px;
    line-height: 42px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.slider-track {
    display: inline-block;
    white-space: nowrap;
    animation: slide 22s linear infinite;
}
.slider-item {
    display: inline-block;
    padding: 0 25px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.slider-item i { margin-right: 8px; color: #2c7a7b; }
.slider-item strong { color: #ffffff; font-weight: 700; }
.separator {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #4a5568;
    margin: 0 10px;
}
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.top-slider:hover .slider-track { animation-play-state: paused; }

/* ========== FIXED NAVBAR — GLASS EFFECT ========== */
.navbar {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    position: fixed !important;
    top: 42px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 24px rgba(44, 122, 123, 0.10), 0 1px 0 rgba(255,255,255,0.6) inset !important;
    transition: all 0.3s ease;
}
.navbar .container {
    display: flex;
    justify-content: center;
    position: relative;
    height: auto !important;
    max-width: 1000px !important;
    width: 90% !important;
    margin: 0 auto !important;
}
@media (min-width: 1400px) { .navbar .container { max-width: 1000px !important; } }
@media (min-width: 1200px) and (max-width: 1399px) { .navbar .container { max-width: 950px !important; } }
@media (min-width: 992px) and (max-width: 1199px) { .navbar .container { max-width: 850px !important; } }
.navbar-brand { position: absolute; left: 0; }
.navbar-brand img {
    max-height: 50px;
    width: auto;
    display: block;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.navbar-brand:hover img { transform: scale(1.03); filter: brightness(1.02); }
.navbar-collapse { display: flex; justify-content: center; }
.navbar-nav { gap: 15px !important; margin: 0 auto; }
.navbar-nav .nav-link {
    font-weight: 600;
    color: #1a202c;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    padding: 6px 14px !important;
    font-size: 14px !important;
    border-radius: 50px;
}
.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2c7a7b, #236b6c) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(44, 122, 123, 0.3);
}
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2c7a7b, #236b6c) !important;
}
.navbar-nav .nav-link::after { display: none; }
.navbar-toggler {
    border: none;
    padding: 6px 10px;
    border-radius: 10px;
    background: transparent;
    position: absolute;
    right: 0;
}
.navbar-toggler:hover { background-color: rgba(247,250,252,0.8); transform: scale(1.05); }
.navbar-toggler:focus { box-shadow: none; outline: none; }

/* ========== MOBILE NAVBAR — FIXED OVERLAP + 1-COLUMN BUTTONS ========== */
@media (max-width: 991px) {
    /* Account for slider (36px) + navbar (~52px) = 88px safe offset */
    body {
        padding-top: 88px !important;
    }
    html {
        scroll-padding-top: 88px;
    }

    .navbar .container {
        display: flex;
        justify-content: space-between;
        width: 100% !important;
        padding: 0 20px !important;
    }
    .navbar-brand { position: relative; }
    .navbar-toggler { position: relative; }

    /* Dropdown menu panel */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-radius: 20px;
        margin-top: 15px;
        padding: 20px 16px;
        box-shadow: 0 20px 40px -12px rgba(44, 122, 123, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.5);
        width: 100%;
    }

    /* Nav list: single column, full width */
    .navbar-nav {
        gap: 8px !important;
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
        margin: 0 !important;
    }

    /* Each nav item: full row */
    .navbar-nav .nav-item {
        width: 100%;
    }

    /* Each nav link: full-width block button */
    .navbar-nav .nav-link {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
        background: #ffffff
        color: #1a202c !important;
        margin: 0 !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, #2c7a7b, #236b6c) !important;
        color: #ffffff !important;
        transform: none !important;
        box-shadow: 0 4px 12px rgba(44, 122, 123, 0.25) !important;
    }
}

/* ========== SMALL MOBILE (≤768px) ========== */
@media (max-width: 768px) {
    /* Slider shrinks to 36px, navbar ~50px → total ~86px */
    body { padding-top: 86px !important; }
    html { scroll-padding-top: 86px; }

    .top-slider { height: 36px; line-height: 36px; }
    .navbar { top: 36px !important; padding: 8px 0 !important; }
    .display-5 { font-size: 1.8rem; }
    .feature-icon { font-size: 45px; }
}

/* ========== EXTRA SMALL (≤576px) ========== */
@media (max-width: 576px) {
    /* Slider 36px + navbar ~48px = ~84px */
    body { padding-top: 84px !important; }
    html { scroll-padding-top: 84px; }

    .navbar-brand img { max-height: 34px; }
    .display-4 { font-size: 2rem; }
    .btn-primary, .btn-outline-primary { padding: 10px 20px; }
}

/* ========== HERO BUTTONS — MOBILE SINGLE COLUMN STACKING ========== */
@media (max-width: 991px) {
    section .mt-4 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100%;
    }

    section .mt-4 .btn {
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* IMAGE HOVER EFFECTS */
img:not(.navbar-brand img) {
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    border-radius: 16px;
}
img:not(.navbar-brand img):hover {
    transform: scale(1.02) rotate(1deg);
    filter: brightness(1.02);
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.15);
}

/* CARD HOVER */
.card {
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(44, 122, 123, 0.15);
    border-color: #2c7a7b20;
}
.card:hover .card-title { color: #2c7a7b; }

/* BUTTON STYLES */
.btn-primary {
    background: linear-gradient(135deg, #2c7a7b, #236b6c) !important;
    border: none !important;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #236b6c, #1a5a5b) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -8px rgba(44, 122, 123, 0.4);
}
.btn-outline-primary {
    border: 2px solid #2c7a7b !important;
    color: #2c7a7b !important;
    background: transparent;
    border-radius: 50px;
    padding: 10px 26px;
    font-weight: 600;
}
.btn-outline-primary:hover {
    background: #2c7a7b !important;
    color:#ffffff  !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -8px rgba(44, 122, 123, 0.3);
}

/* FEATURES SECTION */
.feature-icon {
    font-size: 55px;
    background: linear-gradient(135deg, #2c7a7b, #1a5a5b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}
#features .col-md-4 {
    transition: all 0.35s ease;
    cursor: pointer;
    padding: 20px;
    border-radius: 24px;
}
#features .col-md-4:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, #ffffff, #f7fafc);
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.08);
}
#features .col-md-4:hover .feature-icon { transform: scale(1.1); }
#features .col-md-4:hover h3 { color: #2c7a7b; }

/* CTA SECTION */
.cta {
    background: linear-gradient(135deg, #1a202c, #2c7a7b);
    border-radius: 0;
    overflow: hidden;
}
.cta .btn:hover i { transform: translateX(6px); }

/* FOOTER */
footer {
    background-color: #1a202c !important;
    border-top: 1px solid #2d3748;
}
footer a {
    transition: all 0.3s ease;
    display: inline-block;
}
footer a:hover {
    color: #2c7a7b !important;
    transform: translateX(5px);
}
.text-primary { color: #2c7a7b !important; }
.bg-primary { background-color: #2c7a7b !important; }

/* FORM INPUTS */
input, textarea, select {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
}
input:focus, textarea:focus, select:focus {
    border-color: #2c7a7b;
    box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.15);
    outline: none;
}

/* BADGE */
.badge {
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 500;
}

/* CAROUSEL CONTROLS */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(44, 122, 123, 0.7);
    transition: all 0.3s ease;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #2c7a7b;
    transform: scale(1.1);
}

/* UTILITY CLASSES */
.rounded-4 { border-radius: 20px; }
.rounded-5 { border-radius: 28px; }
.shadow-sm { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.text-gradient {
    background: linear-gradient(135deg, #2c7a7b, #1a5a5b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* SECTION SPACING */
section { padding: 60px 0; }
@media (max-width: 768px) { section { padding: 40px 0; } }
.hero-spacer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 20px !important;
}

/* SQUARE IMAGES */
.row.gx-2.gx-lg-3 .col-6 img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}
.hero .app-screenshot {
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}
.bg-light.rounded-3 {
    background-color: #ffffff;
    border-radius: 28px !important;
    padding: 40px;
    margin-top: 0 !important;
    border-radius: 0 !important;
}

/* ========== CONTACT PAGE RESPONSIVE ========== */
@media (max-width: 576px) {
    .contact-info-card .d-flex {
        flex-direction: column !important;
        text-align: center;
    }
    .contact-info-card .bg-primary.rounded-circle {
        margin-bottom: 12px;
        margin-right: 0 !important;
    }
    .contact-info-card .d-flex.align-items-center { justify-content: center; }
    .map-container iframe { height: 250px !important; }
    section { padding: 40px 0 !important; }
    .container { padding-left: 16px; padding-right: 16px; }
    .rounded-4 { border-radius: 16px !important; }
    .p-4, .p-lg-5 { padding: 20px !important; }
}
@media (max-width: 768px) {
    footer .row.gy-4 { text-align: center; }
    footer .d-flex.align-items-center { justify-content: center; }
    footer .input-group { max-width: 300px; margin: 0 auto; }
    footer .d-flex.gap-3 { justify-content: center; }
}

/* FOLLOW US ICONS */
.contact-info-card .d-flex.gap-3 { gap: 8px !important; }
.contact-info-card .btn-outline-secondary {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.contact-info-card .btn-outline-secondary i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px;
}
.contact-info-card .btn-outline-secondary:hover {
    transform: translateY(-3px);
    background-color: #2c7a7b !important;
    border-color: #2c7a7b !important;
    color: white !important;
}
.contact-info-card .d-flex.align-items-center { gap: 0 !important; }
.contact-info-card .bg-primary.rounded-circle { margin-right: 15px !important; }
@media (max-width: 576px) {
    .contact-info-card .bg-primary.rounded-circle {
        margin-right: 0 !important;
        margin-bottom: 12px;
    }
}

/* SMOOTH TRANSITIONS */
.btn, .card, .accordion-button, .social-icon {
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* TEAM CARDS */
.team-members-row .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(44, 122, 123, 0.15);
}
@media (max-width: 768px) {
    .team-members-row .card .row { flex-direction: column; }
    .team-members-row .card .col-md-5,
    .team-members-row .card .col-md-7 { width: 100%; }
}

/* LOADING SPINNER */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e2e8f0;
    border-top: 5px solid #2c7a7b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.hidden { display: none !important; }

/* NOTIFICATION */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 50px;
    background: #2c7a7b;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}
.notification.success { background: #2c7a7b; }
.notification.error { background: #e53e3e; }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* PREMIUM CAROUSEL */
.bg-primary {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364) !important;
    position: relative;
    overflow: hidden;
}
.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: shine 8s infinite;
}
@keyframes shine {
    0% { transform: translateX(-100%) skewX(-25deg); }
    100% { transform: translateX(100%) skewX(-25deg); }
}
.carousel-item { position: relative; z-index: 2; }
.carousel-item span {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.carousel-item .display-5 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}
.carousel-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.carousel-item .btn-outline-light {
    border: 2px solid #ffffff;
    background: transparent;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.carousel-item .btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
    transition: all 0.4s ease;
    z-index: -1;
}
.carousel-item .btn-outline-light:hover {
    color: #1a202c !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.carousel-item .btn-outline-light:hover::before { left: 0; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}
.carousel-indicators { bottom: -30px; }
.carousel-indicators button {
    width: 40px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.carousel-indicators button.active {
    background-color: #ffffff;
    width: 60px;
}
@media (max-width: 768px) {
    .carousel-item .display-5 { font-size: 1.8rem; }
    .carousel-item p { font-size: 0.95rem; }
    .carousel-item .btn-outline-light { padding: 10px 24px; font-size: 0.9rem; }
    .carousel-item span { font-size: 0.8rem; letter-spacing: 2px; }
}
@media (max-width: 576px) {
    .carousel-item .display-5 { font-size: 1.4rem; }
    .carousel-item p { font-size: 0.85rem; }
    .carousel-item .btn-outline-light { padding: 8px 20px; font-size: 0.85rem; }
}