/* --- Brand Colors & Typography --- */
:root {
    --baltic-blue: #355977;    
    --alabaster-grey: #f4f6f8; 
    --ocean-blue: #348BC1;      
    --night-bordeaux: #550C18; 
    --pitch-black: #231C07;     
    
    --white: #ffffff;
    
    --brand-blue: var(--baltic-blue); 
    --brand-teal: var(--ocean-blue); 
    --light-bg: var(--alabaster-grey);
    --text-dark: var(--pitch-black);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Prevents horizontal scroll from off-canvas menu */
}

h1, h2, h3, h4 { 
    color: var(--baltic-blue); 
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/*        h1, h2, h3, h4 { color: var(--baltic-blue); font-weight: 700; margin-top: 1.5em;}*/
h1 { font-size: 3.5em; text-align: center; margin-bottom: 0.5em; margin-top: 0; }


h2 { font-size: 2.6em; margin-bottom: 20px; }

.section-padding { padding: 80px 20px; }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-bg); }
.container { max-width: 1200px; margin: 0 auto; }

a {
    color: var(--ocean-blue);
    text-decoration: none;
}

a:hover {
    color: var(--baltic-blue);
    text-decoration: none;
}

/* --- Header --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img { height: 60px; position: relative; z-index: 1001; }

nav { display: flex; align-items: center; }
nav a {
    text-decoration: none;
    color: var(--pitch-black); 
    font-weight: 600;
    margin-left: 25px;
    transition: color 0.3s;
}
nav a:hover { color: var(--night-bordeaux); }

.menu-toggle {
    display: none;
    font-size: 1.8em;
    color: var(--baltic-blue);
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle:hover {
    color: var(--ocean-blue);
}

/* Menu Overlay for Off-Canvas */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* --- Mobile Navigation (Off-Canvas) --- */
@media (max-width: 1024px) {
    header { padding: 15px 20px; }
    .menu-toggle { display: block; }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px; /* Hidden off-screen to the right */
        width: 260px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding-top: 80px; /* Space for the close button/logo */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    nav.active { right: 0; }
    
    nav a {
        margin: 0;
        padding: 15px 30px;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid var(--alabaster-grey);
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(35, 28, 7, 0.75), rgba(35, 28, 7, 0.75)), url('../../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 80px 20px; /* Added top/bottom padding so content never hits the screen edges */
    min-height: 100vh; /* Changed from 70vh to 100vh for a full-page hero */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Ensures padding doesn't make it larger than 100vh */
}

.hero h1 { 
    color: var(--white); 
    font-size: 3.5em; 
    margin-bottom: 20px; 
    line-height: 1.1; /* Tighter default line-height */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}

.hero p { 
    font-size: 1.3em; 
    max-width: 800px; 
    margin: 0 auto 30px; 
    color: #f0f4f8; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); 
}

.btn {
    background-color: var(--baltic-blue);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
.btn:hover { background-color: var(--ocean-blue); transform: translateY(-2px); }

/* --- Grid & Card Styles --- */
/* --- Grid & Card Styles --- */
.grid-layout { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; /* Increased gap slightly so popping icons don't hit cards above them */
    margin-top: 60px; /* Extra margin for the top row of icons */
}

.card { 
    background: var(--white); 
    padding: 60px 30px 30px; /* Increased top padding to make room for the icon */
    margin-top: 40px;
    border-radius: 10px; 
    border: 3px solid var(--ocean-blue); /* 1. Thinner border all the way around */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* 3. Base slight shadow */
    text-align: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    position: relative; /* Crucial: allows us to absolutely position the icon relative to this card */
    margin-left: auto;
    margin-right: auto;
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.12); /* 3. Larger, softer shadow on hover */
}

.card-icon { 
    font-size: 2.2em; 
    color: var(--ocean-blue);
    color: var(--baltic-blue);
    color: var(--white); 
    /*background-color: var(--white); /* Hides the card border underneath the icon */
    background-color: var(--alabaster-grey); /* Hides the card border underneath the icon */
    background-color: var(--baltic-blue); /* Hides the card border underneath the icon */
    border: 3px solid var(--ocean-blue); /* Matches the card border */
    border-radius: 50%; /* 2. Perfect circle */
    width: 80px; 
    height: 80px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translate(-50%, -50%); /* 2. Pulls it exactly 50% up and 50% left to center on the border */
    margin: 0; 
}

.card h3 { 
    margin-top: 10px; 
    font-size: 1.4em; 
}

/* --- Why Choose Us --- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; text-align: center; margin-top: 40px; }
.why-grid h3 { color: var(--ocean-blue); font-size: 1.5em; }

/* --- How We Work --- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.step { text-align: center; padding: 30px 20px; background: var(--white); border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.step-number { background: var(--baltic-blue); color: var(--white); width: 45px; height: 45px; line-height: 45px; border-radius: 50%; margin: 0 auto 20px; font-weight: 700; font-size: 1.3em; }


/* --- Full Width Image Gallery --- */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin: 0;
    padding: 0;
}

.gallery-img {
    width: 100%;
    height: 350px; 
    object-fit: cover;
    display: block; /* Removes any default inline-block spacing */
}

/* Mobile Responsiveness for Gallery */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hides the 3rd and 4th images on mobile so only 2 are shown */
    .image-gallery .gallery-img:nth-child(n+3) {
        display: none;
    }
    
    .gallery-img {
        height: 250px; /* Slightly shorter on mobile for better proportions */
    }
}


/* --- Testimonials Carousel Section --- */
.testimonials { 
    background-color: var(--night-bordeaux); 
    color: var(--white); 
    text-align: center; 
    overflow: hidden; /* Crucial to hide slides that are off-screen */
}
.testimonials h2 { color: var(--white); margin-bottom: 40px; }

.carousel-wrapper {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 40px;
    opacity: 0.3; /* Fades out inactive slides slightly for a nice effect */
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.quote { 
    font-style: italic; 
    font-size: 1.3em; 
    margin: 0 auto; 
    font-weight: 400; 
}

/* Carousel Arrows */
.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    font-size: 1.5em;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}
.carousel-btn:hover { background: rgba(255,255,255,0.3); }
.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }

/* Carousel Navigation Dots */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.carousel-indicator.active {
    background: var(--white);
}

@media (max-width: 768px) {
    .carousel-btn { display: none; } /* Hide arrows on mobile, users can use dots or wait for auto-play */
    .carousel-slide { padding: 0 10px; }
    .quote { font-size: 1.1em; }
}




/* --- Get Quote Section --- */
.quote-header { text-align: center; margin-bottom: 50px; }
.quote-header p { color: #555; font-size: 1.1em; }
.contact-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }

form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; text-align: left; }
.form-group label { font-weight: 600; margin-bottom: 8px; color: #444; font-size: 0.95em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px; border: 1px solid #d1d5db; border-radius: 6px; font-family: inherit; font-size: 1em; background-color: var(--white); box-sizing: border-box; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--baltic-blue); }
.form-group textarea { resize: vertical; height: 140px; }
form .btn { background-color: var(--baltic-blue); width: 100%; margin-top: 10px; font-size: 1.2em; padding: 16px; }
form .btn:hover { background-color: var(--ocean-blue); }

.contact-info-card { background-color: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.contact-info-card h3 { font-size: 1.8em; margin-top: 0; margin-bottom: 30px; color: var(--baltic-blue); }
.info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.info-item:last-child { margin-bottom: 0; }
.info-icon { background-color: var(--baltic-blue); color: var(--white); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2em; margin-right: 20px; flex-shrink: 0; }
.info-text h4 { margin: 0 0 5px 0; font-size: 1.1em; color: var(--pitch-black); }
.info-text p { margin: 0; color: #666; font-size: 0.95em; line-height: 1.5; }

@media (max-width: 900px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }


    /* --- Mobile Hero Adjustments --- */
    .hero h1 {
        font-size: 3.2em; /* Scales down the title so it fits better */
        line-height: 1.2; /* Tightens the massive gap between wrapped lines */
    }
    .hero p {
        font-size: 1.1em; /* Scales down the paragraph slightly */
        margin-bottom: 40px; /* Adds more breathing room above the button */
    }
    .hero .btn {
        margin-bottom: 20px; /* Ensures a guaranteed margin below the button */
    }


}

/* --- Expanded Footer --- */
footer {
    background: var(--pitch-black); 
    color: var(--white);
    padding: 50px 20px 20px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-col h4 {
    color: var(--white);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-col p {
    color: #b0b5ba;
    font-size: 0.95em;
    line-height: 1.8;
    margin: 0 0 10px 0;
}

.footer-col a {
    color: var(--ocean-blue);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--baltic-blue);
    text-decoration: none;
}

/* --- Footer Bottom Alignment --- */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #888;
    font-size: 0.9em;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom .footer-col p {
    margin: 10px 0;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .footer-bottom .footer-col p {
        text-align: center !important; /* Forces center alignment on mobile */
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 9999;
    /* Pushes it exactly 100% of its own height off the bottom of the screen */
    transform: translateY(100%); 
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0); /* Brings it back to its normal position */
}

.cookie-text {
    font-size: 0.95em;
    margin: 0;
    max-width: 800px;
}

.cookie-banner .btn {
    padding: 10px 25px;
    font-size: 1em;
    margin-left: 20px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .cookie-banner .btn {
        margin-left: 0;
        width: 100%;
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -100px; /* Hidden initially */
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    font-size: 0.95em;
    margin: 0;
    max-width: 800px;
}

.cookie-banner .btn {
    padding: 10px 25px;
    font-size: 1em;
    margin-left: 20px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .cookie-banner .btn {
        margin-left: 0;
        width: 100%;
    }
}

/* Mobile-only line break */
.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

.policy-content { background: var(--white); padding: 50px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.policy-content p, .policy-content li { font-size: 1.05em; color: #444; }
.policy-content ul { padding-left: 20px; }
.policy-content li { margin-bottom: 10px; }
