/*
 * Theme Name: Solarisync V2
 * Theme URI: https://solarisync.com
 * Description: Professional Solar Engineering Theme
 * Version: 2.1.0
 * Author: Solarisync
 */

/* ============================================
   DESIGN TOKENS
============================================ */
:root {
    --primary: #FDB813;
    --secondary: #0D1B2A;
    --accent: #2ECC71;
    --white: #FFFFFF;
    --cream: #F8F5EE;
    --bg-light: #F4F6F8;
    --text-dark: #0D1B2A;
    --text-light: #4A5568;
    --text-muted: #718096;
    --border: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
    --radius: 16px;
    --radius-sm: 8px;
    --container: 1280px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ANIMATIONS
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fix reveal shifts on mobile */
@media (max-width: 1024px) {

    .reveal-left,
    .reveal-right {
        transform: translateY(30px) !important;
    }

    .reveal-left.active,
    .reveal-right.active {
        transform: translateY(0) !important;
    }
}

/* Stagger children */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-stagger.active>*:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.reveal-stagger.active>*:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.reveal-stagger.active>*:nth-child(7) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* ============================================
   RESET & BASE
============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.1rem;
}

p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   LAYOUT
============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.text-center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    background: rgba(253, 184, 19, 0.12);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    box-shadow: 0 4px 20px rgba(253, 184, 19, 0.4);
}

.btn-primary:hover {
    background: #e8a708;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(253, 184, 19, 0.5);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #1a2f45;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 27, 42, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.8rem;
}

/* ============================================
   HEADER
============================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

#site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-logo-img img {
    height: 48px;
    width: auto;
    transition: transform var(--transition);
}

.site-logo-img:hover img {
    transform: scale(1.04);
}

/* Logo text fallback */
.site-logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary);
}

.site-logo-text span {
    color: var(--primary);
}

#primary-nav {
    margin-left: auto;
}

#primary-nav>ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#primary-nav>ul>li {
    position: relative;
}

#primary-nav>ul>li>a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

#primary-nav>ul>li>a:hover,
#primary-nav>ul>li.active>a {
    color: var(--primary);
    background: rgba(253, 184, 19, 0.08);
}

.nav-arrow {
    font-size: 1.1rem;
    transition: transform var(--transition);
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 220px;
    padding: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.dropdown li a:hover {
    color: var(--primary);
    background: rgba(253, 184, 19, 0.08);
    padding-left: 1.25rem;
}

.header-cta {
    margin-left: 1rem;
}

#mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

#mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================
   HERO
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #041410 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(46, 204, 113, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(46, 204, 113, 0.08) 0%, transparent 50%);
}

/* Animated orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, 20px) scale(1.05);
    }

    66% {
        transform: translate(20px, -30px) scale(0.97);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(253, 184, 19, 0.15);
    border: 1px solid rgba(253, 184, 19, 0.3);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Floating Hero visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 520px;
}

.hero-visual svg {
    width: 100%;
    opacity: 0.12;
    animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   STATS
============================================ */
.stats-section {
    background: var(--primary);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   HORIZONTAL SERVICE SLIDER (Wattmonk-style)
============================================ */
.services-slider-section {
    padding: 6rem 0;
    background: var(--cream);
    overflow: hidden;
}

.services-slider-track-wrapper {
    position: relative;
    overflow: hidden;
}

.services-slider-track {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 2rem;
    cursor: grab;
    user-select: none;
    will-change: transform;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-slider-track::-webkit-scrollbar {
    display: none;
}

.services-slider-track:active {
    cursor: grabbing;
}

.service-slide-card {
    flex: 0 0 360px;
    min-height: 460px;
    border-radius: 28px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.service-slide-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Card variants */
.service-slide-card.card-dark {
    background: var(--secondary);
    color: white;
}

.service-slide-card.card-yellow {
    background: var(--primary);
    color: var(--secondary);
}

.service-slide-card.card-white {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.service-slide-card.card-green {
    background: #0f3d2e;
    color: white;
}

/* Card number */
.card-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.service-slide-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-slide-card.card-dark h3,
.service-slide-card.card-green h3 {
    color: white;
}

.service-slide-card.card-yellow h3 {
    color: var(--secondary);
}

.service-slide-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
    flex: 1;
}

.service-slide-card.card-dark p,
.service-slide-card.card-green p {
    color: rgba(255, 255, 255, 0.72);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 2rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.card-dark .card-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-dark .card-link:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.card-yellow .card-link {
    background: var(--secondary);
    color: white;
}

.card-yellow .card-link:hover {
    background: #1a2f45;
}

.card-white .card-link {
    background: var(--secondary);
    color: white;
}

.card-white .card-link:hover {
    background: var(--primary);
    color: var(--secondary);
}

.card-green .card-link {
    background: var(--primary);
    color: var(--secondary);
}

/* Card illustration */
.card-illustration {
    width: 100%;
    height: 120px;
    margin-top: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.07);
}

.card-dark .card-illustration {
    background: rgba(255, 255, 255, 0.06);
}

.card-yellow .card-illustration {
    background: rgba(13, 27, 42, 0.08);
}

.card-white .card-illustration {
    background: var(--bg-light);
}

/* Slider controls */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 0 2rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    color: var(--secondary);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
    transform: scale(1.1);
}

.slider-progress {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 15%;
}

/* ============================================
   SERVICE CARDS GRID (normal)
============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: all var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(253, 184, 19, 0.3);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(253, 184, 19, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--secondary);
    transform: scale(1.1) rotate(-5deg);
}

/* ============================================
   WHY CHOOSE US — Marquee strip
============================================ */
.marquee-section {
    background: var(--secondary);
    padding: 1.25rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.marquee-item .dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   WHY CHOOSE US CARDS
============================================ */
.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.why-card-hover {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(253, 184, 19, 0.15) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    z-index: 1;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(253, 184, 19, 0.4);
    box-shadow: 0 15px 35px rgba(13, 27, 42, 0.08);
}

.why-card:hover .why-card-hover {
    opacity: 1;
    transform: scale(1.5);
}

.why-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    background: rgba(13, 27, 42, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.why-title {
    margin: 1.5rem 0 0.75rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.why-card:hover .why-title {
    color: var(--primary);
}

.why-desc {
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: all var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    font-family: 'Poppins', sans-serif;
    color: rgba(253, 184, 19, 0.2);
    line-height: 1;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-4px);
    border-color: rgba(253, 184, 19, 0.25);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* ============================================
   PAGE HERO
============================================ */
.page-hero {
    padding: 130px 0 70px;
    background: var(--secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #2F5F3F 0%, #4C7A57 50%, #8FAF97 100%);
    /* background: radial-gradient(ellipse 60% 80% at center, rgba(253, 184, 19, 0.08) 0%, transparent 70%); */
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
============================================ */
#site-footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-logo img {
    height: 44px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   BG VARIANTS
============================================ */
.bg-light {
    background: var(--bg-light);
}

.bg-cream {
    background: var(--cream);
}

.bg-secondary {
    background: var(--secondary);
}

/* ============================================
   ABOUT PREVIEW SECTION & LAYOUTS
============================================ */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-stat-box {
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-stat-box>div,
.about-stat-box>p {
    text-align: center;
}

.about-stats-full {
    grid-column: span 2;
}

/* Section Header Utility */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-header .section-label {
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

/* ============================================
   RESPONSIVE UTILITY GRIDS
============================================ */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-2-col-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .about-preview-grid {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Make hero responsive rather than hiding visual */
    .hero {
        flex-direction: column;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        z-index: 5;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 380px;
        margin-top: 4rem;
        aspect-ratio: 1/1;
        display: flex;
    }
}

@media (max-width: 768px) {

    #primary-nav,
    .header-cta {
        display: none;
    }

    #mobile-menu-toggle {
        display: flex;
    }

    #mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    #primary-nav.active {
        display: block;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border);
    }

    #primary-nav.active ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    #primary-nav.active ul li {
        width: 100%;
    }

    #primary-nav.active ul li a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        pointer-events: all;
        transform: none;
        padding: 0 0 0 1rem;
        display: none;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown.active .dropdown {
        display: block;
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        width: 100%;
    }

    .grid-2-col-center,
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .reveal-left,
    .reveal-right {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .service-slide-card {
        flex: 0 0 300px;
        min-height: 400px;
    }

    .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-full {
        grid-column: span 1;
    }

    .service-slide-card {
        flex: 0 0 280px;
    }
}