/* --------------------------------------------------
   GLOBAL RESET & BASE
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
header {
    background: #2e7d32;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 2000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.header-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 45px;
    border-radius: 4px;
}

.brand-text h1 {
    color: white;
    font-size: 18px;
}

.tagline {
    color: #ffeb3b;
    font-size: 11px;
    font-weight: 500;
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.desktop-nav a.active {
    color: #ffeb3b;
}

.nav-btn {
    background: #ffeb3b;
    color: #222 !important;
    padding: 8px 14px;
    border-radius: 6px;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #2e7d32;
    padding: 20px;
    z-index: 3000;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-nav.open {
    display: flex;
}

/* --------------------------------------------------
   MAIN CONTENT
-------------------------------------------------- */
main {
    flex: 1;
    margin-top: 70px;
    padding: 30px 20px;
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: 10px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: #ffeb3b;
    padding: 12px 24px;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #e0d000;
}

.btn-secondary {
    background: white;
    padding: 12px 24px;
    color: #2e7d32;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid #2e7d32;
}

/* --------------------------------------------------
   CARD SYSTEM
-------------------------------------------------- */
.card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    max-width: 1100px;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: center;
}

.card h2 {
    margin-bottom: 15px;
    font-size: 28px;
    color: #2e7d32;
}

/* --------------------------------------------------
   TRUST BADGES
-------------------------------------------------- */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.trust-badge {
    background: #2e7d32;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ffeb3b;
    white-space: nowrap;
}

/* --------------------------------------------------
   WHY CHOOSE US
-------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.why-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2e7d32;
    text-align: left;
}

/* --------------------------------------------------
   SERVICES GRID
-------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.service-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    border-left: 4px solid #ffeb3b;
}

.service-card a {
    color: #2e7d32;
    font-weight: bold;
    text-decoration: none;
}

/* --------------------------------------------------
   PROJECT PREVIEW
-------------------------------------------------- */
.project-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.project-preview img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* --------------------------------------------------
   TESTIMONIALS
-------------------------------------------------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.testimonial-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2e7d32;
}

/* --------------------------------------------------
   CTA CARD
-------------------------------------------------- */
.cta-card {
    background: #2e7d32;
    color: white;
}

.cta-card .btn-primary {
    background: #ffeb3b;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
    background: #2e7d32;
    color: white;
    padding: 6px 12px;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 2px solid #ffeb3b;
    z-index: 1500;
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    height: 26px;
}

.footer-tagline {
    font-size: 11px;
    white-space: nowrap;
}

.footer-bottom {
    text-align: center;
    font-size: 9px;
    margin-top: 2px;
}

/* --------------------------------------------------
   CALL NOW FLOATING BUTTON
-------------------------------------------------- */
.call-now {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #ffeb3b;
    color: #222;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* --------------------------------------------------
   MOBILE RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px) {

    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }

    .footer-tagline {
        font-size: 10px;
    }

    main {
        padding-bottom: 120px;
    }
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.gallery-grid .project-box {
    width: 100%;
    aspect-ratio: 4 / 3; /* perfect professional ratio */
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crops perfectly */
    display: block;
}
.slider-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.slider-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 20px;
    user-select: none;
}

.slider-arrow.left { left: 20px; }
.slider-arrow.right { right: 20px; }

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 45px;
    color: white;
    cursor: pointer;
}
/* CONTACT PAGE — PREMIUM FORM FIX */
.contact-flex {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.contact-details {
    flex: 1;
    min-width: 260px;
    text-align: left;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2e7d32;
    outline: none;
    box-shadow: 0 0 4px rgba(46,125,50,0.4);
}

.contact-form textarea {
    height: 140px;
    resize: none;
}

.contact-form button {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}
