/* === Base Styles and Variables === */
:root {
    /* Primary Colors */
    --primary-100: #f8e8ff;
    --primary-200: #e9c2ff;
    --primary-300: #d69cff;
    --primary-400: #c275ff;
    --primary-500: #af4eff;
    --primary-600: #9427ff;
    --primary-700: #7a00ff;

    /* Secondary Colors */
    --secondary-100: #e8f8ff;
    --secondary-200: #c2e9ff;
    --secondary-300: #9cd6ff;
    --secondary-400: #75c2ff;
    --secondary-500: #4eafff;
    --secondary-600: #2794ff;
    --secondary-700: #007aff;

    /* Accent Colors */
    --accent-100: #fff8e8;
    --accent-200: #ffe9c2;
    --accent-300: #ffd69c;
    --accent-400: #ffc275;
    --accent-500: #ffaf4e;
    --accent-600: #ff9427;
    --accent-700: #ff7a00;

    /* Neutral Colors */
    --neutral-100: #ffffff;
    --neutral-200: #f5f5f5;
    --neutral-300: #e0e0e0;
    --neutral-400: #bdbdbd;
    --neutral-500: #9e9e9e;
    --neutral-600: #757575;
    --neutral-700: #616161;
    --neutral-800: #424242;
    --neutral-900: #212121;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);

    /* 3D Effects */
    --depth-1: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07);
    --depth-2: 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07);
    --depth-3: 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07);
    --depth-4: 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Merriweather', serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-md: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* Z-index */
    --z-negative: -1;
    --z-elevate: 1;
    --z-dropdown: 10;
    --z-sticky: 100;
    --z-drawer: 200;
    --z-modal: 300;
    --z-popover: 400;
    --z-toast: 500;
    --z-tooltip: 600;
}

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-100);
    overflow-x: hidden;
    min-height: 100vh;
}

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

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

ul, ol {
    list-style: none;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--neutral-900);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
}

/* === Layout === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: 2.5rem;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-500);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

/* === Buttons === */
.btn, button, input[type='submit'] {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    box-shadow: var(--depth-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: all var(--transition-normal);
    z-index: var(--z-negative);
}

.btn:hover::before {
    transform: translateX(0);
}

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

.btn-primary:hover {
    background-color: var(--primary-700);
    box-shadow: var(--depth-2);
    transform: translateY(-2px);
    color: white;
}

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

.btn-secondary:hover {
    background-color: var(--secondary-700);
    box-shadow: var(--depth-2);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-600);
    color: var(--primary-600);
}

.btn-outline:hover {
    background-color: var(--primary-600);
    color: white;
    box-shadow: var(--depth-2);
    transform: translateY(-2px);
}

/* === Header and Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: background-color var(--transition-normal);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-600);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.logo:hover {
    color: var(--primary-700);
    transform: scale(1.05);
}

.logo-text {
    background: linear-gradient(45deg, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    transform: perspective(500px) translateZ(0);
    transition: transform var(--transition-normal);
}

.logo:hover .logo-text {
    transform: perspective(500px) translateZ(10px);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: var(--space-lg);
}

.nav-link {
    color: var(--neutral-800);
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
    padding: var(--space-sm) 0;
}

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

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

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

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

/* === Hero Section === */
.hero {
    position: relative;
    padding: 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
    margin-top: 80px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    z-index: var(--z-elevate);
}

.hero-content {
    position: relative;
    z-index: var(--z-elevate);
    max-width: 800px;
    text-align: center;
    padding: var(--space-2xl);
    transform: translateY(0);
    transition: transform var(--transition-slow);
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: perspective(500px) translateZ(0);
    transition: transform var(--transition-normal);
}

.hero:hover .hero-title {
    transform: perspective(500px) translateZ(30px);
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    color: white;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

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

/* === About Section === */
.about {
    background-color: var(--neutral-100);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--primary-100);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: var(--z-negative);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.about-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--depth-3);
    transform: perspective(1000px) rotateY(0);
    transition: all var(--transition-normal);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(5deg);
    box-shadow: var(--depth-4);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-normal);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    padding-left: var(--space-lg);
}

.about-text h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-sm);
}

.about-text p {
    margin-bottom: var(--space-lg);
    color: var(--neutral-700);
}

/* === History Section === */
.history {
    background-color: var(--secondary-100);
    position: relative;
    overflow: hidden;
}

.history::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: var(--secondary-200);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    z-index: var(--z-negative);
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-300);
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-2xl);
    display: flex;
    justify-content: flex-start;
    width: 50%;
    left: 0;
    padding-right: var(--space-2xl);
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: var(--space-2xl);
    justify-content: flex-end;
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 120px;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--primary-500);
    color: white;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: var(--depth-2);
    z-index: var(--z-elevate);
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -60px;
}

.timeline-content {
    background-color: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--depth-2);
    transition: all var(--transition-normal);
    max-width: 80%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--depth-3);
}

.timeline-content h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--neutral-700);
}

/* === Services Section === */
.services {
    background-color: var(--neutral-100);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: var(--accent-100);
    border-radius: 50%;
    top: -175px;
    right: -175px;
    z-index: var(--z-negative);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: var(--space-xl);
}

.card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--depth-2);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--depth-3);
}

.card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    text-align: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
    margin: 0 auto;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--space-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.card-content h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
}

.card-content p {
    color: var(--neutral-700);
    margin-bottom: var(--space-lg);
}

/* === Instructors Section === */
.instructors {
    background-color: var(--primary-100);
    position: relative;
    overflow: hidden;
}

.instructors::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--primary-200);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    z-index: var(--z-negative);
}

.instructor-slider {
    position: relative;
    overflow: hidden;
    padding: var(--space-md) 0;
}

.instructor-track {
    display: flex;
    gap: var(--space-xl);
    transition: transform var(--transition-normal);
}

.instructor-track .card {
    min-width: 300px;
    flex: 1;
}

.instructor-track .card-image {
    height: 300px;
    width: 300px;
    border-radius: 50%;
    margin: var(--space-lg) auto;
    overflow: hidden;
}

.instructor-track .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-position {
    color: var(--primary-500);
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.instructor-bio {
    color: var(--neutral-700);
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
    gap: var(--space-md);
}

.prev-btn, .next-btn {
    background-color: var(--primary-500);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    box-shadow: var(--depth-1);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-600);
    box-shadow: var(--depth-2);
    transform: translateY(-2px);
}

.arrow {
    font-size: 1.2rem;
}

/* === Case Studies Section === */
.case-studies {
    background-color: var(--neutral-100);
    position: relative;
}

.case-studies::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: var(--secondary-100);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    z-index: var(--z-negative);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.case-results {
    display: flex;
    justify-content: space-around;
    margin-top: var(--space-lg);
    width: 100%;
}

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

.result-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-600);
}

.result-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--neutral-600);
}

/* === Resources Section === */
.resources {
    background-color: var(--accent-100);
    position: relative;
    overflow: hidden;
}

.resources::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: var(--accent-200);
    border-radius: 50%;
    bottom: -175px;
    right: -175px;
    z-index: var(--z-negative);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.resource-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--depth-2);
    transition: all var(--transition-normal);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--depth-3);
}

.resource-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
}

.resource-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.resource-card h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-sm);
}

.resource-card p {
    color: var(--neutral-700);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.resource-link {
    color: var(--primary-600);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all var(--transition-normal);
}

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

.resource-link:hover {
    color: var(--primary-700);
}

.resource-link:hover::after {
    width: 100%;
}

/* === Customer Stories Section === */
.customer-stories {
    background-color: var(--neutral-100);
    position: relative;
}

.customer-stories::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: var(--primary-100);
    border-radius: 50%;
    top: -175px;
    right: -175px;
    z-index: var(--z-negative);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    padding: var(--space-md);
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--depth-2);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -30px;
    left: 30px;
    font-size: 6rem;
    color: var(--primary-300);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    position: relative;
    z-index: var(--z-elevate);
    margin-bottom: var(--space-lg);
    color: var(--neutral-700);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-300);
}

.author-info h4 {
    margin-bottom: var(--space-xs);
    color: var(--primary-600);
}

.author-info p {
    margin-bottom: 0;
    color: var(--neutral-600);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-xl);
    gap: var(--space-md);
}

.testimonial-dots {
    display: flex;
    gap: var(--space-sm);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--neutral-300);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background-color: var(--primary-500);
    transform: scale(1.3);
}

.testimonial-prev, .testimonial-next {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-600);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.testimonial-prev:hover, .testimonial-next:hover {
    color: var(--primary-700);
    transform: scale(1.2);
}

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

/* === Blog Section === */
.blog {
    background-color: var(--secondary-100);
    position: relative;
    overflow: hidden;
}

.blog::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: var(--secondary-200);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    z-index: var(--z-negative);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    color: var(--neutral-600);
    font-size: 0.9rem;
}

.blog-date, .blog-author {
    color: var(--primary-500);
}

.blog-more {
    text-align: center;
    margin-top: var(--space-2xl);
}

.card .btn-outline {
    margin-top: auto;
}

/* === Contact Section === */
.contact {
    background-color: var(--neutral-100);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: var(--accent-100);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: var(--z-negative);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-content h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-xs);
}

.info-content p {
    color: var(--neutral-700);
    margin-bottom: 0;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--depth-2);
    margin-top: var(--space-lg);
}

.contact-map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.contact-form-container {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--depth-3);
}

.contact-form-container h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-sm);
}

.contact-form-container p {
    color: var(--neutral-700);
    margin-bottom: var(--space-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.form-group input, .form-group select, .form-group textarea {
    padding: var(--space-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(175, 78, 255, 0.1);
}

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

/* === Footer === */
.footer {
    background-color: var(--neutral-800);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    top: -250px;
    left: -250px;
    z-index: var(--z-negative);
}

.footer::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    z-index: var(--z-negative);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo a {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: var(--space-md);
    display: inline-block;
}

.footer-logo p {
    color: var(--neutral-400);
}

.footer-links-column h3 {
    color: var(--primary-300);
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
}

.footer-links-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links-column a {
    color: var(--neutral-300);
    transition: all var(--transition-normal);
    display: inline-block;
    position: relative;
}

.footer-links-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-300);
    transition: width var(--transition-normal);
}

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

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--neutral-300);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    color: var(--primary-300);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--neutral-500);
}

/* === Success Page === */
.success-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--neutral-100);
    text-align: center;
    padding: var(--space-lg);
}

.success-content {
    max-width: 600px;
    padding: var(--space-2xl);
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--depth-3);
    animation: fadeInUp 1s ease-out;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-lg);
}

.success-title {
    color: var(--primary-600);
    margin-bottom: var(--space-md);
}

.success-text {
    color: var(--neutral-700);
    margin-bottom: var(--space-lg);
}

/* === Terms & Privacy Pages === */
.terms-page, .privacy-page {
    padding-top: 100px;
    background-color: var(--neutral-100);
}

.terms-content, .privacy-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--depth-2);
}

.terms-title, .privacy-title {
    color: var(--primary-600);
    margin-bottom: var(--space-lg);
}

.terms-section, .privacy-section {
    margin-bottom: var(--space-xl);
}

.terms-section h3, .privacy-section h3 {
    color: var(--primary-500);
    margin-bottom: var(--space-md);
}

.terms-section p, .privacy-section p {
    color: var(--neutral-700);
    margin-bottom: var(--space-md);
}

.terms-section ul, .privacy-section ul {
    list-style: disc;
    margin-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.terms-section li, .privacy-section li {
    color: var(--neutral-700);
    margin-bottom: var(--space-sm);
}

/* === Media Queries === */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 95%;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }

    .about-content {
        flex-direction: column;
    }

    .about-image, .about-text {
        width: 100%;
    }

    .about-text {
        padding-left: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }

    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: white;
        overflow: hidden;
        transition: height var(--transition-normal);
        box-shadow: var(--shadow-md);
        z-index: var(--z-dropdown);
    }

    .main-nav.active {
        height: calc(100vh - 80px);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        padding: var(--space-lg);
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: var(--space-lg);
    }

    .nav-link {
        display: block;
        font-size: 1.2rem;
    }

    .services-grid, .case-studies-grid, .blog-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 60px;
    }

    .timeline-date {
        width: 100px;
        font-size: 0.9rem;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        max-width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 85%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}