/* Global Variables */
:root {
    --primary-color: #2563eb; /* Bright blue */
    --secondary-color: #f97316; /* Orange */
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --border-color: #e2e8f0;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    font-size: 16px;
}

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-size: 1rem;
    text-decoration: none;
}

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

.primary-btn:hover {
    background-color: #1d4ed8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.outline-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--text-light);
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

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

nav ul {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding-bottom: 0.25rem;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    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%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-light);
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--bg-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* About Section */
.about {
    background-color: var(--bg-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

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

/* Why Choose Us Section */
.why-choose {
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

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

.benefit-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Courses Section */
.courses {
    background-color: var(--bg-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.course-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.course-card h3 {
    margin-bottom: 1rem;
}

.course-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Community Section */
.community {
    background-color: var(--bg-light);
}

.community-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.community-image {
    flex: 1;
}

.community-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.community-text {
    flex: 1;
}

.support-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.stats-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

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

/* Admin Preview Section */
.admin-preview {
    background-color: var(--bg-light);
    text-align: center;
}

.admin-frame {
    position: relative;
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.admin-screenshot {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Subscription Section */
.subscription {
    background-color: var(--bg-color);
}

.subscription-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.subscription-text {
    flex: 1;
}

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

.subscription-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    list-style-type: none;
}

.subscription-benefits li svg {
    color: var(--success-color);
    flex-shrink: 0;
}

.subscription-form {
    flex: 1;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    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(37, 99, 235, 0.2);
}

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

.checkbox-group input {
    width: auto;
}

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

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 2;
    min-width: 250px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    margin-bottom: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
    list-style-type: none;
}

.footer-links ul li a {
    color: #94a3b8;
    transition: var(--transition);
}

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

.footer-contact {
    flex: 2;
    min-width: 250px;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-contact address {
    font-style: normal;
    margin-bottom: 1.5rem;
    color: #94a3b8;
}

.footer-contact address p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #94a3b8;
}

.footer-contact a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.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: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: white;
    padding: 1rem 0;
    z-index: 1001;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

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

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

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.cookie-btn.outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cookie-btn.outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: white;
    text-decoration: underline;
    margin-left: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1002;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-color);
}

.success-animation {
    margin: 0 auto 2rem;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--success-color);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--success-color);
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--success-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px rgba(16, 185, 129, 0.1);
    }
}

/* Learning Pathways Page */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.page-banner h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.learning-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.pathway {
    margin-bottom: 4rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.pathway-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pathway-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.pathway-header h3 {
    color: white;
    margin-bottom: 0;
    font-size: 1.75rem;
}

.pathway-content {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.pathway-image {
    flex: 1;
    min-width: 300px;
}

.pathway-image img {
    border-radius: var(--border-radius);
    height: 100%;
    object-fit: cover;
}

.pathway-details {
    flex: 2;
    min-width: 300px;
}

.pathway-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.pathway-modules h4, .pathway-outcomes h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pathway-modules ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.pathway-modules li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.module-level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 1rem;
}

.beginner {
    background-color: #dcfce7;
    color: #166534;
}

.intermediate {
    background-color: #f0f9ff;
    color: #0369a1;
}

.advanced {
    background-color: #fef3c7;
    color: #92400e;
}

.module-title {
    flex: 1;
}

.module-duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pathway-outcomes ul {
    margin-bottom: 2rem;
}

.pathway-outcomes li {
    margin-bottom: 0.5rem;
}

.pathway-cta {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pathway-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-bottom: 0;
}

.custom-pathway {
    text-align: center;
    background-color: var(--bg-color);
    padding: 3rem 0;
}

.custom-pathway h3 {
    margin-bottom: 1rem;
}

.custom-pathway p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-color);
    padding: 5rem 0;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* For Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.testimonial {
    min-width: calc(33.333% - 1.33rem);
    scroll-snap-align: start;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    padding-top: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.1);
    font-family: serif;
    line-height: 1;
}

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

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

.author-info h4 {
    margin-bottom: 0.25rem;
}

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

/* FAQ Section */
.faq {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.faq h3 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--bg-color);
}

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

.accordion-header:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

.accordion-icon {
    transition: var(--transition);
}

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

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

.accordion-content.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

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

.cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.cta .primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.cta .secondary-btn {
    border-color: white;
    color: white;
}

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

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

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

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

.blog-image {
    display: block;
    height: 200px;
    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 {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0;
    font-size: 0.9rem;
}

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

.blog-date {
    color: var(--text-light);
}

.blog-card h3 {
    padding: 0.5rem 1.5rem;
    font-size: 1.25rem;
}

.blog-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem;
    font-weight: 600;
}

.blog-categories {
    background-color: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--bg-color);
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.category-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.newsletter {
    background-color: var(--bg-color);
    padding: 4rem 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h3 {
    margin-bottom: 1rem;
}

.newsletter-text p {
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Blog Post Styles */
.blog-post {
    padding: 5rem 0;
}

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

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

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

.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

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

.post-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

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

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

.post-content li {
    margin-bottom: 0.5rem;
}

.code-block {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 2rem;
}

.code-block pre {
    margin: 0;
    color: #f8fafc;
    font-family: 'Courier New', Courier, monospace;
}

.post-cta {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
}

.post-cta h3 {
    margin-bottom: 1rem;
}

.post-cta p {
    margin-bottom: 1.5rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-label {
    color: var(--text-light);
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: var(--bg-light);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
}

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

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

.post-share span {
    color: var(--text-light);
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.related-posts {
    margin-top: 5rem;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

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

.related-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 1rem;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Career comparison table styles */
.tech-stack {
    margin-bottom: 2rem;
}

.tech-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.tech-name {
    min-width: 200px;
    font-weight: 500;
}

.tech-level {
    flex: 1;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.level-fill {
    display: block;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.career-highlight {
    background-color: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.career-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.career-highlight p {
    margin-bottom: 0;
}

.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    text-align: left;
    padding: 1rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* About Us Page */
.about-story {
    padding-bottom: 0;
}

.our-values {
    background-color: var(--bg-light);
}

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

.value-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-card h4 {
    margin-bottom: 1rem;
}

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

.teaching-approach {
    background-color: var(--bg-color);
}

.approach-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.approach-text {
    flex: 1;
    min-width: 300px;
}

.approach-image {
    flex: 1;
    min-width: 300px;
}

.approach-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.approach-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.team-member h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

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

.member-social {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

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

/* Contact Page */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item address, .info-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-section {
    background-color: var(--bg-light);
    padding-top: 0;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

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

#thankyou-modal h3 {
    color: var(--success-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

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

    .about-content, .community-content, .subscription-content, .approach-content {
        flex-direction: column;
    }

    .community-content {
        flex-direction: column-reverse;
    }

    .about-image, .community-image, .approach-image {
        margin-bottom: 2rem;
    }

    .pathway-content {
        flex-direction: column;
    }

    .newsletter-content {
        flex-direction: column;
    }

    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        clip-path: circle(0px at top right);
        transition: clip-path 0.5s ease;
        z-index: 1000;
    }

    nav.active {
        clip-path: circle(1500px at top right);
    }

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

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 1rem 2rem;
    }

    nav ul li a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .benefits-grid, .courses-grid, .values-grid, .team-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        flex-direction: column;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-footer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .testimonial {
        min-width: 100%;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
