/* Theme Variables from theme.json */
:root {
    /* Colors */
    --color-primary: #34B8C1;
    --color-primary-dark: #27949C;
    --color-primary-light: #6DD6DC;
    --color-accent: #FF6B35;
    --color-bg: #F7F9FA;
    --color-surface: #FFFFFF;
    --color-error: #E53E3E;
    --color-warning: #F2A900;
    --color-success: #2F9E44;
    --text-primary: #0F1720;
    --text-secondary: #5B6B73;
    --color-border: #E1E6E8;
    
    /* Typography */
    --font-family: Inter, Helvetica, Arial, sans-serif;
    
    /* Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(13, 30, 35, 0.06);
    --shadow-md: 0 6px 18px rgba(13, 30, 35, 0.08);
    --shadow-lg: 0 10px 40px rgba(13, 30, 35, 0.12);
}

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

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}



.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 101;
}

.brand-name {
    font-size: 1.25rem;
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-family);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
}

.btn-primary {
    /* border: 3px solid red; */
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(52, 184, 193, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 184, 193, 0.4);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

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

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Subjects Section */
.subjects {
    background: var(--color-surface);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

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

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--color-surface);
}

.subject-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subject-name {
    font-size: 1.1rem;
    
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.subject-tutors {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    min-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-brand-name {
    font-size: 1.25rem;
    
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

/* Social Media Links in Footer - Modern Design */
.social-media-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.social-icon:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Responsive Design - Social Media Links */
@media (max-width: 768px) {
    .social-media-links {
        gap: 14px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .social-media-links {
        gap: 12px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Popup styles moved to public/css/common_components/popup/popup.css */

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }

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

    .brand-name {
        font-size: 1.1rem;
    }

    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .brand {
        gap: 0.5rem;
    }

    .brand svg {
        width: 28px;
        height: 28px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .brand {
        gap: 0.4rem;
    }

    .brand svg {
        width: 24px;
        height: 24px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

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

    .subject-emoji {
        font-size: 2.5rem;
    }

    .subject-name {
        font-size: 1rem;
    }

    .subject-tutors {
        font-size: 0.8rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-title {
        font-size: 1rem;
    }

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

    .footer-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media print {
    .navbar,
    .footer {
        display: none;
    }

    .section-title {
        color: #000;
    }
}

a{
    text-decoration: none;  
    color: inherit;
}

