/* Color Palette */
:root {
    --navy-blue: #0a192f;
    --gold: #ffd700;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --dark-gray: #333333;
    --transition: all 0.3s ease;
}

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

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Widget */
.whatsapp-toggle {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.whatsapp-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Form Buttons - Specific Overrides */

.whatsapp-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.5);
}

/* Form Buttons - Specific Overrides */
.hero-login .btn,
.register-form .btn,
.contact-form .btn,
#login .login-form .btn {
    width: 100%;
    margin: 10px 0 0 0;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-login .btn:hover,
.register-form .btn:hover,
.contact-form .btn:hover,
#login .login-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form .btn {
    margin: 0;
    padding: 15px 25px;
    font-weight: 600;
    border-radius: 4px;
}

/* Focus States for All Buttons */
.btn:focus,
.filter-btn:focus,
.cookie-consent-btn:focus,
.share-btn:focus,
.back-to-top:focus,
.whatsapp-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5);
}

/* Active States for All Buttons */
.btn:active,
.filter-btn:active,
.cookie-consent-btn:active,
.share-btn:active {
    transform: translateY(-1px);
}

/* Disabled States */
.btn:disabled,
.filter-btn:disabled,
.cookie-consent-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .whatsapp-widget,
    .back-to-top,
    .cookie-consent,
    .footer {
        display: none;
    }
    
    .section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .section-title {
        color: #000;
        font-size: 1.8rem;
    }
    
    .service-card,
    .portfolio-item,
    .blog-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    
    .portfolio-img {
        display: none;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .btn {
        background: none;
        border: 1px solid #000;
        color: #000;
    }
}

/* Dark Mode Styles - Removed */
/* All dark mode specific styles have been removed from the stylesheet */

/* Dark Mode Toggle Button */
/* .dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--navy-blue);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
} */

/* .dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
} */

@media screen and (max-width: 960px) {
    /* .dark-mode-toggle {
        top: 40px;
        right: 20px;
    } */
}

/* Newsletter Signup Form */
.newsletter-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #1a3a5f 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.newsletter-section .section-title {
    color: var(--gold);
    margin-bottom: 1rem;
}

.newsletter-section .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.newsletter-form .btn {
    margin: 0;
    padding: 15px 25px;
    font-weight: 600;
}

.newsletter-success,
.newsletter-error {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.newsletter-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.newsletter-error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

@media screen and (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-section .section-subtitle {
        font-size: 1rem;
    }
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--navy-blue);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--dark-gray);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

@media screen and (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Course Filter */
.course-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--navy-blue);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn i {
    margin-right: 5px;
}

@media screen and (max-width: 768px) {
    .course-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .service-card {
        padding: 25px 20px;
        min-height: 220px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .course-filter {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 15px;
        min-height: 200px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background-color: var(--navy-blue);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    color: var(--gold);
    cursor: pointer;
    font-size: 1.8rem;
}

/* Custom 3D Logo */
.logo-link {
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #1a3a5f, #0a192f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        5px 5px 10px rgba(0, 0, 0, 0.3),
        -5px -5px 10px rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--gold);
}

.logo-box:hover {
    transform: translateY(-3px);
    box-shadow: 
        8px 8px 15px rgba(0, 0, 0, 0.4),
        -8px -8px 15px rgba(255, 255, 255, 0.15);
}

.logo-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), #ffaa00);
    border-radius: 14px;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.logo-box:hover::before {
    opacity: 1;
}

.logo-letter {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    text-align: center;
}

.nav-item {
    line-height: 40px;
    margin-left: 0.25rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    padding: 5px;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.nav-toggle:hover .bar {
    background-color: #ffffff;
}

.nav-toggle.active .bar {
    background-color: #ffffff;
}

.bar {
    width: 25px;
    height: 3px;
    margin: 3px auto;
    transition: var(--transition);
    background-color: var(--gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), 
                url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3') no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: var(--white);
    animation: fadeIn 1.5s ease-in;
    padding-top: 50px;
}

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

.hero-content {
    flex: 1;
    padding-right: 20px;
}

.hero-login {
    flex: 1;
    max-width: 400px;
}

/* Login Form in Hero Section */
.hero-login .login-form {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-login .login-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #ffaa00);
}

.hero-login .login-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-login .login-form h3 {
    color: var(--white);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.hero-login .form-group {
    margin-bottom: 20px;
}

.hero-login .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.hero-login .form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.hero-login .form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.hero-login .btn {
    width: 100%;
    margin: 10px 0 0 0;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.login-footer p {
    margin: 0;
    color: var(--white);
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Animated Text */
.animated-text {
    margin: 0 auto;
    border-right: 3px solid var(--gold);
    white-space: nowrap;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .animated-text {
        white-space: normal;
        word-wrap: break-word;
        overflow: visible;
    }
    
    .first-line,
    .second-line {
        white-space: normal;
        word-wrap: break-word;
        overflow: visible;
        border-right: none;
    }
}

.hero-heading {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    overflow: visible;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
}

.first-line {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    border-right: 3px solid var(--gold);
    white-space: nowrap;
    overflow: visible;
}

.second-line {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    border-right: 3px solid var(--gold);
    white-space: nowrap;
    overflow: visible;
}

/* Typing animation */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Erasing animation */
@keyframes erasing {
    from { width: 100% }
    to { width: 0 }
}

/* Blinking cursor animation */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--gold); }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Continuous Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--navy-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gold);
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.section-content p {
    text-align: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 10px;
}

.service-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger the animation for each card */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

/* Service Icon */
.service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--navy-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 80px;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-item h3 {
    color: var(--navy-blue);
    padding: 15px 20px 5px;
    font-size: 1.3rem;
}

.portfolio-item p {
    color: var(--dark-gray);
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-card h3 {
    color: var(--navy-blue);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.blog-date {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.blog-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Blog Card Animations */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.blog-card:hover::before {
    left: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Blog Actions */
.blog-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.share-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card p {
    color: var(--dark-gray);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author h4 {
    color: var(--navy-blue);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--gold);
    font-weight: 600;
    margin: 0;
    font-style: normal;
}

/* Login Form (Standalone Section) */
#login .login-form {
    max-width: 500px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

#login .login-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #ffaa00);
}

#login .login-form .form-group {
    margin-bottom: 20px;
}

#login .login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

#login .login-form .form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

#login .login-form .form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Student Page Styles */
.student-page {
    background: var(--white);
}

.student-page .navbar {
    background-color: var(--navy-blue);
}

.student-page .nav-link {
    color: var(--white);
}

.student-page .nav-link:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
}

.student-page .btn,
.student-page #login .login-form .btn,
.student-page .register-form .btn {
    background-color: var(--gold);
    color: var(--navy-blue);
    border: none;
}

.student-page .btn:hover,
.student-page #login .login-form .btn:hover,
.student-page .register-form .btn:hover {
    background-color: #e6c200;
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.student-page .form-footer p,
.student-page .login-footer p {
    color: #000000 !important;
}

.student-page .form-footer a,
.student-page .login-footer a {
    color: var(--navy-blue) !important;
}

/* Registration Form */
.register-form {
    max-width: 600px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.register-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #ffaa00);
}

.register-form .form-row {
    display: flex;
    gap: 20px;
}

.register-form .form-group {
    margin-bottom: 20px;
}

/* Student Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0a192f 100%);
    color: var(--white);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.assignment-icon {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.invoice-icon {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.stat-card .btn {
    margin-top: 1rem;
}

.activity-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
    margin-bottom: 1.5rem;
}

.activity-card .card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    background: var(--white);
    border-radius: 12px 12px 0 0 !important;
}

.activity-card .card-header h4 {
    color: var(--navy-blue);
    font-weight: 600;
    margin: 0;
}

.activity-card .card-body {
    padding: 1.5rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--navy-blue);
}

.activity-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--light-gray);
}

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

.action-item {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-item:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

/* Countdown Timer Section */
.countdown-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0a192f 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.countdown-section .section-title {
    color: var(--gold);
    margin-bottom: 1rem;
}

.countdown-section .countdown-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    min-width: 120px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gold);
}

.countdown-label {
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-btn {
    margin-top: 20px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

@media screen and (max-width: 768px) {
    .countdown-container {
        gap: 10px;
        margin: 30px 0;
    }
    
    .countdown-item {
        padding: 15px;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .countdown-item {
        min-width: 70px;
        padding: 12px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}

.action-icon {
    font-size: 1.5rem;
}

.course-list, .deadline-list {
    max-height: 300px;
    overflow-y: auto;
}

.course-item, .deadline-item {
    padding: 1rem 0;
}

.progress-bar-custom {
    background: linear-gradient(90deg, var(--gold), #ffaa00);
}

.chart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    margin: 1rem 0;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(to top, var(--gold), #ffaa00);
    border-radius: 5px 5px 0 0;
    transition: height 0.3s ease;
}

.chart-label {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 5px;
    color: var(--dark-gray);
}

.activity-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--navy-blue);
}

.activity-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--light-gray);
}

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

.action-item {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-item:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.action-icon {
    font-size: 1.5rem;
}

.course-list, .deadline-list {
    max-height: 300px;
    overflow-y: auto;
}

.course-item, .deadline-item {
    padding: 1rem 0;
}

.progress-bar-custom {
    background: linear-gradient(90deg, var(--gold), #ffaa00);
}

.chart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    margin: 1rem 0;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(to top, var(--gold), #ffaa00);
    border-radius: 5px 5px 0 0;
    transition: height 0.3s ease;
}

.chart-label {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 5px;
    color: var(--dark-gray);
}

/* Assignments Page Styles */
.assignments-header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0a192f 100%);
    color: var(--white);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.filter-bar {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
}

.progress-stats {
    margin-top: 1.5rem;
}

.stat-item h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-item small {
    color: var(--light-gray);
}

/* Assignments Page Styles */
.assignments-header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0a192f 100%);
    color: var(--white);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.filter-bar {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
}

.progress-stats {
    margin-top: 1.5rem;
}

.stat-item h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* Profile Page Styles */
.profile-header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0a192f 100%);
    color: var(--white);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.profile-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
    margin-bottom: 1.5rem;
}

.avatar-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #ffaa00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin: 0 auto 1rem;
}

.profile-card h4 {
    color: var(--navy-blue);
    font-weight: 700;
}

.profile-card .card-body {
    padding: 1.5rem;
}

.form-label.required::after {
    content: " *";
    color: #dc3545;
}

.nav-pills .nav-link {
    color: var(--dark-gray);
    border-radius: 8px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--gold);
    color: var(--navy-blue);
    font-weight: 600;
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
    color: var(--navy-blue);
}

.card-header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 1rem 1.5rem;
}

/* Profile Page Tab Navigation */
.student-page .nav-pills {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.student-page .nav-link {
    color: var(--dark-gray);
    border-radius: 8px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
}

.student-page .nav-link.active {
    background-color: var(--gold);
    color: var(--navy-blue);
    font-weight: 600;
}

.student-page .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
    color: var(--navy-blue);
}

.student-page .tab-content {
    min-height: 300px;
}

.student-page .tab-pane {
    padding: 1rem 0;
}

.student-page .form-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
}

.student-page .card-header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 1rem 1.5rem;
}

/* Invoices Page Styles */
.invoices-header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0a192f 100%);
    color: var(--white);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

/* Responsive adjustments for student dashboard */
@media screen and (max-width: 768px) {
    .dashboard-header h1,
    .assignments-header h1,
    .profile-header h1,
    .invoices-header h1 {
        font-size: 2rem;
    }
    
    .welcome-card {
        padding: 1.5rem;
    }
    
    .stat-card .card-body {
        padding: 1rem;
    }
    
    .activity-item {
        flex-direction: column;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-bar {
        padding: 1rem;
    }
    
    .chart-container {
        height: 80px;
    }
    
    .chart-bar {
        width: 20px;
    }
    
    .nav-pills .nav-link {
        margin-right: 0.25rem;
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
    }
}

.register-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 1rem;
}

.register-form .form-group input,
.register-form .form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.register-form .form-group input:focus,
.register-form .form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.register-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.register-form .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.register-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.register-form .checkbox-group a {
    color: var(--gold);
    text-decoration: none;
}

.register-form .checkbox-group a:hover {
    text-decoration: underline;
}

.register-form .btn {
    width: 100%;
    margin: 10px 0 0 0;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-footer p {
    margin: 0;
    color: var(--dark-gray);
}

.form-footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.contact-info h3 {
    color: var(--navy-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details .contact-item {
    margin-bottom: 25px;
}

.contact-item h4 {
    color: var(--navy-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    line-height: 1.6;
    margin-bottom: 5px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    padding: 12px 24px;
    margin: 10px 0 0 0;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: inline-block;
    text-align: center;
    background-color: var(--gold);
    color: var(--navy-blue);
    width: auto;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #e6c200;
}

/* Footer */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

/* WhatsApp Chat Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-toggle {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.whatsapp-toggle:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-toggle i {
    font-size: 30px;
}

.whatsapp-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 280px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
}

.whatsapp-widget:hover .whatsapp-dropdown {
    display: flex;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.whatsapp-option:last-child {
    border-bottom: none;
}

.whatsapp-option:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.whatsapp-option i {
    font-size: 24px;
    color: #25D366;
    margin-right: 15px;
}

.whatsapp-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 3px;
}

.whatsapp-number {
    display: block;
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        max-width: 900px;
    }
    
    .hero-content {
        padding-right: 15px;
    }
    
    .hero-login {
        max-width: 350px;
    }
}

@media screen and (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0;
    }
    
    .hero-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 20px;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        width: 100%;
    }
    
    .hero-login {
        max-width: 100%;
        width: 100%;
        max-width: 400px;
        margin-top: 20px;
        position: relative;
        z-index: 10;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .services-grid,
    .portfolio-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 960px) {
    .nav-toggle {
        display: flex;
        visibility: visible !important;
        z-index: 1001 !important;
        position: relative !important;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--navy-blue);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease, transform 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
        z-index: 1001; /* Higher than overlay */
        min-height: calc(100vh - 80px);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Enable momentum scrolling on iOS */
        visibility: visible !important;
        display: flex !important;
    }

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

    .nav-item {
        margin: 0.5rem 0;
        line-height: 1.5;
        -webkit-touch-callout: none; /* Prevent callout on iOS */
        -webkit-user-select: none; /* Prevent text selection */
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        display: block;
        color: var(--white);
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 4px;
        margin: 0 1rem;
        -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
        touch-action: manipulation; /* Improve touch response */
    }
    
    .nav-link:hover {
        background-color: rgba(255, 215, 0, 0.2);
        color: var(--gold);
        transform: translateX(5px);
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 60px 0;
        overflow: hidden;
    }
    
    .hero-container {
        gap: 30px;
        padding: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-login {
        max-width: 100%;
        width: 100%;
        margin-top: 15px;
        position: relative;
        z-index: 10;
    }
    
    .hero-image-container {
        max-width: 300px;
        margin: 0 auto;
        overflow: hidden;
    }
    
    .hero-student-image {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .services-grid,
    .portfolio-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero-container {
        gap: 20px;
        padding: 10px;
    }
    
    .hero-login {
        margin-top: 10px;
        max-width: 100%;
        width: 100%;
        position: relative;
        z-index: 10;
    }
    
    .services-grid,
    .portfolio-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .hero-container {
        gap: 15px;
        padding: 5px;
    }
    
    .hero-login {
        margin-top: 5px;
    }
    
    .services-grid,
    .portfolio-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
}

@media screen and (max-width: 640px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-container {
        padding: 10px;
    }
    
    .hero-heading {
        font-size: 2rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
    }
    
    .hero-slogan {
        font-size: 0.8rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    .navbar {
        height: 70px;
    }
    
    .nav-logo .logo-box {
        width: 40px;
        height: 40px;
    }
    
    .logo-letter {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero-heading {
        font-size: 1.6rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
    }
    
    .hero-slogan {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .section-content {
        text-align: justify;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        width: 100%;
    }
    
    .whatsapp-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-toggle {
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-toggle i {
        font-size: 20px;
    }
    
    .whatsapp-dropdown {
        bottom: 55px;
        width: 220px;
    }
    
    .whatsapp-option {
        padding: 10px 12px;
    }
    
    .whatsapp-label {
        font-size: 13px;
    }
    
    .whatsapp-number {
        font-size: 11px;
    }
}

@media screen and (max-width: 768px) {
    /* Removed duplicate .hero-btns definition to avoid conflicts */
    
    .btn {
        width: 100%;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .section-content {
        text-align: justify;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        width: 100%;
    }
    
    .whatsapp-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-toggle {
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-toggle i {
        font-size: 20px;
    }
    
    .whatsapp-dropdown {
        bottom: 55px;
        width: 220px;
    }
    
    .whatsapp-option {
        padding: 10px 12px;
    }
    
    .whatsapp-label {
        font-size: 13px;
    }
    
    .whatsapp-number {
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .hero-heading {
        font-size: 1.4rem;
    }

    .hero-subheading {
        font-size: 0.9rem;
    }
    
    .hero-slogan {
        font-size: 0.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card,
    .portfolio-item,
    .blog-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .whatsapp-widget {
        bottom: 8px;
        right: 8px;
    }
    
    .whatsapp-toggle {
        width: 40px;
        height: 40px;
    }
    
    .whatsapp-toggle i {
        font-size: 18px;
    }
    
    .whatsapp-dropdown {
        bottom: 50px;
    }
    
    .first-line,
    .second-line {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 400px) {
    .hero-heading {
        font-size: 1.3rem;
    }
    
    .animated-text {
        white-space: normal;
        word-wrap: break-word;
        overflow: visible;
    }
    
    .first-line,
    .second-line {
        white-space: normal;
        word-wrap: break-word;
        overflow: visible;
        border-right: none;
        font-size: 1.3rem;
    }
}

/* High Resolution Screens */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
    
    .hero-container {
        max-width: 1200px;
    }
    
    .hero-heading {
        font-size: 4rem;
    }
    
    .hero-subheading {
        font-size: 1.8rem;
    }
    
    .hero-slogan {
        font-size: 1.4rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .blog-grid,
    .testimonials-grid {
        gap: 40px;
    }
}

/* Orientation Changes for Mobile Devices */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 50px 0;
        min-height: auto;
    }
    
    .hero-container {
        gap: 20px;
    }
    
    .hero-login {
        max-width: 300px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.hero-slogan {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.7s both;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Unified Button Styles */
.btn {
    padding: 12px 24px;
    margin: 10px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn:active {
    transform: translateY(-1px);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5);
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.9s both;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btns .btn {
    margin: 10px 5px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.hero-btns .primary-btn {
    background-color: var(--gold);
    color: var(--navy-blue);
    border: none;
}

.hero-btns .primary-btn:hover {
    background-color: #e6c200;
}

.hero-btns .secondary-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

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

@media screen and (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
        padding: 14px 24px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-btns .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Primary Button */
.primary-btn {
    background-color: var(--gold);
    color: var(--navy-blue);
}

.primary-btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Secondary Button */
.secondary-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.secondary-btn:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Filter Button */
.filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--navy-blue);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn i {
    margin-right: 5px;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 47, 0.95);
    color: var(--white);
    padding: 20px;
    text-align: center;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.cookie-consent.hidden {
    transform: translateY(100%);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Cookie Consent Button */
.cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
}

.cookie-consent-accept {
    background-color: var(--gold);
    color: var(--navy-blue);
}

.cookie-consent-accept:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-consent-decline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.cookie-consent-decline:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .cookie-consent {
        padding: 15px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-text {
        min-width: unset;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Share Button */
.share-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.share-btn:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Download Our App Button - Black Text */
.footer-links .primary-btn {
    color: #000000;
}

/* Loading States for Buttons */
.btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Button Variations for Different Sections */
.hero-login .btn,
.register-form .btn,
.contact-form .btn {
    width: 100%;
    margin: 10px 0 0 0;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-login .btn:hover,
.register-form .btn:hover,
.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form .btn {
    margin: 0;
    padding: 15px 25px;
    font-weight: 600;
}

/* Enhanced Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 100px;
}

/* Loading States for Forms */
.btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Form Loading Overlay */
.form-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-loading.active {
    opacity: 1;
    visibility: visible;
}

.form-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(10, 25, 47, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: form-loading-spinner 1s linear infinite;
}

@keyframes form-loading-spinner {
    to {
        transform: rotate(360deg);
    }
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.form-help {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    display: none;
}

.form-group.focused .form-help {
    display: block;
}

[data-theme="dark"] .section-title {
    color: var(--navy-blue);
}

/* [data-theme="dark"] .hero-login .login-form {
    background: rgba(26, 42, 58, 0.95);
    color: var(--dark-gray);
} */

/* [data-theme="dark"] .hero-login .login-form h3 {
    color: var(--navy-blue);
} */

/* [data-theme="dark"] .hero-login .form-group label {
    color: var(--navy-blue);
} */

/* [data-theme="dark"] .hero-login .form-group input {
    background: rgba(10, 25, 47, 0.8);
    color: var(--dark-gray);
    border: 2px solid #2a3a4a;
} */

/* [data-theme="dark"] .hero-login .form-group input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
} */

/* [data-theme="dark"] .register-form {
    background: rgba(26, 42, 58, 0.95);
    color: var(--dark-gray);
} */

/* [data-theme="dark"] .register-form h2 {
    color: var(--navy-blue);
} */

/* [data-theme="dark"] .register-form .form-group label {
    color: var(--navy-blue);
} */

/* [data-theme="dark"] .register-form .form-group input,
[data-theme="dark"] .register-form .form-group select {
    background: rgba(10, 25, 47, 0.8);
    color: var(--dark-gray);
    border: 2px solid #2a3a4a;
} */

/* [data-theme="dark"] .contact-form {
    background: rgba(26, 42, 58, 0.95);
    color: var(--dark-gray);
} */

/* [data-theme="dark"] .contact-form h3 {
    color: var(--navy-blue);
} */

/* [data-theme="dark"] .contact-form .form-group label {
    color: var(--navy-blue);
} */

/* [data-theme="dark"] .contact-form .form-group input,
[data-theme="dark"] .contact-form .form-group textarea {
    background: rgba(10, 25, 47, 0.8);
    color: var(--dark-gray);
    border: 2px solid #2a3a4a;
} */

/* [data-theme="dark"] .footer {
    background-color: rgba(10, 25, 47, 0.95);
    color: var(--dark-gray);
} */

/* [data-theme="dark"] .footer h3,
[data-theme="dark"] .footer h4 {
    color: var(--gold);
} */

/* [data-theme="dark"] .footer a {
    color: var(--dark-gray);
} */

/* [data-theme="dark"] .footer a:hover {
    color: var(--gold);
} */

/* [data-theme="dark"] .cookie-consent {
    background: rgba(5, 15, 30, 0.95);
} */

/* [data-theme="dark"] .filter-btn {
    background: #1a2a3a;
    color: var(--navy-blue);
    border: 2px solid var(--gold);
} */

/* [data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
    background: var(--gold);
    color: var(--white);
} */

/* [data-theme="dark"] .whatsapp-widget {
    background-color: #1a2a3a;
    border: 2px solid var(--gold);
} */

/* [data-theme="dark"] .whatsapp-option {
    background-color: #0a192f;
    border: 1px solid #2a3a4a;
} */

/* [data-theme="dark"] .whatsapp-option:hover {
    background-color: #1a2a3a;
} */

/* [data-theme="dark"] .whatsapp-label,
[data-theme="dark"] .whatsapp-number {
    color: var(--dark-gray);
} */

/* [data-theme="dark"] .newsletter-section {
    background-color: rgba(10, 25, 47, 0.9);
} */

/* [data-theme="dark"] .newsletter-form input {
    background: rgba(26, 42, 58, 0.9);
    color: var(--dark-gray);
    border: 2px solid #2a3a4a;
} */

/* [data-theme="dark"] .dark-mode-toggle {
    background-color: var(--gold);
    color: var(--navy-blue);
} */

/* [data-theme="dark"] .dark-mode-toggle:hover {
    background-color: #e6c200;
} */

/* Dark Mode Toggle Button */
/* .dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--navy-blue);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
} */

/* .dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
} */

@media screen and (max-width: 960px) {
    /* .dark-mode-toggle {
        top: 40px;
        right: 20px;
    } */
}

/* Newsletter Signup Form */
.newsletter-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #1a3a5f 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.newsletter-section .section-title {
    color: var(--gold);
    margin-bottom: 1rem;
}

.newsletter-section .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.newsletter-form .btn {
    margin: 0;
    padding: 15px 25px;
    font-weight: 600;
}

.newsletter-success,
.newsletter-error {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.newsletter-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.newsletter-error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

@media screen and (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-section .section-subtitle {
        font-size: 1rem;
    }
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--navy-blue);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--dark-gray);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

@media screen and (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Course Filter */
.course-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--navy-blue);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn i {
    margin-right: 5px;
}

@media screen and (max-width: 768px) {
    .course-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .service-card {
        padding: 25px 20px;
        min-height: 220px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .course-filter {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 15px;
        min-height: 200px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background-color: var(--navy-blue);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    color: var(--gold);
    cursor: pointer;
    font-size: 1.8rem;
}

/* Custom 3D Logo */
.logo-link {
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #1a3a5f, #0a192f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        5px 5px 10px rgba(0, 0, 0, 0.3),
        -5px -5px 10px rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--gold);
}

.logo-box:hover {
    transform: translateY(-3px);
    box-shadow: 
        8px 8px 15px rgba(0, 0, 0, 0.4),
        -8px -8px 15px rgba(255, 255, 255, 0.15);
}

.logo-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), #ffaa00);
    border-radius: 14px;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.logo-box:hover::before {
    opacity: 1;
}

.logo-letter {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), 
                url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3') no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: var(--white);
    animation: fadeIn 1.5s ease-in;
    padding-top: 50px;
}

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

.hero-content {
    flex: 1;
    padding-right: 20px;
}

.hero-login {
    flex: 1;
    max-width: 400px;
}

/* Hero Image Animation */
.hero-image-container {
    animation: float 3s ease-in-out infinite;
}

.hero-student-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.hero-student-image:hover {
    transform: scale(1.05);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Login Form in Hero Section */
.hero-login .login-form {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-login .login-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #ffaa00);
}

.hero-login .login-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-login .login-form h3 {
#login .login-form .form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.student-dashboard .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

/* Login Form Heading Style */
#login .login-form h3 {
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

/* Student Page Styles */
.student-page {
    background: rgba(255, 255, 255, 0.15);
}

.hero-login .btn {
    width: 100%;
    margin: 10px 0 0 0;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-login .btn:hover {
    transform: translateY(-3px);
}

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.login-footer p {
    margin: 0;
    color: var(--white);
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Profile Page Form Styles */
.student-page .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 1rem;
}

.student-page .form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.student-page .form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.student-page .form-text {
    font-size: 0.875rem;
    color: var(--light-gray);
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.student-page .form-check {
    margin-bottom: 0.75rem;
}

.student-page .form-check-input {
    margin-right: 0.5rem;
}

.student-page .form-check-label {
    font-weight: normal;
}

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

.student-page .btn {
    padding: 12px 24px;
    margin: 10px 0 0 0;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    background-color: var(--gold);
    color: var(--navy-blue);
    width: auto;
}

.student-page .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #e6c200;
}

.student-page .btn-outline-secondary {
    background-color: transparent;
    border: 2px solid var(--light-gray);
    color: var(--dark-gray);
}

.student-page .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: var(--gold);
    color: var(--navy-blue);
}

/* Mobile Menu Overlay */
.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.nav-menu-overlay.active {
    display: block;
    pointer-events: none; /* Allow clicks to pass through to elements underneath */
}

/* Compact payment sidebar styles */
#payment .stat-card {
    margin-bottom: 0.1rem;
}

#payment .stat-card .card-body {
    padding: 0.1rem 0.25rem;
}

#payment .stat-card .card-title {
    font-size: 0.8rem;
    margin-bottom: 0.05rem;
}

#payment .stat-card p.small {
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
}

#payment .stat-card .btn-sm {
    padding: 0.1rem 0.25rem;
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
}

#payment .stat-card .btn-sm i {
    font-size: 0.6rem;
    margin-right: 0.05rem;
}

#payment .stat-card .d-flex {
    margin-bottom: 0.05rem;
}

/* End of stylesheet */

/* Reduce the height of payment sidebar boxes while keeping normal text */
#payment .stat-card {
    margin-bottom: 0.5rem;
    padding: 0;
}

#payment .stat-card .card-body {
    padding: 0.75rem;
}

#payment .stat-card .card-title {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

#payment .stat-card p {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

#payment .stat-card .btn {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

#payment .stat-card .d-flex {
    margin-bottom: 0.1rem;
}

/* Constrain the sidebar height */
#payment .col-md-4 {
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-height: 450px;
    overflow-y: auto;
}

#payment .stat-card {
    flex-shrink: 0;
}

/* Reduce gaps between elements */
#payment .gap-2 {
    gap: 0.25rem;
}

/* Reduce the height of invoice page sidebar boxes */
#invoices .stat-card {
    margin-bottom: 0.25rem;
    padding: 0;
}

#invoices .stat-card .card-body {
    padding: 0.5rem;
}

#invoices .stat-card .card-title {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

#invoices .stat-card p {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

#invoices .stat-card .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

#invoices .stat-card .d-flex {
    margin-bottom: 0.1rem;
}

/* Constrain the sidebar height on invoice page */
#invoices .col-md-4 {
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-height: 400px;
    overflow-y: auto;
}

#invoices .stat-card {
    flex-shrink: 0;
}

/* Reduce gaps */
#invoices .gap-2 {
    gap: 0.25rem;
}

/* Specific styles for Payment Summary box */
#invoices .col-md-4 > .stat-card:first-child {
    margin-bottom: 0.5rem;
}

/* Specific styles for Payment Tips box */
#invoices .col-md-4 > .stat-card:last-child {
    margin-bottom: 0;
}

/* Add to styles.css */
.student-dashboard .stat-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.student-dashboard .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}