:root {
    --primary: #646C3B;
    --primary-light: #0E473B;
    --primary-accent: #646C3B;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #032C25;
    --text-dark: #212121;
    --text-body: #424242;
    --text-muted: #757575;
    --border-color: #E0E0E0;
}

h1, h2, .font-weight-bold { font-weight: 700 !important; }
h3, h4, .font-weight-semi-bold { font-weight: 600 !important; }
h5, h6, .font-weight-medium { font-weight: 500 !important; }

.pt-6 { padding-top: 90px; }
.pb-6 { padding-bottom: 90px; }
.py-6 { padding-top: 90px; padding-bottom: 90px; }

body {
    color: var(--text-body);
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 44, 37, 0.3);
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: #FFFFFF;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-primary.bg-opacity-10 {
    background-color: rgba(var(--bs-primary-rgb, 100, 108, 59), 0.1) !important;
    color: var(--primary) !important;
}
.border-primary { border-color: var(--primary) !important; }

.btn-square { width: 36px; height: 36px; }
.btn-sm-square { width: 28px; height: 28px; }
.btn-lg-square { width: 46px; height: 46px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--text-dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992.02px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 44, 37, 0.7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 { font-size: 14px; font-weight: 500 !important; }
    .carousel-caption h1 { font-size: 30px; font-weight: 600 !important; }
}

.carousel-control-prev, .carousel-control-next { width: 10%; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 3rem; height: 3rem; }

/* Home hero, trust transition and introduction */
.home-page { overflow: hidden; }

.home-hero {
    position: relative;
    background: var(--primary);
}

.home-hero .carousel-item,
.home-hero .carousel-item > img {
    height: clamp(610px, 76vh, 760px);
}

.home-hero .carousel-item > img {
    object-fit: cover;
    object-position: center;
}

.home-hero .carousel-caption {
    padding: clamp(52px, 7vh, 84px) 0 clamp(112px, 15vh, 150px);
    text-align: left;
    background: linear-gradient(90deg, rgba(5, 42, 18, .94) 0%, rgba(9, 65, 29, .83) 45%, rgba(7, 49, 22, .36) 78%, rgba(7, 49, 22, .18) 100%);
}

.hero-content {
    width: min(760px, 72%);
    padding: 0;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Barlow', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #dff2df;
    padding: .65rem 1rem;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(3rem, 5.2vw, 5.35rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.hero-content > p {
    max-width: 680px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.hero-actions .btn,
.welcome-actions .btn {
    padding: .95rem 1.7rem;
    font-size: 1rem;
}

.hero-actions .btn-light {
    border: 1px solid #fff;
}

.hero-assurance {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255, 255, 255, .72);
    font-size: .85rem;
    margin-top: 1.5rem;
}

.hero-assurance i { color: var(--primary-accent); }
.hero-assurance span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
}

.home-hero .carousel-control-prev,
.home-hero .carousel-control-next {
    width: 56px;
    height: 56px;
    top: 50%;
    bottom: auto;
    margin: 0 1.25rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    background: rgba(8, 54, 24, .42);
    transform: translateY(-50%);
    backdrop-filter: blur(6px);
}

.home-hero .carousel-control-prev-icon,
.home-hero .carousel-control-next-icon {
    width: 1.4rem;
    height: 1.4rem;
}

.trust-panel-wrap {
    position: relative;
    z-index: 3;
    margin-top: -72px;
    background: linear-gradient(to bottom, transparent 72px, var(--secondary) 72px);
}

.trust-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 22px 50px rgba(11, 64, 28, .22);
}

.trust-item {
    min-height: 158px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 1.35rem .65rem;
    position: relative;
}

.trust-item::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 0;
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, .17);
}

.trust-panel .col-lg-2:last-child .trust-item::after { display: none; }

.trust-item > i {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: .75rem;
}

.trust-item h6 {
    color: #fff;
    font-weight: 600 !important;
    margin-bottom: .2rem;
}

.trust-item small { color: rgba(255, 255, 255, .72); }

.welcome-section {
    padding: 48px 0 100px;
    background: var(--secondary);
}

.welcome-shell {
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(25, 52, 31, .10);
}

.welcome-copy,
.welcome-services {
    padding: clamp(3rem, 5vw, 5rem);
}

.section-kicker {
    color: var(--primary);
    margin-bottom: 1rem;
}

.welcome-copy h2 {
    color: #202721;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    margin-bottom: 1.5rem;
}

.welcome-copy h2 span { color: var(--primary); }

.welcome-copy h4 {
    color: var(--primary-light);
    font-size: 1.15rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.welcome-copy p {
    color: #5c665e;
    line-height: 1.8;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.welcome-text-link {
    color: var(--primary);
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    border-bottom: 1px solid rgba(3, 44, 37, 0.35);
}

.welcome-services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
}

.welcome-feature {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.35rem;
    align-items: start;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.welcome-feature:first-child { padding-top: 0; }
.welcome-feature:last-child { padding-bottom: 0; border-bottom: 0; }

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.welcome-feature h3 {
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: .55rem;
}

.welcome-feature p {
    color: rgba(255, 255, 255, .76);
    line-height: 1.7;
}

.home-page .card {
    border-radius: 14px;
}

.home-page .card img {
    transition: transform .45s ease;
}

.home-page .card:hover img {
    transform: scale(1.045);
}

.home-page .badge.bg-primary.bg-opacity-10 {
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
}

.home-page .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--secondary);
    box-shadow: none;
}

.home-page .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(3, 44, 37, .12);
}

@media (max-width: 991.98px) {
    .hero-content { width: 82%; }
    .home-hero .carousel-control-prev,
    .home-hero .carousel-control-next { display: none; }

    .trust-panel .col-md-4:nth-child(3n) .trust-item::after { display: none; }
    .trust-panel .col-md-4:nth-child(-n+3) .trust-item {
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .welcome-copy,
    .welcome-services { padding: 4rem; }
}

@media (max-width: 767.98px) {
    .home-hero .carousel-item,
    .home-hero .carousel-item > img { height: 650px; }

    .home-hero .carousel-caption {
        padding: 38px 0 82px;
        background: linear-gradient(90deg, rgba(5, 42, 18, .93), rgba(9, 65, 29, .74));
    }

    .hero-content {
        width: 100%;
        padding: 0 .35rem;
    }

    .hero-content h1 { font-size: clamp(2.45rem, 11vw, 3.5rem); }
    .hero-content > p { font-size: 1rem; line-height: 1.6; }
    .hero-actions { display: grid; }
    .hero-actions .btn { width: 100%; }
    .hero-assurance { flex-wrap: wrap; }

    .trust-panel-wrap {
        margin-top: -38px;
        padding: 0 .5rem;
        background: linear-gradient(to bottom, transparent 38px, #f2f5f1 38px);
    }

    .trust-panel { border-radius: 18px; }
    .trust-item { min-height: 116px; padding: 1rem .4rem; }
    .trust-item > i { font-size: 1.45rem; margin-bottom: .5rem; }
    .trust-item h6 { font-size: .83rem; }
    .trust-item small { font-size: .72rem; }
    .trust-panel .col-6:nth-child(even) .trust-item::after { display: none; }
    .trust-panel .col-6:nth-child(-n+4) .trust-item {
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .welcome-section { padding: 32px 0 70px; }
    .welcome-shell { border-radius: 20px; }
    .welcome-copy,
    .welcome-services { padding: 2.25rem 1.5rem; }
    .welcome-copy h2 { font-size: 2.55rem; }
    .welcome-actions { align-items: flex-start; flex-direction: column; }
    .welcome-feature {
        grid-template-columns: 54px 1fr;
        gap: 1rem;
    }
    .feature-icon { width: 54px; height: 54px; border-radius: 15px; }
    .welcome-feature h3 { font-size: 1.22rem; }
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after { bottom: -25px; }
.service-item p { transition: .3s; }
.service-item:hover p { margin-bottom: 25px !important; }

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img { margin-left: 0; }

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text { left: 0; }

.blog-item img { transition: .5s; }
.blog-item:hover img { transform: scale(1.1); }

/* Page Header */
.page-header {
    background: linear-gradient(rgba(3, 44, 37, .8), rgba(3, 44, 37, .8)), url('../img/carousel-1.jpg') center/cover no-repeat;
}

/* Section Title */
.section-title hr {
    width: 60px;
    height: 3px;
    background: var(--primary);
    opacity: 1;
}

/* Cards */
.card {
    border: none;
    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(3, 44, 37, .15);
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 110px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, .4);
    transition: .3s;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .5);
}

/* Call Sticky Button */
.call-sticky {
    position: fixed;
    bottom: 175px;
    right: 20px;
    z-index: 1000;
    background: var(--primary);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(3, 44, 37, .4);
    transition: .3s;
}

.call-sticky:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(3, 44, 37, .5);
}

/* Country Cards */
.country-card .card-img-overlay {
    background: linear-gradient(transparent 50%, rgba(3, 44, 37, .85));
}

/* Process Steps */
.process-step {
    position: relative;
    padding-left: 40px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}

.process-step:last-child::before { display: none; }

.process-step .step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* Trust Badges */
.trust-badge {
    text-align: center;
    padding: 30px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: .3s;
}

.trust-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(3, 44, 37, .1);
}

/* Alert Messages */
.alert-success {
    background-color: #E8F5E9;
    border-color: #A5D6A7;
    color: var(--primary);
}

/* Footer Links */
.footer-link {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: .3s;
}

.footer-link:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}

/* Page loading animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Disabled form message */
.eligibility-message {
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Hero overlay gradient */
.hero-overlay {
    background: linear-gradient(135deg, rgba(3,44,37,0.85) 0%, rgba(14,71,59,0.75) 100%);
}

/* Section background variants */
.bg-light-green {
    background-color: #E8F5E9;
}

/* Testimonial card */
.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 60px;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .whatsapp-sticky, .call-sticky {
        width: 45px;
        height: 45px;
        font-size: 20px;
        right: 15px;
    }
    .call-sticky { bottom: 145px; }
    .whatsapp-sticky { bottom: 90px; }
    .back-to-top { right: 15px; bottom: 15px; }
}

/* Responsive Logo Styles */
.navbar-brand img {
    height: 50px;
    max-height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

.footer-logo img {
    height: 60px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
        max-height: 40px;
    }
}

/* Premium Footer & Newsletter Styles */
.premium-newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.premium-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 80%);
    pointer-events: none;
}

.premium-newsletter h1 {
    font-family: 'Barlow', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.25) !important;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0 !important;
    background: var(--primary-accent) !important;
    border-color: var(--primary-accent) !important;
    color: white !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background: white !important;
    color: var(--primary) !important;
    border-color: white !important;
}

.premium-footer {
    background: radial-gradient(circle at top right, rgba(3,44,37,0.1) 0%, transparent 60%), #0c120c;
    position: relative;
}

.premium-footer h3 {
    font-family: 'Barlow', sans-serif;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.premium-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-accent);
    border-radius: 2px;
}

.premium-footer p, .premium-footer li {
    font-size: 0.875rem;
    line-height: 1.8;
}

.premium-footer .footer-logo-container {
    background: #ffffff !important;
    padding: 8px 12px !important;
    border: 1px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-footer .footer-logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 44, 37, 0.15);
}

.premium-footer .footer-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65) !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.premium-footer .footer-link i {
    font-size: 11px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.premium-footer .footer-link:hover {
    color: var(--primary-accent) !important;
    padding-left: 5px;
}

.premium-footer .footer-link:hover i {
    transform: translateX(4px);
    color: var(--primary-accent) !important;
}

.premium-footer .contact-info-list p {
    color: rgba(255,255,255,0.7) !important;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
}

.premium-footer .contact-info-list i {
    color: var(--primary-accent);
    font-size: 1.1rem;
    margin-top: 3px;
}

.premium-footer .social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255,255,255,0.7) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.premium-footer .social-icon-btn:hover {
    background: var(--primary-accent);
    color: white !important;
    border-color: var(--primary-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.premium-footer-bottom {
    background-color: #060a06;
    border-color: rgba(255, 255, 255, 0.05) !important;
    font-size: 0.8125rem;
}

.premium-footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease;
}

.premium-footer-bottom a:hover {
    color: var(--primary-accent);
    text-decoration: none;
}
