/*
  Theme: Aurora Motion
  Colors: Cyan #00E5FF, Purple #9B5DE5, Dark Navy #0D0D2B
  Style: Material 3 cards, rounded elevation, semi-transparent glass overlays.
*/

/* 1. CSS Variables & Global Styles
-------------------------------------------------- */
:root {
    --cyan: #00e5ff;
    --purple: #9b5de5;
    --dark-navy: #0d0d2b;
    --light-navy: #1a1a3d;
    --text-primary: #ffffff;
    --text-secondary: #c0c0e0;
    --glass-bg: rgba(26, 26, 61, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(155, 93, 229, 0.6);

    --font-primary: 'Poppins', sans-serif;

    --header-height: 80px;
    --border-radius: 16px;
    --transition-speed: 0.3s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--dark-navy);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--text-primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

/* 2. Reusable Components
  -------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: capitalize;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    color: var(--dark-navy);
    border: none;
    box-shadow: 0 5px 20px rgba(155, 93, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tagline {
    display: inline-block;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.section-title {
    margin-bottom: 1rem;
}

/* 3. Header & Navigation
  -------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}


.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* 4. Mobile Navigation
  -------------------------------------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav ul li {
    margin: 2rem 0;
}

.mobile-nav nav ul li a {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* 5. Background & Hero Section
  -------------------------------------------------- */
.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.aurora-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
}

.aurora-shape.shape-1 {
    width: 800px;
    height: 800px;
    background: var(--purple);
    top: -200px;
    left: -300px;
    animation: move1 25s infinite alternate ease-in-out;
}

.aurora-shape.shape-2 {
    width: 700px;
    height: 700px;
    background: var(--cyan);
    bottom: -200px;
    right: -250px;
    animation: move2 30s infinite alternate ease-in-out;
}

.aurora-shape.shape-3 {
    width: 500px;
    height: 500px;
    background: #ff57bf;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: move3 20s infinite alternate ease-in-out;
}

@keyframes move1 {
    to {
        transform: translate(100px, 200px) scale(1.1);
    }
}

@keyframes move2 {
    to {
        transform: translate(-150px, -100px) scale(0.9);
    }
}

@keyframes move3 {
    to {
        transform: translate(50px, -50px) rotate(180deg);
    }
}

main>section {
    padding: 6rem 0;
    position: relative;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-badge i {
    color: var(--cyan);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-title .line {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* UPDATED: Initial state for hero animations */
.hero-badge,
.hero-subtitle,
.hero-cta .btn {
    opacity: 0;
    transform: translateY(20px);
}

.hero-title .line {
    opacity: 0;
    transform: translateY(100px);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-shape {
    position: absolute;
    background: linear-gradient(45deg, var(--cyan), var(--purple));
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shape.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
}

.hero-shape.shape-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
}

.hero-shape.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 20%;
}

.hero-shape.shape-4 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    right: 15%;
}

/* 6. Services Section
  -------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    opacity: 0;
    z-index: -1;
}

.service-card:hover .card-glow {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.service-title {
    margin-bottom: 1rem;
}

.service-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: var(--text-primary);
}

.service-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 7. About Section
  -------------------------------------------------- */
.about-section {
    background: var(--light-navy);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.about-features i {
    color: var(--cyan);
    font-size: 1.2rem;
    margin-top: 4px;
}

.about-image .image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.about-image img {
    border-radius: var(--border-radius);
}

.about-image {
    position: relative;
}

.about-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--purple) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
}

/* 8. Interactive Report Section
  -------------------------------------------------- */
.report-dashboard {
    background: var(--light-navy);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.report-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.tab-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.tab-link.active,
.tab-link:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.stat-card h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-change {
    font-weight: 600;
}

.stat-change.positive {
    color: #00ffaa;
}

.stat-change.negative {
    color: #ff5577;
}

.chart-container {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.chart-container p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.dummy-chart {
    height: 200px;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 0 1rem;
}

.dummy-chart .bar {
    flex-grow: 1;
    background: linear-gradient(to top, var(--purple), var(--cyan));
    border-radius: 5px 5px 0 0;
    animation: barGrow 1s ease-out;
}

.line-chart {
    background: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23333' stroke-width='4' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e") no-repeat center;
    background-size: 95% 80%;
}

@keyframes barGrow {
    from {
        height: 0;
    }
}


/* 9. Testimonials Section
  -------------------------------------------------- */
.testimonials-section {
    background: var(--light-navy);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--purple);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.author-name {
    font-size: 1.1rem;
    margin: 0;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* 10. CTA Section
  -------------------------------------------------- */
.cta-section {
    padding: 0;
}

.cta-section .container {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    border-radius: var(--border-radius);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 6rem auto;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--dark-navy);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--dark-navy);
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-section .btn-primary {
    background: var(--text-primary);
    color: var(--dark-navy);
    box-shadow: 0 5px 20px rgba(13, 13, 43, 0.3);
}

.cta-section .btn-primary:hover {
    background: var(--dark-navy);
    color: var(--text-primary);
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-shape.cta-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
}

.cta-shape.cta-2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    right: -40px;
}

.cta-shape.cta-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 10%;
}


/* 11. Footer
  -------------------------------------------------- */
.footer {
    background: var(--light-navy);
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-shape {
    position: absolute;
    background: linear-gradient(45deg, var(--cyan), var(--purple));
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(50px);
}

.footer-shape.shape-1 {
    width: 400px;
    height: 400px;
    top: 0;
    right: -100px;
}

.footer-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-about-text {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--purple);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--cyan);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* 12. Subpage Specific Styles
  -------------------------------------------------- */
body.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    text-align: center;
    padding: 6rem 0;
    background: var(--light-navy);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumbs {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs a:hover {
    color: var(--cyan);
}

.breadcrumbs i {
    font-size: 0.7rem;
    margin: 0 0.5rem;
}

.breadcrumbs span {
    color: var(--text-primary);
}

.page-content {
    padding: 6rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-navy);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.content-wrapper h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.content-wrapper p {
    line-height: 1.8;
}

/* 13. Contact Page Styles
  -------------------------------------------------- */
.contact-section {
    padding-top: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--light-navy);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 4rem;
    margin-top: -6rem;
    /* Pull up into header */
    position: relative;
    z-index: 10;
}

.contact-info h2 {
    font-size: 2rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: var(--glass-bg);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.method-details p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.contact-form .full-width {
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px;
    background: var(--dark-navy);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.contact-form button {
    width: 100%;
}

/* 14. Popup Styles
  -------------------------------------------------- */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 43, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s linear;
}

.popup:target {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.popup-content {
    background: var(--light-navy);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1;
}

.popup .fa-check-circle {
    font-size: 4rem;
    color: #00ffaa;
    margin-bottom: 1.5rem;
}

.popup h3 {
    margin-bottom: 0.5rem;
}

.popup p {
    margin-bottom: 2rem;
}

/* 15. Animations & Scroll Effects
  -------------------------------------------------- */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn-up 0.8s 0.2s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 16. Responsiveness
  -------------------------------------------------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-top: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    main>section {
        padding: 4rem 0;
    }

    /* Mobile Nav Activation */
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
        width: 30px;
        height: 22px;
        position: relative;
    }

    .bar {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    .bar-top {
        top: 0;
    }

    .bar-middle {
        top: 50%;
        transform: translateY(-50%);
    }

    .bar-bottom {
        bottom: 0;
    }

    .mobile-toggle[aria-expanded="true"] .bar-top {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .mobile-toggle[aria-expanded="true"] .bar-middle {
        opacity: 0;
    }

    .mobile-toggle[aria-expanded="true"] .bar-bottom {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    .header-cta {
        display: none;
    }

    .cta-section .container {
        padding: 4rem 1.5rem;
        margin: 4rem auto;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .contact-wrapper {
        padding: 2rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .content-wrapper {
        padding: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about .social-links {
        justify-content: center;
    }

    .footer-col {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-header {
        padding: 4rem 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .report-grid {
        grid-template-columns: 1fr 1fr;
    }
}