/*
    Digital Marketing Agency Website Stylesheet
    Author: [Your Name]
    Version: 1.0
    ---------------------------------------------
    TABLE OF CONTENTS
    ---------------------------------------------
    1.  GLOBAL STYLES & VARIABLES
    2.  REUSABLE COMPONENTS (Buttons, Containers)
    3.  CUSTOM CURSOR
    4.  HEADER & NAVIGATION
    5.  MOBILE NAVIGATION
    6.  HERO SECTION & 3D ANIMATION
    7.  TRUSTED BY SECTION
    8.  SERVICES SECTION
    9.  ABOUT US SECTION
    10. ROI CALCULATOR SECTION
    11. INDUSTRY TABS SECTION
    12. TESTIMONIALS SECTION
    13. CAMPAIGN REPORT SECTION
    14. FOOTER
    15. LIVE CHAT WIDGET
    16. CONTACT PAGE STYLES
    17. LEGAL PAGE STYLES
    18. ANIMATIONS & KEYFRAMES
    19. RESPONSIVE DESIGN (MEDIA QUERIES)
*/

/* ===== 1. GLOBAL STYLES & VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0a0f1e;
    --bg-medium: #12192d;
    --bg-light: #1c2541;
    --primary-accent: #00bfff;
    /* DeepSkyBlue */
    --secondary-accent: #64ffda;
    /* A teal/mint color */
    --text-primary: #e6f1ff;
    --text-secondary: #a8b2d1;
    --border-color: rgba(0, 191, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-accent);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 0;
}

/* ===== 2. REUSABLE COMPONENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--bg-dark);
    border-color: var(--primary-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-dark);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-accent);
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-accent);
}

/* ===== 3. CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-accent);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, transform 0.1s linear;
}

.cursor-pointer {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--secondary-accent);
}


/* ===== 4. HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px var(--shadow-color);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.logo {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.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-color: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== 5. MOBILE NAVIGATION ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-medium);
    z-index: 999;
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav ul li {
    margin: 25px 0;
}

.mobile-nav ul li a {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* ===== 6. HERO SECTION & 3D ANIMATION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle, var(--bg-medium) 0%, var(--bg-dark) 70%);
}

.hero-background-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.cube {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border: 1px solid var(--primary-accent);
    animation: move-cube 20s linear infinite;
}

.cube:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-duration: 22s;
}

.cube:nth-child(2) {
    top: 20%;
    left: 80%;
    animation-duration: 18s;
    animation-delay: -5s;
    width: 60px;
    height: 60px;
}

.cube:nth-child(3) {
    top: 70%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: -2s;
    width: 20px;
    height: 20px;
}

.cube:nth-child(4) {
    top: 85%;
    left: 60%;
    animation-duration: 15s;
    animation-delay: -10s;
}

.cube:nth-child(5) {
    top: 40%;
    left: 45%;
    animation-duration: 28s;
    animation-delay: -7s;
    width: 50px;
    height: 50px;
}

.cube:nth-child(6) {
    top: 50%;
    left: 90%;
    animation-duration: 19s;
    animation-delay: -3s;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== 7. TRUSTED BY SECTION ===== */
.trusted-by {
    background-color: var(--bg-medium);
    padding: 40px 0;
    overflow: hidden;
}

.trusted-by-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-weight: 500;
}

.logos-slider {
    width: 100%;
    white-space: nowrap;
}

.logos-track {
    display: inline-block;
    animation: scroll-logos 30s linear infinite;
}

.logos-track span {
    display: inline-block;
    margin: 0 40px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ===== 8. SERVICES SECTION ===== */
.services-section {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-medium);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.1), transparent 40%);
    transform-origin: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate-glow 8s linear infinite;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-color);
    border-color: var(--primary-accent);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon svg {
    width: 50px;
    height: 50px;
    color: var(--primary-accent);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
}

/* ===== 9. ABOUT US SECTION ===== */
.about-section {
    background-color: var(--bg-medium);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    position: relative;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-placeholder p {
    font-size: 1.5rem;
    color: var(--text-primary);
    z-index: 2;
}

.placeholder-shape {
    position: absolute;
    background: var(--primary-accent);
    border-radius: 50%;
    opacity: 0.1;
}

.shape1 {
    width: 80%;
    height: 80%;
    top: -20%;
    left: -20%;
}

.shape2 {
    width: 60%;
    height: 60%;
    bottom: -10%;
    right: -10%;
    animation: pulse 4s infinite ease-in-out;
}

.shape3 {
    width: 40%;
    height: 40%;
    top: 30%;
    right: -5%;
    background-color: var(--secondary-accent);
    animation: pulse 5s infinite ease-in-out;
}

.section-tag {
    display: inline-block;
    color: var(--secondary-accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.about-list {
    margin-top: 30px;
    margin-bottom: 30px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.about-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-accent);
    margin-right: 15px;
    transform: rotate(180deg);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ===== 10. ROI CALCULATOR SECTION ===== */
.roi-calculator-section {
    background: var(--bg-dark);
}

.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-medium);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-accent);
}

.calculator-results {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.calculator-results p {
    margin-bottom: 10px;
}

#roi-result {
    font-size: 2.5rem;
    color: var(--secondary-accent);
    margin-bottom: 10px;
}

.calculator-results small {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ===== 11. INDUSTRY TABS SECTION ===== */
.industry-section {
    background: var(--bg-medium);
}

.industry-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.tab-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-link:hover {
    color: var(--text-primary);
}

.tab-link.active {
    color: var(--primary-accent);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-accent);
}

.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-pane h3 {
    margin-bottom: 10px;
    color: var(--secondary-accent);
}

/* ===== 12. TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--bg-dark);
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    /* Adjust as needed */
    background: var(--bg-medium);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.author-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-nav button {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background: var(--primary-accent);
    color: var(--bg-dark);
}

/* ===== 13. CAMPAIGN REPORT SECTION ===== */
.report-section {
    background: var(--bg-medium);
}

.dashboard-mockup {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.date-range {
    background: var(--bg-dark);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.stat-card {
    background: var(--bg-medium);
    padding: 20px;
    border-radius: 5px;
}

.stat-card h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-card p span {
    font-size: 1rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
}

.stat-card p span:first-of-type[class*='+'] {
    color: var(--secondary-accent);
}

.stat-card p span:first-of-type[class*='-'] {
    color: #ff6b6b;
}

.sparkline-up,
.sparkline-down {
    height: 40px;
    margin-top: 15px;
    position: relative;
    width: 100%;
}

.sparkline-up::before,
.sparkline-down::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
}

.sparkline-up::before {
    background-image: 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'/%3e%3cpath d='M0 30 C20 10, 40 10, 60 30 S100 50, 120 30' stroke='%2364ffda' stroke-width='2' fill='none'/%3e%3c/svg%3e");
}

.sparkline-down::before {
    background-image: 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'/%3e%3cpath d='M0 10 C20 30, 40 30, 60 10 S100 -10, 120 10' stroke='%23ff6b6b' stroke-width='2' fill='none'/%3e%3c/svg%3e");
}


.chart-card {
    background: var(--bg-medium);
    padding: 20px;
    border-radius: 5px;
}

.area-chart {
    grid-column: 1 / 3;
}

.pie-chart {
    grid-column: 3 / 5;
}

.chart-card h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.chart-placeholder {
    height: 150px;
    background: repeating-linear-gradient(45deg, var(--bg-light), var(--bg-light) 10px, var(--bg-medium) 10px, var(--bg-medium) 20px);
    opacity: 0.5;
    border-radius: 5px;
}

/* ===== 14. FOOTER ===== */
.site-footer {
    background: var(--bg-medium);
    padding-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-col p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-accent);
    color: var(--bg-dark);
    border-color: var(--primary-accent);
}

.contact-col p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===== 15. LIVE CHAT WIDGET ===== */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
    transition: transform 0.3s ease;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.icon-close {
    display: none;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--bg-medium);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all 0.3s ease;
}

.live-chat-widget.open .chat-window {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.live-chat-widget.open .icon-open {
    display: none;
}

.live-chat-widget.open .icon-close {
    display: block;
}

.chat-header {
    background: var(--bg-light);
    padding: 15px;
    color: var(--text-primary);
}

.chat-header h5 {
    margin: 0;
}

.chat-header p {
    font-size: 0.8rem;
    margin: 0;
}

.chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
}

.message {
    padding: 8px 12px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 80%;
}

.message.received {
    background: var(--bg-light);
    border-bottom-left-radius: 3px;
    align-self: flex-start;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 5px;
    color: var(--text-primary);
}

.chat-footer button {
    background: var(--primary-accent);
    border: none;
    color: var(--bg-dark);
    padding: 0 15px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
}

/* ===== 16. CONTACT PAGE STYLES ===== */
.page-hero {
    padding: 120px 0;
    text-align: center;
    background: var(--bg-medium);
}

.page-hero h1 {
    font-size: 3rem;
}

.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info ul {
    margin: 30px 0;
}

.contact-info ul li {
    margin-bottom: 15px;
}

.contact-info ul li strong {
    display: block;
    color: var(--text-primary);
}

.contact-hours {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-form-wrapper {
    background: var(--bg-medium);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-family);
}

.contact-form .form-group select {
    appearance: none;
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== 17. LEGAL PAGE STYLES ===== */
.legal-page main {
    padding-top: 100px;
    /* Account for fixed header */
}

.legal-content {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-accent);
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-accent);
}

.legal-content p,
.legal-content li {
    margin-bottom: 15px;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 20px;
}


/* ===== 18. ANIMATIONS & KEYFRAMES ===== */
@keyframes move-cube {
    0% {
        transform: translateZ(-100px) rotateX(0) rotateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateZ(1000px) rotateX(360deg) rotateY(720deg);
        opacity: 0;
    }
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

/* ===== 19. RESPONSIVE DESIGN (MEDIA QUERIES) ===== */

/* Tablets & Small Desktops */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-results {
        margin-top: 20px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .area-chart {
        grid-column: 1 / 3;
    }

    .pie-chart {
        grid-column: 1 / 3;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-col {
        grid-column: 1 / 3;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    section {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        height: auto;
        padding: 150px 0 100px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-link {
        padding: 10px 15px;
        font-size: 1rem;
    }

    .testimonial-slider {
        height: 300px;
    }

    .quote {
        font-size: 1.1rem;
    }

    .slider-nav {
        padding: 0;
    }

    .slider-nav button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .prev-btn {
        transform: translateX(-10px);
    }

    .next-btn {
        transform: translateX(10px);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .area-chart,
    .pie-chart {
        grid-column: 1 / 2;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}