/* =========================================
   Variables & Reset
   ========================================= */
:root {
    /* Color Palette */
    --primary: #0A192F;         /* Deep Midnight Blue */
    --primary-dark: #060F1C;    /* Darker Navy for contrast */
    --primary-light: #112240;   /* Lighter Navy for cards */
    --secondary: #FFFFFF;       /* Crisp White */
    --accent: #D4AF37;          /* Premium Matte Gold */
    --accent-hover: #b5952f;    /* Darker Gold for hover */
    --text-dark: #333333;       /* Dark Text for light backgrounds */
    --text-gray: #666666;       /* Gray Text for less emphasis */
    --text-light-gray: #a8b2d1; /* Muted text for dark backgrounds */
    --bg-light: #f8f9fa;        /* Very light gray background */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing & Layout */
    --section-padding: 5rem 0;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--secondary);
    overflow-x: hidden;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

.text-gold { color: var(--accent); }
.text-white { color: var(--secondary); }
.text-light-gray { color: var(--text-light-gray); }
.text-center { text-align: center; }

.bg-dark { background-color: var(--primary); }
.bg-darker { background-color: var(--primary-dark); }
.bg-light { background-color: var(--bg-light); }

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    margin: 1rem auto 2rem;
}

.divider.left {
    margin-left: 0;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-gold {
    background-color: var(--accent);
    color: var(--secondary);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================
   Top Bar & FAB
   ========================================= */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--text-light-gray);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left i, .top-bar-right i {
    color: var(--accent);
    margin-right: 5px;
}
.top-bar-right a {
    margin-left: 15px;
    transition: var(--transition);
}
.top-bar-right a:hover {
    color: var(--secondary);
}
.navbar.scrolled .top-bar {
    display: none;
}
.fab-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent);
    color: var(--secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    z-index: 1000;
    transition: var(--transition);
}
.fab-contact:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
}
.legal-links a {
    color: var(--text-light-gray);
    margin: 0 10px;
}
.legal-links a:hover {
    color: var(--accent);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1582139329536-e7284fece509?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    color: var(--secondary);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    color: var(--text-light-gray);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 400;
}

/* =========================================
   Trust Banner
   ========================================= */
.trust-banner {
    background-color: var(--primary-dark);
    padding: 2rem 0;
    border-top: 4px solid var(--accent);
    margin-top: -4px; /* Hide border gap */
}

.trust-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-logo img {
    height: 70px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.trust-stat {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-text {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

/* =========================================
   Why Choose Us
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--secondary);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--primary-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--accent);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(10,25,47,0.8));
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--text-light-gray);
    font-size: 0.95rem;
}

/* =========================================
   About & Contact Split
   ========================================= */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
}

.about-content .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.check-list {
    margin-top: 2rem;
}

.check-list li {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-list i {
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--secondary);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-top: 5px solid var(--accent);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    width: 50%;
}

label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fcfcfc;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background-color: #fff;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light-gray);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--secondary);
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background-color: var(--accent);
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 1rem;
}

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

.footer-contact li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split-layout { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    .nav-links.active { left: 0; }
    .mobile-menu-btn { display: block; }
    .grid-3 { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .form-group.half { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .trust-container { gap: 2rem; }
    .top-bar { display: none; }
}
