:root {
    /* Teal/Emerald color scheme */
    --primary-color: #0D9488;  /* Teal */
    --primary-light: #14B8A6;  /* Lighter Teal */
    --primary-dark: #0F766E;   /* Darker Teal */
    --secondary-color: #212121; /* Black */
    --secondary-light: #484848; /* Light Black */
    --secondary-dark: #000000; /* Dark Black */
    --text-color: #212121;
    --text-light: #FFFFFF;     /* White text */
    --text-dark: #000000;      /* Black text */
    --background-color: #ffffff;
    --background-light: #FAFAFA; /* Very Light Gray background */
    --background-dark: #F5F5F5;  /* Light Gray background */
    --accent-color: #9C27B0; /* Purple */
    --light-gray: #f8f9fa;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

/* Header & Navigation */
.header {
    background: var(--primary-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    gap: 0.5rem;
}

.logo i {
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-links > li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    white-space: nowrap;
    height: 100%;
    padding: 0 1rem;
    position: relative;
}

.nav-link:hover {
    color: #CCFBF1;
}

.nav-link i {
    font-size: 0.8rem;
}

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-color);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    transform: translateY(10px);
}

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

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

.dropdown-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s;
}

@media (max-width: 991px) {
    .nav-container {
        padding: 0 1rem;
    }

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

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        height: calc(100vh - 80px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links > li {
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1.25rem 1.5rem;
        justify-content: space-between;
        color: #FFFFFF;
        font-size: 1.1rem;
        font-weight: 500;
        transition: background-color 0.2s ease;
    }

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

    .nav-link i {
        transition: transform 0.3s ease;
    }

    .dropdown.active .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background: rgba(0, 0, 0, 0.15);
        width: 100%;
        border-radius: 0;
    }

    .dropdown.active .dropdown-content {
        max-height: 500px;
    }

    .dropdown-link {
        padding: 1rem 1.5rem 1rem 2.5rem;
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }

    .dropdown-link::before {
        content: '•';
        color: rgba(255, 255, 255, 0.5);
        margin-right: 0.75rem;
        display: inline;
    }

    .dropdown-link:hover,
    .dropdown-link:active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #FFFFFF;
    }

    .dropdown-link:hover::before,
    .dropdown-link:active::before {
        color: #FFFFFF;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-color);
    margin-top: 80px;
    color: var(--text-light);
    position: relative;
    padding: 4rem 0;
    min-height: 400px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero h1 span {
    color: var(--text-light);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Main Content */
main {
    padding-top: 80px; 
    min-height: calc(100vh - 80px); 
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 2rem;
    background-color: var(--background-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
    background-color: var(--background-color);
}

.section:nth-child(even) {
    background-color: var(--background-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonial-card {
    background: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        padding: 1rem;
        flex-direction: column;
        text-align: left;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* Card Styles */
.card {
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s;
}

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

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

.card-content {
    padding: 1.5rem;
}

.card-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    color: var(--background-color);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Location Pages Styles */
.location-page {
    background-color: var(--background-color);
}

.location-hero-section {
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
}

.location-hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.location-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.location-intro {
    padding: 4rem 0;
}

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

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.services-section {
    padding: 4rem 0;
    background-color: var(--background-dark);
}

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

.service-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.service-card h3 {
    color: var(--secondary-color) !important;
    margin-bottom: 0.75rem;
    font-weight: 600;
    visibility: visible !important;
    display: block !important;
}

.service-card p {
    color: var(--text-color) !important;
    margin-bottom: 1rem;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Feature Card Styles for Pretest Page */
.feature-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-card .feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

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

/* Timeline Styles for Pretest Page */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 50px;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    z-index: 1;
}

.timeline-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Page Content Styles for Lesson Pages */
.page-content {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.content-section {
    margin-bottom: 3rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Skills Grid Styles for Key Areas Covered section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.skill-card i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.skill-card span {
    color: var(--text-color);
    font-weight: 500;
}

/* Benefits Grid Styles for Why Choose section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

/* CTA Section Styles - Removed conflicting definition */

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

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

.btn-primary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

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

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

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

.btn-primary {
    background-color: var(--primary-color);
    color: #fff !important;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #0F766E;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* CTA Section Styles */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    color: #333;
}

.cta-section h2 {
    color: #333 !important;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p {
    color: #333 !important;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.test-routes {
    padding: 4rem 0;
}

.routes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.routes-text ul {
    list-style: none;
    padding-left: 0;
}

.routes-text li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.routes-text li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing {
    padding: 4rem 0;
    background-color: var(--background-dark);
}

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

.price-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.price-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: bold;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-card li {
    margin-bottom: 0.8rem;
    color: #666;
}

.local-info {
    padding: 4rem 0;
}

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

.info-item {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* News Section */
.news-section {
    padding: 4rem 0;
    background-color: var(--background-dark);
}

.news-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.news-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.news-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.news-source {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-summary {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .btn {
    display: inline-block;
    margin-top: 1rem;
}

.loading-spinner {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.error {
    color: #dc3545;
    text-align: center;
    padding: 1rem;
}

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

@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .twitter-section {
        order: 2;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Location-specific hero backgrounds */
.dun-laoghaire-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/dun-laoghaire.jpg');
    background-size: cover;
    background-position: center;
}

.dl-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/dun-laoghaire.jpg');
    background-size: cover;
    background-position: center;
}

.south-dublin-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/south-dublin.jpg');
    background-size: cover;
    background-position: center;
}

/* Location pages responsive styles */
@media (max-width: 768px) {
    .location-hero-section {
        padding: 4rem 0;
    }

    .location-hero-section h1 {
        font-size: 2rem;
    }

    .routes-content {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }

    .location-highlights {
        grid-template-columns: 1fr;
    }
}

/* Skills Grid Styles */
.content-section.skills {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 1rem;
}

.skill-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.skill-card h3 {
    margin-bottom: 0.75rem;
    color: #333;
    font-size: 1.2rem;
}

.skill-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .content-section.skills {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-section.skills {
        padding: 1.25rem;
    }
}

/* Twitter Timeline Styles */
.twitter-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.twitter-container iframe {
    border: none !important;
    width: 100%;
}

@media (max-width: 768px) {
    .twitter-container {
        max-width: 100%;
        margin: 1.5rem auto;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .twitter-container {
        margin: 1rem auto;
        max-width: 100%;
    }
}
