/*
  Thezenithinfra - Global Construction Company
  Shared stylesheet
  Colors: Sky Blue #2A9DF4, Gold #C9A43C, Light BG #F8F9FA, Dark #0F2233
  Typography: Poppins (fallback: system sans-serif)
*/

/* CSS Reset (lightweight) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; color: #0F2233; background-color: #F8F9FA; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { 
  color: inherit; 
  text-decoration: none; 
  transition: 0.5s;
}

:root {
  --brand-blue: #2A9DF4;
  --brand-gold: #C9A43C;
  --bg-light: #F8F9FA;
  --text-dark: #0F2233;
  --text-muted: #5b6b7a;
  --card-bg: #ffffff;
  --shadow: 0 10px 30px rgba(15, 34, 51, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --transition: 220ms cubic-bezier(.2,.8,.2,1);
}

/* Layout */
.container { width: min(1200px, 92%); margin-inline: auto; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Header / Nav */
header.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-logo { display: inline-block; }
.brand-logo img {
    width: 170px;
    height: 100%;
    display: block;
}
.brand-name { font-weight: 700; color: var(--text-dark); }
.brand-sub { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: -4px; }
.whatsapp-icon {
    position: fixed;
    z-index: 99;
    right: 15px;
    bottom: 30px;
    width: 45px;
}
.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.nav ul a:hover {
    color: #3799c6;
}
.hero-section {
    background-image: url(./assets/hero-bg.png);
    display: flex;
    align-items: center;
    height: calc(100vh - 98px);
    position: relative;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000000a3;
    z-index: 0;
}
.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
} 
.hero-content h1 {
    font-size: 42px;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    margin-top: 30px;
}
.hero-content p {
    font-size: 18px;
    color: #fff;
    margin: 25px 0;
    max-width: 68%;
}
/* Hero */
.hero { padding: clamp(64px, 8vw, 120px) 0; background: radial-gradient(1200px 400px at 10% -10%, rgba(42,157,244,0.08), transparent), radial-gradient(1200px 400px at 90% 110%, rgba(201,164,60,0.10), transparent); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.hero-content .eyebrow {
    color: #ffffff;
}
.eyebrow {
    color: #2eb0eb;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 16px;
}
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.15; margin: 0.5rem 0 0.75rem; }
.hero p.lead { color: var(--text-muted); font-size: clamp(1rem, 1.8vw, 1.15rem); margin: 0 0 1.2rem; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 8px 22px;
    border-radius: 5px;
    border: 1px solid transparent;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    line-height: normal;
}
.btn-primary {
    background: #2eb0eb;
    color: #fff;
}
.btn-primary:hover{
    background: #fff;
    color: var(--text-dark);
    border-color:#2eb0eb;
}
.btn-outline {
    background: #fff;
    color: var(--text-dark);
}
.btn-outline:hover{
    background: #2eb0eb;
    color: #fff;
    border-color:#2eb0eb ;
}
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}
h3.office-info {
    text-align: left;
    margin: 0;
}
p.contact-info {
    margin: 0;
    text-align: left;
    display: flex;
    gap: 12px;
    font-size: 17px;
    line-height: normal;
}
.why-choose-us {
    padding: 60px 0;
}
.why-choose-us h2 {
    margin: 0;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
}
.why-choose-us p {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 15px;
}
.why-choose-inner {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 40px;
}
.why-choose-box {
    border: 1px solid #2a80ac;
    border-radius: 10px;
    padding: 40px 40px;
    flex-direction: column;
    flex: 1;
}
.why-choose-box h3 {
    margin: 0;
    font-size: 30px;
    color: #2a80ac;
    text-align: center;
    line-height: normal;
}
.why-choose-box span {
    text-align: center;
    display: block;
    font-size: 18px;
}
.why-choose-services {
    display: flex;
    gap: 30px;
    margin-top: 60px;

}
.why-choose-services-box {
    border: 1px solid #37a1c8;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 20px;
    padding-bottom: 30px;
}

.why-choose-services-box h3 {
    text-align: center;
    font-size: 26px;
    margin: 0;
    padding: 0 20px;
    line-height: normal;
}
.why-choose-services-box p {
    margin: 0;
    text-align: center;
    padding: 0px 20px;
    max-width: 100%;
}
.why-choose-services-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.what-we-do {
    padding: 40px 0;
}
.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}
.service-section {
    padding: 60px 0;
}
.service-hero-content{
    position: relative;
}
.service-hero-section {
    position: relative;
    padding: 180px 0;
    background-image: url(assets/plaster-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.service-hero-section.civil-works{
    background-image: url(assets/civil-works-bg.webp);
}
.service-hero-section.pre-construction{
    background-image: url(assets/pre-construction-planning.webp);
}
.service-hero-section.tiles-works{
    background-image: url(assets/tiles-bg.webp);
}
.service-hero-section.building-construction{
    background-image: url(assets/building-construction-bg.webp);
}
.service-hero-section.quality-and-safety{
    background-image: url(assets/quality-safety-bg.webp);
}
.service-hero-content h2 {
    text-align: center;
    margin: 0;
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    line-height: normal;
}
.service-work-section {
    padding: 60px 0;
}
.service-work-main {
    display: flex;
    align-items: center;
    gap: 30px;
}
.service-work-inner {
    flex: 1;
}
.service-hero-img {
    flex: 1;
}
.service-hero-img img {
    border-radius: 10px;
}
.service-work-inner h2 {
    margin: 0;
    font-size: 28px;
    line-height: normal;
    font-weight: 600;
    color: #3296c3;
}
.about-section {
    padding: 60px 0;
}
.contact-section{
    padding: 60px 0;
}
.about-hero-section{
    position: relative;
    padding: 180px 0;
    background-image: url(assets/civil-works-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.brand-color {
    color: #2eb0ec;
}
.project-section {
    padding: 60px 0;
}
.hero-card { background: var(--card-bg); border: 1px solid rgba(15,34,51,.08); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.hero-card h3 { margin: 0; font-size: 1rem; color: var(--text-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.stat { background: #fff; border: 1px solid rgba(15,34,51,.08); border-radius: var(--radius-sm); padding: 0.9rem; text-align: center; }
.stat .num { display: block; font-weight: 800; color: var(--brand-gold); font-size: 1.4rem; }
.stat .label { color: var(--text-muted); font-size: 0.85rem; }

/* Section */
section.section { padding: clamp(48px, 7vw, 86px) 0; }
.section-header { text-align: center; margin-bottom: 1.6rem; }
.section-header h2 { margin: 0.2rem 0 0.5rem; font-size: clamp(1.4rem, 3.2vw, 2rem); }
.section-header p { color: var(--text-muted); margin: 0; }

/* Service cards */
.card { background: var(--card-bg); border: 1px solid rgba(15,34,51,.08); border-radius: var(--radius); padding: 1.2rem; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card:hover { transform: translateY(-6px); border-color: rgba(42,157,244,.25); }
.card .icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(42,157,244,0.14), rgba(42,157,244,0.08)); color: var(--brand-blue); font-weight: 700; margin-bottom: 0.6rem; }
.card h3 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.card p {
    margin: 0;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: normal;
    font-size: 15px;
}

/* Projects gallery */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.project {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #ddd;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    margin: 0;
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition), filter var(--transition); }
/* Optional: show contained image only for contact hero image */
.contact-image { width: 100%; height: auto; display: block; }
.project .overlay { position: absolute; inset: 0; display: grid; place-items: end start; padding: 1rem; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55)); color: #fff; opacity: 0; transition: opacity var(--transition); }
.project:hover img { transform: scale(1.06); filter: contrast(1.05) saturate(1.05); }
.project:hover .overlay { opacity: 1; }
.project .title { font-weight: 700; letter-spacing: .3px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem; }
form.contact-form {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(15,34,51,.08);
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.input {
    display: flex;
    flex-direction: column;
}
.input label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}
.input input, .input textarea {
    padding: 10px 10px;
    border: 1px solid rgba(15,34,51,.18);
    border-radius: 5px;
    background: #fff;
    font: inherit;
    font-size: 16px;
    margin-bottom: 10px;
}
label.error {
    font-size: 12px !important;
    color: red;
    font-weight: normal !important;
    line-height: normal;
}
.submit-message {
    margin-top: 20px;
    font-size: 14px;
    line-height: normal;
    color: green;
}
.mobile-icon {
    width: 40px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 1px solid;
    border-radius: 5px;
    justify-content: center;
    font-size: 18px;
    display: none;
}
.input input:focus, .input textarea:focus { outline: none; border-color: var(--brand-blue); }
.input input::placeholder, .input textarea::placeholder { color: #98a6b5; }
.input .hint { font-size: 0.8rem; color: var(--text-muted); }
.map-placeholder { height: 100%; min-height: 340px; background: linear-gradient(135deg, rgba(201,164,60,.18), rgba(42,157,244,.18)); border: 2px dashed rgba(15,34,51,.15); border-radius: var(--radius); display: grid; place-items: center; color: #2b3b4b; text-align: center; padding: 1rem; }

/* Footer */
footer.site-footer { background: #ffffff; border-top: 1px solid rgba(15,34,51,.08); padding: 1.2rem 0; margin-top: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(15,34,51,.12); transition: transform var(--transition), color var(--transition), border-color var(--transition), background var(--transition); }
.socials a:hover { transform: translateY(-2px); color: var(--brand-blue); border-color: var(--brand-blue); background: rgba(42,157,244,0.06); }

/* Utilities */
.muted { color: var(--text-muted); }
.gold { color: var(--brand-gold); }
.blue { color: var(--brand-blue); }
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .grid-3, .projects-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav ul { gap: 0.6rem; }
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 30px;
        margin-top: 15px;
    }
    .hero-content p {
        font-size: 16px;
        margin: 20px 0;
        max-width: 100%;
    }
    .why-choose-us {
        padding: 30px 0;
    }
    .why-choose-us h2 {
        font-size: 26px;
    }
    .why-choose-us p {
        max-width: 100%;
        margin-top: 10px;
    }
    .why-choose-box h3 {
        font-size: 24px;
    }
    .why-choose-inner {
        gap: 20px;
        max-width: 100%;
        margin-top: 30px;
    }
    .why-choose-services {
        gap: 20px;
        margin-top: 40px;
        flex-direction: column;
    }
    .why-choose-services-box {
        gap: 10px;
    }
    .why-choose-services-box h3 {
        font-size: 22px;
    }
    .what-we-do {
        padding: 20px 0;
    }
    .section-header h2 {
        font-size: 22px;
    }
    .service-hero-section {
        padding: 120px 0;
    }
    .service-hero-content h2 {
        font-size: 28px;
    }
    .service-work-section {
        padding: 30px 0;
    }
    .service-work-main {
        flex-direction: column;
    }
    .service-work-inner h2 {
        font-size: 24px;
    }
    .about-section {
        padding: 40px 0;
    }
    .about-hero-section{
        padding: 100px 0;
    }
    .project-section {
        padding: 40px 0;
    }
    .contact-section{
        padding: 40px 0;
    }
    form.contact-form {
        padding: 20px 20px;
    }
    .mobile-icon {
        display: flex;
    }
    nav#toggleContent {
        position: absolute;
        left: 0;
        top: 0;
        background-color: #2eb0ec;
        width: 280px;
        padding: 20px;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    nav#toggleContent ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    nav#toggleContent ul li a{
        color: #fff;
    }
    nav#toggleContent.active {
        transform: translateX(0);
    }
    .brand-logo img {
        width: 80px;
    }

}
@media (max-width: 560px) {
  .projects-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}


