/*
================================================
  MirrorSynth Theme for Adams Landscape & Construction
================================================
TABLE OF CONTENTS
------------------------------------------------
1.  VARIABLES & THEME SETUP
2.  RESET & BASE STYLES
3.  GLOBAL STYLES & UTILITIES
4.  HEADER & NAVIGATION
5.  FOOTER
6.  HERO SECTION
7.  PAGE HEADER (FOR SUBPAGES)
8.  SECTION STYLES (GENERAL)
9.  SERVICES SECTION
10. ABOUT SECTION
11. ROI CALCULATOR SECTION
12. TESTIMONIALS SECTION
13. CTA SECTION
14. CONTACT PAGE
15. LEGAL PAGES
16. INTERACTIVE ELEMENTS & POPUPS
17. ANIMATIONS & KEYFRAMES
18. RESPONSIVE DESIGN
================================================
*/

/* 1. VARIABLES & THEME SETUP
--------------------------------------------- */
:root {
    --bg-dark: #010409;
    --bg-dark-accent: #0D1117;
    --border-color: rgba(60, 68, 87, 0.5);
    --primary-color: #00A8FF;
    --secondary-color: #9FB1CC;
    --text-light: #E6EDF3;
    --text-dark: #1F2328;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --header-height: 80px;
    --glow-color: rgba(0, 168, 255, 0.75);
    --shadow-light: 0 8px 32px 0 rgba(0, 168, 255, 0.1);
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.4);
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 2. RESET & BASE STYLES
--------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--secondary-color);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 3. GLOBAL STYLES & UTILITIES
--------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    color: var(--text-light);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--glow-color);
}

.btn-primary:hover {
    color: var(--bg-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px var(--glow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn i {
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(3px);
}

/* 4. HEADER & NAVIGATION
--------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.header.scrolled {
    background-color: var(--bg-dark-accent);
    box-shadow: var(--shadow-dark);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--glow-color));
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--secondary-color);
    font-family: var(--font-primary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
}

/* 5. FOOTER
--------------------------------------------- */
.footer {
    background-color: var(--bg-dark-accent);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(1, 4, 9, 0), var(--bg-dark)), url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iIzBkMTEwNyI+PC9yZWN0PjxwYXRoIGQ9Ik0wIDUwIEwxMDAgNTAgTTUwIDAgTDUwIDEwMCIgc3Ryb2tlPSJyZ2JhKDYwLCA2OCwgODcsIDAuMSkiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPjwvc3ZnPg==');
    opacity: 0.5;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 40px;
}

.footer-col-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about .logo {
    margin-bottom: 1.5rem;
}

.footer-about-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.8;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--secondary-color);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

/* 6. HERO SECTION
--------------------------------------------- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
}

.hero-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(ellipse at center, rgba(13, 17, 23, 0.5) 0%, var(--bg-dark) 70%);
}

#particles-js-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mirror-tunnel {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.mirror-plane {
    position: absolute;
    width: 200vw;
    height: 200vh;
    top: -50vh;
    left: -50vw;
    border: 1px solid rgba(0, 168, 255, 0.1);
    box-shadow: inset 0 0 50px rgba(0, 168, 255, 0.05);
    background: transparent;
    opacity: 0.5;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.mirror-plane:nth-child(1) {
    transform: translateZ(-50px);
}

.mirror-plane:nth-child(2) {
    transform: translateZ(-150px);
}

.mirror-plane:nth-child(3) {
    transform: translateZ(-250px);
}

.mirror-plane:nth-child(4) {
    transform: translateZ(-400px);
}

.mirror-plane:nth-child(5) {
    transform: translateZ(-600px);
}

.mirror-plane:nth-child(6) {
    transform: translateZ(-850px);
}

.mirror-plane:nth-child(7) {
    transform: translateZ(-1150px);
}

.mirror-plane:nth-child(8) {
    transform: translateZ(-1500px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--secondary-color);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* 7. PAGE HEADER (FOR SUBPAGES)
--------------------------------------------- */
.page-header-section {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark-accent) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

#particles-js-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    color: var(--secondary-color);
}

.breadcrumbs a {
    color: var(--secondary-color);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* 8. SERVICES SECTION
--------------------------------------------- */
.services-section {
    background-color: var(--bg-dark-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: var(--shadow-dark);
    transform-style: preserve-3d;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent, var(--primary-color));
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-smooth);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 50px var(--glow-color);
}

.service-card:hover::before {
    opacity: 0.1;
    transform: scale(3);
}

.service-card-content {
    position: relative;
    z-index: 1;
    transform: translateZ(20px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--glow-color);
}

.service-title {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 9. ABOUT SECTION
--------------------------------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-column {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-smooth);
}

.about-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.about-image {
    display: block;
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1), transparent);
}

.about-content-column .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 0;
}

.about-content-column .section-title::after {
    display: none;
}

.about-features {
    margin: 2rem 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 10. ROI CALCULATOR SECTION
--------------------------------------------- */
.roi-calculator-section {
    background-color: var(--bg-dark-accent);
}

.roi-calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.roi-form-panel {
    padding: 40px;
}

.roi-form-panel .form-group {
    margin-bottom: 1.5rem;
}

.roi-form-panel label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    color: var(--secondary-color);
}

.roi-form-panel input {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark-accent);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1.2rem;
    font-family: var(--font-secondary);
}

.roi-results-panel {
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.05), rgba(0, 168, 255, 0.01));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.result-box {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.result-box.highlighted {
    border-color: var(--primary-color);
}

.result-box.potential-gain {
    border-color: #238636;
    /* Green */
}

.result-box h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-box p {
    font-size: 2rem;
    font-family: var(--font-primary);
    color: var(--text-light);
    margin: 0;
}

.projection-tag {
    font-size: 0.7rem;
    font-family: var(--font-secondary);
    background: rgba(0, 168, 255, 0.2);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 20px;
}

/* 11. TESTIMONIALS SECTION
--------------------------------------------- */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    visibility: hidden;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.testimonial-text::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-light);
}

.author-title {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
}

.slider-btn {
    pointer-events: all;
    background: var(--bg-dark-accent);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-btn {
    transform: translateX(-60px);
}

.next-btn {
    transform: translateX(60px);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* 12. CTA SECTION
--------------------------------------------- */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark-accent);
}

#particles-js-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* 13. CONTACT PAGE
--------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background: var(--bg-dark-accent);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
}

.contact-info-panel {
    padding: 40px;
    background: linear-gradient(-135deg, rgba(0, 168, 255, 0.1), transparent);
    transform-style: preserve-3d;
}

.contact-info-panel h3 {
    margin-bottom: 1rem;
}

.contact-details-list {
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.contact-details-list h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details-list p,
.contact-details-list a {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    padding: 40px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* 14. LEGAL PAGES
--------------------------------------------- */
.legal-content-wrapper {
    background: var(--bg-dark-accent);
    padding: 50px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content p {
    color: var(--secondary-color);
    line-height: 1.8;
}

.legal-content strong {
    color: var(--text-light);
}

/* 15. INTERACTIVE ELEMENTS & POPUPS
--------------------------------------------- */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-dark-accent);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: #238636;
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 2rem;
}


/* 16. ANIMATIONS & KEYFRAMES
--------------------------------------------- */
.animate-hero-title {
    opacity: 0;
    transform: translateY(30px);
}

.animate-hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
}

.animate-hero-cta {
    opacity: 0;
    transform: translateY(30px);
}

.page-title-animate {
    opacity: 0;
    transform: translateY(30px);
}

/* 17. RESPONSIVE DESIGN
--------------------------------------------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-column {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content-column {
        text-align: center;
    }

    .about-content-column .section-title {
        text-align: center;
    }

    .about-content-column .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .roi-calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .roi-results-panel {
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .page-header-section {
        padding: 140px 0 80px;
    }

    .page-header-section h1 {
        font-size: 2.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Mobile Nav */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-dark-accent);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.3);
        transition: right var(--transition-smooth);
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 3rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 2rem;
    }

    .header-actions .btn {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        height: auto;
        padding: 30px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .slider-controls {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-header-section h1 {
        font-size: 2.2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .legal-content-wrapper {
        padding: 30px 20px;
    }

    .popup-content {
        width: 90%;
        padding: 30px 20px;
    }
}