/* ================= GLOBAL STYLES ================= */
:root {
    --green: rgb(24, 85, 70); /* English Green */
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
}

/* ================= UTILITIES ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: left;
    margin-bottom: 1rem;
    color: var(--green);
}

.section-text {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.btn-primary {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
}

/* ================= NAVBAR ================= */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green);
	
	border-bottom: 3px solid orange; /* increase thickness */
    display: inline-block; /* keeps underline only under text */
    padding-bottom: 1px; /* reduce space between text & underline */
	position: relative;
}
.smalllogo {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    display: flex;
    justify-content: space-between; /* spreads words */
    width: 100%; /* same width as parent */
    max-width: 220px; /* match ELEMENT : DESIGN width (adjust if needed) */
	padding-top: 3px; /* reduce space between text & underline */
}

.logo span {
    color: #000;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}
/* Navbar links */
.navbar a {
    text-decoration: none;
    color: var(--green);
    padding: 8px 12px;
    transition: 0.3s ease;	
    position: relative;
}

/* Hover effect */
.navbar a:hover {
    color: #0a4f3c; /* darker green */
    background: rgba(0,0,0,0.05);
    border-radius: 5px;
}


/* animated underline */
.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: orange;
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= HERO ================= */
/*.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../assets/images/hero.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
}*/

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
/* ================= HERO SECTION ================= */
/*
.hero {
    padding: 80px 0;
    background: #f8f8f8;
}
*/

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    color: var(--white);
}

/* ================= HERO SLIDER ================= */
/* SLIDER CONTAINER */
.hero {
    width: 100%;
    height: 80vh; /* reduce height (adjust 60–75vh as needed) */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

/* Slider container */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Each slide 
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}*/
/* SLIDES */
.slide {
    width: 100%;
    height: 100%;
    display: none;
}
/* Active slide */
.slide.active {
    display: block;
}

/* Image */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* fills container perfectly */
    display: block;      /* removes bottom gap */
}

/* Text overlay */
.hero-overlay {
    position: absolute;
    bottom: 80px;
    right: 60px;
    color: #fff;
    text-align: right;
}

.hero-overlay h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 18px;
}
.hero,
.hero-slider {
    padding: 0;
    margin: 0;
}
/* Mobile */
@media (max-width: 768px) {
    .hero-overlay {
        right: 20px;
        left: 20px;
        text-align: center;
    }

    .hero-overlay h1 {
        font-size: 28px;
    }
	
	.hero {
        height: 50vh;
    }
}
/* ===== HERO SLIDER ARROWS ===== */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Mobile size */
@media (max-width: 768px) {
    .slider-btn {
        font-size: 22px;
        padding: 8px 12px;
    }
}


/* ================= ABOUT ================= */
.about {
    padding: 60px 0;
}
/* ================= ABOUT: PHOTO LEFT, CONTENT RIGHT ================= */
.about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* photo | content */
    gap: 40px;
    align-items: center;
	text-align: left;
    margin-top: 30px;
}
.about-text {
    text-align: left;
    max-width: 700px;
    margin: auto;
}
.about-text h4 {
    color: orange;
}
.about-photo {
    display: flex;
    justify-content: center;
}

.architect-photo {
    width: 22vw;          /* 20% of screen */
    max-width: 400px;     /* cap on large screens */
    min-width: 220px;     /* readable on small screens */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* Mobile */
@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .architect-photo {
        width: 60vw;      /* larger on mobile */
        margin-bottom: 20px;
    }
}

/* =====
/* =====================================================
   WHY CHOOSE US SECTION
   ===================================================== */

.why-choose {
    background-color: #ffffff;
    padding: 80px 0;
}

.why-choose .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.why-choose-card {
    background: #f7f7f7;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-6px);
}

.why-choose-card h3 {
    color: #1b5e20; /* English Green 186 */
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.why-choose-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .why-choose {
        padding: 60px 0;
    }
}



/* ================= PROJECTS SECTION (SCOPED) ================= */
.projects {
    background-color: #ffffff;
    padding: 10px 0;
}

/* Scope subtitle only inside projects */
.projects .section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: 12px auto 40px;
    color: #555;
}

/* Grid strictly for projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Project card scoped */
.projects .project-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Project images only */
.projects .project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Content inside project card */
.projects .project-content {
    padding: 20px;
}

.projects .project-content h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: #1b5e20; /* English Green */
}

.projects .project-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Mobile safety */
@media (max-width: 768px) {
    .projects .project-card img {
        height: 200px;
    }
}

/* ================= CONTACT ================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-card h3 {
    color: #186a3b; /* English Green */
    margin-bottom: 10px;
}

.contact-card p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.map-container {
    width: 100%;
    height: 250px;
    margin-top: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ================= FOOTER ================= */
.footer {
    background: var(--green);
    color: var(--white);
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--white);
        flex-direction: column;
        width: 200px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
