/*
	main.css - Star Enterprises
	Modern, premium homepage styles (pure CSS3)
	- Responsive using Flexbox & Grid
	- No frameworks
*/

:root {
    --bg: #f7f7f8;
    --surface: #ffffff;
    --charcoal: #111217;
    --muted: #6b6b6b;
    --accent: #b98f48;
    --accent-strong: #a3783b;
    --text: #111216;
    --max-width: 1200px;
    --radius: 12px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Global page/section colors: page grey, sections white */
main > section:not(.hero):not(.about-hero):not(.services-hero):not(.portfolio-hero):not(.contact-hero):not(.cta-full):not(.site-footer) {
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(11, 14, 17, 0.04);
    margin-bottom: 1.2rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem
}

/* Generic placeholders (use images when available) */
.image-placeholder,
.proj-placeholder {
    background: linear-gradient(180deg, #ddd, #f3f3f3);
    border-radius: 10px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
}

/* = Header = */
.site-header {
    display: none
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0
}

.brand-link {
    color: var(--surface);
    text-decoration: none
}

.brand-title {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--surface)
}

.brand-sub {
    margin: 0;
    font-size: 0.85rem;
    color: var(--accent)
}

.main-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    align-items: center
}

.nav-list a {
    color: var(--surface);
    text-decoration: none;
    padding: .35rem .5rem;
    position: relative;
    transition: color .18s
}

.nav-list a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    bottom: -6px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: all .22s
}

.nav-list a:hover:after {
    opacity: 1;
    transform: scaleX(1)
}

.cta-link {
    background: var(--accent);
    color: var(--charcoal);
    padding: .5rem .75rem;
    border-radius: 6px;
    font-weight: 600
}

/* = Hero = */
.hero {
    position: relative;
}

/* Hero */
.hero {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15)), url('../images/hero.jpg') center/cover no-repeat;
    height: 60vh;
    min-height: 420px;
    padding: 6rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 0
}

.hero-copy {
    max-width: 720px;
    color: #fff;
    text-align: left;
    padding-left: 0.6rem
}

.hero-title {
    font-size: 2.6rem;
    margin: 0 0 .6rem;
    font-family: Georgia, 'Times New Roman', serif
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem
}

.hero-ctas {
    display: flex;
    gap: 1rem
}

.btn {
    border-radius: 8px;
    text-decoration: none;
    display: inline-block
}

.btn-primary {
    background: var(--accent);
    color: var(--charcoal);
    padding: .9rem 1.1rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: transform .14s, box-shadow .14s
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18)
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.btn.large {
    padding: 1rem 1.4rem;
    font-size: 1.05rem
}

.info-card {
    background: var(--surface);
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(12, 14, 17, 0.05);
    text-align: left;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: center
}

/* Homepage About section: white surface on a light grey page */
.about {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
}

/* About page: make page grey and inner sections white */
.about-page {
    background: var(--bg);
}
.about-page main > section:not(.cta-full) {
    background: var(--surface);
    padding: 1.6rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(11,14,17,0.04);
    margin-bottom: 1.2rem;
}
.about-page main > section.about-hero {
    background: transparent;
    box-shadow: none;
    margin-bottom: 0;
}

.about-text h3 {
    margin-top: 0
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.2rem
}

.info-svg {
    color: var(--accent);
    margin-bottom: .5rem;
}

/* Refined contact main */
.contact-main {
    padding: 2rem 0 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.5rem;
    align-items: start;
}

.contact-form-wrap {
    background: linear-gradient(180deg, #fff, #f9f9f9);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(12, 14, 17, 0.06);
}

.contact-form h3 {
    margin-top: 0;
}

.form-row {
    margin-bottom: 1rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 12px 12px 12px;
    border: 1px solid rgba(12, 14, 17, 0.08);
    border-radius: 6px;
    background: transparent;
    font-size: .98rem;
}

.form-group textarea {
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 10px;
    font-size: .85rem;
    color: var(--muted);
    transition: all .18s ease;
    pointer-events: none;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    transform: translateY(-130%);
    font-size: .72rem;
    color: var(--accent);
}

.contact-aside {
    background: transparent;
}

.map-frame {
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(12, 14, 17, 0.06);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.business-card {
    margin-top: 1rem;
    padding: .75rem 1rem;
    background: var(--surface);
    border-radius: 6px;
}

.privacy-note {
    font-size: .85rem;
    color: var(--muted);
    margin-top: .6rem;
}

/* Responsive tweaks for contact */
@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }
}

.about-list li {
    margin-bottom: .45rem;
    color: var(--muted)
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08)
}

/* = Services = */
.services {
    padding: 2.4rem 0
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem
}

.section-header h3 {
    margin: 0
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem
}

.service-card {
    background: var(--surface);
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
    transition: transform .18s, box-shadow .18s
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(17, 17, 17, 0.09)
}

.service-card .icon {
    color: var(--accent);
    margin-bottom: .6rem
}

.service-card h4 {
    margin: .3rem 0
}

.service-card p {
    color: var(--muted);
    margin: 0
}

/* Services section styling */
.services {
    --card-radius: 12px;
}

.services h2 {
    font-weight: 700;
    letter-spacing: -0.2px;
}

.services-underline {
    height: 4px;
    width: 60px;
    background: var(--accent);
    border-radius: 4px;
}

.service-card {
    border: 0;
    border-radius: var(--card-radius);
    box-shadow: 0 8px 24px rgba(7, 9, 12, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
    background: var(--surface);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(7, 9, 12, 0.12);
}

.service-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    background: var(--charcoal);
    color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(7, 9, 12, 0.06);
}

.service-icon svg {
    color: var(--accent);
}

.services .card .card-body {
    padding: 1rem 0 0.5rem;
}

.services p.small {
    margin-bottom: 0;
}

/* = Why Choose Us = */
.why-choose {
    padding: 2.4rem 0;
    background: linear-gradient(180deg, #fff, #fbfbfb)
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem
}

.why-item {
    background: var(--surface);
    padding: 1rem;
    border-radius: 10px;
    text-align: center
}

.why-icon {
    font-size: 1.5rem;
    margin-bottom: .6rem
}

.why-item h4 {
    margin: .3rem 0
}

.why-item p {
    color: var(--muted);
    font-size: .95rem
}

/* = Portfolio = */
.portfolio {
    padding: 2.4rem 0
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    align-items: stretch
}

.proj {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9
}

.proj img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease
}

.proj figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 12px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
    color: #fff;
    display: flex;
    justify-content: center
}

.proj:hover img {
    transform: scale(1.06)
}

/* = Testimonials = */
.testimonials {
    padding: 2.4rem 0;
    background: #fff
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start
}

.test-card {
    background: var(--surface);
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(11, 14, 17, 0.06);
    min-height: 140px
}

.test-card .quote {
    font-style: italic;
    color: var(--charcoal);
    font-size: 1rem;
    line-height: 1.45
}

.t-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 64px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06)
}

.t-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.test-card strong {
    display: block;
    margin-top: 6px
}

@media (max-width:900px) {
    .testimonials-grid {
        grid-template-columns: 1fr
    }
}

/* = CTA Full width = */
.cta-full {
    background: var(--charcoal);
    color: #fff;
    padding: 2.2rem 0;
    margin-top: 2rem
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.cta-inner h3 {
    margin: 0;
    font-size: 1.4rem
}

/* = Footer = */
.site-footer {
    background: #111217;
    color: #d6d6d6;
    padding: 2.2rem 0;
    margin-top: 2rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem
}

.footer-about p {
    color: var(--muted)
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links a {
    color: var(--muted);
    text-decoration: none
}

.footer-contact a {
    color: var(--muted);
    text-decoration: none
}

.socials a {
    margin-right: .6rem;
    color: var(--muted);
    text-decoration: none
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: .95rem
}

/* Footer: responsive grid and link styles */
.site-footer .container {
    max-width: var(--max-width)
}

.site-footer h4,
.site-footer h5 {
    color: #fff;
    margin-bottom: .6rem
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links li {
    margin-bottom: .45rem
}

.footer-links a {
    color: var(--muted);
    text-decoration: none
}

.footer-links a:hover {
    color: var(--accent)
}

.footer-contact a {
    color: var(--muted);
    text-decoration: none
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1rem
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    margin-right: 8px;
    color: var(--muted);
    transition: background .18s, color .18s
}

.socials a:hover {
    background: var(--accent);
    color: #111
}

@media (max-width:900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem
    }
}

@media (max-width:640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .footer-bottom {
        text-align: left
    }
}

/* = Scroll to top = */
.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: var(--accent);
    color: var(--charcoal);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12)
}

/* = Responsive adjustments = */
@media (max-width:1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .test-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start
    }
}

@media (max-width:640px) {
    .header-inner {
        flex-direction: column;
        gap: .6rem;
        text-align: center
    }

    .main-nav .nav-list {
        flex-wrap: wrap;
        justify-content: center
    }

    .hero {
        height: auto;
        min-height: 380px;
        padding: 3rem 0
    }

    .hero-title {
        font-size: 1.7rem
    }

    .services-grid,
    .why-grid,
    .portfolio-grid,
    .test-grid {
        grid-template-columns: 1fr
    }

    .proj img {
        height: 160px
    }
}

/* Mobile friendliness tweaks */
@media (max-width:900px) {
    .page-title {
        font-size: 1.8rem
    }

    .page-sub {
        font-size: 1rem
    }
}

@media (max-width:640px) {
    .page-title {
        font-size: 1.5rem
    }

    .page-sub {
        font-size: .95rem
    }

    .services-hero,
    .portfolio-hero,
    .contact-hero,
    .about-hero {
        min-height: 260px;
        padding: 2rem 0
    }

    .services-hero .hero-inner,
    .portfolio-hero .hero-inner,
    .contact-hero .hero-inner,
    .about-hero .hero-inner {
        padding: 1.6rem 0
    }

    .hero-copy,
    .hero-content {
        padding: 0 0.5rem
    }

    .gallery-grid .proj img {
        height: auto
    }

    .contact-fab {
        right: 12px;
        bottom: 72px
    }
}

@media (max-width:360px) {

    /* Hide floating buttons on very small screens to avoid occlusion */
    .contact-fab {
        display: none
    }
}

/* small utility tweaks */
h1,
h2,
h3,
h4 {
    line-height: 1.15;
    margin: 0
}

a {
    color: inherit
}

/* ==========================
	 Services Page Styles
	 ========================== */
.services-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    min-height: 420px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.2)), url('../images/services.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center
}

.services-hero .hero-inner {
    padding: 3.2rem 0
}

.services-hero .page-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.2rem;
    margin: 0
}

.services-hero .page-sub {
    margin-top: .6rem;
    color: rgba(255, 255, 255, 0.9)
}

.services-overview {
    padding: 2rem 0;
    text-align: center
}

.services-overview .intro {
    max-width: 900px;
    margin: 0 auto;
    color: var(--muted)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    padding: 2rem 0
}

.service-card {
    background: var(--surface);
    padding: 1.4rem;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: transform .18s, box-shadow .18s
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.09)
}

.svc-icon {
    font-size: 1.8rem;
    margin-bottom: .6rem;
    color: var(--accent)
}

.service-card h3 {
    margin: 0 0 .4rem
}

.service-card p {
    color: var(--muted);
    margin: 0 0 .8rem
}

.service-card .learn {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600
}

.service-card .learn:after {
    content: '';
    display: block;
    height: 2px;
    background: transparent;
    transition: background .18s
}

.service-card:hover .learn:after {
    background: var(--accent)
}

.process {
    padding: 2rem 0
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.process-steps li {
    background: var(--surface);
    padding: .9rem 1rem;
    border-radius: 10px;
    flex: 1 1 180px;
    display: flex;
    gap: .6rem;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04)
}

.process-steps li strong {
    color: var(--accent);
    margin-right: .4rem
}

.services-why {
    padding: 2rem 0
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.why-grid li {
    background: var(--surface);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--muted)
}

.industries {
    padding: 2rem 0
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .8rem
}

.ind-item {
    background: var(--surface);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04)
}

@media (max-width:1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .services-grid {
        grid-template-columns: 1fr
    }

    .industries-grid {
        grid-template-columns: 1fr
    }

    .process-steps {
        flex-direction: column
    }
}

/* Floating contact buttons (call + WhatsApp) */
.contact-fab {
    position: fixed;
    right: 18px;
    bottom: 88px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1200
}

.contact-fab a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform .14s, box-shadow .14s
}

.contact-fab a:active,
.contact-fab a:focus {
    outline: 2px solid rgba(255, 255, 255, 0.12);
    transform: translateY(1px)
}

.contact-fab .fab-call {
    background: var(--accent)
}

.contact-fab .fab-wa {
    background: #25D366
}

.contact-fab svg {
    width: 20px;
    height: 20px;
    display: block
}

@media (max-width:480px) {
    .contact-fab {
        right: 12px;
        bottom: 72px
    }

    .contact-fab a {
        width: 48px;
        height: 48px
    }
}

/* ==========================
	 Projects / Portfolio Styles
	 ========================== */
.portfolio-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44vh;
    min-height: 280px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.2)), url('../images/project.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center
}

.portfolio-hero .hero-inner {
    padding: 2.6rem 0
}

.portfolio-intro {
    padding: 1.6rem 0;
    text-align: center
}

.portfolio-filters {
    padding: 0.8rem 0
}

.filters {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: center
}

.filter {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: .5rem .8rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all .18s;
    color: var(--charcoal)
}

.filter:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06)
}

.filter.active {
    background: var(--accent);
    color: #111;
    font-weight: 700;
    border-color: var(--accent)
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.2rem 0
}

.proj-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px
}

.proj-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .45s ease
}

.proj-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
    color: #fff;
    transform: translateY(0);
    opacity: 0;
    transition: opacity .22s
}

.proj-card:hover img {
    transform: scale(1.06)
}

.proj-card:hover .proj-overlay {
    opacity: 1
}

.proj-overlay h4 {
    margin: 0 0 .3rem
}

.proj-overlay .proj-type {
    opacity: .9;
    margin-bottom: .6rem
}

.proj-overlay .btn {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12)
}

/* Gallery grid: 5 images per row on large screens */
.gallery-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, 1fr);
    padding: 0.6rem 0
}

@media (min-width:640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (min-width:1000px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr)
    }
}

.gallery-grid .proj {
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9
}

.gallery-grid .proj img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease
}

.gallery-grid .proj:hover img {
    transform: scale(1.04)
}

.featured-project {
    padding: 2rem 0
}

.feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center
}

.feat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.08)
}

.feat-content h3 {
    margin-top: 0
}

.feat-content .meta {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 1rem
}

.portfolio-testimonials {
    padding: 1.6rem 0
}

@media (max-width:1000px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .feat-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:640px) {
    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .proj-card img {
        height: 200px
    }
}

/* ==========================
	 Contact Page Styles
	 ========================== */
.contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    min-height: 420px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.18)), url('../images/contact.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

.contact-hero .hero-inner {
    padding: 2.4rem 0
}

.contact-hero .page-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    margin: 0
}

.contact-hero .page-sub {
    margin-top: .5rem;
    color: rgba(255, 255, 255, 0.9)
}

/* About page hero */
.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    min-height: 420px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18)), url('../images/about.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center
}

.about-hero .hero-inner {
    padding: 3.2rem 0
}

.about-hero .page-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.4rem;
    margin: 0
}

.about-hero .page-tag {
    margin-top: .6rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem
}

@media (max-width:640px) {
    .about-hero {
        height: auto;
        min-height: 260px;
        padding: 2.2rem 0
    }

    .about-hero .page-title {
        font-size: 1.6rem
    }
}

/* About page specific cards and grids */
.overview .lead {
    color: var(--muted)
}

.vm-grid .card {
    border-radius: 12px;
    border: 0;
    box-shadow: 0 10px 28px rgba(11, 14, 17, 0.06)
}

.vm-icon {
    font-size: 1.6rem
}

.value-card {
    background: var(--surface);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.val-icon {
    font-size: 1.6rem;
    margin-bottom: .5rem
}

.info-card {
    background: var(--surface);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform .18s
}

.info-card:hover {
    transform: translateY(-6px)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    color: var(--muted);
    margin-top: .35rem
}

@media (max-width:900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .stats-grid {
        grid-template-columns: 1fr
    }
}

/* Services page styles */
.services-page .service-card {
    border-radius: 12px;
    border: 0;
    background: var(--surface);
    box-shadow: 0 12px 36px rgba(11, 14, 17, 0.06);
    transition: transform .18s, box-shadow .18s
}

.services-page .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(11, 14, 17, 0.09)
}

.service-icon {
    width: 84px;
    height: 84px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--accent);
    margin: 0 auto 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06)
}

.service-icon svg {
    display: block;
    fill: currentColor
}

.services-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    min-height: 420px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.2)), url('../images/services.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center
}

.services-hero .page-title {
    font-size: 2.2rem
}

.services-grid {
    margin-top: 1rem
}

@media (max-width:900px) {
    .service-icon {
        width: 64px;
        height: 64px
    }
}

/* Make service cards clearly interactive */
.service-card {
    cursor: default
}

.service-card .btn-link {
    color: var(--accent);
    text-decoration: none
}

.service-card .btn-link:hover {
    text-decoration: underline
}

/* Services list (alternating sections) */
.services-list .service-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04)
}

.service-media img {
    max-height: 360px;
    object-fit: cover
}

.service-content h3 {
    margin-bottom: .6rem
}

.service-content ul {
    margin-left: 1rem
}

@media (max-width:992px) {
    .service-media img {
        max-height: 260px
    }
}



/* Redesigned Why Choose section */
.why-choose {
    background: linear-gradient(180deg, #fff, #fbfbfb);
    border-radius: 12px
}

.why-choose .why-card {
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(11, 14, 17, 0.06);
    transition: transform .18s, box-shadow .18s;
    padding: 1.25rem
}

.why-choose .why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(11, 14, 17, 0.08)
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--charcoal);
    color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06)
}

.why-icon svg {
    display: block;
    fill: currentColor
}

.why-card h5 {
    margin-bottom: 0.4rem
}

.why-card p {
    color: var(--muted);
    margin: 0
}

@media (max-width:900px) {
    .why-choose {
        padding: 1.8rem
    }
}

/* Homepage hero tweaks for Bootstrap layout */
.contact-hero.hero {
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center
}

.contact-hero .hero-content {
    padding: 0
}

.hero-copy {
    color: #fff
}

.hero-ctas .btn {
    margin-right: .6rem
}

/* Navbar brand tweaks to fit two-line brand */
.navbar-brand .brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--surface)
}

.navbar-brand .brand-sub {
    font-size: .72rem;
    color: var(--accent);
    line-height: 1
}

/* Ensure outline-light looks good on hero */
/* outline adjustments */
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.95);
    color: rgba(255, 255, 255, 0.98)
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(17, 17, 17, 0.95)
}

/* Ensure project thumbnails fill their columns and are large enough */
.proj {
    overflow: hidden;
    border-radius: 10px
}

.proj img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

/* Ensure navbar links contrast on dark header */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95)
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff
}

.contact-info {
    padding: 2rem 0
}

/* Specialists section styles */
.specialists h2 {
    font-size: 2rem;
    margin-bottom: .25rem
}

.specials-underline {
    width: 72px;
    height: 6px;
    background: var(--accent);
    border-radius: 6px
}

.specialists .lead {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto
}

.specialist-card {
    border-radius: 14px;
    border: 0;
    box-shadow: 0 18px 40px rgba(11, 14, 17, 0.06)
}

.spec-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #2b2b2b;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto
}

.spec-icon svg {
    display: block;
    fill: currentColor
}

.specialist-card h5 {
    color: var(--charcoal);
    margin-top: .75rem
}

.specialist-card p {
    color: var(--muted)
}

@media (max-width:768px) {
    .spec-icon {
        width: 72px;
        height: 72px
    }

    .specials-underline {
        width: 48px;
        height: 5px
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.info-card {
    background: var(--surface);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform .18s
}

.info-card:hover {
    transform: translateY(-6px)
}

.info-icon {
    font-size: 1.6rem;
    margin-bottom: .6rem;
    color: var(--accent)
}

.info-card h4 {
    margin: 0 0 .3rem
}

.contact-main {
    padding: 2rem 0
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 1.2rem;
    align-items: start
}

.contact-form-wrap h3 {
    margin-top: 0
}

.contact-form {
    display: grid;
    gap: .9rem
}

.form-row {
    display: flex;
    flex-direction: column
}

.form-row label {
    font-weight: 600;
    margin-bottom: .35rem
}

.form-row input,
.form-row select,
.form-row textarea {
    padding: .75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(185, 143, 72, 0.12);
    border-color: var(--accent)
}

.contact-map {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.map-placeholder {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06)
}

.business-hours {
    background: var(--surface);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04)
}

/* CTA uses existing .cta-full styling; ensure spacing */

@media (max-width:1000px) {
    .info-grid {
        grid-template-columns: 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .map-placeholder {
        height: 220px
    }
}

@media (max-width:640px) {
    .contact-hero {
        min-height: 200px;
        padding: 2rem 0
    }

    .contact-grid {
        grid-template-columns: 1fr
    }
}




/* ==========================
	 About Page Specific Styles
	 ========================== */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46vh;
    min-height: 300px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.2)), url('../images/placeholder2.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center
}

.page-hero .hero-inner {
    padding: 3.2rem 0
}

.page-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.4rem;
    margin: 0 0 .5rem
}

.page-tag {
    margin: 0;
    color: rgba(255, 255, 255, 0.9)
}

.company-overview {
    padding: 3rem 0
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 2rem;
    align-items: center
}

.overview-text h2 {
    font-size: 1.6rem;
    margin-bottom: .6rem
}

.overview-text p {
    color: var(--muted);
    line-height: 1.6
}

.overview-facts {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.4rem
}

.overview-facts li {
    padding: .35rem 0;
    color: var(--muted)
}

.overview-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08)
}

.vision-mission {
    padding: 2.4rem 0;
    background: #fff
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.vm-item {
    background: linear-gradient(180deg, #fff, #fbfbfb);
    padding: 1.2rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    align-items: flex-start
}

.vm-icon {
    font-size: 1.6rem
}

.vm-item h3 {
    margin: 0 0 .4rem
}

.values {
    padding: 2.4rem 0
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem
}

.value-card {
    background: var(--surface);
    padding: 1.1rem;
    border-radius: 10px;
    text-align: center;
    transition: transform .18s, box-shadow .18s
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.06)
}

.val-icon {
    font-size: 1.6rem;
    margin-bottom: .6rem;
    color: var(--accent)
}

.why-choose {
    padding: 2.4rem 0
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem
}

.why-list li {
    background: var(--surface);
    padding: .9rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: .6rem
}

.stats {
    padding: 2.4rem 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem
}

.stat {
    background: var(--surface);
    padding: 1rem;
    border-radius: 10px;
    text-align: center
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    animation: fadeInUp .9s ease both
}

.stat-label {
    color: var(--muted);
    margin-top: .35rem
}

/* Simple CSS 'count' illusion: fade-in with slight scale to suggest motion */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

/* CTA reuse already present (.cta-full) - ensure spacing */
.cta-full .cta-inner {
    align-items: center
}

/* Responsive adjustments for About page */
@media (max-width:1000px) {
    .overview-grid {
        grid-template-columns: 1fr
    }

    .vm-grid {
        grid-template-columns: 1fr
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .why-list {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .page-title {
        font-size: 1.5rem
    }

    .values-grid {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: 1fr
    }
}