/* CSS Variables for Theme Colors */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #000000;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --accent-primary: #000000;
    --accent-secondary: #343a40;
    --border-color: #dee2e6;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #000000 0%, #343a40 100%);
    --gradient-secondary: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --header-text: #ffffff;
    --header-bg: #000000;
}

[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #888888;
    --accent-primary: #ffffff;
    --accent-secondary: #f8f9fa;
    --border-color: #404040;
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-medium: rgba(255, 255, 255, 0.15);
    --shadow-heavy: rgba(255, 255, 255, 0.25);
    --gradient-primary: linear-gradient(135deg, #000000 0%, #000000 100%);
    --gradient-secondary: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    --header-text: #ffffff;
    --header-bg: #000000;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1001;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-heavy);
}

/* Navigation */
.navbar {
    background: var(--header-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--header-text);
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

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

.nav-link {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    border-bottom: 2px solid var(--header-text);
}

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-medium);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-menu .dropdown-link:hover {
    background-color: var(--bg-secondary);
    color: var(--accent-primary);
}

/* Certificate Dropdown Styles */
.certificate-dropdown {
    padding: 0.5rem 0;
}

.dropdown-header {
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 1.5rem;
    display: block;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.certificate-select {
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 0 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    max-width: calc(100% - 2rem);
}

.certificate-select:focus {
    outline: none;
    border-color: #353980;
}

/* Certificate Modal */
.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.certificate-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-modal-content {
    background: var(--bg-primary);
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.certificate-modal-header {
    background: #353980;
    color: #f0f1fa;
    padding: 1rem 2rem;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.certificate-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #f0f1fa;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.certificate-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.certificate-modal-body {
    padding: 2rem;
    text-align: center;
}

.certificate-modal-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.certificate-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    text-align: left;
}

.detail-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.detail-item strong {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-item div {
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 0.5rem;
}

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



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--header-text);
    margin: 3px 0;
    transition: 0.3s;
}


/* Hero Section */
.hero {
    background: var(--gradient-secondary);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    transition: background 0.3s ease;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

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

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

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--bg-primary);
    color: var(--accent-primary);
    border: 2px solid var(--bg-primary);
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: transparent;
    color: var(--bg-primary);
    border-color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.features {
    padding: 80px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Services */
.services-preview {
    padding: 80px 0;
    background: var(--gradient-secondary);
    transition: background 0.3s ease;
}

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

.service-card {
    background: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.service-card:hover img {
    filter: grayscale(0%);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--accent-primary);
    margin: 1.5rem 1.5rem 1rem;
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--text-secondary);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.services-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    transition: background 0.3s ease;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--header-text);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--header-text);
    opacity: 0.9;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.cta-content .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--header-text);
    transition: all 0.3s ease;
}

.page-header2 {
    background: var(--gradient-primary);
    padding: 0px 0 80px;
    text-align: center;
    color: var(--header-text);
    transition: all 0.3s ease;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--header-text);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--header-text);
}

/* Services Detailed */
.services-detailed {
    padding: 80px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-content {
    direction: ltr;
}

.service-content h2 {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.3s ease;
}

.service-features li:before {
    content: "✓";
    color: var(--accent-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-light);
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.service-image img:hover {
    filter: grayscale(0%);
}

/* Process Steps */
.service-process {
    padding: 80px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.step h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* About Page */
.about-content {
    padding: 80px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-light);
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.about-image img:hover {
    filter: grayscale(0%);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}

.mission-card,
.vision-card {
    background: var(--gradient-secondary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s ease;
}

.mission-card h3,
.vision-card h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.mission-card p,
.vision-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.values-section {
    margin-bottom: 6rem;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

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

.value-item h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Team Section */
.team-section {
    margin-bottom: 6rem;
}

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

.team-member {
    text-align: center;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-member:hover img {
    filter: grayscale(0%);
}

.team-member h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.team-member p:first-of-type {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.team-member p:last-of-type {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-secondary);
    padding: 4rem 0;
    border-radius: 10px;
    transition: background 0.3s ease;
}

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

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

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

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

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

.contact-icon {
    font-size: 1.5rem;
    background: var(--accent-primary);
    color: var(--bg-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-text h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-text p {
    color: var(--text-secondary);
    margin: 0;
    transition: color 0.3s ease;
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-form h2 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

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

.form-group label {
    display: block;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--shadow-light);
}

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

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.map-placeholder {
    background: var(--gradient-secondary);
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.3s ease;
}

.map-content h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.map-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

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

.faq-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.faq-item h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Footer */
footer {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 60px 0 20px;
    transition: all 0.3s ease;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--header-text);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--header-text);
    opacity: 0.8;
    transition: color 0.3s ease;
}

.footer-section p {
    color: var(--header-text);
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

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

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

.footer-section ul li a {
    color: var(--header-text);
    opacity: 0.7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--header-text);
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .theme-toggle {
        top: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-primary);
        border: 1px solid var(--border-color);
        border-top: none;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        box-shadow: 0 10px 30px var(--shadow-medium);
    }
    
    .nav-menu .nav-link {
        color: var(--text-primary);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background-color: var(--bg-secondary);
        color: var(--accent-primary);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Mobile Dropdown Styles */
    .nav-item {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        border-radius: 0;
        margin-top: 0.5rem;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.mobile-active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu .dropdown-link {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
        border-left: 3px solid transparent;
    }
    
    .dropdown-menu .dropdown-link:hover {
        border-left-color: var(--accent-primary);
    }
    

    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.service-card,
.team-member,
.value-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 2px;
}

[data-theme="dark"] .nav-link:focus {
    outline: 2px solid var(--accent-primary);
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .theme-toggle,
    .cta-section,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000000;
        background: #ffffff;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .page-header {
        padding: 20px 0;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    overflow: hidden;
    position: relative;
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-slider {
    display: flex;
    position: relative;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.testimonial {
    flex: 0 0 calc(33.333% - 14px);
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.5s ease;
    visibility: hidden;
}

.testimonial.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 2;
    visibility: visible;
}

.testimonial.prev,
.testimonial.next {
    opacity: 0.6;
    transform: scale(0.9);
    z-index: 1;
    visibility: visible;
}

.testimonial-content {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    margin: 10px;
    border: 1px solid var(--border-color);
}

.testimonial.active .testimonial-content {
    box-shadow: 0 15px 40px var(--shadow-medium);
    border-color: var(--accent-primary);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--accent-primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 18px;
    color: var(--accent-primary);
}

.testimonial-author p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.testimonial-nav {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background: var(--accent-secondary);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: 10px;
}

.testimonial-nav.next {
    right: 10px;
}

@media (max-width: 1200px) {
    .testimonial {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .testimonial {
        flex: 0 0 100%;
    }
    
    .testimonials-container {
        padding: 0 40px;
    }
    
    .testimonial-content {
        margin: 5px;
        padding: 20px;
    }
    
    .testimonial-content p {
        font-size: 14px;
    }
    
    .testimonial-author h4 {
        font-size: 16px;
    }
    
    .testimonial-author p {
        font-size: 12px;
    }
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: var(--accent-primary);
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.course-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.course-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    margin-bottom: 25px;
}

.course-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.course-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.course-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.course-actions .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.course-actions .btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.course-actions .btn-primary:hover {
    background: transparent;
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.course-actions .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.course-actions .btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.download-catalog {
    position: relative;
    overflow: hidden;
}

.download-catalog::before {
    content: "📥";
    margin-right: 8px;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-card {
        padding: 25px;
    }
    
    .course-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .course-actions .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Join Now Section */
.join-now-section {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-now-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.join-now-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.join-now-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-primary);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.join-now-content p {
    font-size: 1.2rem;
    color: var(--bg-primary);
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: inline-block;
    text-align: center;
    min-width: 200px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--bg-primary);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: transparent;
    color: var(--bg-primary);
    border-color: var(--bg-primary);
}

@media (max-width: 768px) {
    .join-now-section {
        padding: 60px 0;
    }
    
    .join-now-content h2 {
        font-size: 2rem;
    }
    
    .join-now-content p {
        font-size: 1.1rem;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
}