/* CSS Variables - Triadic Color Scheme */
:root {
    /* Primary Triadic Colors */
    --primary-color: #3498db;
    --secondary-color: #e74c3c;
    --tertiary-color: #2ecc71;
    
    /* Color Variations */
    --primary-dark: #2980b9;
    --primary-light: #5dade2;
    --secondary-dark: #c0392b;
    --secondary-light: #ec7063;
    --tertiary-dark: #27ae60;
    --tertiary-light: #58d68d;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --dark-gray: #2c3e50;
    --medium-gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark));
    --gradient-hero: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--tertiary-color));
    
    /* Shadows and Effects */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-3d: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Merriweather', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Borders */
    --border-radius: 12px;
    --border-radius-large: 20px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Button Styles */
.btn, .button {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn::before, .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-medium);
}

.btn:hover::before, .button:hover::before {
    left: 100%;
}

.btn:hover, .button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-3d);
}

.btn.is-primary, .button.is-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn.is-secondary, .button.is-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn.is-tertiary, .button.is-tertiary {
    background: var(--gradient-tertiary);
    color: var(--white);
}

.btn.is-outlined, .button.is-outlined {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.is-outlined:hover, .button.is-outlined:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Input Styles */
.input, .textarea, .select select {
    font-family: var(--font-body);
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    background: var(--white);
    width: 100%;
}

.input:focus, .textarea:focus, .select select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

/* Header Styles */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

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

.navbar-item {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-item:hover::after {
    width: 100%;
}

.navbar-item:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(231, 76, 60, 0.8));
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: heroFadeIn 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--white) !important;
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: heroFadeIn 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--white) !important;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: heroFadeIn 1s ease-out 0.6s both;
}

.hero-buttons {
    animation: heroFadeIn 1s ease-out 0.9s both;
}

.hero-buttons .button {
    margin: 0 var(--spacing-xs);
}

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

/* Section Styles */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateX(-50%);
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

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

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

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
}

.about-card {
    height: 100%;
}

/* Methodology Section */
.methodology-section {
    background: var(--white);
    position: relative;
}

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

.timeline {
    position: relative;
    padding: var(--spacing-md) 0;
}

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

.timeline-item {
    position: relative;
    margin: var(--spacing-lg) 0;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: var(--spacing-md);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: var(--spacing-md);
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-medium);
}

.timeline-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.timeline-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: scale(1.02);
}

.progress-indicator {
    margin-top: var(--spacing-sm);
}

.progress {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress::-webkit-progress-bar {
    background: var(--light-gray);
    border-radius: 4px;
}

.progress::-webkit-progress-value {
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Behind the Scenes Section */
.behind-scenes-section {
    background: linear-gradient(135deg, var(--primary-light), var(--tertiary-light));
    position: relative;
}

.behind-scenes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('image/business-texture-pattern.jpg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.behind-scenes-section .container {
    position: relative;
    z-index: 2;
}

.behind-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform var(--transition-medium);
}

.carousel-item {
    min-width: 100%;
    padding: 0 var(--spacing-sm);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    padding: var(--spacing-md);
    position: relative;
    margin: 0 auto;
    max-width: 600px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    opacity: 0.3;
}

.testimonial-card .media-left img {
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

/* Resources Section */
.resources-section {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
}

.resource-card {
    height: 100%;
    transition: all var(--transition-medium);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.resource-card .button {
    margin-top: auto;
}

/* Press Section */
.press-section {
    background: var(--white);
}

.press-card {
    height: 100%;
}

.press-card .card-image {
    height: 200px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

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

.contact-section .section-title::after {
    background: var(--white);
}

.contact-info-card,
.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
}

.contact-item {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child {
    border-bottom: none;
}

.consultation-benefits ul {
    list-style: none;
    padding: 0;
}

.consultation-benefits li {
    margin-bottom: var(--spacing-xs);
    color: var(--tertiary-color);
}

.consultation-form .field {
    margin-bottom: var(--spacing-sm);
}

.consultation-submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Footer */
.footer-section {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--white);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-3d);
    max-width: 500px;
    width: 90%;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-card-head {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.modal-card-body {
    padding: var(--spacing-md);
}

.modal-card-foot {
    padding: var(--spacing-md);
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
    text-align: right;
}

/* Success Page Styles */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    text-align: center;
}

.success-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-3d);
    max-width: 600px;
    width: 90%;
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.success-content p {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

/* Privacy and Terms Pages */
.privacy-page,
.terms-page {
    padding-top: 100px;
    min-height: 100vh;
}

.privacy-page .container,
.terms-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.privacy-page h1,
.terms-page h1 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.privacy-page h2,
.terms-page h2 {
    color: var(--text-dark);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-xs);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

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

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding-left: var(--spacing-md);
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.4rem; }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons .button {
        display: block;
        margin: var(--spacing-xs) 0;
        width: 100%;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        padding-left: var(--spacing-sm);
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

/* Cookie Popup */
.cookie-popup {
    font-family: var(--font-body);
    line-height: 1.6;
}

.cookie-popup .container {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-popup .button {
    margin: 0 5px;
}

/* Read More Links */
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all var(--transition-fast);
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--light-gray);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-large);
}

/* 3D Transform Effects */
.transform-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d {
    transition: transform var(--transition-medium);
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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