:root {
    /* Primary colors with increased contrast */
    --primary-color: #0E1032;     /* oxford-blue - darkest blue for primary elements */
    --secondary-color: #12193D;   /* space-cadet - for secondary elements */
    --accent-color: #34B8C3;      /* verdigris - bright teal for accents */
    --dark-accent: #0E1032;       /* oxford-blue - for text */
    --cta-color: #FAA056;         /* sandy-brown - warm orange for CTAs */
    --cta-hover: #FFB366;         /* lighter orange for CTA hover state */
    
    /* UI colors with better contrast */
    --background: #FFFFFF;
    --card-bg: #F8F9FA;
    --text-primary: #0E1032;      /* oxford-blue for main text */
    --text-secondary: #12193D;    /* space-cadet for secondary text */
    --link-color: #16335F;        /* berkeley-blue for links */
    --border-color: rgba(14, 16, 50, 0.2); /* darker border */
    --nav-hover: rgba(52, 184, 195, 0.1); /* verdigris with opacity */
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(14, 16, 50, 0.15);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --line-height-body: 1.6;
}

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

body {
    font-family: var(--font-primary);
    background: var(--background);
    color: var(--text-primary);
    line-height: var(--line-height-body);
}

.top-bar {
    background: var(--dark-accent);
    height: 0.5rem;
    padding: 0;
}

.top-bar-content {
    display: none;
}

header {
    background: white;
    border-bottom: 3px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(14, 16, 50, 0.2);
}

/* Fix navigation wrapping */
header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem; /* Reduce padding to give more space */
    flex-wrap: nowrap; /* Prevent wrapping */
    max-width: 1400px; /* Increase max width to accommodate all items */
    margin: 0 auto;
    gap: 2rem; /* Reduce gap to save space */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.university-logo {
    height: 50px;
    width: auto;
}

.site-title {
    display: flex;
    flex-direction: column;
}

h1.site-name {
    color: var(--dark-accent);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.1rem;
    letter-spacing: -0.5px;
}

.site-description {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 200;
    width: 240px;
    line-height: 1.2;
    white-space: normal;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.8rem; /* Further reduce gap between nav items */
    flex-wrap: nowrap; /* Prevent wrapping */
    white-space: nowrap; /* Prevent text wrapping within nav items */
}

nav a, .dropdown > a {
    color: var(--dark-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Further reduce font size */
    padding: 0.5rem 0.5rem; /* Reduce horizontal padding */
    border-radius: var(--border-radius);
}

nav a:hover, .dropdown > a:hover {
    color: var(--accent-color);
    background: var(--nav-hover);
    transform: translateY(-2px);
}

.questions-portal-btn {
    background: var(--cta-color) !important;
    color: white !important;
    padding: 0.5rem 1rem !important; /* Reduce padding */
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important; /* Reduce font size */
    margin-left: 0.5rem !important; /* Reduce margin */
    transition: all 0.3s ease !important;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.portal-btn {
    background: var(--cta-color) !important;
    color: white !important;
    padding: 0.5rem 1rem !important; /* Reduce padding */
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important; /* Reduce font size */
    margin-left: 0.5rem !important; /* Reduce margin */
    transition: all 0.3s ease !important;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.questions-portal-btn:hover {
    background: var(--cta-hover) !important;
    color: black !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(204, 51, 36, 0.3) !important;
}

.portal-btn:hover {
    background: var(--cta-hover) !important;
    color: black !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(204, 51, 36, 0.3) !important;
}

.mobile-nav-portal-link {
    background: var(--accent-color);
    color: white !important;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    margin: 0.5rem 1rem;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    width: calc(100% - 2rem);
}

.mobile-nav-portal-link i {
    color: white !important;
}

.mobile-nav-portal-link:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
}

/* Promotion Styling */
.promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.promotion-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.promotion-card.active {
    border-color: var(--cta-color);
    box-shadow: 0 8px 25px rgba(204, 51, 36, 0.15);
}

.promotion-card.upcoming {
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.promotion-card.expired {
    opacity: 0.6;
    border-color: #ccc;
}

.promotion-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--cta-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.promotion-card.upcoming .promotion-badge {
    background: var(--accent-color);
}

.promotion-card.expired .promotion-badge {
    background: #999;
}

.discount-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 10px;
    color: white;
    text-align: center;
}

.discount-badge {
    text-align: center;
    flex-shrink: 0;
}

.discount-percent {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.discount-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: -0.5rem;
}

.discount-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.original-price {
    text-decoration: line-through;
    opacity: 0.8;
}

.sale-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.countdown-item {
    text-align: center;
    background: var(--dark-accent);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.timer-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--cta-color);
}

.expired-message {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 1rem;
}

.promotion-dates {
    background: rgba(52, 152, 219, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.promotion-dates p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.limited-time-tag {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.how-it-works {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: var(--cta-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-accent);
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
}

.discount-methods {
    display: grid;
    gap: 1.5rem;
    margin: 1rem 0;
}

.discount-method {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
}

.discount-method h5 {
    margin: 0 0 1rem 0;
    color: var(--dark-accent);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-method h5 i {
    color: var(--accent-color);
}

.discount-method ul {
    margin: 0;
    padding-left: 1.5rem;
}

.discount-method li {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.promo-code {
    background: var(--cta-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .discount-methods {
        gap: 1rem;
    }
    
    .discount-method {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .promotion-grid {
        grid-template-columns: 1fr;
    }
    
    .discount-highlight {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    main {
        padding: 0 1rem; /* Reduce from 2rem to 1rem for more text space */
        margin: 1rem auto; /* Reduce top/bottom margin slightly */
    }
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--cta-color);
}

.policy-section {
    background: var(--card-bg);
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(14, 16, 50, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
}

.students-guide-btn {
    background: var(--accent-color);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(52, 184, 195, 0.3);
}

/* Desktop: Position button to the right of title */
@media (min-width: 769px) {
    .welcome-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
    
    .welcome-header .students-guide-btn {
        position: static;
        margin: 0;
        flex-shrink: 0;
    }
}

.students-guide-btn:hover {
    background: #2da4ae;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 184, 195, 0.4);
}

.students-guide-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .students-guide-btn {
        position: static;
        margin: 0 0 1rem 0;
        width: fit-content;
    }
}

h2 {
    color: var(--dark-accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    font-weight: 700;
    letter-spacing: -0.3px;
}

h2 i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

h3 {
    color: var(--dark-accent);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

h4 {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
    letter-spacing: -0.1px;
}

p {
    margin: 1rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
}

li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

footer {
    background: var(--dark-accent);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 3px solid var(--accent-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.1px;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    display: block;
    margin: 0.5rem 0;
    font-weight: 400;
}

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

.copyright {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    color: #CCC;
    font-size: 0.85rem;
    margin-top: 2rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
/* Add responsive handling for navigation */
@media (max-width: 1200px) {
    header .header-content {
        padding: 1rem 1rem; /* Further reduce padding on smaller screens */
        gap: 1rem; /* Reduce gap even more */
    }
    
    nav {
        gap: 0.5rem; /* Tighter spacing on smaller screens */
    }
    
    .questions-portal-btn {
        padding: 0.4rem 0.8rem !important; /* Even smaller button */
        font-size: 0.8rem !important;
    }
}

@media (max-width: 1024px) {
    .logo-container {
        flex-shrink: 1; /* Allow logo to shrink */
    }
    
    .site-name {
        font-size: 1.5rem; /* Reduce site name size on medium screens */
    }
    
    nav a, .dropdown > a {
        font-size: 0.85rem; /* Further reduce font size */
        padding: 0.5rem 0.5rem; /* Reduce padding */
    }
}

@media (max-width: 768px) {
    header .header-content {
        flex-direction: column;
        padding: 0.75rem; /* Reduce from 1rem to 0.75rem for consistency */
    }
    
    nav {
        margin-top: 1rem;
        justify-content: center;
        flex-wrap: wrap; /* Allow wrapping on mobile */
        gap: 0.8rem;
    }
    
    .site-description {
        display: none; /* Hide description on mobile */
    }

    .logo-container {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
    }

    .university-logo {
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .site-title {
        text-align: left;
    }

    h1.site-name {
        font-size: 1.5rem;
        margin: 0;
    }

    .site-description {
        display: none;
    }

    nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
        gap: 0.2rem;
        width: 100%;
        padding: 0.2rem 0;
    }

    nav a, nav .dropdown {
        text-align: center;
        width: 100%;
        padding: 0.2rem;
        font-size: 0.9rem;
    }

    .dropdown {
        position: static;
    }

    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid var(--border-color);
    }

    .header-content {
        position: relative;
        z-index: 100;
        background: white;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem; /* Reduce from 1rem to 0.5rem for more text space */
    }

    .feature-card {
        padding: 1.25rem; /* Slightly reduce from 1.5rem to 1.25rem */
    }

    .carousel-section {
        display: none;
    }

    .carousel-slide {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 0 10px;
    }

    .carousel-button {
        display: none;
    }

    .iphone-frame {
        max-width: 220px;
        margin: 10px auto;
    }

    .carousel-caption {
        width: 100%;
        margin: 0.5rem auto;
    }

    .story-card {
        padding: 1.5rem;
    }

    .story-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem 0.75rem; /* Reduce horizontal padding from 1rem to 0.75rem */
    }

    .footer-section {
        width: 100%;
        text-align: center;
    }

    .subscription-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .subscription-card {
        margin: 0.5rem 0;
    }

    .faq-section {
        padding: 1rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .policy-section {
        padding: 0.75rem; /* Reduce from 1rem to 0.75rem for more text space */
    }

    .support-email {
        width: 100%;
    }

    .content-block {
        padding: 0.5rem; /* Reduce from 1rem to 0.5rem for more text space */
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .breadcrumb {
        padding: 0.5rem 0.75rem; /* Reduce horizontal padding for consistency */
        font-size: 0.9rem;
    }

    /* Add a mobile-specific message */
    .mobile-app-prompt {
        display: block;
        text-align: center;
        padding: 1.5rem 1rem; /* Match free trial spacing */
        background: var(--card-bg);
        border-radius: var(--border-radius);
        margin: 2rem 0;
    }
}

/* Hide mobile prompt on desktop */
.mobile-app-prompt {
    display: none;
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 380px) {
    main {
        padding: 0 0.75rem; /* Further reduce padding for very small screens */
    }
    
    .policy-section {
        padding: 0.5rem; /* Further reduce for very small screens */
    }
    
    .content-block {
        padding: 0.25rem; /* Minimal padding for very small screens */
    }
    
    header .header-content {
        padding: 0.5rem; /* Reduce header padding for very small screens */
    }
    
    .footer-content {
        padding: 1rem 0.5rem; /* Further reduce footer padding */
    }
    
    .site-name {
        font-size: 1.5rem;
    }

    .site-description {
        font-size: 0.9rem;
    }

    .carousel-caption h3 {
        font-size: 1rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .iphone-frame {
        max-width: 180px;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card h3 {
    color: var(--dark-accent);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

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

/* Mobile styles */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 1.8rem;
    }

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

    .feature-item {
        gap: 0.6rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }
}

.highlight-section {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.highlight-section h3 {
    color: white;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.highlight-section ul {
    margin: 0;
    color: white;
}

.highlight-section ul li::before {
    color: var(--accent-color);
}

.note-section {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

/* Subscription Page Styles */
.subscription-intro {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.subscription-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.subscription-card {
    padding: 2rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(14, 16, 50, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.subscription-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 6px 16px rgba(52, 184, 195, 0.2);
}

.best-value {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--accent-color);
    color: var(--dark-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.subscription-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.subscription-header h3 {
    color: var(--dark-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price .amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-accent);
    letter-spacing: -0.5px;
}

.price .period {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.subscription-card ul {
    margin: 2rem 0;
    list-style: none;
}

.subscription-card ul li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
}

.subscription-card ul li i {
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.subscribe-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--cta-color);
    color: var(--dark-accent);
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(250, 160, 86, 0.3);
    font-size: 1.2rem;
    letter-spacing: -0.2px;
}

.subscribe-button:hover {
    background: #fb8f3d;
    box-shadow: 0 4px 12px rgba(250, 160, 86, 0.4);
    transform: translateY(-2px);
}

.subscribe-button i {
    transition: transform 0.3s ease;
}

.subscribe-button:hover i {
    transform: translateX(5px);
}

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

/* Add CTA button styles */
.cta-button-container {
    text-align: center;
    margin: 2rem 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Update dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
    margin: 0 0.2rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(14, 16, 50, 0.15);
    border-radius: var(--border-radius);
    z-index: 1000;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.dropdown-content a {
    padding: 0.2rem 0.5rem;
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--nav-hover);
    color: var(--accent-color);
}

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

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        min-width: 100%;
        box-shadow: none;
        background-color: var(--bg-light);
        margin-top: 0.5rem;
        padding: 0;
    }

    .dropdown-content a {
        padding: 0.2rem 0.5rem;
        font-size: 0.85rem;
    }

    nav a, 
    .dropdown > a {
        padding: 0.75rem;
    }

    .dropdown > a::after {
        content: '▼';
        font-size: 0.8em;
        margin-left: 0.5rem;
    }
}

/* Center the CTA button container */
.content-block .cta-button-container {
    text-align: center;
    margin: 2rem 0 3rem;
}

/* Style the App Store button */
.content-block .cta-button {
    background: var(--cta-color);
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
}

.content-block .cta-button i {
    font-size: 1.5rem;
    margin-left: 0.8rem;
}

/* Support page styles */
.support-email {
    text-align: center;
    margin: 2rem 0;
}

.support-email .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background: var(--cta-color);
    color: var(--dark-accent);
}

.support-email .cta-button:hover {
    background: #fb8f3d;
}

.response-time {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 400;
    font-size: 1rem;
}

.policy-section ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
    text-align: left;
}

.policy-section ul li {
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    text-align: left;
}

.policy-section ul li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* Add device availability text style */
.device-availability {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
    font-weight: 400;
}

/* Update home page content block */
.content-block {
    margin-bottom: 3rem;
}

.content-block:not(.text-center) {
    text-align: left;
}

.content-block.note-section,
.content-block.subscription-intro,
.content-block.cta-button-container {
    text-align: center;
}

/* FAQ Styles */
.faq-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(14, 16, 50, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item h3 {
    color: var(--dark-accent);
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.faq-item h3 i {
    color: var(--accent-color);
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.faq-item:hover h3 i {
    transform: translateX(5px);
}

.faq-answer {
    margin-top: 0;
    padding-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border-top: 0px solid var(--border-color);
}

.faq-item.active .faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    max-height: 500px; /* Adjust based on content */
    border-top: 1px solid var(--border-color);
}

.faq-item h3 i {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-item.active h3 i {
    transform: rotate(90deg);
}

.faq-answer p {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Update carousel and caption positioning */
.carousel-section {
    margin: 3rem auto;
    padding: 2rem 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    max-width: 1200px;
    overflow: hidden; /* Contain all slides */
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 30px; /* Reduced from 60px */
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
    align-items: center;
    transform: translateX(33.333%); /* Offset by one slide width to center */
}

.carousel-slide {
    min-width: 33.333%;
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 0.3;
    transform: scale(0.7);
    transition: all 0.5s ease-in-out;
    padding: 0 20px;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.iphone-frame {
    position: relative;
    padding: 8px;
    background: var(--primary-color);
    border-radius: 45px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 20px;
    margin-bottom: 1rem; /* Reduced from 2rem */
    max-width: 280px;
    display: inline-block;
}

.iphone-frame img {
    width: 100%;
    height: auto;
    border-radius: 38px;
    display: block;
}

.carousel-caption {
    position: relative;
    width: 90%;
    text-align: center;
    padding: 1.5rem;
    z-index: 1;
    background: linear-gradient(145deg, #f6f7f9, #e8e9ec);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem; /* Reduced from 1rem */
    margin-bottom: 0.5rem; /* Reduced from 1rem */
    display: block;
}

.carousel-caption h3 {
    color: var(--dark-accent);
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.carousel-caption p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Update carousel navigation */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-button.prev {
    left: 5%;
}

.carousel-button.next {
    right: 5%;
}

/* Add carousel dots styling */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem; /* Reduced from 1rem */
    padding-bottom: 0.5rem; /* Reduced from 1rem */
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Story Section Styles */
.story-section {
    margin-top: 4rem;
}

.story-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.story-section h3 {
    color: var(--dark-accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-section h3 i {
    color: var(--accent-color);
}

.story-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.highlight {
    padding: 1.5rem;
    background: linear-gradient(145deg, #f6f7f9, #e8e9ec);
    border-radius: 12px;
    transition: transform 0.2s ease;
}

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

.highlight i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.highlight h4 {
    color: var(--dark-accent);
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

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

@media (max-width: 768px) {
    .story-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

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

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(14, 16, 50, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(14, 16, 50, 0.15);
}

.blog-image {
    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-content {
    padding: 1.5rem;
}

.blog-date {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--dark-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--accent-color);
}

.blog-content p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Hero Section for Landing Pages */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

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

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Testimonial Styles */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(14, 16, 50, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card:before {
    content: "\201C"; /* Unicode for left double quotation mark */
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    margin-top: 1.5rem;
    text-align: right;
}

.testimonial-author p {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .news-page .blog-content h3 {
        font-size: 1.15rem;
    }

    .news-page .blog-content p {
        font-size: 0.9rem;
    }
}

/* Add rounded corners to blog images */
.blog-featured-image {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-image img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-image img:hover {
    transform: translateY(-5px);
}

/* Blog post content - wider for natural desktop reading (matches MCQ feel) */
.blog-post .blog-content {
    max-width: 960px;
    margin: 0 auto;
}

/* Ensure consistent image dimensions in blog cards */
.blog-card .blog-image {
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Add this to your CSS file */
.disclaimer-box {
  background-color: #f8f9fa;
  border-left: 4px solid #2c3e50;
  padding: 15px;
  margin: 20px 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.content-disclaimer {
  background-color: #f1f8ff;
  border: 1px solid #d0e3ff;
  border-radius: 4px;
  padding: 15px;
  margin: 20px 0;
  font-size: 0.9rem;
}

/* Author Bio Section (E-A-T Signals) - Compact */
.author-bio {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 2rem 0;
}

.author-bio h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-details h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-details > p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.author-expertise,
.author-credentials {
    background: transparent;
    border-left: none;
    padding: 0;
    margin: 0.25rem 0;
}

.author-expertise h4,
.author-credentials p strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    display: block;
}

.author-expertise ul,
.author-credentials ul {
    list-style: none;
    padding-left: 0;
    margin: 0.2rem 0;
}

.author-expertise ul li,
.author-credentials ul li {
    padding: 0.15rem 0;
    padding-left: 1rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.9rem;
}

.author-expertise ul li:before,
.author-credentials ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.author-contact {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.author-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.author-contact a:hover {
    text-decoration: underline;
}

/* Enhanced blog meta with last updated */
.cta-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.cta-button--browser {
    background-color: #efe6ff;
    color: #3a2a6a;
}

.cta-button--browser i {
    color: #6a3de8;
}

.cta-button--browser:hover {
    background-color: #ffffff;
    color: var(--accent-color);
}

.cta-button--browser:hover i {
    color: var(--accent-color);
}

.qualifying-exam-page .cta-button--browser {
    background-color: #efe6ff !important;
    color: #3a2a6a !important;
    border-color: rgba(106, 61, 232, 0.25) !important;
}

.qualifying-exam-page .cta-button--browser i {
    color: #6a3de8 !important;
}

.qualifying-exam-page .cta-button--browser:hover {
    background-color: #ffffff !important;
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.qualifying-exam-page .cta-button--browser:hover i {
    color: var(--accent-color) !important;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.blog-meta i {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .author-bio {
        padding: 1rem;
    }
    
    .author-bio h2 {
        font-size: 1rem;
    }
    
    .author-details h3 {
        font-size: 0.95rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Add hamburger menu styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-menu:focus {
    outline: none;
}

.hamburger-line {
    width: 2rem;
    height: 0.25rem;
    background-color: #2c3e50;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e0e0e0;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.mobile-nav-header .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav-header .site-name {
    font-size: 1.5rem;
    margin: 0;
    color: #2c3e50;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-menu {
    padding: 15px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-item a {
    display: block;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.mobile-nav-item a:hover {
    background-color: #f5f5f5;
    color: #3498db;
}

.mobile-nav-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.mobile-dropdown-toggle.active {
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    display: none;
    background-color: #f8f9fa;
    padding: 5px 0;
}

.mobile-nav-submenu.active {
    display: block;
}

.mobile-nav-submenu a {
    padding: 12px 30px;
    font-weight: normal;
    color: #555;
}

.mobile-nav-submenu a:hover {
    background-color: #eaeaea;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: absolute;
    top: 15px;
    right: 15px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }
    
    nav {
        display: none;
    }
}

/* Remove the overlay styles */
.mobile-nav-overlay {
    display: none !important;
}

.mobile-nav-backdrop {
    display: none !important;
}


/* Update qualifying exam page to match passMCQ design with new color palette */
.qualifying-exam-page {
    --primary-color: #061148;     /* penn-blue - main brand color */
    --secondary-color: #001464;   /* federal-blue - secondary elements */
    --accent-color: #855CA6;      /* royal-purple - accents and highlights */
    --text-on-primary: #FFFFFF;   /* white text on dark backgrounds */
    --light-purple: rgba(133, 92, 166, 0.1); /* light purple for backgrounds */
    --cta-color: #F19C96;         /* coral-pink - for call-to-action buttons */
    --highlight-color: #F6C7C4;   /* tea-rose-red - for subtle highlights */
    --purple-gradient: linear-gradient(135deg, #061148, #001464);
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --line-height-body: 1.6;
}

/* Override hyperlink colors for qualifying exam page */
.qualifying-exam-page a {
    color: var(--cta-color); /* Use coral-pink for better contrast against purple */
    text-decoration: underline;
    transition: all 0.3s ease;
}

.qualifying-exam-page a:hover {
    color: var(--highlight-color); /* Use tea-rose-red on hover for subtle variation */
    text-decoration: none;
}

/* Specific styling for hero section links to ensure visibility */
.qualifying-exam-page .hero-section a {
    color: var(--cta-color); /* Coral-pink for excellent contrast against purple */
    font-weight: 600;
    text-decoration: underline;
}

.qualifying-exam-page .hero-section a:hover {
    color: var(--highlight-color); /* Tea-rose-red on hover */
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Ensure CTA buttons maintain their original styling */
.qualifying-exam-page .cta-button {
    color: white !important; /* Override the general link color for buttons */
}

.qualifying-exam-page .cta-button:hover {
    color: var(--primary-color) !important; /* Override the general link hover color for buttons */
}

/* Ensure navigation links maintain their original styling */
.qualifying-exam-page nav a,
.qualifying-exam-page .mobile-nav a,
.qualifying-exam-page .mobile-nav-item a,
.qualifying-exam-page .mobile-nav-submenu a,
.qualifying-exam-page .mobile-nav-mcq-link {
    color: var(--dark-accent) !important; /* Keep navigation links dark */
    text-decoration: none !important; /* Remove underlines from navigation */
}

.qualifying-exam-page nav a:hover,
.qualifying-exam-page .mobile-nav a:hover,
.qualifying-exam-page .mobile-nav-item a:hover,
.qualifying-exam-page .mobile-nav-submenu a:hover,
.qualifying-exam-page .mobile-nav-mcq-link:hover {
    color: var(--accent-color) !important; /* Keep navigation hover purple */
    text-decoration: none !important; /* Ensure no underlines on hover */
}

/* Ensure footer links maintain their original styling */
.qualifying-exam-page footer a {
    color: var(--accent-color) !important; /* Keep footer links teal/blue */
}

.qualifying-exam-page footer a:hover {
    color: var(--cta-color) !important; /* Use coral-pink on hover for footer links */
}

.qualifying-exam-page body,
.qualifying-exam-page p,
.qualifying-exam-page h1,
.qualifying-exam-page h2,
.qualifying-exam-page h3,
.qualifying-exam-page h4,
.qualifying-exam-page li {
    font-family: var(--font-primary);
    line-height: var(--line-height-body);
}


.news-page .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.news-page .blog-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(6, 17, 72, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-page .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(6, 17, 72, 0.15);
}

.news-page .blog-image {
    height: 200px;
    overflow: hidden;
}

.news-page .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 8px;
}

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

.gradient-card {
    background: linear-gradient(135deg, #34b8c3 0%, #2c3e50 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.gradient-card__content {
    text-align: center;
    padding: 2rem;
}

.gradient-card__content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.gradient-card__title {
    font-size: 1.5rem;
    font-weight: 700;
}

.news-page .blog-content {
    padding: 1.5rem;
}

.news-page .blog-date {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-page .blog-content h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-page .blog-content h3 a {
    color: var(--dark-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-page .blog-content h3 a:hover {
    color: var(--accent-color);
}

.news-page .blog-content p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.news-page .read-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.news-page .read-more:hover {
    gap: 0.8rem;
}

.news-page .cta-section {
    text-align: center;
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(52, 184, 195, 0.08), rgba(241, 156, 150, 0.08));
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: inset 0 0 0 1px rgba(14, 16, 50, 0.05);
}

.news-page .cta-section h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.news-page .cta-section p {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
}

.news-page .app-store-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-page .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--border-radius);
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-page .cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 184, 195, 0.3);
}

.news-page .device-availability {
    font-size: 0.9rem;
    color: rgba(14, 16, 50, 0.7);
}

.news-page .section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.news-page .section-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.news-page .section-header h1 i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.news-page .section-header p {
    max-width: 640px;
    margin: 0;
    color: var(--text-secondary);
}

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

    .news-page .section-header h1 {
        font-size: 2rem;
    }

    .gradient-card {
        min-height: 200px;
    }

    .gradient-card__content {
        padding: 2rem 1.5rem;
    }

    .news-page .cta-section {
        padding: 2rem 1.25rem;
    }
}


/* Animations for dramatic effect */
@keyframes celebrateIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .qualifying-exam-page .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .qualifying-exam-page .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .qualifying-exam-page .hero-section p {
        font-size: 1rem;
    }
}

/* Updated styles for the brand transition in the header */
.qualifying-exam-page .logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Consistent spacing between logo and text */
}

.qualifying-exam-page .site-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qualifying-exam-page .site-name {
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.brand-transition {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

/* Make both icons the same size with consistent spacing */
.university-logo, .passmcq-icon {
    height: 2.5rem !important;
    width: auto;
}

.passmcq-icon {
    margin: 0 5px 0 10px; /* Increased left margin to match university logo spacing */
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .site-name {
        font-size: 1.2rem;
    }
    
    .university-logo, .passmcq-icon {
        height: 2rem !important;
    }
}

/* Improved layout for feature cards and testimonials on desktop */
.qualifying-exam-page .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.qualifying-exam-page .feature-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-top: 4px solid var(--primary-color);
    width: 100%;
}

.qualifying-exam-page .feature-details {
    width: 100%;
}

.qualifying-exam-page .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 1.5rem auto;
}

.qualifying-exam-page .testimonial-card {
    background-color: var(--light-purple);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .qualifying-exam-page .content-block {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .qualifying-exam-page .feature-card {
        padding: 2.5rem;
    }
    
    .qualifying-exam-page .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .qualifying-exam-page .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure buttons use the purple color scheme */
.qualifying-exam-page .cta-button {
    background-color: var(--accent-color);
    border: 2px solid transparent;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.qualifying-exam-page .cta-button:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.qualifying-exam-page .cta-button.large {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
}

.qualifying-exam-page .cta-button.large:hover {
    background-color: white;
    color: var(--primary-color);
}

.qualifying-exam-page .hero-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--highlight-color); /* Using tea-rose-red for better contrast */
    font-weight: 400;
}

/* Add a prominent passMCQ link to the mobile navigation */
.mobile-nav-mcq-link {
    display: block;
    margin: 20px 15px;
    padding: 12px 15px;
    background-color: var(--cta-color);
    color: var(--dark-accent);
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mobile-nav-mcq-link i {
    margin-right: 8px;
    color: var(--dark-accent);
}

.mobile-nav-mcq-link:hover {
    background-color: white;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.mobile-nav-mcq-link:hover i {
    color: var(--accent-color);
}

/* Promotions Page Styles */
.promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.promotion-card {
    position: relative;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.promotion-card.active {
    background-color: white;
    border: 2px solid var(--accent-color);
}

.promotion-card.upcoming {
    background-color: #f8f8f8;
    border: 2px dashed #ccc;
    opacity: 0.8;
}

.promotion-card.expired {
    background-color: #f8f8f8;
    border: 2px solid #ddd;
    opacity: 0.7;
}

.promotion-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: var(--border-radius);
}

.promotion-card.upcoming .promotion-badge {
    background-color: #6c757d;
}

.promotion-card.expired .promotion-badge {
    background-color: #dc3545;
}

.promotion-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.promotion-details ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.promotion-details li {
    margin-bottom: 0.5rem;
}

.promotion-date {
    font-style: italic;
    margin-top: 1rem;
    color: #6c757d;
}

.promotion-timer {
    margin: 1.5rem 0;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-unit span {
    display: block;
}

.countdown-unit .days,
.countdown-unit .hours,
.countdown-unit .minutes,
.countdown-unit .seconds {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    background-color: #f8f8f8;
    border-radius: 4px;
    padding: 0.5rem;
    min-width: 2.5rem;
    text-align: center;
}

.countdown-unit .label {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #6c757d;
}

.how-it-works {
    margin: 2rem 0;
}

.step {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--accent-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .promotion-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .countdown-unit .days,
    .countdown-unit .hours,
    .countdown-unit .minutes,
    .countdown-unit .seconds {
        font-size: 1.4rem;
        min-width: 2rem;
    }
}

/* Update note section alignment */
.note-section h3 {
    text-align: left;
}

.note-section ul {
    text-align: left;
    padding-left: 1.5rem;
}

.note-section li {
    margin-bottom: 0.5rem;
    text-align: left;
}

/* Add this to your CSS file */
.note-section p {
    text-align: left !important;
}

.limited-time-tag {
    color: white;
    background-color: var(--cta-color);
    font-weight: bold;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.announcement-section {
    background: #cc3324;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 8px 16px rgba(14, 16, 50, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem;
}

.announcement-title {
    text-align: left;
    font-size: 3.5rem;
    line-height: 1;  /* Changed from 0.9 to 1 for better spacing */
    margin: 0;
    color: white;
    border: none;
    text-transform: uppercase;
}

.announcement-title .now {
    display: block;
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: -0.1rem;  /* Changed from -0.3rem to -0.1rem for less aggressive spacing */
}

.announcement-title .available {
    display: block;
    font-weight: 800;
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: -0.1rem;  /* Changed from -0.2rem to -0.1rem for less aggressive spacing */
}

.announcement-title .on {
    display: inline;
    font-weight: 200;
    font-size: 1.8rem;
}

.announcement-title .android {
    display: inline;
    font-weight: 700;
    font-size: 3.5rem;
    margin-left: 0.2rem;
}

.announcement-content {
    text-align: left;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.announcement-content p {
    color: rgba(255, 255, 255, 0.9);
}

.announcement-section .cta-button {
    background: white;
    color: black;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

.announcement-section .cta-button:hover {
    transform: translateY(-2px);
    background: #f5f5f5;
}

.announcement-section .cta-button i {
    color: black;
}

.announcement-section .announcement-icon i {
    color: white;
    font-size: 4.8rem;  /* Reduced from 6rem to 4.8rem (80%) */
}

.announcement-section .announcement-icon {
    position: absolute;
    bottom: -1.2rem;  /* Slightly adjusted to maintain proportional peeking */
    left: 2rem;
    z-index: 2;
}

/* Update for mobile responsiveness */
@media (max-width: 768px) {
    .announcement-section {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1rem;
    }
    
    .announcement-title {
        text-align: center;
        font-size: 3rem;
    }
    
    .announcement-content {
        text-align: center;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 1.5rem;
    }
}

.logo-available-wrapper {
    position: relative;
    display: inline-block;
}

.announcement-section .announcement-icon {
    position: absolute;
    bottom: -1.5rem;  /* Adjusted to peek up a bit more */
    left: 2rem;
    z-index: 2;
}

.announcement-section .announcement-icon i {
    color: white;
    font-size: 4.8rem;  /* Reduced from 6rem to 4.8rem (80%) */
}

/* Remove any emoji-related styles */

.app-store-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.app-store-buttons .cta-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    flex: 1 1 auto;
    min-width: 240px;
    max-width: 320px;
    min-height: 80px;
    border: 2px solid transparent;
}

.app-store-buttons .cta-button i {
    font-size: 2rem;
    flex-shrink: 0;
}

.app-store-buttons .cta-button span {
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Apple App Store buttons */
.app-store-buttons .cta-button[href*="apps.apple.com"] {
    background: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.app-store-buttons .cta-button[href*="apps.apple.com"]:hover {
    background: #e8e8e8;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.app-store-buttons .cta-button[href*="apps.apple.com"] i {
    color: #000000;
}

/* Google Play Store buttons */
.app-store-buttons .cta-button[href*="play.google.com"] {
    background: #e8f0fe;
    border-color: rgba(66, 133, 244, 0.3);
    color: var(--text-primary);
}

.app-store-buttons .cta-button[href*="play.google.com"]:hover {
    background: #d2e3fc;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.2);
}

.app-store-buttons .cta-button[href*="play.google.com"] i {
    color: #4285F4;
}

/* Web app buttons */
.app-store-buttons .cta-button[href*="app.pass-ee.ca"] {
    background: #e0f7fa;
    border-color: rgba(52, 184, 195, 0.3);
    color: var(--text-primary);
}

.app-store-buttons .cta-button[href*="app.pass-ee.ca"]:hover {
    background: #b2ebf2;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(52, 184, 195, 0.2);
}

.app-store-buttons .cta-button[href*="app.pass-ee.ca"] i {
    color: var(--accent-color);
}

/* When app-store-buttons is inside FAQ items on desktop, break out of faq-item padding */
.faq-item .app-store-buttons,
.faq-answer .app-store-buttons {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .app-store-buttons {
        flex-direction: column;
        max-width: 100%;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    /* When app-store-buttons is inside content-block, break out of content-block padding to match free-trial spacing */
    .content-block .app-store-buttons,
    .cta-button-container.app-store-buttons {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* When app-store-buttons is inside FAQ items, break out of faq-item padding */
    .faq-item .app-store-buttons,
    .faq-answer .app-store-buttons {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .app-store-buttons .cta-button {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        padding: 0.75rem 1rem;
        min-height: 60px;
        justify-content: center;
    }
    
    .app-store-buttons .cta-button i {
        font-size: 1.4rem;
    }
    
    .app-store-buttons .cta-button span {
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* If you want to center the entire container */
.subscription-intro {
    text-align: center;
}

@media (max-width: 500px) {
    .announcement-title {
        font-size: 1.25rem;
        line-height: 1.15;
        word-break: normal;
        overflow-wrap: anywhere;
        white-space: normal;
        padding: 0 1rem;
        display: inline-block;
        min-width: 0;
    }
    .announcement-title .available {
        font-size: 2.2rem; /* Reduce size for mobile */
        white-space: nowrap; /* Prevent word break */
    }
    .announcement-title .android {
        font-size: 1.7rem; /* Reduce size for mobile */
        white-space: nowrap; /* Prevent word break */
    }
    .announcement-section {
        padding: 1.5rem 1rem;
    }
    .app-store-buttons .cta-button {
        min-width: 120px;   /* Reduce from 200px */
        font-size: 0.95rem; /* Slightly smaller text */
        padding: 10px 12px; /* Less padding */
    }
}

/* Welcome Header Styles */
.welcome-header {
    position: relative;
    margin-bottom: 1rem;
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 200;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

/* Desktop: Position button to the right of title */
@media (min-width: 769px) {
    .welcome-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
    
    .welcome-header .students-guide-btn {
        position: static;
        margin: 0;
        flex-shrink: 0;
    }
}

/* Mobile adjustments for welcome header */
@media (max-width: 768px) {
    .welcome-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .welcome-title {
        font-size: 1.3rem;
        flex: 1;
        min-width: 0;
    }
    
    .welcome-header .students-guide-btn {
        position: static;
        margin: 0;
        flex-shrink: 0;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Topic Cluster Hub Styles */
.topic-cluster-hub {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 6px 20px rgba(14, 16, 50, 0.12);
}

.topic-cluster-hub h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.75rem;
}

.topic-cluster-hub > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.cluster-category {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(14, 16, 50, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cluster-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(14, 16, 50, 0.15);
}

.cluster-category h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cluster-category h3 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.cluster-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cluster-category ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    line-height: 1.6;
    position: relative;
}

.cluster-category ul li:before {
    content: "→";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    margin-right: 0.5rem;
}

.cluster-category ul li a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cluster-category ul li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* People Also Ask Section */
.people-also-ask {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 4px 16px rgba(14, 16, 50, 0.1);
}

.people-also-ask h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.people-also-ask h2 i {
    color: var(--accent-color);
}

.people-also-ask-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.people-also-ask-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.people-also-ask-item:hover {
    box-shadow: 0 2px 8px rgba(14, 16, 50, 0.12);
}

.people-also-ask-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.people-also-ask-question:hover {
    background: rgba(52, 184, 195, 0.08);
}

.people-also-ask-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.people-also-ask-item.active .people-also-ask-question i {
    transform: rotate(180deg);
}

.people-also-ask-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.people-also-ask-item.active .people-also-ask-answer {
    max-height: 500px;
    padding: 1.25rem 1.5rem;
}

.people-also-ask-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.people-also-ask-answer a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
}

.people-also-ask-answer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive adjustments for topic cluster and People Also Ask */
@media (max-width: 768px) {
    .topic-cluster-hub {
        padding: 1.5rem;
    }
    
    .topic-cluster-hub h2 {
        font-size: 1.5rem;
    }
    
    .cluster-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .people-also-ask {
        padding: 1.5rem;
    }
    
    .people-also-ask h2 {
        font-size: 1.5rem;
    }
    
    .people-also-ask-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .people-also-ask-answer {
        padding: 0 1rem;
    }
    
    .people-also-ask-item.active .people-also-ask-answer {
        padding: 1rem;
    }
}
