/* =====================================================
   WERSBERG MEDIAGROUP - Modern CSS Stylesheet
   ===================================================== */

/* CSS Variables */
:root {
    /* Colors - Red Accent Theme */
    --primary: #E63946;
    --primary-dark: #c5303c;
    --primary-light: #ff6b6b;
    --secondary: #1a1a2e;
    --accent: #16213e;
    --dark: #0f0f1a;
    --light: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E63946 0%, #8B0000 100%);
    --gradient-dark: linear-gradient(180deg, rgba(15, 15, 26, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(15, 15, 26, 0.3) 0%, rgba(15, 15, 26, 0.8) 100%);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1400px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(230, 57, 70, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* =====================================================
   LOADER
   ===================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    width: 80px;
    height: 80px;
}

.mountain-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawPath 2s ease forwards;
}

.mountain-path-small {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPath 2s ease 0.3s forwards;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    opacity: 0;
    animation: fadeIn 0.5s ease 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* =====================================================
   CUSTOM CURSOR
   ===================================================== */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.custom-cursor.hover, .cursor-follower.hover {
    transform: translate(-50%, -50%) scale(1.5);
}

@media (max-width: 1024px) {
    .custom-cursor, .cursor-follower {
        display: none;
    }
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--light);
}

.nav-logo-img {
    height: 45px;
    width: auto;
    transition: transform var(--transition-base);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    line-height: 1;
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    opacity: 0.7;
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--light);
    color: var(--light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-cta svg {
    transition: transform var(--transition-base);
}

.nav-cta:hover svg {
    transform: translateX(5px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light);
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transform: scale(1.1);
    transition: transform 10s ease;
}

.hero:hover .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 40px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: var(--primary);
    animation: slideDown 1s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    animation: fadeUp 1s ease 0.2s both;
}

.hero-title .highlight {
    color: var(--primary);
    font-family: var(--font-accent);
    font-style: italic;
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 10px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 20px;
    animation: fadeUp 1s ease 0.4s both;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeUp 1s ease 0.5s both;
}

.avatar-stack {
    display: flex;
}

.avatar-stack img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--dark);
    margin-left: -12px;
    object-fit: cover;
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.proof-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.proof-stars {
    color: #ffc107;
    font-size: 1rem;
}

.proof-label {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    animation: fadeUp 1s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeUp 1s ease 0.7s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--light);
}

.btn-outline:hover {
    background: var(--light);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn svg {
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(5px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }

    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* =====================================================
   CLIENTS MARQUEE
   ===================================================== */
.clients {
    padding: 60px 0;
    background: var(--secondary);
    overflow: hidden;
}

.clients-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: marquee 30s linear infinite;
}

.marquee-content img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%) brightness(2);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.marquee-content img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-tagline {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.about-text {
    color: var(--gray-400);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(230, 57, 70, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(230, 57, 70, 0.1);
    transition: all var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--dark);
}

.feature-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.feature-label {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.about-visual {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.2;
    z-index: 1;
}

.about-float-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--secondary);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.float-card-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.float-card-text {
    font-size: 0.9rem;
    color: var(--gray-400);
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--dark) 100%);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    transition: color var(--transition-base);
}

.service-card:hover .service-icon svg {
    color: var(--dark);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-tagline {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-list li svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 25px;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 15px;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PORTFOLIO / WORK SECTION
   ===================================================== */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item:nth-child(1) {
    grid-column: span 8;
    grid-row: span 2;
}

.portfolio-item:nth-child(2) {
    grid-column: span 4;
}

.portfolio-item:nth-child(3) {
    grid-column: span 4;
}

.portfolio-item:nth-child(4) {
    grid-column: span 6;
}

.portfolio-item:nth-child(5) {
    grid-column: span 6;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 26, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3),
    .portfolio-item:nth-child(4),
    .portfolio-item:nth-child(5) {
        grid-column: span 6;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3),
    .portfolio-item:nth-child(4),
    .portfolio-item:nth-child(5) {
        grid-column: span 12;
    }
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
}

.testimonials-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-card {
    padding: 60px;
}

.testimonial-quote {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.8;
    color: var(--gray-200);
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    line-height: 0;
    display: block;
    margin-bottom: 20px;
    font-family: var(--font-accent);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-role {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: var(--primary);
}

.contact-text {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item-icon {
    width: 60px;
    height: 60px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-item-content h4 {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.contact-item-content a,
.contact-item-content p {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color var(--transition-base);
}

.contact-item-content a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-300);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--light);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(230, 57, 70, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23E63946' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 50px;
}

.form-group select option {
    background: var(--dark);
    color: var(--light);
}

.form-submit {
    margin-top: 10px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--secondary);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background: url('assets/images/mountain-peak.jpg') center/cover;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--light);
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--gray-500);
    font-size: 1rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact .contact-item svg {
    color: var(--primary);
}

.footer-contact .contact-item a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-contact .contact-item a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    position: relative;
}

.footer-left {
    flex: 1;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-center iframe {
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.footer-center iframe:hover {
    opacity: 1;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.footer-legal {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.footer-legal a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-legal {
        flex: none;
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* =====================================================
   ANIMATIONS & UTILITIES
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.parallax {
    will-change: transform;
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow Effect */
.glow {
    box-shadow: var(--shadow-glow);
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-bg img {
        transform: none;
    }
}
