/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 90px;
}

::selection {
    background: rgba(37,99,235,.2);
    color: var(--text);
}

a {
    transition: color .3s ease, background-color .3s ease, transform .3s ease;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid rgba(37,99,235,.35);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    z-index: 2000;
    border-radius: 0 0 8px 0;
}

    .skip-link:focus {
        left: 0;
    }


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text);
}

a {
    text-decoration: none;
    transition: .3s;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .section-title h2::after {
            content: '';
            width: 70px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 999px;
            display: block;
            margin: 12px auto 0;
        }

    .section-title p {
        color: var(--muted);
        max-width: 700px;
        margin: auto;
    }

/* =========================================================
   NAVBAR
========================================================= */
.nav-link {
    position: relative;
    font-weight: 600;
}

    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: .3s;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

.custom-navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}

/*.site-logo {
    width: 90px;
    height: auto;
    border-radius: 50%;
    object-fit: contain;
}

.brand-name {
    color: var(--nav-text);
    font-size: 1.4rem;
    font-weight: 700;
}*/
.site-logo {
    height: 107px;
    width: auto;
    border-radius: 50%;
    margin: -23px 0;
    padding: 18px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 2px rgba(255,255,255,.9)) drop-shadow(0 0 8px rgba(0,132,255,.35));
}

.brand-name {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(90deg, #ffffff, #d8e8ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-navbar .nav-link {
    color: var(--nav-text) !important;
    font-weight: 500;
    margin-left: 15px;
}

    .custom-navbar .nav-link:hover {
        color: var(--accent) !important;
    }

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

/* ==========================================
   NAVIGATION SPACING
========================================== */
 

.navbar-nav {
    gap: 18px;
}

    .navbar-nav .nav-link {
        position: relative;
        font-weight: 600;
        color: var(--nav-text);
    }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: .3s;
        }

        .navbar-nav .nav-link:hover::after {
            width: 100%;
        }

/* Fix Bootstrap dropdown arrow alignment */
.navbar .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .navbar .dropdown-toggle::after {
        display: none !important;
        margin-left: 0;
        vertical-align: middle;
        position: relative;
        top: 1px;
    }

/* Custom arrow */
.custom-dropdown-arrow {
    font-size: 12px;
    margin-left: 6px;
    color: #60a5fa;
    position: relative;
    top: -1px;
}

.nav-link .fa-chevron-down {
    font-size: 11px;
    /*color: #60a5fa;*/
}
/* =========================================================
   HERO
========================================================= */

.hero-modern {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--hero-gradient);
    color: #fff;
    padding: 100px 0;
}

    .hero-modern h1 {
        color: #fff;
        /*font-size: clamp(3rem,5vw,5rem);*/
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 24px;
    }
    .hero-modern .col-lg-6:first-child {
        max-width: 650px;
    }

    .hero-modern p {
        color: rgba(255,255,255,.92);
        font-size: 1.15rem;
        line-height: 1.8;
        max-width: 600px;
    }

.hero-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

    .hero-image img {
        width: 100%;
        display: block;
    }

/* ==========================================
   HERO FEATURES
========================================== */

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 25px;
}

    .hero-features span {
        color: #ffffff;
        font-weight: 500;
        opacity: .95;
    }

/* =========================================================
   BUTTONS
========================================================= */

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: var(--button-radius);
    padding: 12px 28px;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
    }

.btn-outline-light {
    border-radius: var(--button-radius);
    padding: 12px 28px;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 90px 0;
}

.bg-section {
    background: var(--section);
}

/* =========================================================
   CARDS
========================================================= */

.service-card,
.feature-card,
.highlight-card,
.testimonial-card {
    background: var(--surface);
    border-radius: var(--card-radius);
    padding: 35px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: .3s;
}

    .service-card:hover,
    .feature-card:hover,
    .highlight-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

    .service-card i,
    .feature-card i,
    .highlight-card i {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 15px;
    }

/* =========================================================
   COUNTERS
========================================================= */

.counter-section {
    background: var(--primary);
    color: #fff;
    padding: 80px 0;
}

.counter-box h3 {
    color: #fff;
    font-size: 2.5rem;
}

.counter-box p {
    margin: 0;
}

/* =========================================================
   CTA
========================================================= */

.cta-section {
    background: var(--primary);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

    .cta-section h2 {
        color: #fff;
    }

/* =========================================================
   PAGE BANNER
========================================================= */

.page-banner {
    padding: 90px 0;
    background: var(--hero-gradient);
    color: #fff;
    text-align: center;
}

    .page-banner h1 {
        color: #fff;
    }

/* =========================================================
   FORMS
========================================================= */

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 12px 15px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary);
        box-shadow: none;
    }

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--secondary-dark);
    color: #fff;
    padding: 70px 0 20px;
}

    .footer h5 {
        color: #fff;
        margin-bottom: 20px;
    }

    .footer a {
        color: var(--muted);
    }

        .footer a:hover {
            color: var(--accent);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 30px;
    padding-top: 20px;
}

/* ==========================================
   BACK TO TOP
========================================== */

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 95px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .3s ease;
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
    }

/* ==========================================
   FOOTER UPGRADE
========================================== */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: rgba(255,255,255,.75);
        transition: .3s;
    }

        .footer-links a:hover {
            color: #fff;
            padding-left: 5px;
        }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: .3s;
    }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

/* =========================================================
   UTILITIES
========================================================= */

.text-muted-custom {
    color: var(--muted);
}

.bg-surface {
    background: var(--surface);
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.rounded-custom {
    border-radius: var(--card-radius);
}

/* ==========================================
   PAGE HEADER
========================================== */

.page-header {
    background: var(--hero-gradient);
    color: #fff;
    text-align: center;
    padding: 120px 0 100px;
}

    .page-header .section-badge {
        display: inline-block;
        padding: 8px 18px;
        border-radius: 50px;
        background: rgba(255,255,255,.15);
        color: #fff;
        font-size: .85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        margin-bottom: 20px;
    }

    .page-header h1 {
        color: #fff !important;
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .page-header p {
        color: rgba(255,255,255,.92);
        max-width: 800px;
        margin: auto;
        font-size: 1.1rem;
    }

/* ==========================================
   WHY CHOOSE US
========================================== */

.feature-card {
    text-align: center;
    height: 100%;
}

    .feature-card i {
        font-size: 3rem;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .feature-card h4 {
        margin-bottom: 15px;
    }

    .feature-card p {
        color: var(--muted);
        margin-bottom: 0;
    }


/* ==========================================
   ABOUT PAGE
========================================== */

.about-hero {
    position: relative;
    overflow: hidden;
}

    .about-hero::after {
        content: '';
        position: absolute;
        inset: auto -10% -20% auto;
        width: 260px;
        height: 260px;
        background: rgba(255,255,255,.12);
        border-radius: 50%;
        filter: blur(2px);
    }

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.about-story {
    position: relative;
}

.about-image-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

    .about-image-card img {
        width: 100%;
        display: block;
        border-radius: 28px;
    }

.about-image-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,.92);
    color: var(--secondary-dark);
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

    .about-image-badge i {
        color: var(--primary);
    }

.about-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

    .about-pill-list span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(37,99,235,.08);
        color: var(--text);
        font-weight: 600;
    }

        .about-pill-list span i {
            color: var(--primary);
        }

.about-highlight-box {
    margin-top: 28px;
    padding: 24px 26px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(56,189,248,.12));
    border: 1px solid rgba(37,99,235,.16);
}

    .about-highlight-box h4 {
        margin-bottom: 8px;
        color: var(--text);
    }

    .about-highlight-box p {
        margin-bottom: 0;
        color: var(--muted);
    }

.about-intro {
    padding: 100px 0;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 20px;
}

.about-values {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(37,99,235,.03) 100%);
}

.about-cta {
    padding: 0 0 100px;
}

.about-cta-panel {
    padding: 45px;
    border-radius: 28px;
    background: var(--hero-gradient);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-md);
}

    .about-cta-panel h2 {
        color: #fff;
        margin-bottom: 12px;
    }

    .about-cta-panel p {
        color: rgba(255,255,255,.9);
        max-width: 650px;
        margin: 0 auto 24px;
    }

.map-section {
    padding: 90px 0 60px;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(37,99,235,.04) 100%);
}

    .map-section .section-title h2 {
        margin-bottom: 12px;
    }

.map-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15,23,42,.08);
}

.map-card iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-card iframe {
        min-height: 320px;
    }
}

.team-section {
    background: var(--bg);
}

.team-card {
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(15,23,42,.12);
}

.team-card-img {
    overflow: hidden;
}

.team-card-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.team-card:hover .team-card-img img {
    transform: scale(1.05);
}

.team-card-body {
    padding: 24px;
}

.team-card-body h4 {
    margin-bottom: 10px;
}

.team-card-body span {
    display: block;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 700;
}

.team-card-body p {
    color: var(--muted);
    margin-bottom: 0;
    line-height: 1.75;
}

/* ==========================================
   STATS SECTION
========================================== */

.stats-section {
    background: var(--section);
    padding: 90px 0;
}

.stat-card {
    background: var(--surface);
    border-radius: 20px;
    text-align: center;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: .3s;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .stat-card h3 {
        color: var(--primary);
        font-size: 2.7rem;
        font-weight: 800;
    }

    .stat-card p {
        margin: 0;
        color: var(--muted);
    }

/* ==========================================
   VISION & MISSION
========================================== */

.info-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

    .info-card i {
        font-size: 3rem;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .info-card h3 {
        margin-bottom: 15px;
    }

    .info-card p {
        color: var(--muted);
    }

/* ==========================================
   SECTION BADGE
========================================== */

.section-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(37,99,235,.10);
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ==========================================
   COMMON SPACING
========================================== */

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 70px 0;
}

/* ==========================================
   THEME SAFE CARDS
========================================== */

.theme-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

/* ==========================================
   IMAGE UTILITIES
========================================== */

.image-rounded {
    border-radius: 24px;
    overflow: hidden;
}

.image-shadow {
    box-shadow: var(--shadow-md);
}

/* ==========================================
   SERVICES PAGE
========================================== */

.service-card {
    height: 100%;
    text-align: center;
    padding: 40px 30px;
}

    .service-card i {
        font-size: 3rem;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .service-card h4 {
        margin-bottom: 15px;
    }

    .service-card p {
        color: var(--muted);
        margin-bottom: 20px;
    }

.service-link {
    font-weight: 600;
    color: var(--primary);
}

    .service-link:hover {
        color: var(--primary-dark);
    }

/* ==========================================
   GALLERY PAGE
========================================== */

.gallery-filter {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-btn {
    border: none;
    background: var(--surface);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 50px;
    margin: 5px;
    border: 1px solid var(--border);
    transition: .3s;
}

    .gallery-btn.active,
    .gallery-btn:hover {
        background: var(--primary);
        color: #fff;
    }

.gallery-card {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

    .gallery-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: .4s;
    }

    .gallery-card:hover img {
        transform: scale(1.08);
    }

/* ==========================================
   TESTIMONIALS PAGE
========================================== */

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

    .testimonial-card p {
        margin: 20px 0;
        color: var(--muted);
    }

    .testimonial-card h5 {
        margin-bottom: 5px;
    }

    .testimonial-card span {
        color: var(--muted);
        font-size: .9rem;
    }

.stars {
    color: #f59e0b;
    font-size: 1.2rem;
}

/* ==========================================
   CONTACT PAGE
========================================== */

.contact-hero .section-badge {
    margin-bottom: 16px;
}

.contact-page-section {
    padding-top: 90px;
    padding-bottom: 70px;
}

.contact-info-card,
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

/* Professional contact form refinements */
.contact-form-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 36px 34px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--surface), #ffffff);
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: 0 8px 30px rgba(16,24,40,.06);
}

.contact-form-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-form-card p.lead {
    color: var(--muted);
    margin-bottom: 18px;
}

.contact-form-card .mui-field {
    position: relative;
    margin-top: 12px;
}

.contact-form-card .mui-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, var(--surface), #fff);
    padding: 0 8px;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 600;
    pointer-events: none;
    transition: all .16s ease;
}

.contact-form-card .mui-input:focus + .mui-label,
.contact-form-card .mui-input:not(:placeholder-shown) + .mui-label {
    top: -10px;
    transform: translateY(0);
    font-size: .72rem;
    color: var(--primary);
}

.contact-form-card .mui-field-textarea .mui-input {
    min-height: 140px;
    padding-top: 18px;
}

.contact-form-card .btn-primary {
    background: linear-gradient(90deg,var(--primary),var(--accent));
    border: none;
    box-shadow: 0 8px 24px rgba(37,99,235,.12);
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
}

.contact-form-card .btn-primary:hover {
    transform: translateY(-2px);
}

.contact-form-card .alert-success {
    background: linear-gradient(90deg,#ecfdf5,#f0fdf4);
    border: 1px solid rgba(34,197,94,.12);
    color: #064e3b;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-form-card .alert-success i {
    font-size: 1.1rem;
    color: #10b981;
}


.contact-info-card h2,
.contact-form-card h3 {
    margin-bottom: 12px;
}

.contact-info-card p,
.contact-form-card p {
    color: var(--muted);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-top: 22px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

    .contact-item:first-of-type {
        margin-top: 24px;
    }

    .contact-item i {
        color: var(--primary);
        font-size: 1.2rem;
        margin-top: 4px;
    }

    .contact-item strong {
        display: block;
        margin-bottom: 4px;
        color: var(--text);
    }

    .contact-item p {
        margin: 0;
        color: var(--muted);
    }

    .contact-item a {
        color: var(--muted);
    }

        .contact-item a:hover {
            color: var(--primary);
        }

.contact-form-card .mui-input {
    width: 100%;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 8px;
    padding: 18px 14px 12px;
    background: var(--surface);
    box-shadow: inset 0 1px 2px rgba(15,23,42,.03);
}

.contact-form-card .mui-field-textarea .mui-input {
    min-height: 140px;
    padding-top: 18px;
}

.contact-form-card .btn-primary {
    background: linear-gradient(90deg,var(--primary),var(--accent));
    border: none;
    box-shadow: 0 8px 24px rgba(37,99,235,.12);
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
}

.contact-form-card .btn-primary:hover {
    transform: translateY(-2px);
}

.contact-form-card .alert-success {
    background: linear-gradient(90deg,#ecfdf5,#f0fdf4);
    border: 1px solid rgba(34,197,94,.12);
    color: #064e3b;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-form-card .alert-success i {
    font-size: 1.1rem;
    color: #10b981;
}
 

/* ==========================================
   WHATSAPP FLOATING BUTTON
========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(37,211,102,.35);
    transition: .3s;
}

    .whatsapp-float:hover {
        transform: translateY(-5px);
        color: #fff;
    }

    .whatsapp-float i {
        line-height: 1;
    }