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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #666;
    --light-gray: #ddd;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navigation Bar
   =================================== */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo-img {
    height: 80px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    color: var(--white);
}

.logo-text .tagline {
    font-size: 0.85rem;
    color: #ecf0f1;
    font-weight: 300;
}

/* Fallback for old structure without logo-text wrapper */
.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    color: var(--white);
}

.logo .tagline {
    font-size: 0.85rem;
    color: #ecf0f1;
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: var(--secondary-color);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================================
   Quick Links Section
   =================================== */
.quick-links {
    padding: 80px 20px;
}

.quick-links h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.link-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.link-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===================================
   Footer
   =================================== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 20px 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* ===================================
   Page Header
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
}

/* ===================================
   Content Section
   =================================== */
.content-section {
    padding: 80px 20px;
}

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

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-wrapper p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray);
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

/* ===================================
   Offerings Grid
   =================================== */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.offering-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.offering-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.offering-item p {
    color: var(--gray);
}

/* ===================================
   Approach List
   =================================== */
.approach-list {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.approach-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===================================
   Stats Grid
   =================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--white);
    font-size: 1.1rem;
}

/* ===================================
   Values Grid
   =================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

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

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===================================
   Team Grid (Photos)
   =================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center center;
    margin-bottom: 1rem;
    border: 4px solid var(--secondary-color);
    background-color: #f8f9fa;
}

.team-member h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
}

/* ===================================
   Team Features
   =================================== */
.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.team-feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================================
   Lists
   =================================== */
.commitment-list,
.infrastructure-list {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

/* ===================================
   Login Section
   =================================== */
.login-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.login-info {
    padding: 2rem;
}

.login-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.login-info p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.info-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-point .icon {
    background-color: var(--secondary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.info-point p {
    margin: 0;
    color: var(--text-color);
}

/* ===================================
   Form Styles
   =================================== */
.login-form-container,
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.login-form-container h2,
.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.forgot-password {
    color: var(--secondary-color);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.form-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Form Messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.form-message-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* ===================================
   Registration Section
   =================================== */
.registration-section {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.registration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.registration-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.registration-header p {
    color: var(--gray);
    font-size: 1.2rem;
}

/* Selection Timeline */
.selection-timeline {
    max-width: 1200px;
    margin: 0 auto 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.selection-timeline h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

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

.timeline-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

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

.timeline-date {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.timeline-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.registration-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.registration-form h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.registration-form h2:first-child {
    margin-top: 0;
}

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

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 80px 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.contact-icon {
    font-size: 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--gray);
    line-height: 1.6;
}

.office-hours {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.office-hours h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.office-hours ul {
    list-style: none;
}

.office-hours ul li {
    padding: 0.5rem 0;
    color: var(--gray);
}

.contact-note {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.contact-note h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-note p {
    color: var(--gray);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-note strong {
    color: var(--secondary-color);
}

/* ===================================
   Map Section
   =================================== */
.map-section {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.map-placeholder {
    background: var(--white);
    padding: 100px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 2px dashed var(--light-gray);
}

.map-placeholder p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

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

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: 80px 20px;
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    header {
        position: relative;
    }
    
    .navbar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-text h1,
    .logo h1 {
        font-size: 1.2rem;
        margin-bottom: 0.1rem;
    }
    
    .logo-text .tagline,
    .logo .tagline {
        font-size: 0.65rem;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 0.3rem;
        justify-content: center;
    }
    
    .nav-links li a {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid,
    .links-grid,
    .offerings-grid,
    .stats-grid,
    .values-grid,
    .team-features,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .login-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .login-form-container,
    .registration-form-container,
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .map-placeholder {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.4rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text h1,
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo-text .tagline,
    .logo .tagline {
        font-size: 0.6rem;
    }
    
    .nav-links li a {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* ===================================
   QAD Activity Page Styles
   =================================== */

.qad-intro {
    margin-bottom: 3rem;
}

.qad-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.qad-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.qad-benefits {
    margin-top: 2rem;
}

.qad-benefits h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
}

.qad-structure {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.qad-structure h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.structure-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.structure-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
}

.qad-topics {
    margin: 3rem 0;
}

.qad-topics h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

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

.topic-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.topic-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.topic-card ul {
    list-style: none;
    padding: 0;
}

.topic-card ul li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

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

.qad-schedule {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    color: var(--white);
}

.qad-schedule h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.schedule-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.schedule-box p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--white);
}

.schedule-box strong {
    color: #ffd700;
}

.qad-participation {
    margin: 3rem 0;
}

.qad-participation h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.participation-info {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.participation-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.participation-info ul {
    list-style: none;
    padding-left: 0;
}

.participation-info ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray);
}

.participation-info ul li:before {
    content: "►";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.qad-registration {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.qad-registration h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.registration-steps ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.registration-steps ol li {
    counter-increment: step-counter;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.registration-steps ol li:before {
    content: counter(step-counter);
    background: var(--secondary-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 1rem;
    font-weight: bold;
}

.cta-box {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    text-align: center;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.qad-guidelines {
    margin: 3rem 0;
}

.qad-guidelines h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.guidelines-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.guidelines-content ul {
    list-style: none;
    padding: 0;
}

.guidelines-content ul li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray);
    line-height: 1.8;
    border-bottom: 1px solid var(--light-gray);
}

.guidelines-content ul li:last-child {
    border-bottom: none;
}

.guidelines-content ul li:before {
    content: "✔";
    color: #27ae60;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.qad-contact {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--white);
}

.qad-contact h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.qad-contact p {
    color: var(--white);
    font-size: 1.1rem;
}

.qad-contact .contact-info {
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.qad-contact a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}

.qad-contact a:hover {
    text-decoration: underline;
}

/* Responsive Design for QAD Page */
@media (max-width: 768px) {
    .benefits-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .structure-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .qad-intro h2,
    .qad-topics h2,
    .qad-participation h2,
    .qad-registration h2,
    .qad-guidelines h2 {
        font-size: 1.5rem;
    }
}

/* ===================================
   Preparation Materials Styles
   =================================== */

.preparation-materials a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .preparation-materials {
        padding: 1.5rem 1rem !important;
    }
    
    .preparation-materials h2 {
        font-size: 1.5rem !important;
    }
    
    .preparation-materials p {
        font-size: 1rem !important;
    }
    
    .preparation-materials a > div {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    .preparation-materials a > div > div:last-child {
        width: 100% !important;
        padding: 0.8rem 1rem !important;
    }
}
