/* ===== ROOT VARIABLES ===== */
:root {
    --gold: #D4AF37;
    --dark-bg: rgba(0, 40, 80, 0.6);
    --black: #000;
    --white: #fff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    font-family: 'Poppins', sans-serif;
    /* Adjusted to match the taller navbar */
    padding-top: 110px; 
}

/* ===== NAVBAR ===== */
.all {
    background-color: rgba(0, 30, 90, 0.7); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px; /* More padding makes the big logo look intentional */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    width: 190px; 
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar a {
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar a:hover {
    background-color: rgba(0, 10, 30, 0.8); 
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== DROPDOWN ===== */
.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 18px;
    background-color: inherit;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown:hover .dropbtn {
    background-color: rgba(0, 10, 30, 0.8); 
    border-radius: 4px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 30, 90, 0.9); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 160px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    display: block;
    text-align: left;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(0, 10, 30, 0.9); 
    color: #ffffff;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

/* ===== PARALLAXS ===== */
.parallax {
    /* Set margin to 0 to close the white gap at the top */
    margin-top: 0; 
    
    /* Use padding to push any text inside the parallax down below the navbar */
    padding-top: 300px; 

    background-image: url("img/comercial3.png");
    min-height: 800px;
    background-attachment: fixed;
    
    /* FIX: Changed from 'center' to 'center 110px' 
       (110px matches your body padding-top/navbar height) */
    background-position: center 110px; 
    
    background-repeat: no-repeat;
    background-size: cover;
}

/* --- MAIN SECTION LAYOUT --- */
.container-desc-img {
    display: flex;
    align-items: center;       /* Vertically aligns the text and the button stack */
    justify-content: space-between; 
    gap: 60px;                 /* Space between the text and the buttons */
    padding: 80px 10%;         /* Generous spacing for a premium feel */
    background-color: #ffffff; /* Clean white background */
}

/* --- TEXT COLUMN --- */
.container-desc {
    flex: 2;                   /* Makes the text area wider than the button area */
}

.container-tittle-1 {
    margin: 0 0 15px 0;
    font-family: "Playfair Display SC", serif;
    font-size: 28px;
    color: rgba(0, 30, 90, 1); /* Your Navy Color */
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.container-text-1 {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(0, 30, 90, 0.8);
    font-family: "Playfair Display", serif;
}

/* --- THE BUTTON STACK (THE MAGIC) --- */
.button-column {
    display: flex;
    flex-direction: column;    /* FORCES BUTTONS TO STACK VERTICALLY */
    gap: 15px;                 /* CREATES THE SPACE BETWEEN EACH BUTTON */
    flex: 0 0 auto;            /* Prevents the column from stretching unnaturally */
}

/* --- INDIVIDUAL BUTTONS --- */
.custom-button {
    display: inline-block;       /* Necessary for <a> tags to use width/height */
    text-decoration: none;       /* Removes the default blue underline */
    
    /* Keep your existing styles below */
    background-color: rgba(0, 30, 90, 1);
    color: #FFF8E7;
    padding: 15px 0;
    width: 220px;
    border-radius: 8px;
    font-weight: bold;
    font-family: sans-serif;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* --- HOVER EFFECTS --- */
.custom-button:hover {
    background-color: rgba(0, 50, 150, 1); /* Brighter navy on hover */
    transform: translateX(-8px);           /* Slides slightly left toward the text */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/*== SECOND LAYOUT */
.container-desc-img-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 10%;
    min-height: 500px;
    
    background: 
        linear-gradient(to right, rgba(0, 15, 45, 0.9) 40%, rgba(0, 30, 90, 0.4)), 
        url('img/background.png');
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container-desc-2 {
    max-width: 800px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.1); 
    border-radius: 12px;
    backdrop-filter: blur(2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.container-tittle-2 {
    font-family: "Playfair Display SC", serif;
    font-size: 32px;
    color: #FFF8E7; 
    margin-bottom: 25px;
}

.container-text-2, .container-text-2-part-2 {
    font-family: "Playfair",sans-serif;
    font-size: 19px;
    color: rgba(255, 253, 240, 0.9);
    line-height: 1.8;
    margin-bottom: 20px;
}


/*== Resonds CSS */
.container-reasons-IMG {
    padding: 80px 10%;
    background-color: #F0F7FF; /* Light Mist Blue */
}

.container-reasons-title {
    font-family: "Playfair Display SC", serif;
    color: rgba(0, 30, 90, 1); /* Navy Blue */
    font-size: 28px;
    text-align: center;
    margin-bottom: 50px;
}

/* Container for all 3 pillars */
.reasons-pillars {
    display: flex;
    flex-direction: column; /* Stacks them vertically */
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;         /* Centers the list on the page */
}

/* Individual Pillar Style */
.reasons-container {
    border-left: 5px solid #D4AF37; /* The Gold "Pillar" line */
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.5); /* Subtle white shine */
    transition: 0.3s ease;
}

.reasons-container:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(10px); /* Slides right when you hover over it */
}

.reasons-title {
    font-family: "Playfair Display SC", serif;
    color: rgba(0, 30, 90, 1);
    font-size: 22px;
    margin-bottom: 8px;
}

.reasons-desc {
    font-family: "Playfair Display", serif;
    color: rgba(0, 30, 90, 0.8);
    font-size: 16px;
    line-height: 1.6;
}



/* ===== FOOTER ===== */

.footer {
    background: rgba(0, 30, 90, 1);
    color: #FFF8E7;
    padding: 60px 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* This pushes the two columns apart */
    align-items: flex-end;         /* Aligns both columns to the bottom */
    gap: 40px;
    border-top: 4px solid #D4AF37;
    border-radius: 20px 20px 0 0;
}

.footer-section {
    flex: 1;
    min-width: 300px;
}

.footer h3 { 
    margin-bottom: 20px;
    color: #D4AF37; 
    font-family: "Playfair Display SC", serif;
    font-size: 24px;
}

.footer p { 
    margin: 5px 0; 
    font-size: 16px; 
    line-height: 1.6;
    font-family: "Playfair Display", serif;
}

/* --- CONTACT INFO --- */
.contact-info {
    margin: 25px 0 15px 0; 
    text-align: left;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info strong {
    color: #D4AF37;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-right: 10px;
}

.contact-info a {
    color: #FFF8E7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #D4AF37;
}

/* --- THE FREE QUOTE BUTTON (Cleaned Up) --- */
.footer-quote-btn {
    display: inline-block;        
    background-color: #D4AF37;    
    color: #001E5A;               
    padding: 14px 30px;
    text-decoration: none;
    font-family: "Playfair Display SC", serif;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 10px 0 25px 0; /* Space above and below button */
    text-align: center;
}

.footer-quote-btn:hover {
    background-color: #FFF8E7;    
    transform: translateY(-3px);  
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4); 
}

/* --- SOCIAL ICONS --- */
.footer-section-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Pushes content to the right */
    text-align: right;
    min-width: 200px;
}

.footer-section-social h4 {
    color: #D4AF37;
    font-family: "Playfair Display SC", serif;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: flex-end; /* Keeps icons on the right */
}

.social-icons a {
    color: #FFF8E7;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #D4AF37;
    transform: translateY(-3px);
}

/* --- BOTTOM BAR --- */
.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
    border-top: 1px solid rgba(212, 175, 55, 0.2); 
    color: rgba(255, 248, 231, 0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .center { font-size: 32px; padding: 60px 20px; }
    .boxes { flex: 1 1 calc(50% - 12px); }
}

@media (max-width: 768px) {
    .parallax, .parallax-2 {
        background-attachment: scroll;
        min-height: 369px;
        
        /* ADD THIS LINE ONLY */
        background-position: center !important; 
    }
}

@media (max-width: 600px) {
    .all {
        flex-direction: column;
        padding: 10px;
    }
    .logo {
        width: 140px; /* Keep it fairly large but manageable on mobile */
        margin-bottom: 10px;
    }
    .navbar { flex-wrap: wrap; justify-content: center; }
    body { padding-top: 160px; } /* More space for the stacked mobile nav */
    .footer { text-align: center; }
    .dropdown-content { position: static; width: 100%; }
}

/* --- MOBILE RESPONSIVENESS --- */

@media (max-width: 768px) {
    .footer {
        justify-content: center;
        text-align: center;
    }
    .footer-section-social {
        align-items: center; /* Centers social icons on phones */
        text-align: center;
        width: 100%;
    }
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container-desc-img {
        flex-direction: column;    /* Stacks text on top of buttons */
        text-align: center;        /* Centers your text for a cleaner look */
        padding: 40px 5%;          /* Reduces side padding so it's not too skinny */
        gap: 30px;                 /* Space between the text block and the button block */
    }

    .container-desc {
        flex: 1;
        width: 100%;               /* Ensures text takes up the full width */
    }

    .button-column {
        width: 100%;               /* Makes the button area center correctly */
        align-items: center;       /* Centers the buttons in the middle of the screen */
    }

    .custom-button {
        width: 90%;                /* Makes buttons nice and wide for easy tapping */
        max-width: 300px;          /* Prevents them from getting TOO huge on tablets */
    }

    .custom-button:hover {
        transform: translateY(-3px); /* On mobile, sliding UP feels more natural than LEFT */
    }
}