/* Custom Properties */
:root {
    /* Developer Mode Colors */
    --dev-primary: #0a0a0a;
    --dev-secondary: #2d2d2d;
    --dev-accent: #64ffda;
    --dev-text: #ffffff;
    
    /* Tutor Mode Colors */
    --tutor-primary: #ffffff;
    --tutor-secondary: #f0f0f0;
    --tutor-accent: #7c3aed;
    --tutor-text: #1a1a1a;
    
    /* Common Colors */
    --gray-light: #e5e5e5;
    --gray-dark: #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background: var(--dev-primary);
    color: var(--dev-text);
    transition: background-color 0.6s ease, color 0.6s ease;
    padding-bottom: 0;
}

/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Prevent scrolling when newsletter is open */
body.newsletter-open {
    overflow: hidden;
}

body.tutor-mode {
    background: var(--tutor-primary);
    color: var(--tutor-text);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-container {
    position: relative;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--dev-accent), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--dev-accent) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(10px);
    z-index: 1;
}

/* Mobile Navigation Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dev-text);
    font-size: 1.8rem;
    z-index: 1010;
}

.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    margin-left: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #3CBB3C;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3CBB3C;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-number {
    font-size: 0.8rem;
    color: var(--dev-accent);
    font-family: 'Fira Code', monospace;
}

.nav-link-highlight {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dev-accent);
    transition: width 0.3s ease;
}

.nav-link:hover .nav-link-highlight {
    width: 100%;
}

.nav-cta {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--dev-accent);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    color: var(--dev-accent);
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    color: var(--dev-accent);
}

.nav-cta::after {
    display: none;
}

body.tutor-mode .nav-cta {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--tutor-accent);
    color: var(--tutor-accent);
}

body.tutor-mode .nav-cta:hover {
    background: rgba(124, 58, 237, 0.2);
    color: var(--tutor-accent);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--gray-light);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: #fff;
}

.mode-toggle {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.mode-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.mode-btn.active {
    background: var(--dev-accent);
    color: var(--dev-primary);
}

.tutor-mode .mode-btn.active {
    background: var(--tutor-accent);
    color: var(--tutor-primary);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background: linear-gradient(to right, var(--dev-primary), var(--dev-secondary));
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    width: 100%;
    max-width: 650px;
    position: relative;
}

.hero-tag {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--dev-accent);
    margin-bottom: 1rem;
    display: block;
}

.role-title {
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--dev-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.image-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top right,
        rgba(100, 255, 218, 0.2),
        transparent 70%
    );
    mix-blend-mode: overlay;
}

.hero-description {
    font-size: 1.5rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

.glitch-text {
    position: relative;
}

.tutor-title {
    display: none;
}

.tutor-mode .dev-title {
    display: none;
}

.tutor-mode .tutor-title {
    display: block;
}

.dev-desc, .tutor-desc {
    position: absolute;
    width: 100%;
    left: 0;
}

.dev-desc {
    opacity: 1;
    transform: translateX(0);
}

.tutor-desc {
    opacity: 0;
    transform: translateX(50px);
}

body.tutor-mode .dev-desc {
    opacity: 0;
    transform: translateX(-50px);
}

body.tutor-mode .tutor-desc {
    opacity: 1;
    transform: translateX(0);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.profile-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 2rem;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    object-fit: cover;
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.3), transparent);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.code-element {
    position: absolute;
    top: 20%;
    right: -10%;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 1rem;
    font-family: 'Fira Code', monospace;
    transform: rotate(10deg);
}

.tech-stack {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.tech-stack span {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dev-accent);
}

/* Work Section */
#work {
    padding: 8rem 2rem;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.work-filters {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid currentColor;
    background: none;
    color: inherit;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--dev-accent);
    border-color: var(--dev-accent);
    color: var(--dev-primary);
}

.tutor-mode .filter-btn.active {
    background: var(--tutor-accent);
    border-color: var(--tutor-accent);
    color: var(--tutor-primary);
}

/* About Section */
#about {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, var(--dev-primary), var(--dev-secondary));
    position: relative;
    overflow: hidden;
}

.tutor-mode #about {
    background: var(--tutor-secondary);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-tag {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--dev-accent);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--dev-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.card-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top right,
        rgba(100, 255, 218, 0.1),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover .card-blur {
    opacity: 1;
}

.card-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--dev-accent);
    margin-bottom: 2rem;
    display: block;
}

/* Experience Card */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-item {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.exp-year {
    position: absolute;
    left: -1rem;
    background: var(--dev-accent);
    color: var(--dev-primary);
    padding: 0.2rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    transform: translateX(-50%);
}

/* Skills Card */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.skill-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dev-accent);
}

.skill-info {
    flex: 1;
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--dev-accent);
    border-radius: 2px;
    transition: width 1.5s ease;
}

/* Achievements Card */
.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    text-align: center;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--dev-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    margin-bottom: 0.5rem;
    align-items: baseline;
}

.achievement-number::after {
    content: attr(data-suffix);
    font-size: 2rem;
}

/* Contact Section */
#contact {
    padding: 8rem 2rem;
    text-align: center;
}

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

.contact-title {
    font-size: 3.5rem;
    color: var(--dev-accent);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    padding: 3rem;
    margin-top: 4rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group textarea::placeholder {
    content: "Hi Ahmad, I saw your Android apps on Play Store and I'm impressed! Would love to discuss a potential project...";
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--dev-accent);
    outline: none;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
}

.shoot-btn {
    background: linear-gradient(45deg, var(--dev-accent), var(--dev-secondary));
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    color: var(--dev-primary);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
}

.shoot-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.shoot-btn svg {
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.5);
}

.shoot-btn:active svg {
    transform: translateX(500px) scale(0.2);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.7s ease;
}

@keyframes button-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(100, 255, 218, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
    }
}

.shoot-btn:active {
    background: var(--dev-accent);
    animation: button-pulse 0.8s;
}

/* Responsive Design - Core Improvements */
@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-content {
        padding: 8rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 10rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .portfolio-card,
    .portfolio-card.reverse {
        flex-direction: column;
    }
    
    .carousel-container {
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .tutoring-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tutoring-visual {
        order: -1;
    }
    
    .tutoring-card {
        max-width: 100%;
    }
    
    .math-decoration {
        display: none;
    }
}

@media (max-width: 850px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dev-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        margin-left: 0;
        font-size: 1.3rem;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    .portfolio-card {
        padding: 2rem;
    }
    
    .portfolio-content,
    .portfolio-showcase {
        width: 100%;
    }
    
    .profile-image {
        max-width: 250px;
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-content {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .mode-toggle {
        flex-direction: column;
        bottom: -4rem;
        left: 1rem;
        transform: none;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tutoring-stats {
        flex-wrap: wrap;
    }
    
    .tutoring-info h3 {
        font-size: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-columns {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .footer-nav {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .animated-title {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .animated-description {
        font-size: 1.1rem;
    }
    
    #titleContainer {
        height: 3.6rem;
    }
    
    .role-switcher {
        margin-top: 1.5rem;
    }
    
    .showcase-navigation {
        padding: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}

@media (max-width: 580px) {
    .portfolio-header,
    .about-header,
    .tutoring-header {
        padding: 0 1rem;
    }
    
    .portfolio-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content {
        padding: 8rem 1rem 5rem;
    }
    
    .hero-text {
        padding: 0 0.5rem;
    }
    
    .hero-tag {
        font-size: 0.8rem;
    }
    
    .animated-title {
        font-size: 2.5rem;
    }
    
    .animated-description {
        font-size: 1rem;
    }
    
    #titleContainer {
        height: 3rem;
    }
    
    .role-switcher {
        margin-top: 1.5rem;
    }
    
    .showcase-navigation {
        padding: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}

@media (max-width: 480px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-content {
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .mobile-menu-btn {
        font-size: 1.5rem;
    }
    
    .contact-platform {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-social a {
        margin: 0.5rem;
    }
    
    .tutoring-badge {
        padding: 0.4rem 0.8rem;
    }
    
    .skill-item {
        padding: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .hero-visual {
        padding: 0 1rem;
    }
    
    .profile-image {
        max-width: 200px;
        max-height: 200px;
    }
}

@media (max-width: 360px) {
    .animated-title {
        font-size: 2rem;
    }
    
    .animated-description {
        font-size: 0.9rem;
    }
    
    #titleContainer {
        height: 2.5rem;
    }
    
    #descriptionContainer {
        height: 2rem;
    }
    
    .section-tag {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .portfolio-card h3,
    .tutoring-info h3 {
        font-size: 1.5rem;
    }
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Fix for image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Improved container padding */
.portfolio-container,
.tutoring-container,
.about-container,
.footer-content {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Scrollbar styling for better mobile UX */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--dev-accent);
    border-radius: 4px;
}

body.tutor-mode ::-webkit-scrollbar-thumb {
    background: var(--tutor-accent);
}

/* Magic Effects */
@keyframes magicGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tech-pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.tech-pill::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

/* Social Media Section */
#social {
    padding: 8rem 2rem;
    background: var(--dev-primary);
    position: relative;
    overflow: hidden;
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
}

.social-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.magic-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--dev-accent),
        transparent
    );
    margin: 1rem auto;
    position: relative;
}

.magic-line::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: magicGlow 2s linear infinite;
    background-size: 200% 100%;
}

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

.social-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--dev-text);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.card-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.social-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--dev-accent), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.magic-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.social-card:hover .magic-hover {
    transform: translateX(100%);
}

/* Scroll Magic */
.scroll-magic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        var(--dev-accent),
        var(--dev-secondary)
    );
    z-index: 1000;
    transform-origin: 0%;
}

/* Add this to existing elements for magic touch */
.nav-link:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Updated Social Card Styles */
.upwork-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    background-color: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-card:hover .upwork-icon {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Platform icon for contact links */
.platform-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
}

/* Specific styles for the Upwork platform icon */
.platform-icon.upwork-icon {
    background-color: white;
    border-radius: 50%;
    padding: 6px;
    width: 36px;
    height: 36px;
}

.platform-icon.preply-icon {
    border-radius: 50%;
    border: 2px solid #FF7AAC;
    padding: 2px;
    background-color: white;
    object-fit: cover;
    width: 28px;
    height: 28px;
}

.preply-logo {
    border-radius: 50%;
    border: 2px solid #FF7AAC;
    padding: 2px;
    background-color: white;
    object-fit: cover;
    display: block;
    width: 48px;
    height: 48px;
}

/* Footer Styles */
footer {
    display: block;
}

.footer-container, .footer-top, .footer-logo, .footer-links, .footer-link,
.footer-bottom, .footer-copyright, .footer-social, .footer-social a {
    display: block;
}

/* Dark/Light Theme */
body.light-mode {
    --dev-primary: #ffffff;
    --dev-secondary: #f5f5f5;
    --dev-text: #1a1a1a;
    background: var(--dev-primary);
    color: var(--dev-text);
}

body.light-mode nav {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .nav-link {
    color: var(--dev-text);
}

body.light-mode .theme-toggle {
    color: var(--dev-text);
}

/* Updated Logo Styles */
.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dev-accent);
}

/* Updated Navigation Layout */
.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

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

/* Description Container with Switch Button */
.description-container {
    position: relative;
    height: 60px;
    margin-top: 1.5rem;
    overflow: hidden;
}

/* Updated Role Switcher - Premium Crystal Line */
.role-switcher {
    margin-top: 2rem;
    width: 100%;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    position: relative;
    transition: all 0.3s ease;
}

.switch-label {
    font-size: 0.9rem;
    color: var(--dev-accent);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.role-switcher:hover .switch-label {
    opacity: 1;
}

.slider-track {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.slider-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, rgba(100, 255, 218, 0.7), rgba(100, 255, 218, 0.9));
    transition: all 0.4s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.5);
}

/* Remove the dot after element */
.slider-line::after {
    display: none;
}

.role-switcher:hover .slider-track {
    background: rgba(255, 255, 255, 0.2);
    height: 2px;
}

.role-switcher:hover .slider-line {
    height: 2px;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.8);
    background: linear-gradient(90deg, rgba(100, 255, 218, 0.8), rgba(100, 255, 218, 1));
}

/* Updated About Section Styles */
@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Updated Portfolio Styles */
.portfolio-card {
    margin-bottom: 4rem;
    padding: 2rem;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
}

.portfolio-category {
    color: var(--dev-accent);
    font-size: 0.9rem;
    font-family: 'Fira Code', monospace;
    margin-bottom: 1rem;
}

.portfolio-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--dev-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Carousel Styles */
.portfolio-carousel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

@media (max-width: 1024px) {
    .portfolio-card,
    .portfolio-card.reverse {
        grid-template-columns: 1fr;
    }
    
    .carousel-container {
        height: 400px;
    }
}

/* Update Play Store Link Style */
.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--dev-accent);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Update Portfolio Section Header */
#portfolio {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, var(--dev-primary), var(--dev-secondary));
    position: relative;
    overflow: hidden;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-tag {
    font-size: 1rem;
    color: var(--dev-accent);
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: 'Fira Code', monospace;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--dev-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.title-underline {
    position: relative;
    width: 200px;
    height: 4px;
    margin: 0 auto;
}

.title-underline .line {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--dev-accent);
    border-radius: 2px;
}

.title-underline .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--dev-accent);
    filter: blur(10px);
    opacity: 0.5;
}

.portfolio-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top right,
        rgba(100, 255, 218, 0.1),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-category {
    color: var(--dev-accent);
    font-size: 0.9rem;
    font-family: 'Fira Code', monospace;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.portfolio-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--dev-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.tech-stack {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tech-stack span {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dev-accent);
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
}

.tech-stack span:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--dev-accent);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(100, 255, 218, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.link-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--mouse-x) var(--mouse-y),
        rgba(100, 255, 218, 0.4),
        transparent 100px
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-link:hover .link-glow {
    opacity: 1;
}

/* Ultra Premium Showcase Styles */
.portfolio-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.showcase-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.showcase-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.showcase-track img {
    width: calc(100% / 3);
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
}

.showcase-navigation {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 2;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: scale(1.1);
}

.showcase-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

@media (max-width: 1024px) {
    .portfolio-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-container {
        height: 400px;
    }
}

/* Blink animation for role switcher */
.blink {
    animation: blink 1s infinite;
    color: var(--dev-accent);
}

@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Increase size of social media icons */
.social-card .fab {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dev-accent);
    transition: all 0.3s ease;
}

.social-card:hover .fab {
    transform: scale(1.1);
}

.social-card .fab.fa-instagram, 
.social-card .fab.fa-google-play {
    font-size: 3rem;
}

/* Preply Card Styles */
.preply-card .icon-wrapper {
    background: rgba(125, 58, 237, 0.1);
}

.preply-card .icon-wrapper svg {
    color: #7c3aed;
    transition: all 0.3s ease;
}

.preply-card:hover .icon-wrapper svg {
    transform: scale(1.1);
    color: #64ffda;
}

.preply-card h3 {
    background: linear-gradient(45deg, #fff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preply-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.preply-card:hover:before {
    opacity: 1;
}

#animalGameTrack img,
#truthDareTrack img {
    width: calc(100% / 3);
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
}

/* Animation Enhancements */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1.0) !important;
    transition-duration: 1000ms !important;
    will-change: transform, opacity;
}

/* Optimization for smoother animations */
html {
    scroll-behavior: smooth;
}

.portfolio-card, .about-card, .social-card, .contact-form {
    transform-origin: center;
    backface-visibility: hidden;
}

/* Improve AOS visibility for bidirectional scrolling */
@media screen and (prefers-reduced-motion: no-preference) {
    [data-aos].aos-animate {
        transition-delay: 0 !important;
    }
}

/* Override to enable animations in both directions */
html:not([data-aos-once]) [data-aos].aos-animate {
    transition-property: opacity, transform !important;
}

/* Role Title Animation */
.role-title, .hero-description {
    transition: opacity 0.4s ease, transform 0.5s ease;
}

.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Text animation container */
.text-animation-container {
    position: relative;
    min-height: 100px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    margin-bottom: 2rem;
}

#titleContainer {
    min-height: 120px;
    min-width: 450px;
    width: 100%;
    overflow: visible;
    position: relative;
}

#descriptionContainer {
    min-height: 80px;
}

.animated-title {
    position: absolute;
    width: 100%;
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--dev-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    line-height: 1.2;
    padding-right: 40px;
    letter-spacing: -0.02em;
    max-width: 100%;
    word-break: keep-all;
    white-space: nowrap;
}

.animated-description {
    position: absolute;
    width: 100%;
    font-size: 1.5rem;
    opacity: 0.8;
    margin: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    line-height: 1.5;
}

/* Animated state classes */
.animated-title.out, .animated-description.out {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    filter: blur(2px);
}

.animated-title.in, .animated-description.in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Tutor mode styling */
#tutorTitle {
    background: linear-gradient(45deg, #fff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .animated-title {
        font-size: 3.5rem;
        padding-right: 25px;
    }
    
    .animated-description {
        font-size: 1.2rem;
    }
    
    #titleContainer {
        min-height: 90px;
        min-width: 360px;
    }
    
    #descriptionContainer {
        min-height: 70px;
    }
}

/* Animation state and text overflow rules */
.role-switcher.animating {
    pointer-events: none;
    opacity: 0.9;
}

.animated-title, .animated-description {
    width: 100%;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#devTitle, #tutorTitle {
    display: block;
    width: auto;
    min-width: max-content;
}

/* Math Tutoring Section */
#tutoring {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, #0c0c0c, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.tutoring-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.tutoring-header {
    text-align: center;
    margin-bottom: 5rem;
}

.tutoring-line {
    background: #FF7AAC;
}

.tutoring-glow {
    background: #FF7AAC;
}

.tutoring-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tutoring-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 122, 172, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.badge-icon {
    color: #FF7AAC;
}

.tutoring-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #FF7AAC;
}

.tutoring-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #FF7AAC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tutoring-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.tutoring-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #FF7AAC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.tutoring-areas {
    margin-bottom: 3rem;
}

.tutoring-areas h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

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

.area-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 122, 172, 0.1);
}

.area-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 122, 172, 0.1);
}

.area-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #FF7AAC;
}

.area-name {
    font-size: 0.95rem;
}

.tutoring-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #FF7AAC;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 122, 172, 0.3);
}

.tutoring-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tutoring-cta:hover {
    background: #ff6395;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 122, 172, 0.4);
}

.tutoring-cta:hover::before {
    transform: translateX(100%);
}

.tutoring-cta svg {
    transition: transform 0.3s ease;
}

.tutoring-cta:hover svg {
    transform: translateX(5px);
}

.tutoring-visual {
    position: relative;
}

.tutoring-card {
    background: linear-gradient(135deg, #09090a, #1a1a1a);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
    z-index: 2;
}

.card-header {
    background: #FF7AAC;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 600;
}

.card-content {
    padding: 2rem;
}

.tutor-profile {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid #FF7AAC;
    box-shadow: 0 5px 15px rgba(255, 122, 172, 0.3);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutor-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tutor-title {
    font-size: 1rem;
    color: #FF7AAC;
    margin-bottom: 1rem;
}

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

.stars {
    color: #ffab00;
    letter-spacing: 2px;
}

.count {
    font-size: 0.9rem;
    opacity: 0.8;
}

.session-details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
}

.session-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.session-row:last-child {
    border-bottom: none;
}

.session-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.session-value {
    font-weight: 600;
    color: #fff;
}

.card-button {
    display: block;
    text-align: center;
    background: #FF7AAC;
    color: #fff;
    text-decoration: none;
    padding: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-button:hover {
    background: #ff6395;
}

.math-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.1;
}

.formula-1,
.formula-2,
.formula-3,
.formula-4 {
    position: absolute;
    font-family: 'Times New Roman', serif;
    color: #FF7AAC;
    font-size: 1.2rem;
    font-style: italic;
}

.formula-1 {
    top: 15%;
    left: -20%;
    font-size: 1.8rem;
    transform: rotate(-15deg);
}

.formula-2 {
    top: 60%;
    right: -15%;
    font-size: 2rem;
    transform: rotate(10deg);
}

.formula-3 {
    bottom: 10%;
    left: 10%;
    font-size: 1.5rem;
    transform: rotate(-5deg);
}

.formula-4 {
    top: 40%;
    right: 5%;
    font-size: 1.6rem;
    transform: rotate(8deg);
}

@media (max-width: 1024px) {
    .tutoring-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tutoring-visual {
        order: -1;
    }
    
    .tutoring-card {
        max-width: 100%;
    }
    
    .math-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tutoring-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tutoring-info h3 {
        font-size: 2rem;
    }
}

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

.platform-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
}

.platform-icon.preply-icon {
    border-radius: 50%;
    border: 2px solid #FF7AAC;
    padding: 2px;
    background-color: white;
    object-fit: cover;
}

.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-platform {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 230px;
    justify-content: center;
}

.contact-platform span {
    margin-left: 10px;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.contact-platform:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Premium Footer Styles */
.premium-footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(5, 30, 15, 0.98) 100%);
    color: white;
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
}

.premium-footer::before {
    display: none;
}

.footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo .logo {
    font-size: 26px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    -webkit-text-fill-color: white;
    background: none;
}

.footer-logo p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.footer-columns {
    display: flex;
    flex: 2;
    justify-content: space-around;
    gap: 100px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 160px;
}

.footer-column:first-child {
    margin-right: 40px;
}

.footer-column h4 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link:hover {
    color: #3CBB3C;
}

.footer-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #3CBB3C;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-contact-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.newsletter-hint {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.footer-middle {
    margin-bottom: 40px;
    text-align: center;
}

.footer-contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.footer-text-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-text-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3CBB3C;
    transition: width 0.3s ease;
}

.footer-text-link:hover {
    color: #3CBB3C;
}

.footer-text-link:hover::after {
    width: 100%;
}

.social-prompt {
    margin-bottom: 20px;
}

.social-prompt p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.punchline {
    color: #3CBB3C;
    font-weight: 600;
}

.social-direction {
    color: #3CBB3C;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #3CBB3C, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    background-color: #3CBB3C;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(60, 187, 60, 0.3);
}

.footer-social a:hover::before {
    opacity: 0.4;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(60, 187, 60, 0.3), 
        rgba(60, 187, 60, 0.7), 
        rgba(60, 187, 60, 0.3), 
        transparent);
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding-bottom: 50px;
}

.copyright {
    margin: 10px 0;
}

.tagline {
    margin: 10px 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }
    
    .footer-columns {
        flex-direction: column;
        width: 100%;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
        text-align: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.scroll-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00AA55, #1AAD19, #3CBB3C, #00AA55);
    background-size: 300% 100%;
    animation: gradientFlow 8s ease infinite;
    transition: width 0.1s ease;
}

.extra-space {
    height: 100px;
    width: 100%;
}

/* Calendly Icon Styles */
.platform-icon.calendly-icon {
    background-color: #057516;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-platform:hover .calendly-icon {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(5, 117, 22, 0.5);
}

/* Make the Calendly icon in the footer text link match other links */
.footer-text-link[href*="calendly"] {
    color: white;
    font-weight: normal;
}

.footer-text-link[href*="calendly"]::after {
    background-color: #3CBB3C;
}

/* Style the Calendly social card with a subtle calendar appearance */
.social-card .icon-wrapper .fa-calendar-check {
    color: #3CBB3C;
    font-size: 28px;
    transition: all 0.3s ease;
}

.social-card:hover .icon-wrapper .fa-calendar-check {
    transform: scale(1.1);
}

.social-card[href*="calendly"] .card-blur {
    background: radial-gradient(circle at center, rgba(60, 187, 60, 0.1), transparent 70%);
}

/* Newsletter Button in Footer */
.newsletter-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background-color: var(--dev-accent);
    color: var(--dev-primary);
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.newsletter-btn i {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover {
    background-color: rgba(100, 255, 218, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
}

.newsletter-btn:hover i {
    transform: translateX(3px);
}

body.tutor-mode .newsletter-btn {
    background-color: var(--tutor-accent);
    color: white;
}

body.tutor-mode .newsletter-btn:hover {
    background-color: rgba(124, 58, 237, 0.9);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Newsletter Popup Section */
.newsletter-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.newsletter-section.active {
    visibility: visible;
    opacity: 1;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.newsletter-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 1rem;
    z-index: 1;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.newsletter-section.active .newsletter-container {
    transform: translateY(0);
}

.newsletter-content {
    background-color: var(--dev-secondary);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.close-newsletter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--dev-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-newsletter:hover {
    color: var(--dev-accent);
    transform: rotate(90deg);
}

.newsletter-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.newsletter-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--dev-accent), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form-container {
    margin-top: 2rem;
}

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

.newsletter-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--dev-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-submit-btn {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--dev-accent);
    color: var(--dev-primary);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-submit-btn:hover {
    background-color: rgba(100, 255, 218, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
}

/* Tutor mode styling */
body.tutor-mode .newsletter-content {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.tutor-mode .newsletter-header h2 {
    background: linear-gradient(45deg, var(--tutor-accent), #9333EA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.tutor-mode .newsletter-header p {
    color: var(--tutor-text);
}

body.tutor-mode .close-newsletter {
    color: var(--tutor-text);
}

body.tutor-mode .close-newsletter:hover {
    color: var(--tutor-accent);
}

body.tutor-mode .newsletter-form input {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--tutor-text);
}

body.tutor-mode .newsletter-form input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.tutor-mode .newsletter-form input:focus {
    border-color: var(--tutor-accent);
    background-color: rgba(0, 0, 0, 0.02);
}

body.tutor-mode .newsletter-submit-btn {
    background-color: var(--tutor-accent);
    color: white;
}

body.tutor-mode .newsletter-submit-btn:hover {
    background-color: rgba(124, 58, 237, 0.9);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Make newsletter responsive */
@media (max-width: 580px) {
    .newsletter-header h2 {
        font-size: 1.7rem;
    }
    
    .newsletter-header p {
        font-size: 0.9rem;
    }
    
    .newsletter-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .newsletter-header h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-header p {
        font-size: 0.85rem;
    }
    
    .newsletter-submit-btn {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

/* Newsletter form in footer */
.newsletter-form-footer {
    margin-top: 1rem;
}

.newsletter-form-footer form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.newsletter-form-footer input {
    padding: 0.8rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--dev-text);
    font-size: 0.9rem;
    width: 100%;
}

.newsletter-form-footer input:focus {
    outline: none;
    border-color: var(--dev-accent);
}

.newsletter-form-footer input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn-footer {
    background-color: var(--dev-accent);
    color: var(--dev-primary);
    border: none;
    border-radius: 4px;
    padding: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-btn-footer:hover {
    background-color: rgba(100, 255, 218, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
}

body.tutor-mode .newsletter-form-footer input {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--tutor-text);
}

body.tutor-mode .newsletter-form-footer input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.tutor-mode .newsletter-btn-footer {
    background-color: var(--tutor-accent);
    color: white;
}

body.tutor-mode .newsletter-btn-footer:hover {
    background-color: rgba(124, 58, 237, 0.9);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

@media (min-width: 768px) {
    .newsletter-form-footer form {
        flex-direction: row;
    }
    
    .newsletter-btn-footer {
        width: auto;
        white-space: nowrap;
    }
}

/* Newsletter form in footer */
.newsletter-form-footer {
    margin-top: 1rem;
}

/* Custom Beehiiv form styling */
.custom-beehiiv-form {
    display: flex;
    width: 100%;
    gap: 8px;
}

.custom-beehiiv-form input[type="email"] {
    flex: 1;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--dev-text);
    font-size: 14px;
}

.custom-beehiiv-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.beehiiv-subscribe-btn {
    background-color: #2AB7CA;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.beehiiv-subscribe-btn:hover {
    background-color: #1FA5B8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 183, 202, 0.3);
}

body.tutor-mode .custom-beehiiv-form input[type="email"] {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--tutor-text);
}

body.tutor-mode .custom-beehiiv-form input[type="email"]::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    .custom-beehiiv-form {
        flex-direction: column;
    }
    
    .beehiiv-subscribe-btn {
        width: 100%;
    }
}

/* Screen Size Restriction */
.screen-restriction {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dev-primary);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.restriction-content {
    max-width: 400px;
    background-color: var(--dev-secondary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.restriction-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2AB7CA;
}

.restriction-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.restriction-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

body.tutor-mode .screen-restriction {
    background-color: var(--tutor-primary);
}

body.tutor-mode .restriction-content {
    background-color: var(--tutor-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.tutor-mode .restriction-icon {
    color: var(--tutor-accent);
}

body.tutor-mode .restriction-content h2 {
    color: var(--tutor-text);
}

body.tutor-mode .restriction-content p {
    color: rgba(0, 0, 0, 0.7);
}

/* Apply restriction based on screen size */
@media (max-width: 1023px) {
    .screen-restriction {
        display: flex;
    }
    
    body {
        overflow: hidden;
    }
}