:root {
    /* Color System */
    --primary: #3a86ff;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #4f46e5;
    --secondary-dark: #4338ca;
    --secondary-light: #818cf8;
    --accent: #7c3aed;
    --accent-dark: #6d28d9;
    --accent-light: #a78bfa;
    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --light: #f8fafc;
    --light-secondary: #f1f5f9;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-dark: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
    
    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

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

section {
    position: relative;
    padding: 4rem 0;
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 700;
    line-height: 1.1;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: all var(--transition-medium);
    background-color: transparent;
    background: rgba(0, 0, 0, 0.5);
}

.navbar.scrolled {
    background-color: var(--dark);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--light) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 1);
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Button Styles */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(-1px);
}

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

.btn-primary:hover, .btn-primary:focus {
    background: var(--gradient-primary);
    opacity: 0.9;
    color: white;
}

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

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

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

.btn-outline-light:hover {
    background-color: var(--light);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    margin: 5px 0;
    opacity: 0;
    animation: fadeInOut 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.5s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 1s;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(5px);
    }
}

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

.service-card {
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    overflow: hidden;
    border: none;
    border-radius: var(--radius-md);
    background-color: white;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    color: var(--dark);
    font-weight: 600;
}

.card-text {
    color: var(--gray-dark);
    flex-grow: 1;
}

.card-footer {
    background-color: transparent;
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
}

.pricing {
    font-size: 0.9rem;
    color: var(--gray);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.progress-container {
    margin-top: 1rem;
}

.progress-label {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.progress {
    height: 8px;
    border-radius: var(--radius-md);
    background-color: var(--light-secondary);
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
}

/* Custom Slider */
.custom-slider-container {
    position: relative;
    padding: 0 50px;
    margin: 3rem 0;
}

.custom-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}

.slider-item {
    min-width: 100%;
    transition: transform var(--transition-medium);
}

.package-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
    position: relative;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.package-card h4 {
    margin-bottom: 1rem;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.package-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.package-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.package-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.prev-btn, .next-btn {
    background: var(--light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary);
    color: white;
}

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

.process-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
}

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

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.process-image-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 1.25rem;
    background-color: white;
    color: var(--dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-button::after {
    background-size: 1.25rem;
}

.accordion-body {
    padding: 1.25rem;
}

/* Research Section */
.research-section {
    background-color: var(--light);
}

.research-image-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.research-content h3 {
    font-weight: 700;
}

.research-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.research-card {
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.research-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    background-color: var(--light-secondary);
}

.stat-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

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

.stats-chart-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* History Section */
.history-section {
    background-color: var(--light);
}

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

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

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    top: 15px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 12px;
    font-weight: 600;
    color: var(--primary);
}

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

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

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        left: 0 !important;
    }
    
    .timeline-dot {
        left: 21px !important;
        right: auto !important;
    }
    
    .timeline-date {
        position: relative !important;
        top: auto !important;
        left: 0 !important;
        right: auto !important;
        margin-bottom: 10px;
        display: inline-block;
    }
}

/* Resources Section */
.resources-section {
    background-color: var(--light-secondary);
}

.resource-card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

.resource-links li {
    margin-bottom: 0.5rem;
}

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

.resource-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.download-card {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-right: 1.5rem;
}

.download-content {
    flex: 1;
}

.download-content h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.download-content p {
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Sustainability Section */
.sustainability-section {
    background-color: var(--light);
}

.sustainability-image-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sustainability-content h3 {
    font-weight: 700;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-secondary);
}

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
    min-width: 24px;
}

.contact-text h4 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-text p {
    margin-bottom: 0;
    color: var(--gray-dark);
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 20px;
}

.testimonial-quote:before,
.testimonial-quote:after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-light);
    line-height: 0;
    position: absolute;
}

.testimonial-quote:before {
    top: 10px;
    left: 0;
}

.testimonial-quote:after {
    bottom: -5px;
    right: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary-light);
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-position {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-floating > label {
    padding-left: 1rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(58, 134, 255, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(58, 134, 255, 0.25);
}

/* Footer Section */
.footer-section {
    background-color: var(--dark);
    color: var(--light);
}

.footer-brand h3 {
    color: var(--light);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-light);
}

.footer-nav h4,
.footer-social h4,
.footer-newsletter h4 {
    color: var(--light);
    margin-bottom: 1rem;
}

.footer-nav .nav-link {
    color: var(--gray-light);
    padding-left: 0;
    transition: color var(--transition-fast);
}

.footer-nav .nav-link:hover {
    color: var(--light);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    color: var(--gray-light);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    color: var(--light);
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    color: var(--light);
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-light);
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: var(--light);
}

.newsletter-form .btn {
    padding: 0.5rem 1rem;
}

.footer-bottom {
    color: var(--gray-light);
}

.footer-bottom a {
    color: var(--gray-light);
    transition: color var(--transition-fast);
}

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

/* Parallax Effect */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Page specific styles */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    text-align: center;
}

.success-content {
    max-width: 600px;
    padding: 3rem;
}

.privacy-page, .terms-page {
    padding-top: 100px;
}

/* Animation for stats counter */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-stats .stat-number {
    animation: countUp 1s ease forwards;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .process-card, .stat-card, .sustainability-content {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .research-stats, .testimonial-author {
        flex-direction: column;
    }
    
    .testimonial-image {
        margin-bottom: 1rem;
    }
    
    .download-card {
        flex-direction: column;
    }
    
    .download-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .package-card {
        padding: 1.5rem;
    }
}