/* Trustia Brand System */
:root {
    --bg: #F5F1E8;      /* Champagne White */
    --blue: #1F3A5F;    /* Deep Trust Blue */
    --orange: #FF6A00;  /* Trust Orange */
    --white: #FFFFFF;
    --font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background-color: var(--bg); 
    color: var(--blue); 
    font-family: var(--font); 
    line-height: 1.6; 
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* Navigation - Mobile Responsive */
nav { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 25px 0; border-bottom: 1px solid rgba(31, 58, 95, 0.1); 
}
.nav-links { display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--blue); font-weight: 500; font-size: 0.95rem; }

@media (max-width: 768px) {
    .nav-links { display: none; } /* In a full build, add a hamburger menu toggle here */
    .hero h1 { font-size: 2.2rem !important; }
}

/* Hero Section */
.hero { padding: 80px 0; background: var(--white); text-align: left; }
.hero h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 20px; font-weight: 700; }
.btn { 
    background: var(--orange); color: white; padding: 15px 35px; 
    border-radius: 50px; text-decoration: none; display: inline-block; font-weight: 600;
}

/* Services Grid - Auto-Responsive */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; padding: 60px 0; 
}
.card { 
    background: var(--white); padding: 40px; border-radius: 4px; 
    border-left: 2px solid var(--orange); transition: 0.3s;
}

/* How It Works - Horizontal on Desktop, Vertical on Mobile */
.steps { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.step { flex: 1; min-width: 250px; padding: 20px; border: 1px solid rgba(31, 58, 95, 0.1); }

/* Forms */
input, textarea { 
    width: 100%; padding: 15px; margin-bottom: 20px; 
    border: 1px solid #ddd; background: #fff; border-radius: 4px; 
}

/* --- Desktop Navigation --- */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--blue);
    font-weight: 500;
    transition: 0.3s;
}

.nav-cta {
    background: var(--orange);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}

/* --- Mobile Menu Toggle Icon --- */
.menu-toggle {
    display: none; /* Hidden on desktop */
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--blue);
    transition: 0.3s;
}

/* --- Mobile Responsive Styles (Max 768px) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger */
        z-index: 1001;
    }

    /* Transform hamburger to 'X' when active */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hide off-screen */
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        text-align: center;
        transition: 0.4s;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0; /* Slide in */
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}


/* Luxury Service Card Styling */
.services-hero {
    background-color: var(--white);
    padding: 100px 0 60px 0;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    color: var(--blue);
    letter-spacing: -1px;
}

.service-card-luxury {
    background: var(--white);
    border: 1px solid rgba(31, 58, 95, 0.08);
    padding: 0; /* Remove padding to let image fill top */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-luxury:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--orange);
}

.card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%); /* Elegant black and white look */
    transition: 0.5s;
}

.service-card-luxury:hover .card-image {
    filter: grayscale(0%); /* Color on hover */
}

.card-content {
    padding: 40px;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.card-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}



/* About Page Specifics */
.about-hero {
    background-color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.quote-box {
    max-width: 900px;
    margin: 0 auto;
}

.quote-box h2 {
    font-size: 3.5rem;
    color: var(--blue);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.about-split {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 100px 0;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 30px 30px 0px var(--champagne); /* Luxury offset effect */
}

.map-section {
    background: var(--blue);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.map-container {
    background-image: url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&q=80&w=1200');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
    margin-top: 50px;
    opacity: 0.3; /* Subtle global presence */
}

@media (max-width: 768px) {
    .about-split { flex-direction: column; gap: 40px; }
    .quote-box h2 { font-size: 2.5rem; }
}

/* Contact Page Luxury Styling */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-method {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--orange);
    margin-top: 5px;
}

.contact-method h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 5px;
}

.contact-method p, .contact-method a {
    font-size: 1.1rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

/* Luxury Form Inputs */
.luxury-form {
    background: var(--bg);
    padding: 50px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 700;
    opacity: 0.6;
}

.luxury-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(31, 58, 95, 0.2);
    padding: 15px 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--blue);
    transition: 0.3s;
}

.luxury-input:focus {
    outline: none;
    border-bottom-color: var(--orange);
}

textarea.luxury-input {
    min-height: 120px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366; /* WhatsApp Green */
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .luxury-form { padding: 30px; }
}






.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 70px; /* Adjust this to fit your specific logo design */
    width: auto;  /* Keeps the aspect ratio perfect */
    display: block;
    transition: 0.3s ease;
}

.brand-logo:hover {
    opacity: 0.8; /* Subtle feedback when hovering */
}

/* Ensure the logo looks good on smaller mobile screens */
@media (max-width: 768px) {
    .brand-logo {
        height: 35=px; /* Slightly smaller for mobile phones */
    }
}





/* --- Pro Luxury Footer --- */
.main-footer {
    background-color: var(--blue);
    color: var(--bg); /* Champagne White text */
    padding: 100px 0 40px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1); /* Makes a dark logo white for the blue background */
}

.footer-heading {
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 25px;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(245, 241, 232, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}

/* Special Email Display */
.special-email {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--orange);
    padding-bottom: 5px;
    transition: 0.3s;
}

.special-email:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 241, 232, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(245, 241, 232, 0.5);
    font-size: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--bg);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--orange);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}



/* --- Root Variables --- */
:root {
    --bg-champagne: #F5F1E8;
    --trust-blue: #1F3A5F;
    --trust-orange: #FF6A00;
    --white: #FFFFFF;
}

/* --- Global Resets --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
.no-scroll { overflow: hidden; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* THE FIX: Ensures content never touches mobile corners */
}

/* --- Navbar Styles --- */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid rgba(31, 58, 95, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Luxury Height */
}

.brand-logo {
    height: 45px;
    width: auto;
    display: block;
}

/* Desktop Links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--trust-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--trust-orange);
}

.nav-cta {
    background: var(--trust-orange);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
}

/* --- Mobile Menu Styles --- */
.menu-toggle {
    display: none; /* Hide on desktop */
    cursor: pointer;
    z-index: 1100;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--trust-blue);
    transition: 0.4s ease;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-overlay.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 30px;
}

.mobile-nav-links a {
    font-size: 2rem;
    text-decoration: none;
    color: var(--trust-blue);
    font-weight: 700;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    
    .nav-container {
        height: 70px; /* Slightly tighter for mobile */
    }

    .brand-logo {
        height: 35px; /* Prevents crowding on small phones */
    }
}

/* Animation for Hamburger to X */
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }




/* Legal Pages Styling */
.legal-header {
    background-color: var(--white);
    padding: 80px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.legal-content {
    padding: 80px 0;
    max-width: 800px; /* Narrower width for better reading on desktop */
    margin: 0 auto;
}

.legal-content h2 {
    margin: 40px 0 20px 0;
    font-size: 1.5rem;
    color: var(--trust-blue);
}

.legal-content p, .legal-content li {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 30px;
}










