/* ==============================================
   TA3 SE7 - Student Hub for Morocco
   CSS Principal - Version Complète
   ============================================== */

/* === VARIABLES CSS === */
:root {
    /* Couleurs Principales */
    --primary-50: #f0fdf4;
    --primary-100: #dcfce7;
    --primary-500: #22c55e;
    --primary-600: #16a34a;
    --primary-700: #15803d;
    
    /* Couleurs Secondaires */
    --secondary-500: #3b82f6;
    --secondary-600: #2563eb;
    
    /* Couleurs Accent */
    --accent-400: #facc15;
    --accent-500: #eab308;
    
    /* Couleurs Neutres */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    
    /* Typographie */
    --font-primary: 'Inter', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Animations */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* === UTILITAIRES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 700px;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-description {
    margin: 0 auto;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-600);
}

.logo i {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-600);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background: var(--gray-100);
}

.lang-btn.active {
    background: var(--primary-500);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--gray-900);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-500) 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-600);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
    background: var(--accent-500);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-400);
    transform: translateY(-2px);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* === SERVICES SECTION === */
.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-500);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
    border-color: var(--primary-500);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-500);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.service-features i {
    color: var(--primary-500);
    font-size: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    transition: var(--transition-normal);
}

.service-link:hover {
    gap: 1rem;
}

/* === WHY CHOOSE US === */
.why-choose-us {
    padding: 6rem 0;
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.why-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.why-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.why-feature-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.why-feature-item p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.why-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-600);
}

.card-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.card-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.floating-card.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 40%;
    right: 0;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

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

/* === TESTIMONIALS === */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--primary-500);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: var(--accent-500);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--gray-900);
}

.author-info {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* === CTA SECTION === */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content i {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-reassurance {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* === PAGE HERO === */
.page-hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-700);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.page-description {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.psychological-hero .hero-background {
    background: linear-gradient(135deg, #fef3c7 0%, #dbeafe 100%);
}

.academic-hero .hero-background {
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
}

.resources-hero .hero-background {
    background: linear-gradient(135deg, #fce7f3 0%, #dbeafe 100%);
}

.contact-hero .hero-background {
    background: linear-gradient(135deg, #d1fae5 0%, #bfdbfe 100%);
}

/* === EMERGENCY BANNER === */
.emergency-banner {
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.emergency-banner i {
    font-size: 2rem;
    color: #dc2626;
}

.emergency-banner strong {
    display: block;
    color: #991b1b;
    margin-bottom: 0.25rem;
}

.emergency-banner a {
    color: #dc2626;
    font-weight: 600;
    text-decoration: underline;
}

/* === CONTENT SECTION === */
.content-section {
    padding: 6rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.content-text p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.image-placeholder {
    background: var(--gray-100);
    border-radius: 20px;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.highlight-box {
    background: var(--primary-50);
    border-left: 4px solid var(--primary-500);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-box i {
    font-size: 1.5rem;
    color: var(--primary-600);
}

.stats-inline {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-inline-item {
    text-align: left;
}

/* === ISSUES SECTION === */
.issues-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.issue-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.issue-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.issue-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.issue-card p {
    color: var(--gray-600);
    font-size: 0.938rem;
}

/* === PSYCHOLOGICAL SERVICES === */
.psychological-services {
    padding: 6rem 0;
    background: white;
}

.services-detailed {
    display: grid;
    gap: 2rem;
}

.service-detailed-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    transition: var(--transition-normal);
}

.service-detailed-card:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-lg);
}

.service-detailed-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.service-detailed-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-detailed-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
}

.service-checklist i {
    color: var(--primary-500);
}

/* === SELF CARE SECTION === */
.self-care-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.self-care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.self-care-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
    position: relative;
}

.self-care-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-500);
    box-shadow: var(--shadow-lg);
}

.self-care-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.self-care-card i {
    font-size: 3rem;
    color: var(--primary-500);
    margin-bottom: 1rem;
}

.self-care-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.self-care-card p {
    color: var(--gray-600);
    font-size: 0.938rem;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 6rem 0;
    background: white;
}

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

.faq-item {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-500);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    background: white;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question i {
    color: var(--primary-500);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* === ACADEMIC SECTIONS === */
.academic-services {
    padding: 6rem 0;
    background: var(--gray-50);
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.academic-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
}

.academic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-500);
}

.academic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-500), #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.academic-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.938rem;
}

.feature-list i {
    color: var(--secondary-500);
}

/* === TECHNIQUES SECTION === */
.techniques-section {
    padding: 6rem 0;
    background: white;
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.technique-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.technique-card:hover {
    border-color: var(--secondary-500);
    box-shadow: var(--shadow-lg);
}

.technique-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.technique-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-600);
    font-size: 1.5rem;
}

.technique-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.technique-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.technique-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step {
    background: var(--gray-50);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.938rem;
    color: var(--gray-700);
}

.technique-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item i {
    color: var(--secondary-500);
}

.technique-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.timeline-item {
    background: var(--secondary-100);
    color: var(--secondary-700);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* === TIPS SECTION === */
.tips-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
}

.tip-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-500);
    box-shadow: var(--shadow-md);
}

.tip-card i {
    font-size: 2rem;
    color: var(--secondary-500);
    margin-bottom: 1rem;
}

.tip-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tip-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* === RESOURCES CATEGORIES === */
.resources-categories {
    padding: 6rem 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.category-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.category-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.category-list li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.938rem;
    border-bottom: 1px solid var(--gray-100);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--gray-100);
    color: var(--gray-900);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

/* === DOWNLOADS === */
.downloads-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.download-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
}

.download-card:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-md);
}

.download-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.download-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.download-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-500);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.download-btn:hover {
    background: var(--primary-600);
    transform: scale(1.1);
}

/* === USEFUL LINKS === */
.useful-links {
    padding: 6rem 0;
    background: white;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.link-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.link-category i {
    color: var(--primary-500);
}

.link-category ul {
    list-style: none;
}

.link-category li {
    margin-bottom: 0.75rem;
}

.link-category a {
    color: var(--gray-700);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
}

.link-category a:hover {
    color: var(--primary-600);
    padding-left: 0.5rem;
}

.link-category a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.link-category a:hover::before {
    opacity: 1;
}

/* === CONTACT METHODS === */
.contact-methods {
    padding: 6rem 0;
    background: white;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.contact-method-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.contact-method-card.urgent {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-color: #fca5a5;
}

.contact-method-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.contact-method-card.urgent .contact-method-icon {
    background: #dc2626;
    animation: pulse 2s ease-in-out infinite;
}

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

.contact-method-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-method-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.938rem;
}

.contact-method-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--gray-900);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.contact-method-link.primary {
    background: #dc2626;
}

.contact-method-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.availability,
.response-time,
.hours {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* === CONTACT FORM === */
.contact-form-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-form-info p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    font-size: 0.938rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: start;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-600);
    text-decoration: underline;
}

.form-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-message {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
}

.form-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-message.success {
    background: var(--primary-50);
    color: var(--primary-700);
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
}

.form-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* === EMERGENCY BANNER SECTION === */
.emergency-banner-section {
    padding: 4rem 0;
    background: #fee2e2;
}

.emergency-banner-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #fca5a5;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.emergency-text {
    flex: 1;
}

.emergency-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #991b1b;
}

.emergency-text p {
    color: var(--gray-700);
}

.emergency-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-500);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-500);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--gray-400);
    transition: var(--transition-normal);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-500);
    margin-top: 0.25rem;
}

.footer-contact span,
.footer-contact a {
    color: var(--gray-400);
}

.emergency-footer li {
    flex-direction: column;
    gap: 0.25rem;
}

.emergency-footer strong {
    color: white;
}

.emergency-footer a {
    color: var(--primary-400);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.875rem;
}

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

/* === SCROLL TO TOP === */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-600);
    transform: translateY(-5px);
}

/* === ANIMATIONS === */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-4 {
    animation-delay: 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

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

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .why-grid,
    .content-grid,
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid,
    .issues-grid,
    .academic-grid,
    .techniques-grid,
    .categories-grid,
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .service-detailed-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-detailed-icon {
        margin: 0 auto;
    }
    
    .why-image {
        display: none;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .emergency-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card,
    .academic-card,
    .issue-card {
        padding: 1.5rem;
    }
}

/* === PRINT STYLES === */
@media print {
    .navbar,
    .hero,
    .cta-section,
    .footer,
    .scroll-to-top,
    .menu-toggle {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .container {
        max-width: 100%;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}
