/* Import fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Libre+Franklin:wght@300;400;700&family=Radley:ital@0;1&display=swap');

body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f0f0f0;
}

header {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-bottom: 1px solid #e7e7e7;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

main {
    padding-top: 140px;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1400px;
}

.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 5px 20px;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector span {
    font-family: 'Radley', serif;
    margin-right: 10px;
    font-style: italic;
    font-size: 12.3px;
}

.flag {
    width: 20px;
    height: auto;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    height: 90px;
}

.header-right {
    display: flex;
    align-items: baseline;
    gap: 30px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 300;
    font-size: 15px;
}

.signup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signup-btn {
    background-color: #036251;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

.free-text {
    color: #036251;
    font-weight: normal;
    margin-top: 5px;
    font-size: 12px;
}


/* --- CORRECTED VIDEO STYLES --- */
.video-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center; /* Vertically center the main text block */
    box-sizing: border-box;
    min-height: 90vh; /* Increased height */
    padding: 0 0 0 10%; /* Left padding only */
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

/* --- TEXT OVERLAY STYLES --- */
.hero-text {
    color: white;
    text-align: left;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-text h1 {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 56.1px;
    font-weight: bold;
    line-height: 1.2;
}

.hero-text p {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 20px;
}

.hero-text .features {
    font-weight: 700;
    margin-top: 25px;
}

/* --- SEARCH BAR STYLES --- */
.search-container {
    position: relative;
    margin-top: 30px;
    width: 100%;
    max-width: 500px;
}

.search-container input {
    width: 100%;
    padding: 15px 50px 15px 25px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16px;
    border-radius: 50px;
    border: none;
    box-sizing: border-box;
}

.search-container input::placeholder {
    color: #c2c5c4;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #036251;
}

/* --- GET STARTED BUTTON STYLE --- */
.get-started-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #ffffff;
    color: #036251;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 17.6px;
    font-weight: 700;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

/* --- CORRECTED PRICING NOTE STYLE --- */
.pricing-note {
    position: absolute; /* Position relative to the .video-hero parent */
    bottom: 40px; /* Distance from the bottom */
    left: 10%; /* Aligns with the container/hero-text left edge */
    font-size: 15px !important;
    font-weight: 700 !important;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 3;
    margin: 0;
}

/* --- ABOUT US SECTION STYLES --- */
.about-us-section {
    background-color: #feffff;
    padding: 80px 0;
    position: relative;
}

.about-us-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    box-shadow: inset 0 -5px 10px -5px rgba(50, 50, 50, 0.2);
}

.about-us-section h2 {
    font-family: 'Radley', serif;
    font-size: 40px;
    font-weight: normal;
    text-align: left;
    margin-top: 0;
    margin-bottom: 50px;
}

.about-us-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-us-image, .about-us-text {
    flex: 1;
}

.about-us-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-us-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #333;
}

.about-us-text p {
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.trust-points {
    margin-top: 30px;
    text-align: center;
}

.trust-points span {
    display: block;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-style: italic;
}

/* --- WHY US SECTION STYLES --- */
.why-us-section {
    background-color: #ffffff;
    padding: 80px 0;
    position: relative;
}

.why-us-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    box-shadow: inset 0 -5px 10px -5px rgba(50, 50, 50, 0.2);
}

.why-us-section h2 {
    font-family: 'Radley', serif;
    font-size: 40px;
    font-weight: normal;
    text-align: left;
    margin-top: 0;
    margin-bottom: 50px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.reason-item {
    text-align: center;
}

.reason-item img {
    margin-bottom: 20px;
    width: 50px;
}

.reason-item h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16.7px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.reason-item p {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16.7px;
    line-height: 1.6;
    margin: 0;
}

/* --- COUNTRIES SECTION STYLES --- */
.countries-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.countries-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
}

.country-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.country-item img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.country-item p {
    margin: 0;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: #333;
}

/* --- FOOTER STYLES --- */
.site-footer {
    background-color: #edf0f2;
    padding: 60px 0;
    font-family: 'Libre Franklin', sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}

.footer-logo {
    height: 72px;
}

.footer-buttons {
    display: flex;
    gap: 15px;
}

.footer-btn {
    background-color: #036251;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-links-group {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 10px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.footer-column a, .footer-column .location-dropdown {
    font-size: 10px;
    text-decoration: none;
    color: #333;
    display: block;
    margin-bottom: 15px;
}

.location-dropdown {
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    max-width: 200px;
}

.footer-social-copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.social-icons a svg {
    height: 20px;
    width: 20px;
    fill: #333;
}

.footer-social-copyright p {
    margin: 0;
    font-size: 10px;
    color: #555;
}


/* --- ANIMATION STYLES --- */
@keyframes fadeInSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

nav li, .signup-container {
    animation: fadeInSlideIn 0.5s ease-out both;
}

nav li:nth-child(1) { animation-delay: 0.2s; }
nav li:nth-child(2) { animation-delay: 0.3s; }
nav li:nth-child(3) { animation-delay: 0.4s; }
nav li:nth-child(4) { animation-delay: 0.5s; }
nav li:nth-child(5) { animation-delay: 0.6s; }

.signup-container {
    animation-delay: 0.7s;
}


/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-us-content {
        flex-direction: column;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .countries-grid {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .footer-links-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-social-copyright {
        align-items: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
}