/* 
=============================================================================
IT Courses Spain - Main Stylesheet
=============================================================================
*/

/* Base styles and variables */
:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #7b94ff;
    --secondary-color: #ff7b54;
    --secondary-dark: #e56a47;
    --accent-color: #20e3b2;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --success-color: #38b000;
    --warning-color: #ffb700;
    --error-color: #ef233c;
    --black: #121212;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --container-width: 1200px;
    --container-padding: 20px;
}

/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style-type: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

section {
    padding: 8rem 0;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
    border: none;
    line-height: 1;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--container-padding);
}

.logo img {
    height: 5.5rem;
    width: auto;
}

nav ul {
    display: flex;
    gap: 3rem;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.6rem;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    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);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.4rem;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 60vh;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 60rem;
}

.hero-content h1 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 4.8rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 50rem;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.slider-prev {
    left: 1rem;
}

.slider-next {
    right: 1rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

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

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

.feature-icon {
    margin: 0 auto 2rem;
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Latest Posts Section */
.latest-posts {
    background-color: var(--gray-100);
    padding: 8rem 0;
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

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

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

.post-image {
    position: relative;
    height: 22rem;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 2.5rem;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.view-all {
    text-align: center;
    margin-top: 4rem;
}

/* Fun Facts Section */
.fun-facts {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
}

.fun-facts h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

.fact-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
}

.fact-box svg {
    flex-shrink: 0;
    margin-right: 2rem;
}

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

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

.testimonial-card {
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.testimonial-avatar {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.testimonial-content span {
    font-size: 1.4rem;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8rem 0;
}

.cta-content {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

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

.cta .btn-primary:hover {
    background-color: var(--gray-100);
    color: var(--secondary-dark);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--gray-300);
    padding: 6rem 0 2rem;
}

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

.footer-logo {
    width: 12rem;
    margin-bottom: 2rem;
}

.footer-about p {
    margin-bottom: 2rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

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

.footer-links h3, .footer-contact h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact address p svg {
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 2rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 28rem;
}

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

.cookie-buttons button {
    padding: 1rem 2rem;
    font-size: 1.4rem;
}

/* Blog Page Styles */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto;
}

.blog-content {
    padding: 8rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 4rem;
}

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

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

.blog-image {
    height: 25rem;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-info {
    padding: 2rem 2.5rem 0;
    display: flex;
    gap: 2rem;
}

.blog-info span {
    font-size: 1.4rem;
    color: var(--text-light);
}

.blog-text {
    padding: 2rem 2.5rem 2.5rem;
}

.blog-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.blog-text p {
    margin-bottom: 2rem;
}

.newsletter {
    background-color: var(--gray-100);
    padding: 6rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    max-width: 55rem;
    margin: 3rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Blog Post Page */
.blog-post {
    padding: 8rem 0;
}

.post-header {
    margin-bottom: 4rem;
}

.post-header h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    color: var(--text-light);
}

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

.post-content h2 {
    font-size: 2.8rem;
    margin: 4rem 0 2rem;
}

.post-content h3 {
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
}

.post-content h4 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.post-content p, .post-content ul, .post-content ol {
    margin-bottom: 2rem;
}

.post-content ul, .post-content ol {
    padding-left: 2rem;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 1rem;
}

.post-content a {
    text-decoration: underline;
}

.post-tags {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--gray-100);
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-size: 1.4rem;
    transition: var(--transition);
}

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 5rem 0;
}

.related-posts {
    background-color: var(--gray-100);
    padding: 4rem;
    border-radius: var(--border-radius);
}

.related-posts h3 {
    margin-bottom: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

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

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

.related-post-card img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
}

.related-post-card h4 {
    padding: 1.5rem 2rem 0;
    font-size: 1.6rem;
}

.related-post-card a {
    display: inline-block;
    padding: 0 2rem 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Courses Page Styles */
.courses-filter {
    background-color: var(--gray-100);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.filter-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-group label {
    font-weight: 600;
    font-size: 1.4rem;
}

.filter-group select {
    padding: 1rem 1.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    font-size: 1.5rem;
    min-width: 20rem;
    background-color: var(--white);
}

.courses-grid {
    padding: 4rem 0;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
}

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

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

.course-image {
    position: relative;
    height: 22rem;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
}

.course-content {
    padding: 2.5rem;
}

.course-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--gray-100);
    border-radius: var(--border-radius-sm);
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.course-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.8rem;
    font-size: 1.4rem;
    color: var(--text-light);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-content p {
    margin-bottom: 2.5rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    display: flex;
    flex-direction: column;
}

.original-price {
    font-size: 1.4rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discounted-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.course-benefits {
    background-color: var(--gray-100);
    padding: 8rem 0;
}

.course-benefits h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

.benefit-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.benefit-icon {
    margin: 0 auto 2rem;
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.benefit-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.faq {
    padding: 8rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.accordion {
    max-width: 80rem;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 2rem;
    border: none;
    text-align: left;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header svg {
    transition: transform 0.3s ease;
}

.accordion-header.active svg {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 0 2rem 2rem;
    max-height: 50rem;
}

/* About Us Page Styles */
.about-intro {
    padding: 8rem 0;
}

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

.about-content h2 {
    margin-bottom: 3rem;
}

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

.mission-values {
    background-color: var(--gray-100);
    padding: 8rem 0;
}

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

.mission-box, .vision-box, .values-box {
    background-color: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.mission-box h2, .vision-box h2, .values-box h2 {
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.mission-box h2::after, .vision-box h2::after, .values-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 3px;
    background-color: var(--primary-color);
}

.values-box ul {
    list-style-type: none;
}

.values-box ul li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.values-box ul li::before {
    content: '';
    position: absolute;
    top: 0.8rem;
    left: 0;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.team-section {
    padding: 8rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-intro {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 5rem;
    font-size: 1.8rem;
}

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

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

.team-member img {
    width: 100%;
    max-width: 25rem;
    height: 25rem;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.team-member .social-links {
    justify-content: center;
}

.campus-facilities, .certifications, .partners {
    padding: 8rem 0;
}

.campus-facilities:nth-child(odd), .certifications:nth-child(odd), .partners:nth-child(odd) {
    background-color: var(--gray-100);
}

.campus-facilities h2, .certifications h2, .partners h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.partners p {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 5rem;
    font-size: 1.8rem;
}

.facilities-grid, .certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

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

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

.facility-card img, .certification-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.facility-card h3, .certification-card h3 {
    padding: 2rem 2rem 0;
    font-size: 1.8rem;
}

.facility-card p, .certification-card p {
    padding: 0 2rem 2rem;
    margin-bottom: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 4rem;
    align-items: center;
}

.partner-logo {
    text-align: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

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

.partner-logo img {
    max-width: 12rem;
    max-height: 8rem;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-info {
    padding: 8rem 0;
}

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

.contact-details h2, .contact-form h2 {
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-contact {
    margin-top: 4rem;
}

.social-contact h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.social-contact .social-links {
    gap: 1rem;
}

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

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

.form-group label {
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input {
    width: 2rem;
    height: 2rem;
}

.map-section {
    padding: 4rem 0 8rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.faq-contact {
    background-color: var(--gray-100);
    padding: 8rem 0;
}

.faq-contact h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 4rem;
    max-width: 50rem;
    width: 90%;
    position: relative;
    box-shadow: var(--box-shadow-hover);
}

.close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.4rem;
    cursor: pointer;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thank-you-message h2 {
    margin-bottom: 1.5rem;
}

.thank-you-message p {
    margin-bottom: 3rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .slider-container {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 55%;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 52%;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 30rem;
        height: 100vh;
        background-color: var(--white);
        transition: var(--transition);
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 8rem 2rem 2rem;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }

    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    section {
        padding: 6rem 0;
    }

    .post-meta, .course-meta, .blog-info {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-options {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .newsletter-form input, .newsletter-form button {
        border-radius: var(--border-radius);
    }
}
