/* ============================================
   UNIFIED TECH SOLUTIONS — styles.css
   Single stylesheet for all 22 pages.
   Page-specific rules are prefixed:
     idx-   index.html
     abt-   about.html        (uses unprefixed classes)
     gal-   gallery.html
     cnt-   contact.html      (uses unprefixed classes)
     qte-   quote.html        (uses unprefixed classes)
     svc-   service pages     (uses unprefixed classes)
     prj-   project pages     (uses unprefixed classes)
   ============================================ */

/* ── Google Fonts ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ── Reset & Variables ────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-blue: #407FD5;
    --primary-grey: #5B5B5B;
    --light-grey:   #F5F5F5;
    --white:        #FFFFFF;
    --gold:         #FDB913;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--primary-grey);
    overflow-x: hidden;
}

/* ============================================
   TOP BAR  (all pages)
   ============================================ */
.top-bar { background: var(--primary-grey); color: white; padding: 0.8rem 0; font-size: 0.9rem; }
.top-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.top-bar-info { display: flex; gap: 2rem; flex-wrap: wrap; }

/* ============================================
   NAVIGATION  (all pages)
   ============================================ */
nav { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
nav .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
nav .logo { text-decoration: none; display: flex; align-items: center; padding: 0.4rem 0; }
.nav-logo-img {
    height: 56px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}
.nav-logo-img:hover { opacity: 0.8; }
nav ul { list-style: none; display: flex; }
nav ul li { position: relative; }
nav ul li a { color: var(--primary-grey); text-decoration: none; font-weight: 500; transition: all 0.3s; padding: 1.8rem 1.2rem; display: block; }
nav ul li a:hover, nav ul li a.active { color: var(--primary-blue); background: var(--light-grey); }

.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 250px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 5px; z-index: 1000; }
.dropdown.active .dropdown-menu { display: block; }
.dropdown-menu a { padding: 1rem 1.5rem; border-bottom: 1px solid var(--light-grey); display: block; font-weight: 400; }
.dropdown-menu a:last-child { border-bottom: none; }

.cta-nav { background: linear-gradient(135deg, var(--primary-blue), #5da3f5) !important; color: #fff !important; border-radius: 5px; margin-left: 1rem; padding: 0.8rem 1.5rem !important; }
.cta-nav:hover { transform: translateY(-2px); }
.mobile-toggle { display: none; font-size: 1.5rem; background: none; border: none; color: var(--primary-grey); cursor: pointer; }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; }
.menu-overlay.active { display: block; }

/* ============================================
   GLOBAL UTILITIES  (all pages)
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.btn { display: inline-block; padding: 1rem 2.5rem; background: var(--primary-blue); color: white; text-decoration: none; border-radius: 5px; font-weight: 600; transition: all 0.3s; border: 2px solid var(--primary-blue); font-family: 'Montserrat', sans-serif; cursor: pointer; }
.btn:hover { background: transparent; color: var(--primary-blue); transform: translateY(-3px); }
.btn-secondary { background: transparent; border: 2px solid white; color: white; margin-left: 1rem; }
.btn-secondary:hover { background: white; color: var(--primary-blue); border-color: white; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.8rem; color: var(--primary-grey); font-weight: 700; margin-bottom: 1rem; }
.section-title .subtitle { font-size: 1.1rem; color: var(--primary-blue); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }

.page-header { background: linear-gradient(135deg, var(--primary-blue), var(--primary-grey)); color: #fff; padding: 4rem 2rem; text-align: center; }
.page-header h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 700; }
.page-header p { font-size: 1.2rem; opacity: 0.9; }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-blue), var(--primary-grey)); color: white; border: none; font-size: 1.5rem; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(64,127,213,0.5); }

/* ============================================
   MEGA FOOTER  (all pages)
   ============================================ */
footer { background: #2a2a2a; color: white; }

.footer-top { background: linear-gradient(135deg, var(--primary-blue), #3681c7); padding: 3rem 2rem; }
.footer-cta { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-cta-text h3 { font-size: 2rem; margin-bottom: 0.5rem; font-weight: 700; }
.footer-cta-text p { font-size: 1.1rem; opacity: 0.95; }
.footer-cta-button .btn-footer { background: white; color: var(--primary-blue); padding: 1rem 2.5rem; border-radius: 5px; text-decoration: none; font-weight: 600; display: inline-block; transition: all 0.3s; }
.footer-cta-button .btn-footer:hover { background: var(--primary-grey); color: white; transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0,0,0,0.3); }

.footer-main { padding: 4rem 2rem 2rem; background: #2a2a2a; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-section h3 { color: var(--gold); margin-bottom: 1.5rem; font-size: 1.3rem; font-weight: 700; }
.footer-about p { line-height: 1.8; margin-bottom: 1.5rem; color: rgba(255,255,255,0.85); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.footer-contact-item i { color: white; font-size: 1rem; width: 20px; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-contact-item div { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.8rem; }
.footer-section a { color: rgba(255,255,255,0.85); text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-section a:hover { color: var(--gold); padding-left: 5px; }
.footer-section a::before { content: "›"; font-size: 1.3rem; font-weight: bold; color: var(--primary-blue); }

.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: all 0.3s; font-size: 1rem; }
.social-links a::before { content: none !important; }
.social-links a:hover { background: var(--primary-blue); transform: translateY(-3px); padding-left: 0; }

.cert-badge { padding: 0.5rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 5px; font-size: 0.8rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 0.4rem; }
.cert-badge i { font-size: 0.75rem; color: var(--gold); }

.footer-newsletter { margin-top: 1.5rem; }
.footer-newsletter p { margin-bottom: 1rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input { flex: 1; padding: 0.8rem 1rem; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: white; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 0.9rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--primary-blue); background: rgba(255,255,255,0.1); }
.newsletter-form button { padding: 0.8rem 1.5rem; background: var(--primary-blue); color: white; border: none; border-radius: 5px; font-weight: 600; cursor: pointer; transition: background 0.3s; font-family: 'Montserrat', sans-serif; }
.newsletter-form button:hover { background: #3681c7; }

.footer-certifications { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-certifications p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.8rem; }
.cert-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.cert-badge { padding: 0.5rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 5px; font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-bottom-links a::before { content: none !important; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================
   idx-  INDEX PAGE
   ============================================ */

/* Carousel wrapper */
.idx-carousel { position: relative; height: 650px; overflow: hidden; }

.carousel-slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.58);
    z-index: 1;
}

.slide-1 { background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1400&h=700&fit=crop'); }
.slide-2 { background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1400&h=700&fit=crop'); }
.slide-3 { background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1400&h=700&fit=crop'); }

/* Content — centred on desktop */
.idx-carousel-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: none;
}
.carousel-slide.active .idx-carousel-content { animation: slideInUp 0.7s ease forwards; }

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow tag */
.carousel-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.45rem 1.3rem;
    border-radius: 3px;
    margin-bottom: 1.4rem;
}

/* Headlines */
.idx-carousel-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.3rem;
    max-width: 780px;
}

/* Description */
.idx-carousel-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.88);
    max-width: 600px;
    margin-bottom: 2.2rem;
    line-height: 1.7;
}

/* Button row */
.carousel-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.carousel-btns .btn {
    padding: 0.95rem 2.4rem;
    font-size: 1rem;
    border-radius: 4px;
}
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.85);
    color: white;
    display: inline-block;
    padding: 0.85rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}
.btn-outline:hover { background: white; color: var(--primary-blue); border-color: white; }

/* Arrows — clean circles */
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.carousel-arrow:hover { background: var(--primary-blue); border-color: var(--primary-blue); }
.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }

/* Dots */
.idx-carousel-nav {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%);
    z-index: 3; display: flex; gap: 8px;
}
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer; transition: all 0.3s;
    display: inline-block; border: none;
}
.carousel-dot.active { background: white; width: 28px; border-radius: 4px; }

/* About teaser */
.idx-about-section { padding: 6rem 2rem; background: var(--white); }
.idx-about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.idx-about-text h3 { font-size: 2rem; color: var(--primary-blue); margin-bottom: 1.5rem; }
.idx-about-text p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.idx-about-image { height: 450px; border-radius: 10px; overflow: hidden; }
.idx-about-image img { width: 100%; height: 100%; object-fit: cover; }

/* What We Do */
.idx-services-section { padding: 6rem 2rem; background: var(--white); }
.idx-what-we-do-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4rem 3rem; max-width: 1000px; margin: 0 auto; }
.idx-what-we-do-item { text-align: center; padding: 1rem; }
.idx-icon-box { width: 80px; height: 80px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.idx-what-we-do-item:hover .idx-icon-box { transform: scale(1.1); }
.idx-icon-box svg { width: 60px; height: 60px; }
.idx-what-we-do-item h3 { color: var(--primary-grey); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.5px; }
.idx-what-we-do-item p { color: var(--primary-grey); font-size: 0.9rem; line-height: 1.7; }

/* Stats */
.idx-stats-section { background: linear-gradient(135deg, var(--primary-blue), var(--primary-grey)); color: white; padding: 5rem 2rem; }
.idx-stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 3rem; text-align: center; }
.idx-stat-item { padding: 2rem; }
.idx-stat-item h3 { font-size: 3.5rem; margin-bottom: 0.5rem; font-weight: 700; }
.idx-stat-item p { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }

/* CTA strip */
.idx-cta-section { background: var(--white); padding: 6rem 2rem; text-align: center; }
.idx-cta-section h2 { font-size: 2.5rem; color: var(--primary-grey); margin-bottom: 1rem; }
.idx-cta-section p { font-size: 1.2rem; margin-bottom: 2rem; }

/* ============================================
   abt-  ABOUT PAGE  (class names are unprefixed)
   ============================================ */
.about-section { padding: 6rem 2rem; background: var(--white); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.about-image { height: 450px; border-radius: 10px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.values-section { padding: 6rem 2rem; background: var(--light-grey); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 2rem; }
.value-card { background: white; padding: 2.5rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s; }
.value-card:hover { transform: translateY(-5px); }
.value-icon { font-size: 3rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--primary-blue); margin-bottom: 1rem; font-size: 1.4rem; }
.value-card p { line-height: 1.7; }

.testimonials-section { padding: 6rem 2rem; background: var(--white); }
.testimonials-carousel { position: relative; margin-top: 2rem; }
.testimonials-wrapper { overflow: hidden; padding: 0 50px; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card { min-width: calc(33.333% - 1.34rem); margin: 0 0.67rem; background: var(--light-grey); padding: 2rem; border-radius: 10px; box-sizing: border-box; }
.stars { color: #FFD700; font-size: 1.5rem; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; margin-bottom: 1.5rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; font-weight: bold; }
.author-info strong { display: block; color: var(--primary-blue); }
.author-info span { font-size: 0.9rem; }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: linear-gradient(135deg,var(--primary-blue),var(--primary-grey)); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; z-index: 10; transition: all 0.3s; }
.carousel-btn:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 5px 15px rgba(64,127,213,0.4); }
.prev-btn { left: 0; }
.next-btn { right: 0; }
.carousel-indicators { display: flex; justify-content: center; gap: 10px; margin-top: 2rem; }
.indicator-dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s; }
.indicator-dot.active { background: var(--primary-blue); width: 25px; border-radius: 5px; }

/* Hide mobile-only nav elements on desktop */
.mobile-nav-header,
.mobile-nav-divider,
.mobile-nav-cta,
.mobile-nav-buttons,
.mobile-nav-info { display: none; }

/* Breadcrumb hides when mobile menu is open */
.breadcrumb-nav.menu-open { display: none; }

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */
.breadcrumb-nav {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0.7rem 0;
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

/* > separator */
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #aaa;
    margin: 0 0.5rem;
    font-size: 0.8rem;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.breadcrumb-item a::before { content: none !important; }

.breadcrumb-item a:hover {
    background: #dde8f8;
    color: var(--primary-blue);
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
}

/* ============================================
   gal-  GALLERY PAGE
   ============================================ */
.gal-gallery-section { padding: 5rem 2rem; background: var(--white); }
.gal-section-intro { text-align: center; margin-bottom: 3rem; }
.gal-section-intro p { color: var(--primary-grey); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.gal-section-intro h2 { font-size: 2.5rem; color: var(--primary-grey); font-weight: 700; }

.gal-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.gal-gallery-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); cursor: pointer; transition: transform 0.2s ease; text-decoration: none; color: inherit; display: block; border: 1px solid #e8e8e8; }
.gal-gallery-item:hover { transform: translateY(-3px); }
.gal-gallery-image { width: 100%; height: 220px; overflow: hidden; }
.gal-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.gal-gallery-content { padding: 1.3rem; background: #fff; }
.gal-gallery-content h3 { color: var(--primary-grey); margin-bottom: 0.5rem; font-size: 1.1rem; font-weight: 600; }
.gal-gallery-content p { color: #888; font-size: 0.85rem; line-height: 1.5; }

/* ============================================
   cnt-  CONTACT PAGE  (unprefixed class names)
   ============================================ */
.contact-section { padding: 5rem 2rem; background: var(--light-grey); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form, .contact-info { background: #fff; padding: 3rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.contact-form h2, .contact-info h2 { color: var(--primary-blue); font-size: 2rem; margin-bottom: 2rem; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 2rem; padding: 1rem; background: var(--light-grey); border-radius: 8px; }
.info-icon { font-size: 2rem; margin-right: 1.5rem; }
.info-content h3 { color: var(--primary-blue); margin-bottom: 0.5rem; }
.info-content p { color: var(--primary-grey); font-size: 0.95rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 1rem; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 1rem; font-family: 'Montserrat',sans-serif; transition: border-color 0.3s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary-blue); }
.form-group textarea { resize: vertical; min-height: 150px; }

.submit-btn { width: 100%; padding: 1rem 2rem; background: linear-gradient(135deg,var(--primary-blue),#5da3f5); color: #fff; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: 'Montserrat',sans-serif; }
.submit-btn:hover { background: var(--primary-grey); transform: translateY(-2px); }

/* ============================================
   qte-  QUOTE PAGE  (unprefixed class names)
   ============================================ */
.quote-section { padding: 5rem 2rem; background: var(--light-grey); }
.quote-container { max-width: 900px; margin: 0 auto; background: #fff; padding: 3rem; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.quote-intro { text-align: center; margin-bottom: 3rem; }
.quote-intro h2 { color: var(--primary-blue); font-size: 2rem; margin-bottom: 1rem; }
.quote-intro p { font-size: 1.05rem; }
.form-section { margin-bottom: 2.5rem; }
.form-section h3 { color: var(--primary-grey); font-size: 1.3rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.service-checkbox { background: var(--light-grey); padding: 0.8rem 1rem; border-radius: 5px; cursor: pointer; transition: background 0.3s; display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.service-checkbox:hover { background: #ddd; }
.service-checkbox input[type="checkbox"] { width: auto; }
.note { background: #fffbf0; border-left: 4px solid var(--gold); padding: 1rem; margin-top: 2rem; border-radius: 5px; font-size: 0.95rem; }

/* ============================================
   svc-  SERVICE PAGES  (unprefixed class names)
   ============================================ */
.service-content { padding: 5rem 2rem; background: #fff; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
.main-content h2 { color: var(--primary-blue); font-size: 2.2rem; margin-bottom: 1.5rem; }
.main-content h3 { color: var(--primary-grey); font-size: 1.5rem; margin: 2rem 0 1rem; }
.main-content p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.main-content ul { margin-left: 2rem; margin-bottom: 2rem; }
.main-content ul li { margin-bottom: 0.8rem; line-height: 1.8; }

.service-features { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.5rem; margin: 2rem 0; }
.service-card { background: var(--light-grey); padding: 1.5rem; border-radius: 8px; text-align: center; }
.service-number { width: 50px; height: 50px; background: var(--primary-blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; margin: 0 auto 1rem; }
.service-card h3 { color: var(--primary-grey); font-size: 1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; }
.service-image { width: 100%; height: 300px; border-radius: 10px; overflow: hidden; margin-bottom: 2rem; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }

.sidebar { background: var(--light-grey); padding: 2rem; border-radius: 10px; height: fit-content; position: sticky; top: 100px; }
.sidebar h3 { color: var(--primary-blue); margin-bottom: 1.5rem; font-size: 1.3rem; }
.sidebar-item { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #ddd; }
.sidebar-item:last-child { border-bottom: none; margin-bottom: 0; }
.sidebar-item h4 { color: var(--primary-grey); margin-bottom: 0.8rem; font-size: 1rem; }
.sidebar-item p { font-size: 0.9rem; line-height: 1.6; }

.cta-btn { display: block; width: 100%; padding: 1rem; background: linear-gradient(135deg,var(--primary-blue),#5da3f5); color: #fff; text-decoration: none; border-radius: 5px; font-weight: 600; text-align: center; margin-top: 1rem; transition: all 0.3s; font-family: 'Montserrat',sans-serif; border: none; cursor: pointer; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(64,127,213,0.4); }
.cta-btn::before { content: none !important; }

/* Services overview (services.html) */
.services-section { padding: 5rem 2rem; background: var(--light-grey); }
.services-intro { text-align: center; margin-bottom: 3rem; }
.services-intro h2 { font-size: 2.5rem; color: var(--primary-grey); font-weight: 700; }
.services-intro p { font-size: 1.1rem; margin-top: 0.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 2rem; }

/* ============================================
   prj-  PROJECT PAGES  (unprefixed class names)
   ============================================ */
.project-hero { background-size: cover; background-position: center; color: #fff; padding: 8rem 2rem; text-align: center; position: relative; }
.project-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.project-hero h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 700; position: relative; z-index: 1; }
.project-hero p { font-size: 1.3rem; position: relative; z-index: 1; }
.badge { display: inline-block; padding: 0.5rem 1rem; background: var(--primary-blue); border-radius: 20px; margin-top: 1rem; position: relative; z-index: 1; font-size: 0.9rem; }

.project-details { padding: 5rem 2rem; background: #fff; }
.details-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
.project-content h2 { color: var(--primary-blue); font-size: 2rem; margin-bottom: 1.5rem; }
.project-content h3 { color: var(--primary-grey); font-size: 1.4rem; margin: 2rem 0 1rem; }
.project-content p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.project-content ul { margin-left: 2rem; margin-bottom: 1.5rem; }
.project-content ul li { margin-bottom: 0.5rem; line-height: 1.8; }
.project-sidebar { background: var(--light-grey); padding: 2rem; border-radius: 10px; height: fit-content; }
.project-sidebar h3 { color: var(--primary-blue); margin-bottom: 1.5rem; }

.back-btn { display: inline-block; padding: 0.8rem 2rem; background: var(--primary-blue); color: #fff; text-decoration: none; border-radius: 5px; margin-top: 2rem; transition: all 0.3s; font-weight: 600; }
.back-btn:hover { background: var(--primary-grey); }
.back-btn::before { content: none !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .top-bar { display: none; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
    .nav-logo-img { height: 42px; }

    nav ul { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: white; flex-direction: column; box-shadow: 5px 0 25px rgba(0,0,0,0.15); transition: left 0.3s ease; padding-top: 0; z-index: 1001; overflow-y: auto; }
    nav ul.active { left: 0; }
    nav ul li a { padding: 0.9rem 1.5rem; border-bottom: 1px solid #f0f0f0; font-size: 0.95rem; }

    /* Mobile nav header: logo + close button */
    .mobile-nav-header { display: flex !important; align-items: center; justify-content: space-between; padding: 1rem 1.2rem !important; background: var(--light-grey); border-bottom: 2px solid #e0e0e0 !important; }
    .mobile-nav-logo img { height: 44px; width: auto; }
    .mobile-nav-close { background: none; border: none; font-size: 1.4rem; color: var(--primary-grey); cursor: pointer; padding: 0.3rem 0.5rem; border-radius: 4px; transition: background 0.2s; }
    .mobile-nav-close:hover { background: #e0e0e0; }

    /* Divider */
    .mobile-nav-divider { display: block !important; height: 1px; background: #ebebeb; margin: 0.4rem 0; padding: 0 !important; border: none !important; }

    /* Quote button — inline width only */
    .mobile-nav-cta { display: block !important; padding: 0.8rem 1.5rem !important; border-bottom: none !important; }
    .mobile-nav-cta a.cta-nav { display: inline-block !important; width: auto !important; padding: 0.65rem 1.8rem !important; margin: 0 !important; border-radius: 5px !important; font-size: 0.9rem !important; border-bottom: none !important; }

    /* Two action buttons at bottom of mobile nav */
    .mobile-nav-buttons { display: flex !important; gap: 0.8rem; padding: 1rem 1.5rem !important; border-bottom: none !important; }
    .mobile-btn-contact, .mobile-btn-quote { flex: 1; text-align: center; padding: 0.7rem 0.5rem; border-radius: 5px; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
    .mobile-btn-contact { background: var(--light-grey); color: var(--primary-grey); border: 1px solid #ddd; }
    .mobile-btn-contact:hover { background: #e0e0e0; }
    .mobile-btn-quote { background: linear-gradient(135deg, var(--primary-blue), #5da3f5); color: white; border: none; }
    .mobile-btn-quote:hover { opacity: 0.9; }
    .mobile-btn-contact::before, .mobile-btn-quote::before { content: none !important; }

    .dropdown-menu { position: static; display: none; box-shadow: none; background: var(--light-grey); }
    .dropdown.active .dropdown-menu { display: block; }
    .cta-nav { margin-left: 0 !important; }

    /* Global */
    .page-header h1 { font-size: 2rem; }
    .section-title h2 { font-size: 2rem; }
    .btn { display: block; margin: 0.5rem auto; text-align: center; }
    .btn-secondary { margin-left: 0; }

    /* Index */
    .idx-carousel { height: 480px; }
    .idx-carousel-content h1 { font-size: 2rem; }
    .idx-carousel-content p { font-size: 0.95rem; }
    .carousel-tag { font-size: 0.72rem; }
    .carousel-btns { flex-direction: column; gap: 0.7rem; }
    .carousel-btns .btn, .btn-outline { display: block; text-align: center; padding: 0.75rem 1.5rem; }
    .carousel-arrow { width: 38px; height: 38px; font-size: 0.85rem; }
    .carousel-arrow.prev { left: 10px; }
    .carousel-arrow.next { right: 10px; }
    .idx-about-content { grid-template-columns: 1fr; }
    .idx-about-image { height: 280px; }
    .idx-what-we-do-grid { grid-template-columns: 1fr; gap: 3rem; }
    .idx-stats-grid { grid-template-columns: repeat(2,1fr); }

    /* About */
    .about-content { grid-template-columns: 1fr; }
    .about-image { height: 280px; }
    .testimonial-card { min-width: 100%; }
    .testimonials-wrapper { padding: 0 40px; }

    /* Gallery */
    .gal-gallery-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-form, .contact-info { padding: 1.5rem; }

    /* Quote */
    .form-row { grid-template-columns: 1fr; }
    .quote-container { padding: 1.5rem; }

    /* Services */
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; top: auto; }

    /* Projects */
    .details-grid { grid-template-columns: 1fr; }
    .project-hero h1 { font-size: 2rem; }
    .project-hero { padding: 5rem 2rem; }

    /* Footer */
    .footer-cta { flex-direction: column; text-align: center; }
    .footer-cta-text h3 { font-size: 1.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { flex-direction: column; gap: 0.8rem; align-items: center; }
    .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
    .idx-stat-item h3 { font-size: 2.5rem; }
    .gal-gallery-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .cert-badges { flex-direction: column; }
}
