/* Root Variables */
:root {
    /* Primary Colors */
    --primary: #94c2bd;
    --primary-dark: #7ba8a3;
    --primary-light: #b6d9d5;
    
    /* Secondary Colors */
    --secondary: #f5b5c8;
    --secondary-dark: #e095ad;
    --secondary-light: #ffd9e4;
    
    /* Accent Colors */
    --accent-1: #fde2c8;
    --accent-2: #c8e6fa;
    --accent-3: #d8c8fa;
    
    /* Neutral Colors */
    --dark: #333333;
    --light: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* 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.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    
    /* Typography */
    --font-family-heading: 'Raleway', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-family-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-family-heading);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
    color: var(--gray-800);
}

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

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-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    text-align: center;
    position: relative;
    color: var(--gray-800);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--gray-600);
}

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

html {
    overflow-x: hidden;
}

/* Button Styles */
.btn, 
button,
input[type="submit"] {
    display: inline-block;
    font-weight: var(--font-weight-semibold);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    font-family: var(--font-family-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.btn:hover, 
button:hover,
input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:active, 
button:active,
input[type="submit"]:active {
    transform: translateY(1px);
}

.btn-primary,
.btn-primary:visited {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light);
}

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

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

.btn-secondary,
.btn-secondary:visited {
    background-color: var(--secondary);
    color: var(--gray-800);
    border-color: var(--secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--gray-800);
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: var(--secondary);
    color: var(--gray-800);
}

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

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

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

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

/* Header & Navigation */
.header {
    transition: all var(--transition-normal);
    background-color: var(--light);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--gray-700);
    font-weight: var(--font-weight-semibold);
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link:focus:after,
.navbar-nav .nav-link.active:after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--light);
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1;
}

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

.hero-section h1 {
    color: var(--light);
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    color: var(--light);
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Statistics Section */
.statistics-section {
    padding: var(--space-xxl) 0;
    background-color: var(--gray-100);
}

.stat-card {
    transition: all var(--transition-normal);
    text-align: center;
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    background-color: var(--light);
}

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

.stat-icon {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    color: var(--gray-800);
}

.stat-title {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.progress {
    height: 8px;
    background-color: var(--gray-200);
    border-radius: var(--radius-sm);
    margin-top: var(--space-md);
}

.progress-bar {
    background-color: var(--primary);
    border-radius: var(--radius-sm);
}

/* Services Section */
.services-section {
    padding: var(--space-xxl) 0;
}

.services-section .card {
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.services-section .card-image {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.services-section .card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.services-section .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
}

.services-section h3 {
    color: var(--gray-800);
    margin-bottom: var(--space-md);
}

.services-section p {
    flex: 1;
    margin-bottom: var(--space-lg);
}

/* Projects Section */
.projects-section {
    padding: var(--space-xxl) 0;
    background-color: var(--gray-100);
}

.projects-section .card {
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.projects-section .card-image {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.projects-section .card-img-top {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.projects-section .card-content {
    flex: 1;
    padding: var(--space-lg);
}

.projects-section h3 {
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.projects-section p {
    margin-bottom: 0;
}

/* Resources Section */
.resources-section {
    padding: var(--space-xxl) 0;
}

.resources-section .card {
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.resources-section .card-image {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.resources-section .card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.resources-section .card-content {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
}

.resources-section h3 {
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.resources-section p {
    flex: 1;
    margin-bottom: var(--space-md);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-xxl) 0;
    background-color: var(--gray-100);
}

.accordion-item {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-800);
    background-color: var(--light);
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: none;
}

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

.accordion-button::after {
    background-size: 1.25rem;
    transition: all var(--transition-normal);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--light);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--space-xxl) 0;
}

.testimonials-section .card {
    transition: all var(--transition-normal);
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.testimonial-stars {
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
}

.testimonials-section .rounded-circle {
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    padding: var(--space-xxl) 0;
    background-color: var(--gray-100);
}

.contact-info, .contact-form {
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(148, 194, 189, 0.25);
}

.form-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(148, 194, 189, 0.25);
}

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

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--light);
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xl);
}

.footer h4 {
    color: var(--light);
    margin-bottom: var(--space-lg);
}

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

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

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

.footer .list-unstyled li {
    margin-bottom: var(--space-sm);
}

.footer hr {
    border-color: var(--gray-700);
}

.social-links a {
    display: inline-block;
    margin-right: var(--space-md);
    font-weight: var(--font-weight-semibold);
    transition: color var(--transition-fast);
}

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

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

.success-card {
    background-color: var(--light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    max-width: 600px;
    width: 100%;
}

.success-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

/* Privacy & Terms Pages */
.page-content {
    padding-top: 120px;
    padding-bottom: var(--space-xxl);
}

.page-content h1 {
    margin-bottom: var(--space-xl);
}

.page-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

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

.page-content ul, .page-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.page-content li {
    margin-bottom: var(--space-sm);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light);
    padding: var(--space-md);
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    padding: var(--space-xs) 0;
    color: var(--light);
}

.cookie-buttons {
    display: flex;
    align-items: center;
}

.btn-accept {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-right: var(--space-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.cookie-link {
    color: var(--light);
    text-decoration: underline;
}

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

/* Modal */
.modal-content {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background-color: var(--light);
    border-bottom: none;
}

.modal-body {
    padding: var(--space-xl);
}

.modal-footer {
    border-top: none;
    padding: var(--space-lg);
}

.text-success {
    color: #28a745 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
    
    .btn-lg {
        padding: 0.8rem 1.6rem;
        font-size: 1.1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        margin-top: var(--space-md);
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .stat-card {
        padding: var(--space-lg);
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}