/*
    STYLES.CSS
    -----------
    Author: AI Assistant for Dynamic Distribution
    Version: 1.0
    Description: A comprehensive stylesheet for a modern, animated, and responsive digital marketing agency website.
*/

/* ---------------------------------- */
/*          1. VARIABLES & RESET      */
/* ---------------------------------- */

:root {
    --primary-color: #e8593c;
    --secondary-color: #1f2a68;
    --dark-blue: #11183b;
    --light-blue: #2c3a8a;
    --text-color: #333;
    --light-text-color: #6c757d;
    --white-color: #ffffff;
    --light-bg-color: #f8f9fa;
    --lighter-bg-color: #eef2f9;
    --border-color: #dee2e6;
    --footer-bg-color: #11183b;
    --footer-text-color: rgba(255, 255, 255, 0.7);

    --font-family: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;

    --container-width: 1200px;
    --container-padding: 1rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(23, 43, 77, 0.1);
    --shadow-lg: 0 10px 30px rgba(23, 43, 77, 0.15);

    --transition-fast: 0.2s ease-in-out;
    --transition-med: 0.4s ease-in-out;
    --transition-slow: 0.6s ease-in-out;
    --cubic-bezier: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* --- Basic Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* ---------------------------------- */
/*          2. HEADER & NAV           */
/* ---------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: white;
    transition: all var(--transition-med) var(--cubic-bezier);
}

.header.scrolled {
    background-color: var(--white-color);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link .logo {
    height: 70px;
    width: auto;
    transition: height var(--transition-med);
}


.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    padding: 10px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.header.scrolled .nav-link {
    color: var(--secondary-color);
}

.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-med) var(--cubic-bezier);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary-color);
}

.header.scrolled .nav-link.active,
.header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white-color);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-med);
    position: absolute;
}

.header.scrolled .mobile-toggle .bar {
    background-color: var(--secondary-color);
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle.active .bar-top {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* --- Mobile Nav Panel --- */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--transition-med) var(--cubic-bezier);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav li {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.active nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active nav li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.active nav li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav.active nav li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav.active nav li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav.active nav li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav nav a {
    color: var(--white-color);
    font-size: 2rem;
    font-weight: 600;
}

/* ---------------------------------- */
/*          3. BUTTONS                */
/* ---------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    z-index: 2;
}

.btn i {
    z-index: 2;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(5px);
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

/* Secondary Button */
.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

.header.scrolled .btn-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
}

.header.scrolled .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* ---------------------------------- */
/*          4. HERO SECTION           */
/* ---------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero .subtitle {
    display: block;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white-color);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
}

.animated-gradient-text {
    background: linear-gradient(90deg, var(--primary-color), #ff8a73, var(--primary-color));
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 5s ease-in-out infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Particle Background --- */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --- Scroll Down Indicator --- */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--white-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--white-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* ---------------------------------- */
/*          5. GENERAL SECTION STYLING*/
/* ---------------------------------- */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.section-header .section-title {
    margin-bottom: 15px;
}

.section-header .section-intro {
    font-size: 1.1rem;
}

/* --- Shape Dividers --- */
.shape-divider-top,
.shape-divider-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider-top {
    top: -1px;
}

.shape-divider-bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

.shape-divider-top svg,
.shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.shape-divider-top .shape-fill,
.shape-divider-bottom .shape-fill {
    fill: var(--lighter-bg-color);
}

.services-section .shape-divider-bottom .shape-fill {
    fill: var(--white-color);
}

.testimonials-section .shape-divider-top .shape-fill {
    fill: var(--white-color);
}

/* ---------------------------------- */
/*          6. FEATURES SECTION       */
/* ---------------------------------- */
.features-section {
    background-color: var(--light-bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-med), box-shadow var(--transition-med);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-med);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: transform var(--transition-med);
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotate(360deg);
}

.feature-title {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-description {
    font-size: 1rem;
    margin-bottom: 0;
}

/* ---------------------------------- */
/*          7. SERVICES SECTION       */
/* ---------------------------------- */
.services-section {
    position: relative;
    background-color: var(--lighter-bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-med);
}

.service-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background-color var(--transition-med), transform var(--transition-med);
}

.service-item:hover .service-icon {
    background-color: var(--primary-color);
    transform: scale(1.1) rotate(-15deg);
}

.service-title {
    margin-bottom: 10px;
}

.service-description {
    margin-bottom: 0;
}

/* ---------------------------------- */
/*          8. STATS SECTION          */
/* ---------------------------------- */
.stats-section {
    background-color: var(--secondary-color);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
    background-size: 50px 50px;
    color: var(--white-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-number-wrapper i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ---------------------------------- */
/*          9. ABOUT US SECTION       */
/* ---------------------------------- */
.about-section {
    background-color: var(--white-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
}

.about-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.about-image-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    top: 20px;
    left: 20px;
    z-index: 1;
    transition: all var(--transition-slow);
}

.about-image-wrapper:hover .about-image-bg {
    top: -20px;
    left: -20px;
}

.about-content p {
    font-size: 1rem;
}

.about-checklist {
    margin: 20px 0 30px;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-checklist i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ---------------------------------- */
/*      10. TESTIMONIALS SECTION      */
/* ---------------------------------- */
.testimonials-section {
    position: relative;
    background-color: var(--lighter-bg-color);
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 350px;
    /* Adjust as needed */
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-med), visibility var(--transition-med);
    padding: 20px;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-color);
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.author-name {
    margin: 0;
    font-size: 1.1rem;
}

.author-title {
    color: var(--light-text-color);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-btn {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-med);
    box-shadow: var(--shadow-md);
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}


/* ---------------------------------- */
/*      11. CTA SECTION               */
/* ---------------------------------- */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1H6v-1H0V6h6V5zm-1 0h-5v4h5V5zm-1 9V6H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5zm-1 9V16H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5zm-1 9V26H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5zm-1 9V36H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5zm-1 9V46H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5zm-1 9V56H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5zm-1 9V66H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5zm-1 9V76H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5zm-1 9V86H1v4h4v-1zm-4 0v-4h4v4h-4zm5 1h5v4h-5v-4zm-5 0v-4h5v4h-5z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--white-color);
}

.cta-content .cta-title {
    color: var(--white-color);
    font-size: 2.8rem;
    font-weight: 800;
}

.cta-content .cta-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 20px auto 30px;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: var(--white-color);
    color: var(--secondary-color);
    border-color: var(--white-color);
}

.cta-section .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

/* ---------------------------------- */
/*      12. FOOTER                    */
/* ---------------------------------- */
.footer {
    background-color: white;
    color: var(--footer-text-color);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.footer-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.footer-shape.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--light-blue);
    bottom: -200px;
    right: -150px;
}


.footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-about-text {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-med);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-col-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--secondary-color);
    position: relative;
}

.footer-links ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    opacity: 0;
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 15px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

.footer-contact p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info a {
    color: var(--secondary-color);
}

.contact-info span {
    color: var(--secondary-color);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

/* ---------------------------------- */
/*      13. PAGE-SPECIFIC STYLES      */
/* ---------------------------------- */
/* (For Disclaimer, Privacy, Terms, Contact) */

body.subpage .header {
    background-color: var(--white-color);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

body.subpage .header .nav-link {
    color: var(--secondary-color);
}

body.subpage .header .mobile-toggle .bar {
    background-color: var(--secondary-color);
}

body.subpage .header .btn-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

body.subpage .header .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

body.subpage .nav-link.active,
body.subpage .nav-link:hover {
    color: var(--primary-color);
}


.page-header {
    padding: 180px 0 80px;
    background: var(--secondary-color);
    text-align: center;
    color: var(--white-color);
}

.page-header h1 {
    color: var(--white-color);
    font-size: 3rem;
}

.breadcrumbs {
    margin-top: 15px;
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--footer-text-color);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.page-content {
    padding: 100px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

.content-wrapper a {
    font-weight: 600;
}

.last-updated {
    margin-top: 40px;
    font-style: italic;
    color: var(--light-text-color);
    text-align: right;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* ---------------------------------- */
/*      14. CONTACT PAGE STYLES       */
/* ---------------------------------- */
.contact-hero {
    position: relative;
    padding: 200px 0 120px;
    background: var(--secondary-color);
    color: var(--white-color);
    overflow: hidden;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    color: var(--white-color);
    font-size: 3.5rem;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.contact-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
}

.contact-shape.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
}

.contact-shape.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
    background: var(--light-blue);
}

.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--white-color);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -150px;
    position: relative;
    z-index: 10;
}

.contact-info h2 {
    font-size: 2rem;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--lighter-bg-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.method-details p {
    margin-bottom: 0;
}

.method-details a {
    color: var(--text-color);
}

.method-details a:hover {
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition-med), box-shadow var(--transition-med);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 89, 60, 0.2);
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* --- Popup --- */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-med), visibility var(--transition-med);
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: transform var(--transition-med);
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-content h3 {
    color: var(--secondary-color);
}

.popup .btn {
    margin-top: 20px;
}


/* ---------------------------------- */
/*      15. ANIMATIONS & REVEAL       */
/* ---------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    transition-timing-function: var(--cubic-bezier);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------- */
/*      16. RESPONSIVENESS            */
/* ---------------------------------- */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-bottom: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-about .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-slider {
        height: auto;
        padding: 30px;
    }

    .testimonial-content {
        font-size: 1.1rem;
    }

    .slider-controls {
        display: none;
    }

    /* Hide on mobile for simplicity, could add dots instead */

    .page-header {
        padding: 150px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info li {
        justify-content: center;
        text-align: left;
    }

    .contact-wrapper {
        padding: 30px 20px;
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 10px;
    }
}