:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --accent-color: #F7B801;
    --complementary-color: #00C9A7;
    --dark-bg: #1A1A2E;
    --light-bg: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --text-muted: #6C757D;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7B801 100%);
    --gradient-secondary: linear-gradient(135deg, #004E89 0%, #00C9A7 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 78, 137, 0.9) 0%, rgba(255, 107, 53, 0.9) 100%);
    --transition-base: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --border-radius: 12px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 48px;
    --spacing-xl: 64px;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-weight: 400;
}

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

a:hover {
    color: var(--secondary-color);
}

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

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: morphWidth 3s ease-in-out infinite;
}

@keyframes morphWidth {
    0%, 100% {
        width: 80px;
    }
    50% {
        width: 120px;
    }
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-submit {
    width: 100%;
    margin-top: var(--spacing-sm);
}

button {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

input[type='submit'] {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    width: 100%;
}

input[type='submit']:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--text-light);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-base);
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

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

.burger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-menu li a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition-base);
    position: relative;
    white-space: nowrap;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav-menu li a:hover::after {
    width: 80%;
}

.nav-menu li a:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: var(--spacing-xl) 0;
    margin-top: 70px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.8) 0%, rgba(255, 107, 53, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.hero-title {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    animation: morphScale 2s ease-in-out infinite;
}

@keyframes morphScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--text-dark);
}

.about-image {
    position: relative;
    animation: morphFloat 4s ease-in-out infinite;
}

@keyframes morphFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.features-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: morphRotate 20s linear infinite;
}

@keyframes morphRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--text-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.feature-card:hover::before {
    left: 0;
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: var(--spacing-sm);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morphPulse 2s ease-in-out infinite;
}

@keyframes morphPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

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

.methodology-section {
    padding: var(--spacing-xl) 0;
    background: var(--dark-bg);
    color: var(--text-light);
}

.methodology-section .section-title {
    color: var(--text-light);
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    animation: morphSlideIn 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes morphSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-marker {
    min-width: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    flex: 1;
}

.timeline-content h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.team-section {
    padding: var(--spacing-xl) 0;
    background: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

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

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

.card-content {
    padding: var(--spacing-md);
    text-align: center;
    width: 100%;
}

.card-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.card-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

.team-card {
    text-align: center;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.awards-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.statistics-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

.awards-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.award-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.award-item:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: var(--shadow-md);
}

.award-item img {
    margin: 0 auto var(--spacing-sm);
    max-width: 150px;
    height: auto;
    animation: morphBounce 2s ease-in-out infinite;
}

@keyframes morphBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.award-item p {
    color: var(--text-dark);
    font-weight: 600;
}

.blog-section {
    padding: var(--spacing-xl) 0;
    background: var(--text-light);
}

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

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

.carousel-track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease;
}

.blog-card {
    min-width: calc(33.333% - var(--spacing-md));
    flex-shrink: 0;
}

.blog-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.news-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #E9ECEF 0%, #F8F9FA 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.news-item {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.news-content {
    padding: var(--spacing-md);
}

.news-date {
    color: var(--complementary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.news-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.resources-section {
    padding: var(--spacing-xl) 0;
    background: var(--dark-bg);
}

.resources-section .section-title {
    color: var(--text-light);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.resource-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.resource-card h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.resource-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.resource-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.resource-link:hover {
    color: var(--complementary-color);
    transform: translateX(5px);
}

.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-item h4 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: underline;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-form-container {
    background: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition-base);
    background: var(--text-light);
    color: var(--text-dark);
}

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

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

input {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition-base);
    background: var(--text-light);
    color: var(--text-dark);
    width: 100%;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition-base);
    background: var(--text-light);
    color: var(--text-dark);
    width: 100%;
    resize: vertical;
    min-height: 120px;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.faq-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--text-light);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--text-light);
    transition: var(--transition-base);
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition-base);
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--spacing-md);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

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

.social-links li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: var(--transition-base);
    display: inline-block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.page-header {
    padding: 140px 0 var(--spacing-xl);
    background: var(--gradient-secondary);
    color: var(--text-light);
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header h1 {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.page-content {
    padding: 100px 0 var(--spacing-xl);
    background: var(--text-light);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.content-wrapper h3 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.content-wrapper p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--text-dark);
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.content-wrapper ul li,
.content-wrapper ol li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
    color: var(--text-dark);
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    padding: var(--spacing-xl) var(--spacing-md);
}

.success-content {
    text-align: center;
    max-width: 600px;
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: morphScaleIn 0.6s ease-out;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    animation: morphPulse 2s ease-in-out infinite;
}

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

.success-content p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

/* ===== About page: mission & achievements ===== */
.mission-section,
.achievements-section {
    margin-bottom: var(--spacing-lg);
}

.mission-section h3,
.achievements-section h3 {
    color: var(--primary-color);
    margin-top: var(--spacing-md);
}

.mission-section ul,
.achievements-section ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.mission-section ul li,
.achievements-section ul li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: var(--text-dark);
}

/* ===== About page: testimonials ===== */
.testimonials-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.testimonial-card {
    padding-top: var(--spacing-md);
}

.testimonial-card .card-image {
    width: auto;
}

.testimonial-card .image-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-card .image-container img {
    border-radius: 50%;
}

.testimonial-card .card-content p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.testimonial-card .card-content h4 {
    margin-bottom: 4px;
    color: var(--text-dark);
}

.testimonial-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    font-style: normal;
}

/* ===== About page: gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ===== About page: call to action ===== */
.cta-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--gradient-overlay);
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.cta-section h2 {
    color: var(--text-light);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Contact page: map ===== */
.map-section {
    margin-top: var(--spacing-xl);
}

.map-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    line-height: 0;
}

.map-container iframe {
    display: block;
    width: 100%;
    border: 0;
}

/* ===== Contact page: additional info ===== */
.additional-info {
    margin-top: var(--spacing-xl);
}

.additional-info h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.info-card {
    background: var(--light-bg);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

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

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

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

/* ===== Legal pages: action buttons ===== */
.page-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

/* Secondary button needs a visible outline on light backgrounds */
.page-actions .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--text-light);
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transition: left 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-lg) 0;
        background-attachment: scroll;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .page-actions .btn {
        flex: 1;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .timeline-marker {
        min-width: 40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

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

    .statistics-widget {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card {
        min-width: 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

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

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

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

    .awards-gallery {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 120px 0 var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .statistics-widget {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}