/*
========================================
--- COMICVERSE AGENCY THEME STYLES ---
========================================
TABLE OF CONTENTS
1.  VARIABLES & GLOBAL STYLES
2.  REUSABLE COMPONENTS (Buttons, Containers)
3.  HEADER & NAVIGATION
4.  MOBILE NAVIGATION
5.  FOOTER
6.  HOMEPAGE: COMIC BOOK & PANELS
7.  HOMEPAGE: HERO PANEL
8.  HOMEPAGE: SERVICES PANEL
9.  HOMEPAGE: ABOUT PANEL
10. HOMEPAGE: TESTIMONIALS PANEL
11. HOMEPAGE: INTERACTIVE (3D CUBE) PANEL
12. SUBPAGES (Contact, Legal)
13. CONTACT FORM & POPUP
14. ANIMATIONS & KEYFRAMES
15. RESPONSIVE DESIGN
========================================
*/

/* 1. VARIABLES & GLOBAL STYLES
----------------------------------------*/
:root {
    --comic-yellow: #FFD700;
    --deep-blue: #1565C0;
    --pure-black: #000000;
    --white: #FFFFFF;
    --light-gray: #f4f4f4;
    --text-color: #333;
    --header-height: 80px;
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Bangers', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

.background-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="%23e0e0e0"/></svg>');
    background-size: 10px 10px;
    opacity: 0.2;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--pure-black);
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
}

a {
    color: var(--deep-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--comic-yellow);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. REUSABLE COMPONENTS
----------------------------------------*/
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
    border: 3px solid var(--pure-black);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background-color: var(--comic-yellow);
    color: var(--pure-black);
    box-shadow: 5px 5px 0 var(--pure-black);
}

.btn-primary:hover {
    color: var(--pure-black);
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--deep-blue);
}

.comic-panel {
    border: 4px solid var(--pure-black);
    padding: 80px 0;
    margin: 20px;
    background-color: var(--white);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.chapter-divider {
    padding: 30px 0;
    background-color: var(--pure-black);
    transform: skewY(-2deg);
    margin: 50px 0;
    border-top: 5px solid var(--comic-yellow);
    border-bottom: 5px solid var(--comic-yellow);
}

.chapter-title {
    font-size: 3.5rem;
    color: var(--comic-yellow);
    text-align: center;
    transform: skewY(2deg);
    text-shadow: 3px 3px 0 var(--deep-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.comic-subtitle {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--deep-blue);
    text-shadow: 2px 2px 0 var(--comic-yellow);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.speech-bubble {
    position: relative;
    background: var(--light-gray);
    border-radius: .4em;
    padding: 15px 20px;
    font-weight: 500;
    border: 2px solid var(--pure-black);
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: var(--pure-black);
    border-bottom: 0;
    margin-left: -20px;
    margin-bottom: -22px;
}

.speech-bubble.sb-left:after {
    left: 20%;
}

.speech-bubble.sb-right:after {
    right: 20%;
    left: auto;
}

.speech-bubble.sb-bordered {
    background: var(--white);
    border: 3px solid var(--deep-blue);
    margin-bottom: 20px;
    padding: 20px;
}

.speech-bubble.sb-bordered:after {
    border-top-color: var(--deep-blue);
    margin-bottom: -23px;
}


/* 3. HEADER & NAVIGATION
----------------------------------------*/
.header {
    background-color: var(--deep-blue);
    padding: 10px 0;
    border-bottom: 4px solid var(--pure-black);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background-color: rgba(21, 101, 192, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: rotate(-10deg) scale(1.1);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--comic-yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.4s ease-in-out;
}

.mobile-toggle.active .bar-top {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 4. MOBILE NAVIGATION
----------------------------------------*/
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--deep-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 25px 0;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--comic-yellow);
}


/* 5. FOOTER
----------------------------------------*/
.footer {
    background-color: var(--pure-black);
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.footer-shape {
    position: absolute;
    background-color: var(--deep-blue);
}

.footer-shape.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: -50px;
    left: 10%;
}

.footer-shape.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    right: 5%;
    transform: rotate(45deg);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-about-text {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--deep-blue);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--comic-yellow);
    color: var(--pure-black);
    transform: translateY(-5px);
}

.footer-col-title {
    font-size: 1.5rem;
    color: var(--comic-yellow);
    margin-bottom: 20px;
    text-transform: capitalize;
    font-family: var(--font-body);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: #ccc;
}

.footer-links ul a:hover {
    color: var(--comic-yellow);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-info i {
    color: var(--comic-yellow);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info a {
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* 6. HOMEPAGE: COMIC BOOK & PANELS
----------------------------------------*/
body:not(.subpage) {
    padding-top: var(--header-height);
}

.comic-book {
    padding: 20px 0;
}

/* 7. HOMEPAGE: HERO PANEL
----------------------------------------*/
.hero-panel {
    min-height: calc(100vh - var(--header-height) - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle, var(--white) 0%, #f0f8ff 100%);
    position: relative;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-panel .speech-bubble {
    display: inline-block;
    margin-bottom: 20px;
    background-color: var(--comic-yellow);
}

.comic-title {
    font-size: 6rem;
    color: var(--deep-blue);
    text-shadow: 5px 5px 0px var(--pure-black);
    margin: 20px 0;
    line-height: 1;
}

.comic-title .t-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 20px 0 40px;
    font-weight: 500;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.5rem;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pow-shape,
.zap-shape,
.boom-shape {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--comic-yellow);
    background-color: var(--deep-blue);
    padding: 20px 30px;
    border: 3px solid var(--pure-black);
    border-radius: 50%;
    text-shadow: 2px 2px 0 var(--pure-black);
}

.pow-shape {
    top: 15%;
    left: 10%;
    transform: rotate(-25deg);
}

.zap-shape {
    top: 20%;
    right: 12%;
    transform: rotate(15deg);
    font-size: 4rem;
}

.boom-shape {
    bottom: 15%;
    left: 20%;
    transform: rotate(20deg);
    font-size: 6rem;
}


/* 8. HOMEPAGE: SERVICES PANEL
----------------------------------------*/
.services-panel {
    background: #f0f8ff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    aspect-ratio: 1 / 1.2;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 3px solid var(--pure-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.service-card-front {
    background-color: var(--comic-yellow);
}

.service-card-back {
    background-color: var(--deep-blue);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card-back h5 {
    font-size: 1.5rem;
    color: var(--comic-yellow);
    margin-bottom: 15px;
}

.service-card-back p {
    font-size: 0.9rem;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.8rem;
    color: var(--pure-black);
}


/* 9. HOMEPAGE: ABOUT PANEL
----------------------------------------*/
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.comic-frame {
    border: 10px solid var(--pure-black);
    padding: 15px;
    background: var(--white);
    transform: rotate(-3deg);
    position: relative;
}

.comic-frame img {
    display: block;
}

.comic-frame .caption {
    position: absolute;
    bottom: -40px;
    left: 20px;
    background: var(--white);
    padding: 5px 15px;
    border: 3px solid var(--pure-black);
    font-style: italic;
    font-weight: 500;
}

.about-content-column {
    position: relative;
    z-index: 2;
}

.about-content-column p {
    margin-bottom: 25px;
}

.stats-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    background: var(--light-gray);
    border: 2px dashed var(--deep-blue);
    padding: 15px;
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--deep-blue);
}

.stat-label {
    font-weight: 600;
}


/* 10. HOMEPAGE: TESTIMONIALS PANEL
----------------------------------------*/
.testimonials-panel {
    background: #fffacd;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border: 3px solid var(--pure-black);
}

.speech-bubble-testimonial {
    position: relative;
    background: var(--light-gray);
    border-radius: .4em;
    padding: 20px;
    margin-bottom: 35px;
}

.speech-bubble-testimonial::after {
    content: '';
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-top-color: var(--light-gray);
    border-bottom: 0;
    border-left: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--deep-blue);
}

.author-info h4 {
    font-size: 1.4rem;
    margin: 0;
}

.author-info span {
    font-weight: 500;
    color: #555;
}


/* 11. HOMEPAGE: INTERACTIVE (3D CUBE) PANEL
----------------------------------------*/
.interactive-panel {
    background: #add8e6;
}

.interactive-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.cube-container {
    perspective: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.cube {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.face {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--comic-yellow);
    border: 3px solid var(--pure-black);
    color: var(--pure-black);
    font-family: var(--font-heading);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
}

.face.front {
    transform: rotateY(0deg) translateZ(75px);
}

.face.back {
    transform: rotateY(180deg) translateZ(75px);
    background: var(--deep-blue);
    color: white;
}

.face.right {
    transform: rotateY(90deg) translateZ(75px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(75px);
    background: var(--deep-blue);
    color: white;
}

.face.top {
    transform: rotateX(90deg) translateZ(75px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(75px);
    background: var(--deep-blue);
    color: white;
}

.speech-bubble.sb-cta {
    display: inline-block;
    background: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-cta {
    font-size: 1.4rem;
    margin-top: 20px;
}

/* 12. SUBPAGES (Contact, Legal)
----------------------------------------*/
.subpage main {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
}

.page-header {
    text-align: center;
    padding: 60px 0;
}

.page-header .comic-title {
    font-size: 4.5rem;
}

.breadcrumbs {
    margin: 15px 0;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--text-color);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
    color: var(--deep-blue);
}

.breadcrumbs span {
    color: var(--deep-blue);
}

.page-header-subtitle {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

.page-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border: 3px solid var(--pure-black);
}

.content-wrapper h2 {
    margin: 30px 0 15px;
}

.content-wrapper p,
.content-wrapper ul {
    margin-bottom: 20px;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 25px;
}

.content-wrapper li {
    margin-bottom: 10px;
}

/* 13. CONTACT FORM & POPUP
----------------------------------------*/
.contact-section .container {
    max-width: 1100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
}

.contact-info-panel p {
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--deep-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border: 3px solid var(--pure-black);
}

.method-details h3 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--pure-black);
    font-family: var(--font-body);
    text-transform: capitalize;
}

.method-details p {
    margin: 0;
}

/* --- NEW REBUILT CONTACT FORM --- */
.contact-form-rebuilt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 25px 20px;
    grid-template-areas:
        "name    email"
        "phone   company"
        "service message"
        "submit  message";
}

.fg-name {
    grid-area: name;
}

.fg-email {
    grid-area: email;
}

.fg-phone {
    grid-area: phone;
}

.fg-company {
    grid-area: company;
}

.fg-service {
    grid-area: service;
}

.fg-message {
    grid-area: message;
}

.fg-submit {
    grid-area: submit;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    font-size: 1rem;
    color: var(--pure-black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 3px solid var(--pure-black);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--deep-blue);
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.3);
}

.fg-message textarea {
    height: 100%;
    resize: vertical;
    min-height: 150px;
}

.select-wrapper {
    position: relative;
    height: 100%;
}

.select-wrapper select {
    height: 100%;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--pure-black);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-submit-comic {
    width: 100%;
    height: 100%;
    min-height: 60px;
    background: var(--comic-yellow);
    border: 3px solid var(--pure-black);
    box-shadow: 6px 6px 0 var(--pure-black);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pure-black);
    cursor: pointer;
    transition: all 0.2s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 8px;
}

.btn-submit-comic:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--pure-black);
}

.btn-submit-comic:active {
    transform: translate(6px, 6px);
    box-shadow: none;
}

/* --- END REBUILT CONTACT FORM --- */


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 4px solid var(--pure-black);
    position: relative;
    max-width: 500px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: var(--pure-black);
}

.popup .fa-check-circle {
    font-size: 4rem;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.popup p {
    margin-bottom: 25px;
}


/* 14. ANIMATIONS & KEYFRAMES
----------------------------------------*/
@keyframes rotate-cube {
    0% {
        transform: rotateX(0) rotateY(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-anim-delay] {
    transition-delay: calc(var(--anim-delay) * 1s);
}

/* 15. RESPONSIVE DESIGN
----------------------------------------*/
@media (max-width: 1024px) {

    .about-wrapper,
    .interactive-wrapper,
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image-column {
        margin-bottom: 60px;
    }

    .cube-container {
        margin-bottom: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .comic-title {
        font-size: 3.5rem;
    }

    .page-header .comic-title {
        font-size: 3rem;
    }

    .comic-subtitle {
        font-size: 2.2rem;
    }

    .chapter-title {
        font-size: 2.5rem;
    }

    .hero-bg-elements {
        display: none;
    }

    .footer-top {
        text-align: center;
    }

    .social-links,
    .contact-info li {
        justify-content: center;
    }

    /* Responsive Contact Form */
    .contact-form-rebuilt {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "email"
            "phone"
            "company"
            "service"
            "message"
            "submit";
    }

    .fg-message textarea {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 70px;
    }

    .logo {
        height: 50px;
    }

    .comic-title {
        font-size: 2.8rem;
    }

    .comic-subtitle {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .comic-panel {
        padding: 60px 0;
        margin: 10px;
    }

    .contact-wrapper {
        padding: 20px;
    }

    .page-content .content-wrapper {
        padding: 20px;
    }
}