/* ============================================================
   Hutytech Systems and Solutions Limited — Main Stylesheet
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    /* Primary: deep solar navy — professional, connected to logo blue but distinctly its own */
    --primary-blue:   #1a3a6b;
    /* Accent: warm amber/gold — communicates solar energy and the sun */
    --accent-orange:  #f59e0b;
    /* Green: rich teal — sustainability and clean energy */
    --fresh-green:    #0d9488;
    --light-bg:       #f1f5f9;
    --medium-gray:    #e2e8f0;
    --dark-text:      #1e293b;
    --white:          #ffffff;
    /* aliases used throughout */
    --solar-yellow:   #fbbf24;
    --bright-orange:  #f59e0b;
    --dark-navy:      #0a1832;
    --soft-blue:      #2563eb;
    --light-gray:     #e2e8f0;
}

/* ---- Base Reset ---- */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html::-webkit-scrollbar              { width: 10px; }
html::-webkit-scrollbar-track        { background: var(--light-bg); }
html::-webkit-scrollbar-thumb        { background: var(--primary-blue); border-radius: 5px; }
html::-webkit-scrollbar-thumb:hover  { background: #0f2a52; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar              { width: 10px; }
body::-webkit-scrollbar-track        { background: var(--light-bg); }
body::-webkit-scrollbar-thumb        { background: var(--primary-blue); border-radius: 5px; }
body::-webkit-scrollbar-thumb:hover  { background: #0f2a52; }

h1, h2, h3 { font-family: 'Poppins', sans-serif; font-weight: 700; }

/* ---- Navigation ---- */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    background: rgba(10, 24, 50, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.7rem 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Logo image wrapper — white pill so logo is readable on blue nav */
.nav-logo-wrap {
    background: white;
    padding: 5px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
    text-decoration: none;
    transition: opacity 0.2s;
}
.nav-logo-wrap:hover { opacity: 0.88; }

.nav-logo-wrap img {
    height: 38px;
    width: auto;
    display: block;
}

/* Fallback text logo */
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-right: auto;
}
.logo span { color: var(--accent-orange); }

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    margin: 0; padding: 0;
    flex-shrink: 0;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.88rem;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent-orange); }

.nav-cta {
    background: var(--accent-orange);
    padding: 0.5rem 1.3rem;
    border-radius: 25px;
    color: white !important;
    transition: all 0.3s;
}
.nav-cta:hover { background: #d97706; transform: translateY(-2px); }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle span {
    width: 25px; height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* ---- Hero ---- */
.hero {
    margin-top: 65px;
    min-height: 95vh;
    background: linear-gradient(135deg, #0a1832 0%, #1a3a6b 55%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 5%;
}
.hero::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(245,158,11,0.12) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(13,148,136,0.08) 0%, transparent 40%);
}

.particles { position: absolute; width: 100%; height: 100%; overflow: hidden; }
.particle {
    position: absolute;
    width: 3px; height: 3px;
    background: rgba(245,158,11,0.35);
    border-radius: 50%;
    animation: float-particle 20s infinite;
}
@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10%       { opacity: 1; }
    90%       { opacity: 1; }
    100%      { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

.hero-content {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text h1 {
    font-size: 3.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-weight: 600;
}
.hero-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-orange);
    display: block;
}
.stat-label { font-size: 0.85rem; color: white; margin-top: 0.3rem; }

.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-primary, .cta-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.cta-primary {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(249,115,22,0.3);
}
.cta-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(245,158,11,0.5); background: #d97706; }
.cta-secondary { background: white; color: var(--primary-blue); }
.cta-secondary:hover { background: var(--accent-orange); color: white; transform: translateY(-3px); }

.hero-visual { position: relative; height: 500px; }
.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s;
}
.floating-card:hover { transform: translateY(-10px) !important; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.card-1 { top: 0;    left: 0;  animation-delay: 0s; }
.card-2 { top: 120px; right: 0; animation-delay: 2s; }
.card-3 { bottom: 50px; left: 50px; animation-delay: 4s; }
.floating-card i { font-size: 2.5rem; margin-bottom: 0.8rem; display: block; color: var(--primary-blue); }
.floating-card h4 { color: var(--primary-blue); font-size: 1.1rem; margin-bottom: 0.5rem; }
.floating-card p { color: var(--dark-navy); font-size: 0.9rem; }

/* Coming soon badge on floating card */
.coming-soon-badge {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.4rem;
}

/* ---- Trust Bar ---- */
.trust-bar {
    background: white;
    padding: 2rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.trust-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.trust-item { text-align: center; }
.trust-item i { font-size: 2rem; color: var(--primary-blue); margin-bottom: 0.5rem; }
.trust-item h4 { color: var(--dark-navy); font-size: 0.9rem; font-weight: 600; }

/* ---- About ---- */
.about { padding: 6rem 5%; background: var(--white); }
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-tag {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.section-header h2 { font-size: 2.8rem; color: var(--primary-blue); margin-bottom: 1rem; line-height: 1.3; }
.section-header p  { font-size: 1.15rem; color: var(--dark-text); line-height: 1.8; }

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.about-card {
    padding: 2.5rem;
    text-align: center;
    border-radius: 20px;
    transition: all 0.4s;
    background: white;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.about-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-color: var(--accent-orange); }
.about-icon {
    width: 90px; height: 90px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s;
}
.about-card:hover .about-icon { transform: scale(1.1) rotate(5deg); }
.icon-green  { background: rgba(16,185,129,0.1); color: var(--fresh-green); }
.icon-blue   { background: rgba(37,99,235,0.1);  color: var(--primary-blue); }
.icon-orange { background: rgba(249,115,22,0.1); color: var(--accent-orange); }
.icon-yellow { background: rgba(249,115,22,0.1); color: var(--accent-orange); }
.about-card h3 { color: var(--primary-blue); margin-bottom: 1rem; font-size: 1.3rem; }
.about-card p  { color: var(--dark-text); line-height: 1.7; }

/* ---- Services ---- */
.services { padding: 6rem 5%; background: var(--light-bg); }
.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); border-color: var(--accent-orange); }

/* Featured (primary) service card */
.service-card.featured {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
}
.service-card.featured::before { transform: scaleX(1); background: var(--accent-orange); }
.service-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Coming soon service card */
.service-card.coming-soon {
    opacity: 0.85;
    background: #fafafa;
}
.service-coming-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.service-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: inline-block; transition: all 0.3s; color: var(--primary-blue); }
.service-card:hover .service-icon { transform: scale(1.1); color: var(--accent-orange); }
.service-card h3 { color: var(--primary-blue); margin-bottom: 1rem; font-size: 1.5rem; }
.service-card p  { color: var(--dark-text); line-height: 1.8; margin-bottom: 1.5rem; }
.service-features { list-style: none; margin-top: 1rem; }
.service-features li { padding: 0.5rem 0; color: var(--dark-text); display: flex; align-items: center; gap: 0.8rem; }
.service-features i { color: var(--fresh-green); font-size: 1rem; }

/* ---- Stats Section ---- */
.stats-section { padding: 5rem 5%; background: linear-gradient(135deg, #0a1832 0%, #1a3a6b 100%); color: white; }
.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}
.stat-box { padding: 2rem; }
.stat-box i  { font-size: 3rem; color: var(--accent-orange); margin-bottom: 1rem; }
.stat-box h3 { font-size: 3rem; color: var(--white); margin-bottom: 0.5rem; font-weight: 800; }
.stat-box p  { font-size: 1.1rem; color: rgba(255,255,255,0.9); }

/* ---- Portfolio ---- */
.portfolio { padding: 6rem 5%; background: var(--white); }
.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}
.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.4s;
    background: white;
    border: 2px solid transparent;
}
.portfolio-item:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(0,0,0,0.2); border-color: var(--bright-orange); }
.portfolio-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-blue), var(--fresh-green));
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: white;
    position: relative; overflow: hidden;
}
.portfolio-image::before { content: ''; position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0); transition: background 0.3s; }
.portfolio-item:hover .portfolio-image::before { background: rgba(0,0,0,0.2); }
.portfolio-info { padding: 2rem; }
.portfolio-info h3 { color: var(--primary-blue); margin-bottom: 0.8rem; font-size: 1.4rem; }
.portfolio-info p  { color: var(--dark-text); line-height: 1.7; margin-bottom: 1.5rem; }
.portfolio-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.stat {
    background: rgba(16,185,129,0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--fresh-green);
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.5rem;
}

/* ---- Gallery ---- */
.gallery { padding: 6rem 5%; background: var(--light-bg); }

/* Masonry layout using CSS columns */
.gallery-masonry {
    max-width: 1400px;
    margin: 0 auto;
    columns: 3 300px;
    column-gap: 1.2rem;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 1.2rem;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: box-shadow 0.35s, transform 0.35s;
    display: block;
}

.gallery-masonry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.gallery-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-masonry-item:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.5) 60%, transparent 100%);
    padding: 1.5rem 1.2rem 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-masonry-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}
.gallery-caption p {
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.lightbox-overlay.active { display: flex; }
.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-inner img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
    color: rgba(255,255,255,0.9);
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    max-width: 600px;
}
.lightbox-close {
    position: absolute;
    top: -2.5rem; right: 0;
    background: none; border: none;
    color: white; font-size: 2rem;
    cursor: pointer; line-height: 1;
    transition: color 0.2s;
}
.lightbox-close:hover { color: var(--accent-orange); }

/* ---- Process ---- */
.process { padding: 6rem 5%; background: var(--white); }
.process-timeline { max-width: 1200px; margin: 0 auto; position: relative; }
.process-item { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; margin-bottom: 4rem; align-items: start; }
.process-number {
    width: 80px; height: 80px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800; color: white;
    flex-shrink: 0;
}
.process-content h3 { color: var(--primary-blue); font-size: 1.8rem; margin-bottom: 1rem; }
.process-content p  { color: var(--dark-text); line-height: 1.8; margin-bottom: 1rem; }

/* ---- Testimonials ---- */
.testimonials { padding: 6rem 5%; background: white; }
.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.testimonial-card { background: var(--light-bg); padding: 2.5rem; border-radius: 20px; position: relative; transition: all 0.3s; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.quote-icon { font-size: 3rem; color: var(--accent-orange); opacity: 0.3; position: absolute; top: 1rem; left: 1.5rem; }
.testimonial-text { font-style: italic; color: var(--dark-text); line-height: 1.8; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 50px; height: 50px; background: var(--primary-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; }
.author-info h4 { color: var(--primary-blue); font-size: 1.1rem; }
.author-info p  { color: var(--dark-text); font-size: 0.9rem; }

/* ---- CTA Section ---- */
.cta-section {
    padding: 6rem 5%;
    background: var(--accent-orange);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -100px; right: -100px;
}
.cta-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.cta-section h2 { font-size: 3rem; margin-bottom: 1rem; }
.cta-section p  { font-size: 1.3rem; margin-bottom: 2.5rem; line-height: 1.8; }
.cta-white {
    background: white;
    color: var(--bright-orange);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 0.8rem;
}
.cta-white:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* ---- Contact ---- */
.contact { padding: 6rem 5%; background: var(--light-bg); }
.contact-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: start; gap: 1.5rem; padding: 1.5rem; background: var(--white); border-radius: 15px; transition: all 0.3s; }
.contact-item:hover { transform: translateX(10px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.contact-icon { width: 60px; height: 60px; background: var(--primary-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; flex-shrink: 0; }
.contact-details h3 { color: var(--primary-blue); margin-bottom: 0.5rem; }
.contact-details p  { color: var(--dark-text); }
.contact-details a  { color: var(--accent-orange); text-decoration: none; transition: color 0.3s; }
.contact-details a:hover { color: var(--primary-blue); }
.contact-form { background: var(--white); padding: 3rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--primary-blue); font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--accent-orange); }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-submit {
    background: var(--accent-orange);
    color: white; padding: 1rem 2.5rem;
    font-size: 1.1rem; font-weight: 600;
    border: none; border-radius: 50px;
    cursor: pointer; transition: all 0.3s;
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.form-submit:hover { background: #d97706; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(245,158,11,0.35); }

/* ---- Footer ---- */
footer { background: #07111f; color: white; padding: 4rem 5% 2rem; }
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-section h3 { color: var(--accent-orange); margin-bottom: 1.5rem; font-size: 1.3rem; }
.footer-section p  { line-height: 1.8; margin-bottom: 1rem; color: rgba(255,255,255,0.8); }
.footer-section a  { color: rgba(255,255,255,0.8); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; transition: all 0.3s; }
.footer-section a:hover { color: var(--fresh-green); transform: translateX(5px); }
.footer-section a i { color: var(--fresh-green); font-size: 0.9rem; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icon { width: 45px; height: 45px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 1.2rem; }
.social-icon:hover { background: var(--fresh-green); transform: translateY(-3px); color: white; }
.newsletter-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter-form input { flex: 1; padding: 0.9rem; border: none; border-radius: 25px; outline: none; font-size: 0.95rem; }
.newsletter-form button { background: var(--fresh-green); color: white; border: none; padding: 0.9rem 1.8rem; border-radius: 25px; cursor: pointer; transition: all 0.3s; font-weight: 600; }
.newsletter-form button:hover { background: #1e8735; transform: translateY(-2px); }

/* Footer logo */
.footer-logo-wrap { margin-bottom: 1rem; display: inline-block; background: white; padding: 6px 14px; border-radius: 25px; }
.footer-logo-wrap img { height: 34px; width: auto; display: block; }

.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.footer-badges { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.badge i { color: var(--solar-yellow); }

/* ---- Scroll-to-top ---- */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--bright-orange);
    color: white; border: none; border-radius: 50%;
    cursor: pointer; display: none;
    align-items: center; justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(249,115,22,0.3);
}
.scroll-top:hover { transform: translateY(-5px); box-shadow: 0 6px 25px rgba(249,115,22,0.5); }
.scroll-top.show { display: flex; }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-20px); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
    .nav-links { gap: 1.2rem; }
    .nav-links a { font-size: 0.85rem; }
    .nav-cta { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
}

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { height: 350px; position: relative; }
    .floating-card { padding: 1.2rem; }
    .card-1 { top: 0;    left: 0;  max-width: 180px; }
    .card-2 { top: 80px; right: 0; max-width: 180px; }
    .card-3 { bottom: 0; left: 20%; max-width: 180px; }
    .contact-grid { grid-template-columns: 1fr; }
    .process-item { grid-template-columns: 1fr; gap: 1.5rem; }
    .process-number { margin: 0 auto; }
    .gallery-masonry { columns: 2 250px; }
}

@media (max-width: 768px) {
    nav { padding: 0.8rem 5%; }
    .nav-logo-wrap img { height: 32px; }
    .nav-links {
        position: fixed; top: 57px; right: -100%;
        flex-direction: column;
        background: #0a1832;
        width: 100%;
        height: auto; max-height: calc(100vh - 57px);
        padding: 2rem 5%;
        transition: right 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        gap: 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links.active { right: 0; }
    .menu-toggle { display: flex; }
    .hero { margin-top: 57px; padding: 2rem 5%; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-visual { height: 280px; }
    .floating-card { padding: 1rem; }
    .floating-card h4 { font-size: 0.95rem; }
    .floating-card p  { font-size: 0.8rem; }
    .floating-card i  { font-size: 2rem; }
    .card-1 { top: 0;    left: 5%;  max-width: 140px; }
    .card-2 { top: 100px; right: 5%; max-width: 140px; }
    .card-3 { bottom: 20px; left: 50%; transform: translateX(-50%); max-width: 140px; animation: none; }
    .section-header h2 { font-size: 2rem; }
    .cta-section h2 { font-size: 2rem; }
    .services-grid,
    .portfolio-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .cta-primary, .cta-secondary { width: 100%; justify-content: center; }
    .process-item { grid-template-columns: 1fr; text-align: center; }
    .process-number { margin: 0 auto 1rem; }
    .gallery-masonry { columns: 1; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .stat-number { font-size: 1.5rem; }
    .service-icon { font-size: 2.5rem; }
    .cta-section h2 { font-size: 1.8rem; }
}
