:root {
    --primary-color: #219ebb;
    --primary-dark: #125767;
    --secondary-color: #0a2156;
    --accent-color: #ffb703;
    --text-color: #333333;
    --light-bg: #e9ebf0;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

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

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

/* Helper Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 33, 86, 0.95);
    /* Secondary color with opacity */
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo img {
    height: 50px;
    /* Adjust as needed */
}

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

.nav-links li a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.nav-links .btn-primary {
    padding: 10px 25px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Slider Section */
/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    width: 100%;
    background-color: var(--secondary-color);
    /* Blue background for overflow */
    overflow: hidden;
    /* Only hide horizontal, vertical needed for flow? No, slider container handles it */
    color: var(--white);
    padding-top: 80px;
    /* Offset for fixed header */
}

/* Container setup */
.slider-container,
.slides-wrapper {
    position: relative;
    width: 100%;
}

/* GRID LAYOUT: Key to the solution */
.slide {
    display: none;
    width: 100%;
    /* Grid stack */
    grid-template-areas: "stack";
}

.slide.active {
    display: grid;
    /* Changed from flex to grid */
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Image Layer */
.image-wrapper {
    grid-area: stack;
    width: 100%;
    align-self: start;
    /* Anchor to TOP */
    z-index: 1;
    position: relative;
    line-height: 0;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Image Overlay */
.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 33, 86, 0.4);
    /* Dark overlay over image */
}

/* Content Layer */
.slide-content {
    grid-area: stack;
    z-index: 10;
    position: relative;
    /* Not absolute, so it takes space if needed */
    align-self: center;
    /* Center vertically */
    justify-self: center;
    /* Center horizontally */

    width: 100%;
    max-width: 1100px;
    padding: 40px 20px;
    text-align: center;
}

/* Typography & Controls */
.hero-slider-section h1 {
    font-size: 1.8rem;
    /* Base size reduced */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* Desktop Styling */
@media (min-width: 992px) {
    .slide-content {
        padding: 60px;
        text-align: left;
        justify-self: start;
        /* Align text block to left/center containment */
        margin: 0 auto;
        /* Center the max-width block */
        left: 0;
        right: 0;
    }

    .hero-slider-section {
        padding-top: 0;
    }

    .hero-slider-section h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .slider-prev,
    .slider-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .slider-prev {
        left: 30px;
    }

    .slider-next {
        right: 30px;
    }
}


.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

@media (max-width: 768px) {

    .slider-prev,
    .slider-next {
        display: none;
    }

    .hero-slider-section h1 {
        font-size: 1.5rem;
        /* Reduced from 2.2rem */
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}


/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-intro h2 {
    color: var(--primary-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-intro h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.about-intro p {
    font-size: 1.1rem;
    color: #444;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

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

.image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    text-align: justify;
}

/* Why Us Section (Features) */
.why-us-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--light-bg);
    padding: 40px 20px;
    border-radius: 0 40px 0 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: #888;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    display: none;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.why-cta {
    background-color: var(--secondary-color);
    border-radius: 50px;
    padding: 30px 50px;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.why-cta:hover {
    background-color: var(--primary-color);
}

.why-cta h3 {
    font-size: 1.2rem;
    margin: 0;
    text-align: left;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.why-cta .btn-icon {
    background: var(--white);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .why-cta h3 {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
    /* White background for contrast against Why Us (Light) */
}

.services-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    gap: 20px;
}

.service-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 0 40px 0 40px;
    /* Outline Leaf Shape */
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
    /* Prepare for border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-content h3 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    min-height: 40px;
    /* Align titles */
}

.service-content ul {
    margin-bottom: 20px;
    text-align: left;
    font-size: 0.85rem;
    width: 100%;
}

.service-content li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    color: #555;
    list-style: none;
}

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

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: auto;
}



/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    /* Light background for contrast against Services (White) */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* No gap, overlay maybe */
    align-items: center;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-form-wrapper {
    padding: 40px;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.contact-form-wrapper p {
    margin-bottom: 30px;
    font-size: 1rem;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input,
textarea {
    padding: 12px;
    border: 1px solid #ddd;
    /* Light border */
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: #f9f9f9;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

textarea {
    resize: vertical;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.contact-form .btn-primary {
    align-self: flex-start;
    padding: 12px 30px;
    border: none;
    width: 100%;
    text-align: center;
}

/* Footer */
/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    font-size: 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.footer-logo img {
    height: 70px;
    /* Adjust size to match image */
    margin-bottom: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.1rem;
    align-items: center;
}

.footer-contact a {
    color: var(--white);
    opacity: 1;
    /* Make it bright white as per image */
}

.legal-links {
    display: flex;
    gap: 30px;
    /* Space between legal links */
    margin-top: 10px;
}

.legal-links a {
    color: var(--white);
    opacity: 0.9;
    font-size: 1rem;
}

.footer-copyright {
    margin-top: 15px;
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover,
.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Remove Social Links styles as they are being removed */


/* Responsive */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
        /* Above mobile menu */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        padding: 50px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .services-list,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages */
.legal-section {
    padding: 140px 0 80px;
    /* Top padding accounts for fixed header */
    background-color: var(--white);
    min-height: 60vh;
}

.legal-content h1,
.legal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2.2rem;
    line-height: 1.2;
}

.legal-content h3 {
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
}

.legal-content h4 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--secondary-color);
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.cookie-table th {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: #f9f9f9;
}