/* General Styles */
:root {
    --primary-color: #e63946;
    --secondary-color: #457b9d;
    --dark-color: #1d3557;
    --light-color: #f1faee;
    --accent-color: #a8dadc;
    --gray-color: #eaeaea;
    --dark-gray: #666;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

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

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

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

ul {
    list-style: none;
}

section {
    padding: 60px 0;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-small {
    padding: 8px 18px;
    font-size: 14px;
}

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

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
}

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

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

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

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    background-image: url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background-color: var(--light-color);
}

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

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

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.feature-card .icon svg {
    width: 50px;
    height: 50px;
}

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

/* Courses Preview Section */
.courses-preview {
    background-image: url('images/2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.courses-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.courses-preview .container {
    position: relative;
    z-index: 1;
}

.courses-preview h2 {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

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

.course-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.course-content {
    padding: 20px;
}

.course-content h3 {
    margin-bottom: 10px;
    color: white;
}

.course-content p {
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Terminology Section */
.terminology {
    background-color: var(--light-color);
}

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

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

.term-card {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.term-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--gray-color);
    padding-bottom: 10px;
}

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

.blog-preview h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 10px;
}

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

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--dark-gray);
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta svg {
    margin-right: 5px;
}

/* Testimonials Section */
.testimonials {
    background-image: url('images/3.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
}

.testimonials-slider::-webkit-scrollbar {
    height: 5px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.testimonial {
    min-width: 300px;
    scroll-snap-align: start;
    flex: 1;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-content p {
    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;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: white;
}

.testimonial-author p {
    margin-bottom: 0;
    opacity: 0.8;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.8;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.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: var(--transition);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 15px;
    z-index: 1001;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.cookie-more {
    font-size: 14px;
    opacity: 0.8;
}

.cookie-more a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Page Banner */
.page-banner {
    background-image: url('images/3.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 15px;
    color: white;
}

.page-banner p {
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Listing */
.blog-listing {
    background-color: var(--light-color);
}

/* Blog Post */
.blog-post {
    background-color: white;
    padding-bottom: 40px;
}

.post-header {
    background-image: url('images/4.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    margin-bottom: 40px;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.post-header .container {
    position: relative;
    z-index: 1;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 16px;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta svg {
    margin-right: 5px;
}

.post-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: white;
}

.post-excerpt {
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.post-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.post-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.post-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.post-tags span {
    font-weight: bold;
    color: var(--dark-color);
}

.post-tags a {
    display: inline-block;
    background-color: var(--gray-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: var(--transition);
}

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-color);
}

.related-posts {
    max-width: 1200px;
    margin: 60px auto 0;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta .btn:hover {
    background-color: var(--dark-color);
    color: white;
}

/* About Us Page */
.about-us {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    margin-top: 0;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.values {
    background-image: url('images/12.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.values .container {
    position: relative;
    z-index: 1;
}

.values h2 {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

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

.value-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

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

.value-card .icon svg {
    width: 40px;
    height: 40px;
}

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

.team {
    background-color: var(--light-color);
}

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

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

.team-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.team-card h3 {
    margin: 20px 0 5px;
}

.team-card p {
    margin-bottom: 10px;
    padding: 0 20px;
}

.team-card p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
}

.team-card .social-icons {
    justify-content: center;
    margin: 15px 0 20px;
}

.stats {
    background-image: url('images/13.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats h2 {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

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

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stat-title {
    font-size: 18px;
    font-weight: 500;
}

/* Courses Page */
.courses-intro {
    background-color: white;
}

.courses-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.courses-intro-text h2 {
    margin-top: 0;
}

.courses-intro-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.course-levels {
    background-color: var(--light-color);
}

.course-levels h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.level-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.level-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 700;
}

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

.level-features {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
}

.level-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.level-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.level-time, .level-price {
    font-weight: 600;
    margin-bottom: 5px;
}

.level-price {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
}

.special-courses {
    background-image: url('images/14.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.special-courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.special-courses .container {
    position: relative;
    z-index: 1;
}

.special-courses h2 {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

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

.special-course-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.special-course-content {
    padding: 20px;
}

.special-course-content h3 {
    color: white;
    margin-bottom: 15px;
}

.special-course-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.format {
    background-color: white;
}

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

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

.format-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.format-card .icon svg {
    width: 40px;
    height: 40px;
}

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

.format-card ul {
    margin-top: 15px;
    padding-left: 0;
}

.format-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.format-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.materials {
    background-image: url('images/15.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.materials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.materials .container {
    position: relative;
    z-index: 1;
}

.materials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.materials-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.materials-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.materials-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.materials-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.materials-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq {
    background-color: var(--light-color);
}

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

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

.faq-item {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.faq-item p {
    margin-bottom: 0;
}

/* Contact Page */
.contact-info {
    background-color: var(--light-color);
}

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

.contact-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.contact-card .icon svg {
    width: 40px;
    height: 40px;
}

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

.contact-card p {
    margin-bottom: 10px;
}

.contact-card p a {
    color: var(--secondary-color);
}

.contact-card p a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 10px;
}

.form-container > p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.2);
}

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

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

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.map {
    background-color: var(--light-color);
}

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

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

.social {
    background-image: url('images/16.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.social .container {
    position: relative;
    z-index: 1;
}

.social h2 {
    color: white;
    margin-bottom: 15px;
}

.social p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-large {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.twitter {
    background-color: #1da1f2;
}

.social-btn.instagram {
    background-color: #e1306c;
}

.social-btn.youtube {
    background-color: #ff0000;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Thank You Modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

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

.modal-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.modal-icon svg {
    width: 60px;
    height: 60px;
}

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

.modal-content p {
    margin-bottom: 25px;
}

/* Parallax Effect */
.parallax-section {
    background-attachment: fixed;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .courses-preview, .testimonials, .values, .stats, .special-courses, .materials, .social {
        background-attachment: scroll;
    }
    
    .about-content, .courses-intro-content, .materials-content {
        grid-template-columns: 1fr;
    }
    
    .about-image, .courses-intro-image, .materials-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .post-header h1 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    
    .footer-col {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .post-header h1 {
        font-size: 26px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-large {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
