:root {
    --primary-blue: #0f3d61;
    --hover-blue: #082a45;
    --text-color: #222222;
    --bg-light: #f7f7f7;
    --white: #ffffff;
    --font-family: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 15px 0;
}

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

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--white);
}

.header-contact a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact i {
    color: #25D366;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    padding: 80px 0;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    color: var(--primary-blue);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content .subheadline {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-family);
    transition: background-color 0.3s;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 6px;
}

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

.hero-footer-info {
    margin-top: 50px;
    display: flex;
    gap: 30px;
    font-size: 1.1rem;
    font-weight: 500;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    font-size: 1.3rem;
}

.hero-footer-info .fa-map-marker-alt,
.hero-footer-info .fa-whatsapp {
    color: var(--text-color);
}

/* Form Card */
.hero-form-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 480px;
}

.hero-form-card h2 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 25px;
    margin-top: 5px;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    padding: 0 5px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    background: transparent;
}

.stepper .circle {
    width: 32px;
    height: 32px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    font-weight: 600;
    margin-bottom: 6px;
    color: #aaa;
    font-size: 0.9rem;
}

.step.active .circle {
    border-color: var(--text-color);
    color: var(--text-color);
}

.stepper span {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    max-width: 80px;
}

.step.active span {
    color: var(--text-color);
    font-weight: 600;
}

.stepper .line {
    flex: 1;
    height: 1px;
    background-color: #ddd;
    margin: 0 5px;
    position: relative;
    top: -14px;
    z-index: 0;
}

/* Form Fields */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    /* Slightly larger padding for "nicer" look */
    border: 1px solid #e0e0e0;
    /* Softer border */
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-family);
    /* Ensures font matches */
    color: var(--text-color);
    outline: none;
    transition: all 0.2s ease;
    background-color: #f9f9f9;
    /* Light background */
}

.form-group textarea {
    resize: vertical;
    /* Allow vertical resize only */
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(30, 42, 54, 0.1);
    /* Subtle focus ring */
}

.btn-submit {
    width: auto;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 35px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--hover-blue);
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background-color: var(--white);
}

.welcome-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

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

.welcome-text h2 {
    color: var(--primary-blue);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.welcome-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 35px;
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

.welcome-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.image-frame {
    border: 3px solid var(--primary-blue);
    padding: 15px;
    display: inline-block;
}

.image-frame img {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* PROJECT REFERENCE SECTION */
.reference-section {
    padding: 60px 0 80px;
    background-color: #3e3e3e;
    /* Lighter Dark Grey */
    text-align: center;
    color: #f0f0f0;
}

.reference-section h2 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    /* Fix for cutoff: ensure enough height perception */
    padding-bottom: 30px;
}

.carousel-track {
    display: flex;
    list-style: none;
    transition: transform 0.4s ease-in-out;
    align-items: stretch;
    /* Ensure equal height */
}

.carousel-slide {
    min-width: 100%;
    padding: 0 40px;
    /* Ensure content formatting */
    box-sizing: border-box;
}

/* Slide Content */
.carousel-slide h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.3;
}

.comparison-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.comparison-column {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.column-header {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.image-grid {
    display: flex;
    gap: 10px;
}

.image-grid.single-item {
    justify-content: center;
}

.image-grid.single-item .img-box {
    width: 50%;
}

.img-box {
    position: relative;
    width: 50%;
    /* Default for 2 items */
    aspect-ratio: 4/5;
    /* Portrait-ish ratio */
    overflow: hidden;
}

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

.img-number {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #dcbfa4;
    /* Beige/Gold from image */
    color: #fff;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.img-caption {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #ccc;
    /* Lighter caption */
}

.project-description {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #444;
    /* Darker border */
    padding: 30px;
    position: relative;
    margin-top: 40px;
    border-radius: 4px;
    background-color: transparent;
}

.project-description .custom-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #262626;
    /* Match section bg */
    padding: 0 10px;
    color: #aaa;
    font-size: 1.5rem;
}

.project-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ddd;
    /* Light text */
}

/* Buttons */
.carousel-btn {
    position: absolute;
    top: 40%;
    background: #ccc;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    z-index: 10;
}

.carousel-btn:hover {
    background: #bbb;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

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

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 50px;
    flex-wrap: wrap;
}

.header-left {
    flex: 1;
    min-width: 300px;
}

.section-topline {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-right: 50px;
    font-weight: 500;
}

.section-topline::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: #999;
    position: absolute;
    right: 0;
    top: 50%;
}

.services-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.header-right {
    flex: 1;
    min-width: 300px;
    padding-top: 25px;
}

.header-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: var(--white);
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #e0e0e0;
    font-weight: 400;
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
    background-color: var(--white);
    color: var(--text-color);
}

.why-us-container {
    max-width: 900px;
    margin: 0 auto;
}

.why-us-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.3;
}

.why-us-list {
    list-style: none;
    margin-bottom: 40px;
}

.why-us-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.15rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.why-us-list li i {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.why-us-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    max-width: 850px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.gallery-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 40px;
}

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

.gallery-item {
    background: var(--white);
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

.gallery-caption {
    font-size: 0.85rem;
    color: #444;
    padding: 5px 0;
    font-weight: 500;
}

.gallery-actions {
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-content h1,
    .welcome-text h2 {
        font-size: 2.2rem;
    }

    .hero-container,
    .welcome-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .hero-content,
    .welcome-text {
        text-align: center;
        margin-bottom: 20px;
    }

    .hero-footer-info {
        justify-content: center;
    }

    /* Services Section Mobile */
    .services-header {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .header-right {
        padding-top: 0;
    }

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

    .service-card {
        height: 300px;
    }

    /* Reference Section Mobile */
    .comparison-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .carousel-slide {
        padding: 0 10px;
    }

    .carousel-btn {
        top: 20%;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }

    /* Why Us Section Mobile */
    .why-us-section {
        padding: 60px 0;
    }

    .why-us-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .why-us-list li {
        font-size: 1rem;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.faq-header-center {
    margin-bottom: 50px;
}

.faq-subheadline {
    display: block;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background-color: #0d2c45;
    /* Dark blue from screenshot */
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
    /* Optional slight radius */
}

.accordion-header:hover {
    background-color: #0f3d61;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
}

.accordion-content p {
    padding: 25px;
    color: #444;
    line-height: 1.6;
    border: 1px solid #eee;
    border-top: none;
}

/* Footer Section */
.footer-section {
    background-color: #1e2a36;
    /* Dark Slate Blue matching screenshot */
    color: #ffffff;
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.logo-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 100px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1) opacity(0.8);
    /* Make simplified/white if needed, or remove filter if logo is already good */
}

/* If logo is an image, we might not need the text H3 next to it exactly like the screenshot if the image includes it. 
   But the screenshot shows logo ICON then text below. 
   Assuming logos.png is the one used in header. 
*/
.logo-column h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 5px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-column p {
    margin-bottom: 5px;
    color: #cbd5e1;
    /* Lighter text for details */
}

.company-name {
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 10px !important;
}

.contact-info {
    margin-top: 15px;
    line-height: 1.6;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
        align-items: center;
    }

    .logo-column {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }
}