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

/* CSS Variables */
:root {
    --primary-color: #00E5FF;
    --secondary-color: #1565C0;
    --accent-color: #FF6B35;
    --background-dark: #0A0A0A;
    --background-card: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --text-muted: #78909C;
    --border-color: #2A2A2A;
    --success-color: #4CAF50;
    --gradient-primary: linear-gradient(135deg, #00E5FF 0%, #1565C0 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FF8A50 100%);
    --shadow-primary: 0 8px 32px rgba(0, 229, 255, 0.2);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Body and Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-nav {
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 2rem;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--background-dark);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Service and Solution Grids */
.services-grid,
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet responsive - 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .services-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

/* Service Cards */
.service-card {
    background: var(--background-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Solution Items */
.solution-item {
    background: var(--background-dark);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.solution-item:hover::before {
    transform: scaleX(1);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--background-dark);
}

.solution-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.solution-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.solution-stats .stat {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.benefit-card {
    text-align: center;
    padding: 2.5rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--background-dark);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    background: var(--background-card);
    border-radius: 24px;
    padding: 4rem;
    margin: 4rem auto;
    border: 1px solid var(--border-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--background-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--background-card);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 6rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        transition: all 0.3s ease;
        z-index: -1;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        z-index: 1000;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 8rem 0 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 4rem 0;
    }

    .services-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 2rem;
        margin: 2rem 1rem;
    }

    .cta-nav {
        display: none;
    }

    /* Fix Rólam section grid for mobile */
    .rolam-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    /* Fix consultation benefits grid for mobile */
    .consultation-benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        text-align: center !important;
        padding-left: 0 !important;
    }

    /* Better button sizing for mobile */
    .btn {
        min-width: 200px;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    /* Profile photo sizing for mobile */
    .profile-photo {
        width: 150px !important;
        height: 150px !important;
    }

    /* Better spacing for mobile */
    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
    }

    .section {
        padding: 3rem 0;
    }

    /* Mobile stats grid */
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero {
        padding: 7rem 0 2rem;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        margin-bottom: 1rem;
    }

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

    .btn {
        min-width: 100%;
        padding: 1rem 1.5rem;
        margin-bottom: 0.5rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .contact {
        padding: 1.5rem;
        margin: 1.5rem 0.5rem;
    }

    /* Single column layout for all grids */
    .consultation-benefits-grid {
        text-align: left !important;
        padding-left: 1rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    /* Better mobile menu */
    .nav-links {
        padding: 1.5rem;
    }

    .nav-links a {
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 320px) {
    .hero {
        padding: 6rem 0 2rem;
    }

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

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

    .section h2 {
        font-size: 1.8rem;
    }

    .service-card,
    .benefit-card {
        padding: 1.5rem;
    }

    .profile-photo {
        width: 120px !important;
        height: 120px !important;
    }

    .consultation-benefits-grid {
        padding-left: 0.5rem !important;
    }

    .contact {
        padding: 1rem;
        margin: 1rem 0.25rem;
    }
}

/* E-book Specific Styles */
.ebook-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 600px;
}

.ebook-cover {
    width: 100%;
    max-width: 200px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 229, 255, 0.2);
}

.ebook-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1400/2250; /* Maintaining the original 1400x2250px ratio */
    object-fit: cover;
    display: block;
}

.ebook-card h3 {
    margin: 1rem 0;
    font-size: 1.3rem;
    line-height: 1.3;
    min-height: 2.6rem; /* Ensure consistent height for titles */
}

.ebook-card p {
    flex-grow: 1;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.ebook-btn {
    margin-top: auto;
    min-width: 200px;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
}

.ebook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
}

/* Responsive adjustments for e-book cards */
@media (max-width: 768px) {
    .ebook-cover {
        max-width: 160px;
    }
    
    .ebook-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .ebook-btn {
        min-width: 180px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .ebook-cover {
        max-width: 140px;
    }
    
    .ebook-card h3 {
        font-size: 1.2rem;
        min-height: auto;
    }
    
    .ebook-btn {
        min-width: 160px;
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
}

/* Learning Pillars Section */
.trust-section {
    background: var(--background-card);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.learning-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-item {
    background: rgba(0, 229, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.pillar-item:hover {
    box-shadow: 0 12px 32px rgba(0, 229, 255, 0.15);
    background: rgba(0, 229, 255, 0.05);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--background-dark);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
}

.pillar-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pillar-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Learning Pillars */
@media (max-width: 1024px) {
    .learning-pillars {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .pillar-item {
        padding: 1.5rem;
    }

    .pillar-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .pillar-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .learning-pillars {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .pillar-item {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .trust-section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .pillar-item {
        padding: 1.5rem;
    }

    .pillar-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .pillar-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .pillar-content p {
        font-size: 0.9rem;
    }
}

/* Course Grid - 2x2 Layout */
#courses .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
}

/* Course Cards */
.course-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 350px;
    padding: 1.2rem;
}

.course-cover {
    width: 100%;
    margin-bottom: 0.8rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.course-placeholder {
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem 1rem;
    height: 100%;
}

.course-placeholder::before {
    content: attr(data-icon);
    font-size: 2rem;
    display: block;
}

.course-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.course-card h3 {
    margin: 0 0 0.6rem 0;
    font-size: 1.2rem;
    line-height: 1.3;
    min-height: 2.4rem;
    color: var(--text-primary);
}

.course-card p {
    flex-grow: 1;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.course-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    justify-content: center;
}

.course-features .feature {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 229, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    justify-content: center;
}

.course-price {
    margin-bottom: 1.2rem;
}

.course-price .price {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coming Soon Styles */
.coming-soon-badge {
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 53, 0.3);
    display: inline-block;
}

.coming-soon {
    opacity: 0.75;
    position: relative;
}

.coming-soon .course-cover {
    filter: grayscale(20%) brightness(0.8);
}

.coming-soon .course-image,
.coming-soon .course-placeholder {
    opacity: 0.8;
}

.course-btn {
    margin-top: auto;
    min-width: 180px;
    font-size: 0.95rem;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
}

/* Responsive Course Cards */
/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    #courses .services-grid {
        max-width: 700px;
        gap: 1.5rem;
    }

    .course-card {
        min-height: 320px;
        padding: 1rem;
    }


    .course-card h3 {
        font-size: 1.1rem;
    }

    .course-card p {
        font-size: 0.85rem;
    }

    .course-features .feature {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        gap: 0.3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #courses .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 350px;
    }

    .course-card {
        min-height: auto;
        padding: 1.2rem;
    }


    .course-btn {
        min-width: 160px;
        font-size: 0.9rem;
    }

    .course-features {
        gap: 0.3rem;
        flex-direction: column;
        align-items: center;
    }

    .course-features .feature {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    #courses .services-grid {
        max-width: 300px;
        gap: 1.2rem;
    }

    .course-card {
        padding: 1rem;
    }


    .course-card h3 {
        font-size: 1.1rem;
        min-height: auto;
        margin-bottom: 0.5rem;
    }

    .course-card p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .course-btn {
        min-width: 140px;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .course-price .price {
        font-size: 1.5rem;
    }

    .course-features {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .course-features .feature {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Final CTA Section */
.final-cta-section {
    background: var(--background-card);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.cta-feature i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Responsive Final CTA */
@media (max-width: 768px) {
    .final-cta-section h2 {
        font-size: 2rem;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large, .btn-secondary {
        width: 280px;
        text-align: center;
    }
}

/* Newsletter Section */
.newsletter-section {
    margin: 2rem 0;
    padding: 1rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.newsletter-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.newsletter-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.newsletter-btn {
    min-width: 180px;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    margin-bottom: 0.8rem;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.3);
}

.newsletter-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    opacity: 0.7;
}

/* Newsletter Responsive */
@media (max-width: 768px) {
    .newsletter-content {
        padding: 0.8rem;
    }
    
    .newsletter-content h2 {
        font-size: 1.3rem;
    }
    
    .newsletter-btn {
        min-width: 160px;
        font-size: 0.9rem;
        padding: 0.8rem 1.3rem;
    }
}

@media (max-width: 480px) {
    .newsletter-content h2 {
        font-size: 1.2rem;
    }
    
    .newsletter-btn {
        min-width: 100%;
        font-size: 0.9rem;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.modal-content {
    background: var(--background-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    position: absolute;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.required {
    color: var(--accent-color);
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group .marketing-consent-label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted) !important;
    gap: 8px;
}

.marketing-consent-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

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

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.loading-spinner {
    display: inline-block;
}

.success-message,
.error-message {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: var(--success-color);
}

.error-message {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent-color);
}

.success-message i,
.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.success-message h4,
.error-message h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.success-message p,
.error-message p {
    margin: 0;
    opacity: 0.9;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-close {
        right: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: var(--primary-color);
    background: rgba(0, 229, 255, 0.03);
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
    margin-right: 1rem;
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer.open {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-content {
    padding: 0 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.faq-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 1.5rem 0 0;
    font-size: 1rem;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }

    .faq-question span {
        margin-right: 0.8rem;
    }

    .faq-content {
        padding: 0 1.5rem 1.2rem;
    }

    .faq-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .faq-question span {
        margin-right: 0;
    }

    .faq-question i {
        align-self: flex-end;
        margin-top: -1.5rem;
    }

    .faq-content {
        padding: 0 1.2rem 1rem;
    }

    .faq-content p {
        font-size: 0.9rem;
        margin: 1rem 0 0;
    }
}

/* Workshop Landing Page Specific Styles */

/* Hero Section */
.workshop-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Learning Benefits Section */
.workshop-benefits-container {
    max-width: 1000px;
    margin: 0 auto;
}

.workshop-benefits-card {
    text-align: center;
    padding: 2rem;
}

.workshop-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.workshop-benefit-item:last-child {
    margin-bottom: 0;
}

.workshop-benefit-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.workshop-benefit-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background: var(--background-card);
}

.pricing-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.pricing-card {
    background: var(--background-dark);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}


.pricing-image {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-course-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.pricing-course-image:hover {
    transform: translateY(-5px);
}

.pricing-content {
    margin-top: 0;
}

.original-price {
    margin-bottom: 1rem;
}

.original-price span {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.current-price {
    margin-bottom: 1.5rem;
}

.current-price span {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coupon-box {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.coupon-box p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.coupon-code {
    font-family: 'JetBrains Mono', monospace;
    background: var(--background-card);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
}

.coupon-note {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.limited-seats {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Workshop CTA Buttons */
.btn-workshop-hero {
    /* Inherits from .btn .btn-primary */
}

.btn-workshop-pricing {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    min-width: 300px;
}

.btn-workshop-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

/* Bio Section CTA */
.bio-cta-container {
    text-align: center;
    margin-top: 4rem;
}

/* Workshop Bio Section */
.workshop-bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.workshop-bio-photo-container {
    text-align: center;
}

.workshop-bio-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.3);
    transition: all 0.3s ease;
}

.workshop-bio-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.4);
}

.workshop-bio-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.workshop-bio-title {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.workshop-bio-content {
    margin-bottom: 2rem;
}

.workshop-bio-heading {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.workshop-bio-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Unsubscribe Page Styles */
.unsubscribe-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.unsubscribe-page {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.unsubscribe-page .container {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.unsubscribe-page h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333333;
}

.unsubscribe-page .message {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666666;
}

.unsubscribe-page .email {
    font-weight: bold;
    color: #333333;
}

.unsubscribe-page .btn {
    background-color: #00E5FF;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.unsubscribe-page .btn:hover {
    background-color: #00BCD4;
}

.unsubscribe-page .btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.unsubscribe-page .success-message {
    display: none;
    font-size: 1.2rem;
    color: #4CAF50;
    margin-top: 1rem;
}

.unsubscribe-page .error-message {
    display: none;
    font-size: 1rem;
    color: #f44336;
    margin-top: 1rem;
}

.unsubscribe-page .loading {
    display: none;
    margin-top: 1rem;
    color: #666666;
}

/* Workshop Responsive Styles */
@media (max-width: 768px) {
    .workshop-subtitle {
        font-size: 1.3rem;
    }

    .workshop-benefits-card {
        padding: 1.5rem;
    }

    .workshop-benefit-text {
        font-size: 1rem;
    }

    .pricing-card {
        padding: 1.5rem 1.2rem;
    }

    .current-price span {
        font-size: 2.5rem;
    }

    .btn-workshop-pricing,
    .btn-workshop-large {
        font-size: 1rem;
        padding: 1rem 2rem;
        min-width: 250px;
    }

    .pricing-course-image {
        max-width: 150px;
    }

    .workshop-bio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .workshop-bio-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }

    .workshop-bio-name {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .workshop-bio-title {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .workshop-bio-heading {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .workshop-bio-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .workshop-subtitle {
        font-size: 1.2rem;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .current-price span {
        font-size: 2rem;
    }

    .btn-workshop-pricing,
    .btn-workshop-large {
        min-width: 100%;
        font-size: 0.95rem;
    }

    .pricing-course-image {
        max-width: 120px;
    }

    .pricing-image {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .workshop-bio-photo {
        width: 100px;
        height: 100px;
    }

    .workshop-bio-name {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

    .workshop-bio-title {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .workshop-bio-heading {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .workshop-bio-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .workshop-benefits-container {
        padding: 0 1rem;
    }

    .workshop-benefit-text {
        font-size: 0.95rem;
    }

    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        padding-top: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .faq-container {
        padding: 0 1rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }

    .faq-content p {
        font-size: 0.9rem;
    }
}

/* Ultra-small screens (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .workshop-subtitle {
        font-size: 1.1rem;
    }

    .pricing-card {
        padding: 1.2rem 0.8rem;
    }

    .current-price span {
        font-size: 1.8rem;
    }

    .workshop-bio-photo {
        width: 90px;
        height: 90px;
    }

    .workshop-bio-name {
        font-size: 1.4rem;
    }

    .workshop-bio-title {
        font-size: 0.85rem;
    }

    .workshop-bio-text {
        font-size: 0.85rem;
    }

    .btn-workshop-pricing,
    .btn-workshop-large {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }
}