/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-color: #333333;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #217dbb;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.btn-primary:hover {
    background-color: #217dbb;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #1a252f;
    color: white;
}

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

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

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 5px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: white;
}

.courses h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.courses h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

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

.course-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.4rem;
}

.course-card p {
    padding: 0 20px 20px;
    color: var(--gray-color);
}

.course-card .btn {
    margin: 0 20px 20px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.features h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

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

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* Fun Fact Section */
.fun-fact {
    padding: 60px 0;
    background-color: white;
}

.fun-fact h2 {
    text-align: center;
    margin-bottom: 30px;
}

.fact-box {
    display: flex;
    align-items: center;
    background-color: #fff8e1;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
    border-left: 5px solid var(--accent-color);
}

.fact-box .icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.fact-box p {
    font-size: 1.1rem;
    margin: 0;
}

/* Chart Section */
.chart-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.chart-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.chart-container {
    max-width: 800px;
    margin: 0 auto 30px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.chart-description {
    text-align: center;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Preview Section */
.blog-preview {
    padding: 80px 0;
    background-color: white;
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.blog-preview h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

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

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial {
    width: calc(50% - 15px);
    margin-bottom: 30px;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: 0;
    left: 20px;
    color: #f1f1f1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.testimonial-author p {
    margin: 0;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/23.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: #ccc;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-column p {
    color: #bbb;
    margin-bottom: 15px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bbb;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column svg {
    vertical-align: middle;
    margin-right: 8px;
}

.footer-subscribe {
    display: flex;
    margin-bottom: 20px;
}

.footer-subscribe input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.footer-subscribe button {
    border-radius: 0 4px 4px 0;
    padding: 10px 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

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

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

.copyright p {
    color: #bbb;
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content p {
    margin-bottom: 15px;
    text-align: center;
    max-width: 800px;
}

.cookie-content a {
    color: #66b3ff;
    margin-top: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Page Header */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/24.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    color: #ccc;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Page Styles */
.blog-main {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-posts {
    overflow: hidden;
}

.blog-post {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.blog-post .post-image {
    width: 100%;
    height: 300px;
}

.blog-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post .post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    margin-bottom: 15px;
}

.post-date, .post-category {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-right: 20px;
}

.post-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-post h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.blog-post p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    background-color: white;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination a.next {
    background-color: var(--secondary-color);
    color: white;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 10px 15px;
    cursor: pointer;
}

.categories-widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.categories-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.categories-widget ul li a:hover {
    color: var(--primary-color);
}

.categories-widget span {
    background-color: #f1f1f1;
    color: var(--gray-color);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.recent-post {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}

.recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.recent-post h4 {
    font-size: 1rem;
    margin: 0 0 5px;
}

.recent-post .post-date {
    font-size: 0.8rem;
    margin: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f1f1f1;
    border-radius: 4px;
    color: var(--gray-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.subscribe-form input {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    outline: none;
}

/* About Page Styles */
.about-intro {
    padding: 80px 0;
    background-color: white;
}

.about-columns {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 50px;
}

.about-content h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.about-features li svg {
    margin-right: 10px;
    color: var(--primary-color);
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat-box {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    width: 30%;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-text {
    display: block;
    font-size: 0.9rem;
}

/* Timeline Section */
.history-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.history-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content::before,
.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 20px;
    height: 2px;
    background-color: var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -20px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -20px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: white;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--gray-color);
}

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

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.3rem;
}

.team-member p {
    color: var(--gray-color);
    padding: 0 20px;
    margin-bottom: 15px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #f1f1f1;
    border-radius: 50%;
    color: var(--gray-color);
    transition: all 0.3s ease;
}

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

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
}

.value-card svg {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
}

.value-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: white;
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.partner img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Contact Page Styles */
.contact-main {
    padding: 80px 0;
    background-color: white;
}

.contact-columns {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.contact-form-column h2, .contact-info-column h2 {
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
}

.contact-text h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.contact-text p {
    margin: 0 0 5px;
    color: var(--gray-color);
}

.contact-social {
    margin-top: 40px;
}

.contact-reg-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.map-section {
    padding: 40px 0 80px;
    background-color: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    height: 400px;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.faq-answer {
    background-color: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s;
}

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

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: var(--gray-color);
    cursor: pointer;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.success-icon {
    margin-bottom: 20px;
}

.modal-body h2 {
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .hero-image {
        margin: 40px 0 0;
    }
    
    .blog-layout, .about-columns, .contact-columns {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .timeline::before, .timeline-item::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .testimonial {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content h3 {
        font-size: 1.3rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    nav ul li {
        margin: 0 5px;
    }
    
    .course-card, .blog-card {
        margin-bottom: 20px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

/* Animation Styles */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s;
}

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

.slide-up {
    animation: slideUp 0.5s;
}
