/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Brand Colors - Handyman Navy & Vibrant Amber */
    --clr-primary: #0F172A;     /* Very Dark Navy */
    --clr-primary-light: #1E293B;
    --clr-accent: #F59E0B;      /* Vibrant Amber */
    --clr-accent-hover: #D97706;
    --clr-text-main: #334155;   /* Slate 700 */
    --clr-text-light: #64748B;  /* Slate 500 */
    --clr-bg-main: #FFFFFF;     /* Pure White */
    --clr-bg-alt: #F8FAFC;      /* Slate 50 */
    --clr-green: #10B981;       /* Success green */
    
    /* Typography */
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout */
    --container-width: 1400px;
    --section-pad: 6rem 0;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
    font-weight: 800; /* Raleway looks great heavy */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-pad);
    position: relative;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--clr-bg-alt); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-green { color: var(--clr-green) !important; }

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-accent { color: var(--clr-accent); }

.subheading {
    display: inline-block;
    color: var(--clr-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.lead {
    font-size: 1.25rem;
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition);
    gap: 0.6rem;
}

.btn i { font-size: 1.1em; }

.btn-primary {
    background-color: var(--clr-accent);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary:hover {
    background-color: var(--clr-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: #fff;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo span { color: var(--clr-accent); }

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--clr-accent);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone {
    font-weight: 700;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-primary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 8rem;
    background-color: #F8FAFC;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.blob {
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.5;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(245, 158, 11, 0.2);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: rgba(15, 23, 42, 0.1);
    bottom: -200px;
    left: -200px;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #fff;
    color: var(--clr-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--clr-accent);
    border-radius: 50%;
}
.badge i { color: var(--clr-accent); }

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--clr-text-main);
    margin-bottom: 2.5rem;
    max-width: 95%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-signals-hero {
    display: flex;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--clr-primary);
}

.trust-icon-box {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-accent);
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
}

.hero-main-img {
    position: relative;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    
    transition: transform 0.4s ease;
}

.hero-main-img:hover {
    transform: rotate(0deg) translateY(-10px);
}

.hero-main-img img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: #fff;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.fb-1 {
    bottom: 40px;
    left: -30px;
}

.fb-2 {
    top: 50px;
    right: -30px;
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.fb-icon {
    width: 50px;
    height: 50px;
    background-color: var(--clr-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.fb-text strong {
    display: block;
    color: var(--clr-primary);
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.fb-text span {
    color: var(--clr-text-light);
    font-size: 0.9rem;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-top {
    top: 0;
    bottom: auto;
    transform: rotate(180deg);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--clr-text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #E2E8F0;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--clr-accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
    color: var(--clr-accent);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--clr-accent);
    color: #fff;
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
}

.about-features-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.a-list-item {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.a-list-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--clr-accent);
}

.check-circle {
    width: 40px;
    height: 40px;
    background: var(--clr-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.a-list-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.a-list-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.about-visuals {
    position: relative;
}

.photo-collage {
    position: relative;
    height: 600px;
}

.photo {
    position: absolute;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.photo-1 {
    width: 80%;
    height: 70%;
    top: 0;
    left: 0;
    border: 10px solid #fff;
    z-index: 1;
}

.photo-2 {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    border: 10px solid #fff;
    z-index: 2;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: var(--clr-accent);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 6px solid #fff;
}

.stamp svg {
    width: 100%;
    height: 100%;
    animation: rotate 15s linear infinite;
}

.stamp text {
    font-size: 13px;
    font-weight: 800;
    fill: #fff;
    letter-spacing: 2px;
    font-family: var(--font-body);
}

.center-icon {
    position: absolute;
    font-size: 2.5rem;
    color: #fff;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 3rem;
}

.step-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-accent);
}

.step-number {
     position: absolute;
    top: -33px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid #fff;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 1rem auto 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.step-card p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

.step-connector {
    color: var(--clr-text-light);
    font-size: 2rem;
    opacity: 0.3;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.faq-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.faq-question i {
    color: var(--clr-accent);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    color: var(--clr-text-light);
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}
.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding-top: 0;
}

.cta-banner {
    background: var(--clr-primary);
    border-radius: 24px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    color: #fff;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.cta-info { position: relative; z-index: 1; }
.cta-info h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.cta-info p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.c-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255,255,255,0.05);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.c-method:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.c-method i {
    font-size: 1.1rem;
    color: var(--clr-accent);
}

.c-method span {
    display: block;
    font-size: 0.9rem;
    color: #94A3B8;
}
.c-method strong {
    font-size: 1.2rem;
    color: #fff;
}

.cta-form-wrapper { position: relative; z-index: 1; }
.quote-form {
    background: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: var(--clr-text-main);
}
.box-shadow-premium {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quote-form h3 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #F8FAFC;
    transition: var(--transition);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0B1120;
    padding: 6rem 0 2rem;
    color: #94A3B8;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    margin-bottom: 2rem;
    max-width: 380px;
    line-height: 1.8;
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: #94A3B8;
}

.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--clr-accent);
    transform: translateY(-5px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container,
    .about-flex,
    .cta-banner,
    .faq-container,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
	h2.form-heading {
    font-size: 24px !important;
}
    
    .hero { padding-top: 150px; }
    .hero-content { text-align: center; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center;flex-direction: column; }
    .trust-signals-hero { justify-content: center; flex-direction: column; }
    .floating-badge { display: none; }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .step-connector {
        transform: rotate(90deg);
        margin: 0 auto;
    }
    
    .photo-collage { height: 500px; }
    .stamp { right: 0; left: auto; transform: translateY(-50%); }
    
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 768px) {
    .nav-links, .nav-phone, .nav-actions .btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-content h1 { font-size: 2.8rem; }
	h2.form-heading {
    font-size: 24px !important;
}
    
    .cta-banner { padding: 3rem 2rem; }
    .quote-form { padding: 2rem; }
    .about-features-list { gap: 1rem; }
    .a-list-item { flex-direction: column; gap: 1rem; text-align: center; }
    .check-circle { margin: 0 auto; }
}

/* ==========================================================================
   CREATIVE SUB-PAGES CSS
   ========================================================================== */

/* Zig-Zag Layout */
.zig-zag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.zig-zag-row.reverse {
    direction: rtl;
}
.zig-zag-row.reverse > * {
    direction: ltr;
}
.zig-zag-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.zig-zag-content p {
    color: var(--clr-text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.zig-zag-img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}
.zig-zag-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.zig-zag-img-wrap:hover img {
    transform: scale(1.05);
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0; left: 50px;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--clr-accent), var(--clr-primary));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 120px;
}
.timeline-year {
    position: absolute;
    left: 0; top: 0;
    width: 104px;
    height: 40px;
    background: var(--clr-primary);
    color: white;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}
.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid #E2E8F0;
}
.timeline-content h3 { margin-bottom: 0.5rem; color: var(--clr-accent); }

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}
.team-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}
.team-info {
    padding: 1.5rem;
}
.team-info h4 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.team-info p { color: var(--clr-accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }

/* Giant Background Numbers */
.numbered-step {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.numbered-step:nth-child(even) {
    background: var(--clr-bg-alt);
}
.bg-number {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    font-size: 20rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.03);
    z-index: 0;
    line-height: 1;
}
.numbered-step:nth-child(even) .bg-number {
    left: auto;
    right: 5%;
}

@media(max-width: 900px) {
    .zig-zag-row { grid-template-columns: 1fr; gap: 2rem; }
    .zig-zag-row.reverse { direction: ltr; }
    .timeline-container::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-year { left: 0; width: 60px; font-size: 0.8rem; }
}

/* ==========================================================================
   PREMIUM SUB-PAGE HEADER
   ========================================================================== */

.creative-page-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%), url('https://images.unsplash.com/photo-1581141849291-1125c7b692b5?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    padding: 10rem 0 6rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
	background-position: center 34%;
}

.creative-page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 20% 150%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% -50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    color: var(--clr-accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.creative-page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    color: white;
    letter-spacing: -1px;
}

.creative-page-header p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

/* Shape Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #f8fafc; /* Matches typical bg-light or white */
}
.creative-page-header.white-bottom .shape-fill {
    fill: #ffffff; /* Use if the next section is pure white */
}

/* Contact Page Floating Layout */
.contact-header {
    padding-bottom: 14rem !important; /* Extra padding for floating effect */
}
.contact-page-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: -10rem; /* Pull up over the header */
    position: relative;
    z-index: 10;
}
@media(max-width: 900px) {
    .contact-page-wrap {
        grid-template-columns: 1fr;
        margin-top: -6rem;
    }
}

@media(max-width: 768px) {
    .creative-page-header h1 { font-size: 3rem; }
    .creative-page-header { padding: 8rem 0 4rem; }
    .contact-header { padding-bottom: 10rem !important; }
}

/* ==========================================================================
   Boxed Section Heading (Global)
   ========================================================================== */
.boxed-heading-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}
.boxed-heading {
    position: relative;
    display: inline-block;
    padding: 1.5rem 3.5rem;
    border: 2px solid var(--clr-accent);
    margin-bottom: 1rem;
}
.boxed-heading .bh-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0 15px;
    color: var(--clr-accent);
    font-size: 1.4rem;
}
.bg-light .boxed-heading .bh-icon,
.bg-light .boxed-heading .bh-subtitle {
    background: var(--clr-bg-alt); /* Match background for seamless break */
}
.boxed-heading h2 {
    font-size: 2.2rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--clr-dark);
    font-family: 'Raleway', sans-serif;
}
.boxed-heading .bh-subtitle {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0 15px;
    color: var(--clr-accent);
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 1px;
}
.boxed-heading-wrapper p.bh-desc {
    color: var(--clr-text-light);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 2rem auto 0;
    line-height: 1.7;
}

/* Ensure background colors match for sections */
.bg-dark .boxed-heading .bh-icon,
.bg-dark .boxed-heading .bh-subtitle {
    background: var(--clr-primary);
}
.bg-dark .boxed-heading h2 {
    color: #ffffff;
}
