:root {
    --primary-color: #007ac9;
    /* Based on C:100 M:50 Y:0 K:0 */
    --secondary-color: #0077c8;
    /* Pantone 3005 C */
    --dark-color: #06111a;
    /* Based on C:58 M:31 Y:0 K:90 */
    --light-color: #f4f4f4;
    --white: #ffffff;
    --text-color: #333333;
    --font-heading: "Gill Sans Ultra Bold", "Gill Sans", "Gill Sans MT", "Outfit", Calibri, sans-serif;
    --font-body: "Gill Sans", "Gill Sans MT", "Outfit", "Calibri", sans-serif;
    --transition-speed: 0.3s;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

section {
    padding: 4rem 0; /* Changed padding to only vertical, horizontal will be handled by containers */
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: var(--shadow);
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--dark-color);
    border-radius: 2px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 60px;
    /* Adjust according to actual logo aspect ratio */
}

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

.nav-links a {
    font-weight: 600;
    color: var(--dark-color);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero.jpg') center/cover no-repeat;
    /* Fallback to image if video not present */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero-content h1 {
    font-size: 3.5rem;
    /* Larger font size for impact */
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    /* Reduced padding slightly to fit better */
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Why Chose Us */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reason-item {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.reason-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Financing */
.financing {
    background-color: #f0f7ff;
    /* Light blue theme */
    color: var(--text-color);
}

.financing .section-title {
    color: var(--primary-color);
}

.financing .section-title::after {
    background: var(--primary-color);
}

.financing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.finance-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid #e1e1e1;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/about.jpg') center/cover no-repeat;
    height: 300px;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
}

/* MVV Section */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mvv-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
}

.mvv-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.team-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Certifications */
.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.cert-item {
    flex: 1;
    min-width: 250px;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Featured Buttons */
.btn-whatsapp {
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}



.btn-whatsapp-cta {
    background-color: #25D366;
    color: white !important;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    /* Ensure same padding as hero buttons */
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-whatsapp-cta:hover {
    background-color: #128C7E;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
    padding: 6rem 1rem;
}

.gallery-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.gallery-text {
    flex: 1;
    min-width: 300px;
}

.gallery-carousel-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
    max-width: 600px;
    /* Limit width */
    margin: 0 auto;
}

.carousel {
    position: relative;
    height: 400px;
    /* Fixed height for carousel */
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: background 0.3s;
}

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

.btn-prev {
    left: 10px;
}

.btn-next {
    right: 10px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
}

.carousel-indicator {
    border: none;
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background: var(--primary-color);
}

/* Location & Reviews */
.location-reviews {
    background-color: var(--white);
}

.reviews-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.review-header {
    margin-bottom: 2rem;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.rating-score {
    font-weight: bold;
    font-size: 1.2rem;
}

.stars {
    color: #fbbc04;
    /* Google Star Color */
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.review-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    box-shadow: var(--shadow);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar i {
    font-size: 2.5rem;
    color: #ccc;
}

.review-stars {
    color: #fbbc04;
    font-size: 0.8rem;
}

.review-card p {
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
}

/* Footer */
footer {
    background-color: #040d13;
    color: var(--white);
    padding: 4rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-block h4 {
    color: #4db5ff;
    /* Celeste / Sky Blue */
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow);
        text-align: center;
        z-index: 999;
        align-items: center;
        /* Ensure items are centered */
    }

    .nav-links li {
        margin-bottom: 1.5rem;
        width: 100%;
        /* Ensure list items take full width for centering content */
        display: flex;
        justify-content: center;
    }

    .nav-links .btn {
        width: 90%;
        /* Proportional width for mobile menu buttons */
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 80%;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on tablets */
    }
}