/* ============================================
   MM Media - Professional Website Styles
   Colors from Business Profile Logo:
   - Primary Navy: #3d5a80 (from logo)
   - Light Navy: #4d6a90
   - Dark Navy: #2d4a70
   - White: #ffffff
   - Light Gray: #f5f7fa
   - Accent Blue: #5b7ba5
============================================ */

/* CSS Variables */
:root {
    --primary: #3d5a80;
    --primary-light: #4d6a90;
    --primary-dark: #2d4a70;
    --accent: #5b7ba5;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #e8ecf1;
    --text-dark: #1a1a1a;
    --text-muted: #5a6a7a;
    --shadow: rgba(61, 90, 128, 0.1);
    --shadow-strong: rgba(61, 90, 128, 0.2);
    
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button, input, textarea, select {
    font-family: inherit;
    cursor: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Custom Cursor */
.cursor {
    width: 12px;
    height: 12px;
    background: #1a2e4a;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid #1a2e4a;
    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;
    opacity: 0.7;
}

.cursor.hover {
    width: 20px;
    height: 20px;
    background: #3d5a80;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: #3d5a80;
}

/* Light cursor for dark sections */
.cursor.on-dark {
    background: #ffffff;
}

.cursor-follower.on-dark {
    border-color: #ffffff;
}

.cursor.on-dark.hover {
    background: rgba(255, 255, 255, 0.8);
}

.cursor-follower.on-dark.hover {
    border-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }
    body {
        cursor: auto;
    }
    a, button {
        cursor: pointer;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.logo-loader {
    margin-bottom: 24px;
}

.logo-img {
    width: 120px;
    height: auto;
    animation: logoPulse 1.5s ease-in-out infinite;
    filter: brightness(0) invert(1);
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 32px;
}

.loader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px var(--shadow);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

#navbar.scrolled .nav-logo {
    color: var(--primary);
}

.nav-logo .logo-icon {
    width: 40px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

#navbar.scrolled .nav-logo .logo-icon {
    filter: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    transition: var(--transition-fast);
}

#navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--white);
    color: var(--primary) !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

#navbar.scrolled .nav-cta {
    background: var(--primary);
    color: var(--white) !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

#navbar.scrolled .mobile-menu-btn span {
    background: var(--primary);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 24px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.active .mobile-nav-links li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links a {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, -50px); }
    50% { transform: translate(0, -100px); }
    75% { transform: translate(-50px, -50px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    color: var(--white);
}

.title-line.highlight {
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

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

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
}

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

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent), transparent, var(--accent), transparent);
    animation: rotate 10s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.big-logo {
    width: 180px;
    height: auto;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.5; height: 40px; }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .visual-card {
        max-width: 280px;
    }
}

/* Section Styles */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Section */
.about {
    background: var(--white);
}

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

.about-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.about-card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.vision-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

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

/* Services Section */
.services {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 30px 80px var(--shadow);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 4rem;
    font-weight: 900;
    color: var(--light-gray);
    line-height: 1;
    transition: var(--transition);
}

.service-card:hover .service-number {
    color: rgba(30, 58, 95, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 28px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-features span {
    background: var(--light-gray);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.service-card:hover .service-features span {
    background: rgba(30, 58, 95, 0.1);
}

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

/* Values Section */
.values {
    background: var(--white);
    overflow: hidden;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow);
}

.value-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--light-gray);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition);
}

.value-card:hover .value-number {
    color: var(--accent);
}

.value-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.values-marquee {
    background: var(--primary);
    padding: 24px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 80px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0.8;
}

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

@media (max-width: 1100px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

/* Process Section */
.process {
    background: var(--light-gray);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--medium-gray);
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-marker {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.step-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    flex: 1;
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.process-step:hover .step-content {
    border-color: var(--primary);
    box-shadow: 0 20px 60px var(--shadow);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.step-tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        gap: 24px;
    }
    
    .step-marker {
        align-self: flex-start;
    }
}

/* Project Section */
.project {
    background: var(--primary-dark);
    color: var(--white);
}

.project .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.project .section-title {
    color: var(--white);
}

.project .section-title .highlight {
    color: var(--accent);
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-year {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.project-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.project-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.project-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.project-services span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-visual {
    display: flex;
    justify-content: center;
}

.project-card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-logo .logo-display {
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.client-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.project-badge {
    position: absolute;
    bottom: 24px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

@media (max-width: 968px) {
    .project-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .project-services {
        justify-content: center;
    }
    
    .project-info .btn {
        margin: 0 auto;
    }
}

/* Contact Section */
.contact {
    background: var(--white);
}

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

.contact-info .section-tag {
    margin-bottom: 20px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.contact-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--primary);
}

.contact-item:hover .contact-icon,
.contact-item:hover .contact-label,
.contact-item:hover .contact-value{
    color: var(--white);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    transition: var(--transition);
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-form-wrapper {
    background: var(--light-gray);
    border-radius: 24px;
    padding: 48px;
}

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

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

.contact-form .btn-primary {
    background: var(--primary);
    color: var(--white);
    margin-top: 8px;
}

.contact-form .btn-primary:hover {
    background: var(--primary-dark);
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info .section-title {
        text-align: center;
    }
    
    .contact-description {
        text-align: center;
    }
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-bg-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 48px;
    height: 40px;
}

.footer-logo-img {
    width: 48px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-credit {
    color: var(--accent) !important;
    font-weight: 600;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }






html, body {
    width: 100%;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .hero-content {
        gap: 30px;
    }
}

.container {
    width: 100%;
    overflow: hidden;
}

.visual-card {
    width: 100%;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-description {
        padding: 0 10px;
    }

    .hero-cta {
        justify-content: center;
    }
}

.visual-card {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.hero-content > div {
    width: 100%;
}

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

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

    .contact-info {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

section {
    padding: 80px 16px;
}

@media (max-width: 768px) {
    .contact-item {
        flex-direction: column;
        align-items: center; 
        text-align: center;
        padding: 24px 16px;
    }

    .contact-text {
        align-items: center; /* Ensures label and value are centered */
    }
}

.hero {
    overflow: hidden; /* This is already in your code, but double-check no child elements bypass it */
}

/* Force-kill any horizontal scroll lingering on mobile */
body {
    position: relative;
    width: 100%;
    max-width: 100vw;
}