/*
    styles.css
    Author: AI Assistant
    Description: Stylesheet for Allen Yoder Construction Digital Marketing Website
*/

/* -------------------
 * >> TABLE OF CONTENTS
 * -------------------
 * 1.  Variables & Root
 * 2.  Global Styles & Reset
 * 3.  Keyframe Animations
 * 4.  Utility Classes
 * 5.  Header & Navigation
 * 6.  Mobile Navigation
 * 7.  Main Content
 *     - Hero Section
 *     - Trusted By Section
 *     - Services Section
 *     - About Section
 *     - Calculator Section
 *     - Testimonials Section
 *     - Pricing Section
 *     - CTA Section
 * 8.  Footer
 * 9.  Page-Specific Styles (Subpages)
 *     - Page Header
 *     - Content Wrapper
 * 10. Contact Page Styles
 *     - Contact Form
 *     - Popup
 * 11. Other Components
 *     - Buttons
 *     - Scroll Progress Bar
 *     - Chat Bubble
 * 12. Responsive Media Queries
 *     - Tablets (max-width: 1024px)
 *     - Mobile (max-width: 768px)
*/


/* -------------------
 * 1. VARIABLES & ROOT
 * ------------------- */
:root {
    --primary-color: #808080;
    /* Gray from the central building */
    --primary-dark-bg: #000000;
    /* Black background from the logo */
    --primary-light-bg: #1C1C1C;
    /* A dark gray, for a lighter background variant */
    --accent-color-1: #F16A6A;
    /* Coral red from the side buildings */
    --accent-color-2: #CCCCCC;
    /* A light gray for contrast, as a secondary accent */
    /* Vibrant Orange */
    --text-color-light: #FFFFFF;
    --text-color-medium: #BCCCDC;
    --text-color-dark: #333333;

    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --glow-shadow: 0 0 15px rgba(var(--accent-color-1-rgb), 0.5), 0 0 30px rgba(var(--accent-color-1-rgb), 0.3);

    --accent-color-1-rgb: 0, 246, 255;
}

/* -------------------
 * 2. GLOBAL STYLES & RESET
 * ------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-dark-bg);
    color: var(--text-color-medium);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color-light);
    font-weight: 700;
    line-height: 1.3;
    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(--accent-color-1);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--text-color-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -------------------
 * 3. KEYFRAME ANIMATIONS
 * ------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(var(--accent-color-1-rgb), 0.3);
    }

    to {
        box-shadow: 0 0 25px rgba(var(--accent-color-1-rgb), 0.7), 0 0 40px rgba(var(--accent-color-1-rgb), 0.4);
    }
}


/* -------------------
 * 4. UTILITY CLASSES
 * ------------------- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--accent-color-1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.8rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(-50px);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* -------------------
 * 5. HEADER & NAVIGATION
 * ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(3, 20, 40, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 80px;
    filter: brightness(0) invert(1);
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-color-medium);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-1);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-color-light);
}

.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;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color-light);
    transition: all var(--transition-speed) ease-in-out;
}

/* -------------------
 * 6. MOBILE NAVIGATION
 * ------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-light-bg);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav li {
    margin: 2rem 0;
}

.mobile-nav nav a {
    font-size: 1.5rem;
    color: var(--text-color-light);
    font-weight: 600;
}

body.mobile-nav-open {
    overflow: hidden;
}

.mobile-toggle.active .bar-top {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* -------------------
 * 7. MAIN CONTENT
 * ------------------- */

/* Hero Section */
.hero {
    position: relative;
    padding: calc(var(--header-height) + 100px) 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle, var(--primary-light-bg) 0%, var(--primary-dark-bg) 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(var(--accent-color-1-rgb), 0.1);
    color: var(--accent-color-1);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--text-color-light), var(--accent-color-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--accent-color-1-rgb), 0.1);
    filter: blur(30px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 15%;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 20%;
    background: rgba(255, 138, 0, 0.1);
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: 5%;
    left: 5%;
    background: rgba(var(--accent-color-1-rgb), 0.05);
    animation: float 15s ease-in-out infinite;
}

/* Trusted By Section */
.trusted-by {
    padding: 40px 0;
    background-color: var(--primary-dark-bg);
    border-top: 1px solid var(--primary-light-bg);
    border-bottom: 1px solid var(--primary-light-bg);
    overflow: hidden;
}

.trusted-by .container p {
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 500;
}

.logo-marquee {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
}

.logo-slide {
    display: flex;
    width: 50%;
    justify-content: space-around;
    align-items: center;
}

.logo-slide img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-speed) ease;
}

.logo-slide img:hover {
    opacity: 1;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--primary-light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(var(--accent-color-1-rgb), 0.3), transparent 30%);
    transform-origin: center;
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color-1);
    box-shadow: var(--glow-shadow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color-1);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-title {
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: var(--accent-color-1);
}

.service-link i {
    transition: transform var(--transition-speed) ease;
    margin-left: 5px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--primary-dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text .section-title {
    font-size: 2.5rem;
}

.about-features {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-features i {
    color: var(--accent-color-1);
    font-size: 1.2rem;
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    background: var(--primary-light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
}

.calculator-form .form-group {
    margin-bottom: 2rem;
}

.calculator-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

.calculator-form input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--primary-dark-bg);
    border-radius: 5px;
    outline: none;
}

.calculator-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-color-1);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid var(--primary-light-bg);
    box-shadow: 0 0 5px var(--accent-color-1);
}

.calculator-form input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-color-1);
    cursor: pointer;
    border-radius: 50%;
}

.calculator-form .form-group span {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--accent-color-1);
}

.calculator-results {
    background: var(--primary-dark-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.calculator-results h3 {
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--primary-light-bg);
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-label {
    color: var(--text-color-medium);
}

.result-value {
    color: var(--text-color-light);
    font-weight: 700;
    font-size: 1.2rem;
}

.result-item.highlight .result-value {
    color: var(--accent-color-2);
    font-size: 1.8rem;
}

.calculator-results .disclaimer {
    font-size: 0.8rem;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--primary-dark-bg);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: var(--primary-light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--accent-color-1);
    opacity: 0.2;
    position: absolute;
}

.testimonial-text::before {
    top: -1.5rem;
    left: 0;
}

.testimonial-text::after {
    bottom: -3.5rem;
    right: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--accent-color-1);
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
}

.slider-controls button {
    pointer-events: all;
    background: rgba(var(--accent-color-1-rgb), 0.2);
    border: 1px solid var(--accent-color-1);
    color: var(--text-color-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.slider-controls button:hover {
    background: var(--accent-color-1);
    color: var(--primary-dark-bg);
    transform: scale(1.1);
}

.prev-btn {
    transform: translateX(-22.5px);
}

.next-btn {
    transform: translateX(22.5px);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: var(--primary-light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid var(--primary-light-bg);
    position: relative;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--accent-color-1);
    box-shadow: var(--glow-shadow);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color-1);
    color: var(--primary-dark-bg);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--accent-color-1);
}

.pricing-header p {
    min-height: 40px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color-light);
    margin: 1.5rem 0;
}

.price sup {
    font-size: 1.5rem;
    font-weight: 600;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-medium);
}

.features {
    text-align: left;
    margin: 2rem 0;
}

.features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features i {
    width: 20px;
}

.features .fa-check {
    color: #4caf50;
}

.features .fa-times {
    color: #f44336;
}

.pricing-card .btn {
    width: 100%;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2,
.cta-content p {
    color: var(--primary-dark-bg);
}

.cta-content h2 {
    font-size: 2.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-content .btn-primary {
    background-color: var(--primary-dark-bg);
    color: var(--text-color-light);
    border: 2px solid var(--primary-dark-bg);
}

.cta-content .btn-primary:hover {
    background-color: transparent;
    color: var(--primary-dark-bg);
}

/* -------------------
 * 8. FOOTER
 * ------------------- */
.footer {
    background-color: var(--primary-dark-bg);
    padding: 80px 0 0;
    border-top: 1px solid var(--primary-light-bg);
    position: relative;
    overflow: hidden;
}

.footer-shapes .footer-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
}

.footer-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color-1);
    left: -100px;
    bottom: -100px;
}

.footer-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color-2);
    right: -50px;
    top: -50px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-about-text {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-light-bg);
    color: var(--text-color-medium);
    border-radius: 50%;
    transition: var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--accent-color-1);
    color: var(--primary-dark-bg);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-color-medium);
}

.footer-links ul li a:hover {
    color: var(--accent-color-1);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-top: 5px;
    color: var(--accent-color-1);
}

.footer-bottom {
    border-top: 1px solid var(--primary-light-bg);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}


/* -------------------
 * 9. PAGE-SPECIFIC STYLES
 * ------------------- */
body.subpage .hero,
body.subpage .trusted-by,
body.subpage .services-section,
body.subpage .about-section,
body.subpage .calculator-section,
body.subpage .testimonials-section,
body.subpage .pricing-section,
body.subpage .cta-section {
    display: none;
}

.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(rgba(3, 20, 40, 0.8), rgba(3, 20, 40, 0.8)), url('https://via.placeholder.com/1920x400/0A2540/FFFFFF?text=Digital+Abstract') no-repeat center center/cover;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: var(--text-color-medium);
}

.breadcrumbs a:hover {
    color: var(--accent-color-1);
}

.breadcrumbs span {
    color: var(--text-color-light);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary-light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.content-wrapper h2 {
    font-size: 1.8rem;
    color: var(--accent-color-1);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper p {
    line-height: 1.8;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}


/* -------------------
 * 10. CONTACT PAGE STYLES
 * ------------------- */
.contact-hero {
    position: relative;
    padding: calc(var(--header-height) + 80px) 0 80px;
    text-align: center;
    overflow: hidden;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
}

.contact-hero-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.contact-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(var(--accent-color-1-rgb), 0.1);
    top: -100px;
    left: -100px;
}

.contact-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 138, 0, 0.1);
    bottom: -100px;
    right: -100px;
}

.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--primary-light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contact-info h2 {
    color: var(--accent-color-1);
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-dark-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-color-1);
}

.method-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.method-details p,
.method-details a {
    color: var(--text-color-medium);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-dark-bg);
    border: 1px solid var(--primary-dark-bg);
    border-radius: var(--border-radius);
    color: var(--text-color-light);
    font-family: var(--font-family);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-color-1);
    box-shadow: 0 0 10px rgba(var(--accent-color-1-rgb), 0.3);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--primary-light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--text-color-light);
    max-width: 400px;
    position: relative;
    transform: scale(0.8);
    transition: transform var(--transition-speed) ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-content h3 {
    color: var(--text-color-light);
}

.popup-content a.btn-primary {
    margin-top: 1rem;
    text-decoration: none;
}

.popup-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}


/* -------------------
 * 11. OTHER COMPONENTS
 * ------------------- */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    overflow: hidden;
    position: relative;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background-color: var(--accent-color-1);
    color: var(--primary-dark-bg);
    border-color: var(--accent-color-1);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color-1);
}

.btn-secondary {
    background-color: var(--primary-light-bg);
    color: var(--text-color-light);
    border-color: var(--text-color-medium);
}

.btn-secondary:hover {
    border-color: var(--accent-color-1);
    color: var(--accent-color-1);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent-color-1);
    width: 0%;
    z-index: 2000;
    transition: width 0.1s linear;
}

/* Chat Bubble */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--primary-dark-bg);
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 5px 15px rgba(var(--accent-color-1-rgb), 0.4);
    animation: glow 1.5s infinite alternate;
    transition: transform var(--transition-speed) ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}


/* -------------------
 * 12. RESPONSIVE MEDIA QUERIES
 * ------------------- */

/* Tablets */
@media (max-width: 1024px) {

    h1,
    .hero-title {
        font-size: 3rem;
    }

    h2,
    .section-title {
        font-size: 2.2rem;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
        text-align: center;
    }

    .about-image img {
        max-width: 80%;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    html {
        font-size: 14px;
    }

    h1,
    .hero-title {
        font-size: 2.5rem;
    }

    h2,
    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: calc(var(--header-height) + 60px) 0 60px;
        text-align: left;
    }

    .hero-content {
        text-align: left;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .services-section,
    .about-section,
    .calculator-section,
    .testimonials-section,
    .pricing-section,
    .page-content {
        padding: 60px 0;
    }

    .pricing-card.popular {
        transform: scale(1);
        /* Disable scaling on mobile for better layout */
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        display: none;
    }

    /* Simpler interaction on mobile */
    .testimonial-slide {
        padding: 0;
    }

    .content-wrapper,
    .contact-wrapper {
        padding: 2rem;
    }
}