/* Base Variables */
:root {
    --navy-dark: #061121;
    --navy-main: #0B1F3A;
    --blue-royal: #1565C0;
    --red-accent: #E53935;
    --white: #ffffff;
    --text-light: #e0e5ec;
    --text-dark: #1a2332;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: 1px solid rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    --glass-blur: blur(20px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-padding { padding: 100px 0; }
.section-dark { background-color: var(--navy-dark); }
.section-light { background-color: var(--navy-main); }
.text-accent { color: var(--blue-royal); }
.position-relative { position: relative; }
.w-100 { width: 100%; }

.section-title, .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { font-size: 1.1rem; color: #a3adc2; max-width: 600px; margin: 0 auto; }

.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
}

#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--navy-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}
.loader-content { text-align: center; }
.loader-icon {
    font-size: 4rem;
    color: var(--red-accent);
    animation: pulse 1.5s infinite;
}
.loader-content h2 { margin: 20px 0 10px; font-size: 2rem; letter-spacing: 2px; }

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--blue-royal);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.4);
}
.btn-primary:hover {
    background: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.6);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-dark);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    overflow: hidden;
}
.dark-glass { background: rgba(0, 0, 0, 0.2); }

nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 6px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

.loader-logo img,
.footer-logo img {
    height: 120px;
    width: auto;
    display: block;
    object-fit: contain;
}

.loader-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}
nav.scrolled {
    padding: 4px 0;
    background: rgba(11, 31, 58, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    width: 90%; max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 20px;
}
.logo {
    display: flex; align-items: flex-start; gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 800;
    color: var(--white);
    padding-top: 2px;
}
.logo .material-symbols-outlined { color: var(--red-accent); font-size: 2rem; }
.nav-links { display: flex; gap: 30px; align-items: flex-start; padding-top: 6px; }
.nav-links a {
    font-size: 0.95rem; font-weight: 500;
    position: relative; transition: color 0.3s;
    line-height: 1.2;
}
.nav-links a::after {
    content: ''; position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background-color: var(--red-accent);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.mobile-menu-btn { display: none; background: transparent; color: white; border: none; font-size: 2rem; padding-top: 2px; }

.mobile-menu {
    position: fixed; top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--navy-main);
    padding: 80px 40px;
    display: flex; flex-direction: column; gap: 20px;
    z-index: 999;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.mobile-menu.active { right: 0; }
.mobile-menu a { font-size: 1.2rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; background-attachment: fixed;
    z-index: 0;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(6,17,33,0.95) 0%, rgba(6,17,33,0.7) 50%, rgba(6,17,33,0.4) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; gap: 40px;
}
.hero-text {
    flex: 1; padding: 50px;
    max-width: 650px;
}
.hero-text h1 { font-size: 4rem; margin-bottom: 20px; line-height: 1.1; }
.hero-text p { font-size: 1.1rem; margin-bottom: 30px; color: #b3c0d6; }
.hero-buttons { display: flex; gap: 20px; }

.hero-stats { flex: 1; position: relative; height: 500px; display: flex; align-items: center; justify-content: center;}
.floating-stat {
    position: absolute;
    padding: 20px;
    display: flex; align-items: center; gap: 15px;
    width: max-content;
    animation: float 6s ease-in-out infinite;
}
.float-1 { top: 10%; left: 0; animation-delay: 0s; }
.float-2 { top: 40%; right: 0; animation-delay: 1.5s; }
.float-3 { bottom: 20%; left: 10%; animation-delay: 3s; }
.float-4 { bottom: 5%; right: 20%; animation-delay: 4.5s; }
.stat-icon { font-size: 2rem; color: var(--blue-royal); }
.floating-stat div { display: flex; flex-direction: column; }
.floating-stat strong { font-size: 1.2rem; font-family: var(--font-heading); }
.floating-stat span { font-size: 0.85rem; color: #a3adc2; }

.hero--home .hero-background { background-image: linear-gradient(rgba(6,17,33,0.2), rgba(6,17,33,0.3)), url('../images/carport.jpg'); }
.hero--about .hero-background { background-image: linear-gradient(rgba(6,17,33,0.2), rgba(6,17,33,0.3)), url('../images/clear-fencing.jpg'); }
.hero--services .hero-background { background-image: linear-gradient(rgba(6,17,33,0.2), rgba(6,17,33,0.3)), url('../images/pumps.jpg'); }
.hero--projects .hero-background { background-image: linear-gradient(rgba(6,17,33,0.2), rgba(6,17,33,0.3)), url('../images/scaffolds.jpg'); }
.hero--contact .hero-background { background-image: linear-gradient(rgba(6,17,33,0.2), rgba(6,17,33,0.3)), url('../images/curtain-rods.jpg'); }

.visual-band {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}
.visual-band--reversed .visual-band__media { order: 2; }
.visual-band__media img {
    border-radius: 24px;
    min-height: 360px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.visual-band__content {
    padding: 36px;
}
.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
    color: var(--blue-royal);
    font-weight: 700;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pill-item {
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.92rem;
}
.compact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.compact-card {
    padding: 30px;
}
.compact-card .material-symbols-outlined {
    color: var(--red-accent);
    font-size: 2rem;
    margin-bottom: 14px;
}
.compact-card h3 { margin-bottom: 10px; }
.compact-card p { color: #a3adc2; }

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.about-content { padding: 50px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.feature-item .material-symbols-outlined { color: var(--blue-royal); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    padding: 40px 30px;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    border-bottom: 3px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.2);
    border-bottom: 3px solid var(--blue-royal);
    background: rgba(255,255,255,0.12);
}
.service-card .material-symbols-outlined {
    font-size: 3rem; color: var(--blue-royal); margin-bottom: 20px;
    transition: transform 0.3s;
}
.service-card:hover .material-symbols-outlined { transform: scale(1.1); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 15px; }
.service-card p { font-size: 0.95rem; color: #a3adc2; }

.glass-bg-section {
    background-image: linear-gradient(rgba(11,31,58,0.85), rgba(11,31,58,0.85)), url('../images/services-collage-2.jpg');
    background-size: cover; background-attachment: fixed; position: relative;
}
.glass-bg-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 31, 58, 0.75); backdrop-filter: blur(10px);
}
.glass-bg-section .container { position: relative; z-index: 1; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px; text-align: center;
}
.feature-box {
    padding: 30px 20px;
    border: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}
.feature-box .material-symbols-outlined { font-size: 2.5rem; color: var(--red-accent); margin-bottom: 15px; }

.projects-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.project-card {
    position: relative; border-radius: 20px; overflow: hidden; cursor: pointer;
}
.project-card img { width: 100%; height: 350px; object-fit: cover; transition: transform 0.5s ease; }
.project-overlay {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    padding: 20px; opacity: 0; transform: translateY(20px);
    transition: all 0.4s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card:hover .project-overlay { opacity: 1; transform: translateY(0); }
.project-overlay h3 { margin-bottom: 5px; }
.project-overlay p { display: flex; align-items: center; gap: 5px; font-size: 0.9rem; margin-bottom: 15px; color: #ccc; }
.project-overlay .material-symbols-outlined { font-size: 1rem; }
.project-overlay button { padding: 8px 20px; font-size: 0.9rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.gallery-card {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
}
.gallery-card img { width: 100%; height: 260px; object-fit: cover; }
.gallery-card__content { padding: 20px; }
.gallery-card__content h3 { margin-bottom: 8px; }
.gallery-card__content p { color: #a3adc2; }

.industries-flex {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.industry-item {
    display: flex; align-items: center; gap: 10px;
    padding: 15px 30px; border-radius: 50px;
    background: var(--navy-dark); border: 1px solid rgba(255,255,255,0.1);
    font-weight: 500; transition: all 0.3s;
}
.industry-item:hover { background: var(--blue-royal); border-color: var(--blue-royal); }

.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.faq-question {
    padding: 20px; background: rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: 600; font-family: var(--font-heading);
    transition: background 0.3s;
}
.faq-question:hover { background: rgba(255,255,255,0.1); }
.faq-answer {
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0,0,0,0.2);
}
.faq-item.active .faq-answer { padding: 20px; max-height: 200px; }
.faq-item.active .faq-question .material-symbols-outlined { transform: rotate(180deg); }

.contact-shell {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}
.contact-info { padding: 50px; }
.contact-methods { margin-top: 40px; display: flex; flex-direction: column; gap: 30px; }
.contact-method { display: flex; gap: 20px; }
.contact-method .material-symbols-outlined { font-size: 2rem; color: var(--red-accent); }
.contact-form-wrapper { padding: 50px; }
.form-group { position: relative; margin-bottom: 30px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 15px;
    background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px; color: var(--white); font-family: inherit; font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--blue-royal); outline: none; background: rgba(0,0,0,0.4);
}
.form-group label {
    position: absolute; left: 15px; top: 15px; color: #888;
    transition: all 0.3s 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 {
    top: -10px; left: 10px; font-size: 0.8rem; background: var(--navy-dark); padding: 0 5px; color: var(--blue-royal);
}
.form-group select { color: #888; }
.form-group select option { background: var(--navy-dark); color: white; }

footer { background: #030811; padding: 80px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-contact-details { display: flex; flex-direction: column; gap: 10px; color: #a3adc2; }
.footer-contact-details p { line-height: 1.7; }
.client-logos-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.client-logo-pill {
    padding: 20px 24px;
    text-align: center;
    font-weight: 600;
    color: var(--white);
    border-radius: 999px;
}
.footer-brand h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 20px; }
.footer-brand h3 .material-symbols-outlined { color: var(--red-accent); }
.footer-links { display: flex; flex-direction: column; gap: 15px; }
.footer-links h4, .footer-social h4 { margin-bottom: 20px; color: var(--white); }
.footer-links a { color: #888; transition: color 0.3s; }
.footer-links a:hover { color: var(--blue-royal); }
.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 45px; height: 45px; display: flex; justify-content: center; align-items: center;
    border-radius: 50%; font-weight: bold; font-family: var(--font-heading);
    transition: transform 0.3s, background 0.3s;
}
.social-icons a:hover { transform: translateY(-5px); background: var(--blue-royal); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; color: #555; }

.floating-whatsapp {
    position: fixed; bottom: 30px; left: 30px;
    width: 60px; height: 60px;
    background: #25D366; color: white;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 990; font-size: 2rem;
    transition: transform 0.3s;
}
.floating-whatsapp:hover { transform: scale(1.1); }
.scroll-top-btn {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--glass-bg); backdrop-filter: var(--glass-blur);
    border: var(--glass-border); border-radius: 50%;
    color: white; display: flex; justify-content: center; align-items: center;
    z-index: 990; opacity: 0; pointer-events: none; transition: all 0.3s;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--blue-royal); }
.mobile-sticky-quote {
    position: fixed; bottom: 0; left: 0; width: 100%;
    border-radius: 0; display: none; z-index: 995;
    padding: 18px; text-align: center; font-size: 1.1rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

html { overflow-x: hidden; }
body { overflow-x: hidden; width: 100%; max-width: 100%; }
*, *::before, *::after { max-width: 100%; }

@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3.2rem; }
    .hero-stats { display: none; }
    .hero-content { justify-content: center; text-align: center; flex-direction: column; gap: 24px; }
    .hero-text { max-width: 800px; padding: 20px; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-content { padding: 30px; }
    .visual-band { grid-template-columns: 1fr; gap: 30px; }
    .visual-band--reversed .visual-band__media { order: 0; }
    .contact-shell { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-container { width: 92%; align-items: flex-start; }
    .mobile-menu-btn { display: block; padding-top: 2px; }
    .mobile-menu { width: min(85vw, 320px); padding: 80px 24px; }
    .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-text p { font-size: 1rem; }
    .section-padding { padding: 60px 0; }
    .section-title, .section-header h2 { font-size: 2rem; }
    .section-header { margin-bottom: 40px; }
    .feature-list { grid-template-columns: 1fr; }
    .services-grid, .features-grid, .projects-masonry, .gallery-grid, .compact-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .contact-info, .contact-form-wrapper { padding: 30px; }
    .contact-method { flex-direction: column; gap: 10px; }
    .faq-question { align-items: flex-start; gap: 10px; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-brand h3, .footer-links, .social-icons { justify-content: center; }
    .mobile-sticky-quote { display: block; }
    .scroll-top-btn { bottom: 80px; right: 20px; }
    .floating-whatsapp { bottom: 80px; left: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
    .cursor-glow { display: none; }
}

@media (max-width: 480px) {
    .container { width: 92%; }
    .nav-container { width: 92%; padding: 0 2px; }
    .logo { font-size: 1.2rem; }
    .logo .material-symbols-outlined { font-size: 1.5rem; }
    .logo img { height: 32px; }
    .loader-logo img,
    .footer-logo img { height: 96px; }
    .hero-text { padding: 0; }
    .hero-text h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { width: 100%; }
    .about-content, .contact-info, .contact-form-wrapper { padding: 24px; }
    .service-card, .testimonial-card { padding: 24px 20px; }
    .industry-item { width: 100%; justify-content: center; }
    .footer-content { gap: 24px; }
}