/*
Theme Name: Exalaunch
Theme URI: https://www.exalaunch.com
Description: Custom WordPress theme for Exalaunch Consulting LLC
Author: Exalaunch
Version: 1.0
Text Domain: exalaunch
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    color: #4a4a4a;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== COLORS ===== */
:root {
    --orange: #F37418;
    --orange-dark: #d96510;
    --cyan: #00ADEF;
    --navy: #293d4c;
    --gray-text: #8a8a8a;
    --gray-light: #eee;
    --white: #fff;
}

/* ===== HEADER / NAV ===== */
.site-header {
    background: #1a0a3e;
    padding: 10px 0;
    min-height: 120px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    border-bottom: 10px solid var(--cyan);
    transition: min-height 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
    min-height: 60px;
    padding: 5px 0;
}

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

.site-logo img {
    max-height: 100px;
    width: auto;
    transition: max-height 0.4s ease;
}

.site-header.scrolled .site-logo img {
    max-height: 50px;
}

.site-header.scrolled .main-nav a {
    font-size: 14px;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-size: 21px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--orange);
    letter-spacing: 0.5px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s, font-size 0.4s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--cyan);
    border-bottom-color: transparent;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--white);
    cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border: 2px solid #cc0000;
}

.btn-primary:hover {
    background: rgba(5, 105, 151, 1);
    border-color: rgba(26, 200, 235, 1);
}

.btn-secondary {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}

.btn-secondary:hover {
    background: var(--orange);
    color: var(--white);
}

.btn-call {
    background: var(--orange);
    color: var(--white);
    border: 2px solid #cc0000;
}

.btn-call:hover {
    background: rgba(5, 105, 151, 1);
    border-color: rgba(26, 200, 235, 1);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: max(100%, 1600px) auto;
    background-position: center -120px;
    background-repeat: no-repeat;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(40, 10, 100, 0.82);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--gray-light);
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-title {
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 20px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 40px;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.two-col-text h2 {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 20px;
}

.two-col-text p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.two-col-image img {
    border-radius: 8px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ===== SERVICES BANNER ===== */
.services-banner {
    background: #2a1a5e;
    padding: 25px 0;
    text-align: center;
}

.services-banner h2 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

/* ===== SERVICE CARDS ===== */
.services-section {
    padding: 0;
    background: transparent;
    max-width: 100%;
}

.services-section .container-wide {
    max-width: 100%;
    padding: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0;
    box-shadow: none;
}

.service-card-1 {
    background: #1b2a4a;
}

.service-card-2 {
    background: #0b4f7a;
}

.service-card-3 {
    background: #0a6e8a;
}

.service-card:hover {
    transform: none;
    box-shadow: none;
}

.service-card-divider {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    margin: 20px auto;
}

.service-card h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-card p {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: left;
    flex-grow: 1;
}

.service-card strong {
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    font-size: 14px;
    padding: 10px 28px;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

/* ===== SOCIAL MEDIA SECTION ===== */
.section-social {
    background: #152040;
}

.section-social .two-col-text p {
    color: rgba(255,255,255,0.9);
}

.section-social .section-title::after {
    display: none;
}

.section-social .two-col-image {
    border: 3px solid var(--orange);
    border-radius: 8px;
    overflow: hidden;
}

/* ===== STELLAR PARALLAX ===== */
.stellar-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: max(100%, 1600px) auto;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
}

.stellar-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(60, 20, 130, 0.7);
}

.stellar-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 60px 20px;
}

.stellar-hero h2 {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.3;
}

.stellar-hero h2 strong {
    font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    text-align: center;
}

.testimonial-section .section-title {
    color: var(--orange);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.testimonial-card img {
    width: 100%;
}

.testimonial-card-body {
    padding: 25px;
}

.testimonial-card h3 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-stat {
    font-size: 28px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 10px;
}

.testimonial-card p {
    color: var(--gray-text);
    font-size: 14px;
}

/* ===== WIDE TEXT / NARROW IMAGE LAYOUT ===== */
.two-col-wide {
    grid-template-columns: 3fr 1fr;
    border: 3px solid #ccc;
    padding: 30px 0 30px 30px;
    border-radius: 4px;
    overflow: hidden;
}

.two-col-wide .two-col-text h2 {
    font-size: 36px;
}

.two-col-wide .two-col-text p {
    font-size: 17px;
}

/* ===== PORTRAIT IMAGE COLUMN ===== */
.two-col-image-portrait {
    align-self: stretch;
    margin: -30px 0 -30px 0;
    overflow: hidden;
}

.two-col-image-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.05);
    border-radius: 0;
}

/* ===== FORMS ===== */
.exa-form {
    max-width: 500px;
    margin: 0 auto;
}

.exa-form .form-group {
    margin-bottom: 20px;
}

.exa-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.exa-form input,
.exa-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.exa-form input:focus,
.exa-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
}

.exa-form textarea {
    min-height: 120px;
    resize: vertical;
}

.exa-form .btn {
    width: 100%;
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ===== REACH OUT BANNER ===== */
.reach-out-banner {
    background: #1a0a3e;
    padding: 25px 0;
}

.reach-out-banner .container-wide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.reach-out-text {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
}

.reach-out-buttons {
    display: flex;
    gap: 15px;
}

.reach-out-banner-1 {
    background: #5ba0c8;
}

.reach-out-banner-1 .btn-primary,
.reach-out-banner-1 .btn-call {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.reach-out-banner-1 .btn-primary:hover,
.reach-out-banner-1 .btn-call:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

/* ===== CTA STRIP ===== */
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* ===== ABOUT PAGE ===== */
.about-squares {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.about-square {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-square-left {
    background: #1e1248;
    padding: 40px;
}

.about-square-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-square-right {
    background: #2a1a5e;
}

.about-square-right h2 {
    color: var(--cyan);
    font-size: 32px;
    margin-bottom: 20px;
}

.about-square-right p {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-square-right strong {
    color: var(--white);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    font-size: 42px;
}

/* ===== SERVICES PAGE ===== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.service-detail:nth-child(even) .service-detail-image {
    order: -1;
}

.service-detail-image img {
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-detail-text h2 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 15px;
}

.service-detail-text p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* ===== CONSULTATION PAGE ===== */
.consultation-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    margin: 40px 0;
}

.benefit-item {
    padding: 25px 15px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.benefit-item h4 {
    color: var(--navy);
    font-size: 16px;
}

.benefit-icon {
    font-size: 36px;
    color: var(--orange);
    margin-bottom: 12px;
}

/* ===== CONSULTATION PAGE ===== */
.review-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    background: var(--orange);
    padding: 40px;
}

.review-form-wrap {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 4px;
    flex: 0 1 480px;
}

.review-form-wrap h2 {
    font-size: 26px;
    color: var(--orange);
    margin-bottom: 25px;
}

.review-form input,
.review-form textarea {
    border: 2px solid #222 !important;
    border-radius: 4px !important;
}

.review-form .review-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.review-image-wrap {
    overflow: hidden;
    border: 10px solid #f5a623;
    border-radius: 16px;
    flex: 0 1 350px;
}

.review-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.review-about-box {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #ddd;
    padding: 40px;
    border-radius: 4px;
}

.review-about-box h2 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 20px;
    text-align: center;
}

.review-about-box p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.onward-banner {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.onward-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(243, 116, 24, 0.65);
}

.onward-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.onward-banner h2 {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    font-style: italic;
}

.benefit-icon-check {
    width: 50px;
    height: 50px;
    border: 2px solid var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--navy);
    margin: 0 auto 15px;
}

@media (max-width: 768px) {
    .review-section {
        flex-direction: column;
        padding: 20px;
    }

    .review-form-wrap,
    .review-image-wrap {
        flex: 1 1 auto;
        width: 100%;
    }

    .review-form .review-form-row {
        grid-template-columns: 1fr;
    }

    .review-image-wrap {
        min-height: 300px;
    }
}

/* ===== CONSULTATION DARK BENEFITS ===== */
.consultation-benefits-dark {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit-item-dark {
    padding: 20px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    text-align: center;
}

.benefit-item-dark h4 {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
}

.benefit-icon-dark {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.benefit-item-dark:hover {
    background: rgba(255,255,255,0.1);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray-text);
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-info a {
    color: var(--cyan);
}

.contact-info a:hover {
    color: var(--orange);
}

.contact-info a.btn {
    color: var(--white);
}

.contact-info a.btn:hover {
    color: var(--white);
}

/* ===== MAINSTRASSE BANNER ===== */
.mainstrasse-banner {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.mainstrasse-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(243, 116, 24, 0.6);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
    color: var(--cyan);
}

.footer-newsletter input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-newsletter input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-newsletter .btn {
    padding: 10px 20px;
    font-size: 13px;
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a0a3e;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .main-nav.open {
        display: flex;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero {
        min-height: 400px;
    }

    .two-col,
    .services-grid,
    .testimonial-cards,
    .service-detail,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .consultation-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .about-squares {
        grid-template-columns: 1fr;
    }

    .two-col-wide {
        padding: 20px;
    }

    .two-col-image-portrait {
        margin: 0;
        min-height: 400px;
    }

    .two-col-image-portrait img {
        object-position: center center;
    }

    .service-detail:nth-child(even) .service-detail-image {
        order: 0;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .consultation-benefits {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */

/* Base hidden states */
.anim-fade-up,
.anim-fade-left,
.anim-fade-right,
.anim-fade-in,
.anim-scale-in {
    opacity: 0;
    transition: opacity 2s ease, transform 2s ease;
    will-change: opacity, transform;
}

.anim-fade-up {
    transform: translateY(192px);
}

.anim-fade-left {
    transform: translateX(-40px);
}

.anim-fade-right {
    transform: translateX(40px);
}

.anim-scale-in {
    transform: scale(0.9);
}

/* Visible state */
.anim-fade-up.anim-visible,
.anim-fade-left.anim-visible,
.anim-fade-right.anim-visible,
.anim-fade-in.anim-visible,
.anim-scale-in.anim-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger delays for grids */
.stagger-1 { transition-delay: 0s; }
.stagger-2 { transition-delay: 0s; }
.stagger-3 { transition-delay: 0s; }
.stagger-4 { transition-delay: 0s; }

/* ===== ENHANCED HOVER EFFECTS ===== */

/* Button hover glow */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Nav underline animation */
.main-nav a {
    position: relative;
}

.main-nav a::after {
    display: none;
}

/* Image hover zoom */
.two-col-image {
    overflow: hidden;
    border-radius: 8px;
}

.two-col-image img {
    transition: transform 0.6s ease;
}

.two-col-image:hover img {
    transform: scale(1.05);
}

/* Service card enhanced hover - transition handled by anim classes */

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Benefit items hover */
.benefit-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.benefit-icon {
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.2);
}

/* Service detail image hover */
.service-detail-image {
    overflow: hidden;
    border-radius: 12px;
}

.service-detail-image img {
    transition: transform 0.6s ease;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

/* ===== HERO ENHANCEMENTS ===== */
.hero {
    overflow: hidden;
}

.hero-content {
    animation: heroFadeIn 1.2s ease forwards;
}

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

.hero h1 {
    animation: heroTextReveal 1s ease 0.3s both;
}

.hero p {
    animation: heroTextReveal 1s ease 0.6s both;
}

.hero .btn {
    animation: heroTextReveal 1s ease 0.9s both, btnJiggle 0.6s ease 2s both;
}

.btn-jiggle {
    animation: btnJiggle 0.6s ease both !important;
}

@keyframes btnJiggle {
    0%   { transform: rotate(0deg); }
    15%  { transform: rotate(-3deg); }
    30%  { transform: rotate(3deg); }
    45%  { transform: rotate(-2deg); }
    60%  { transform: rotate(2deg); }
    75%  { transform: rotate(-1deg); }
    100% { transform: rotate(0deg); }
}

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

/* ===== HEADER SCROLL STATE ===== */
.site-header {
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    box-shadow: none;
}

/* scrolled state defined above */

/* ===== COLOR OVERLAY ON HERO ===== */
.hero::before {
    transition: background 0.5s ease;
}

/* ===== FORM INPUT FOCUS EFFECTS ===== */
.exa-form input,
.exa-form textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.exa-form input:focus,
.exa-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.15);
}

/* ===== BUTTON LOADING STATE ===== */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
}

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

/* ===== PAGE HEADER ANIMATION ===== */
.page-header h1 {
    animation: heroTextReveal 0.8s ease 0.2s both;
}

/* ===== SECTION DIVIDER ACCENTS ===== */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin-top: 15px;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-title:hover::after {
    width: 100px;
}

.testimonial-section .section-title::after,
.about-content .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

/* ===== SMOOTH SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}
