/* style.css - Complete Updated Version */

/* 1. Variables & Reset */
:root {
    --primary-color: #0A1E36; /* Deep Blue */
    --secondary-color: #D4AF37; /* Gold */
    --text-color: #333333;
    --light-bg: #F9F9F9;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.mb-50 { margin-bottom: 50px; }

/* 3. Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* --- Premium Region Selector --- */
.region-selector {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.region-selector-dropdown {
    /* 1. Custom Appearance */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* 2. Padding & Alignment */
    /* Less padding top/bottom to tighten height */
    padding: 6px 35px 6px 15px; 
    line-height: 1.3;
    /* Visual correction to align text with menu links */
    margin-top: -2px; 

    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--white);
    
    /* 3. Borders & Interaction */
    border: 1px solid rgba(10, 30, 54, 0.2);
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: var(--transition);

    /* 4. Custom Arrow SVG */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1E36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.region-selector-dropdown:hover,
.region-selector-dropdown:focus {
    border-color: var(--secondary-color);
}

.region-selector-dropdown optgroup {
    font-weight: 700;
    color: var(--secondary-color);
    background-color: var(--white);
}

.region-selector-dropdown option {
    color: var(--text-color);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* 4. Hero Section with Video */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
    background-color: var(--primary-color); /* Fallback */
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        to bottom, 
        rgba(10, 30, 54, 0.5), 
        rgba(10, 30, 54, 0.8)
    );
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* 5. Services Section (Updated) */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.three-col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--secondary-color);
}

.service-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-list {
    margin-top: 20px;
    text-align: left;
    font-size: 0.95rem;
}

.service-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Value Props (Below Services) */
.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}
.vp-item h4 { font-size: 1.1rem; margin-bottom: 10px; }
.vp-item p { font-size: 0.9rem; color: #555; }

/* 6. Founders / Trust Section (Updated) */
.trust-signals { background-color: var(--white); }

.founders-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.founder-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.founder-avatar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--secondary-color);
}

.founder-skills {
    margin-top: 15px;
    text-align: left;
    font-size: 0.9rem;
    display: inline-block; /* Centers the list block */
}

.founder-skills li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.founder-skills li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.culture-bridge {
    margin-top: 50px;
    background: #eef2f6;
    padding: 30px;
    border-radius: 8px;
}

/* 7. Process Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 10px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(10, 30, 54, 0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.process-step p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 8. Partners Grid */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.partner-item {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-weight: 600;
    color: var(--primary-color);
}

/* 9. Contact Section */
.contact {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact h2 { color: var(--white); }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info a { color: var(--white); }

.info-block { margin-bottom: 30px; }
.info-block h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.95);
    border-radius: 4px;
    font-family: var(--font-body);
}

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

.btn-full {
    width: 100%;
    border: none;
    text-align: center;
}

/* 10. Footer */
footer {
    background-color: #05101d;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        position: absolute;
        right: 0px;
        top: 80px;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .hamburger { display: block; }
    
    /* Mobile Hero */
    .hero h1 { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    
    /* Mobile Region Selector */
    .region-selector {
        margin-left: 0;
        margin-top: 30px;
        width: 100%;
        justify-content: center;
    }

    .region-selector-dropdown {
        width: 80%;
        padding: 12px 20px;
        margin-top: 0;
        text-align: center;
        background-position: right 15px center;
    }

    /* Mobile Layouts */
    .contact-wrapper { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr 1fr; }
    .three-col { grid-template-columns: 1fr; }
}