/* ========================================
   APEX Campus - Main Stylesheet
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1b3142;
    --secondary-color: #ff69b4;
    --accent-color: #ffc0cb;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Canvas for Cherry Blossoms */
#sakura-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-apex {
    color: var(--white);
}

.logo-campus {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.1);
    color: var(--secondary-color);
}

.btn-apply {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 25px;
}

.btn-apply:hover {
    background-color: #ff1493 !important;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(27, 49, 66, 0.8), rgba(27, 49, 66, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ff1493;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
    font-size: 2rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.bg-light {
    background-color: var(--gray-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(27, 49, 66, 0.9), rgba(27, 49, 66, 0.9)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #2c4a5f);
    padding: 4rem 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Apply Form */
.apply-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.apply-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-list {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.contact-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-box h3 {
    margin-bottom: 1rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.apply-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.apply-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 49, 66, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    padding: 10px 0;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

/* Newsfeed */
.newsfeed-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.news-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.news-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.news-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.news-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.news-image {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    background: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.contact-form-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Map */
.map-section {
    padding: 3rem 0;
    background: var(--gray-light);
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.admin-link {
    margin-top: 1rem;
}

.admin-link a {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    opacity: 0.8;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.no-content {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

.no-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .about-content,
    .apply-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* ========================================
   ENHANCED STYLES FOR INDEX PAGE
   ======================================== */

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 49, 66, 0.9), rgba(27, 49, 66, 0.7));
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 105, 180, 0.2);
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 2px solid var(--secondary-color);
}

.slide-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    animation: slideInUp 0.8s ease;
}

.slide-description {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: slideInUp 0.8s ease 0.2s;
    animation-fill-mode: both;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInUp 0.8s ease 0.4s;
    animation-fill-mode: both;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-control:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 30px;
}

.slider-control.next {
    right: 30px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.indicator.active {
    background: var(--secondary-color);
    width: 80px;
}

/* Quick Info Bar */
.quick-info-bar {
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    margin-top: -80px;
    position: relative;
    z-index: 100;
    border-radius: 15px;
    padding: 2rem;
}

.info-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.info-details p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* About Home Section */
.about-home-section {
    padding: 6rem 0;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 105, 180, 0.1);
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 2px solid var(--secondary-color);
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.title-underline-left {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    margin: 0 0 2rem 0;
    border-radius: 2px;
}

.about-features-list {
    margin: 2rem 0;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.feature-list-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* About Home Media */
.media-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.media-wrapper .main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.experience-badge h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.experience-badge p {
    font-size: 1rem;
    margin: 0;
}

.about-stats-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-mini-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stat-mini-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-mini-card h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-mini-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color), #2c4a5f);
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-card.featured .service-icon {
    background: var(--white);
    color: var(--secondary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card.featured p {
    color: rgba(255,255,255,0.9);
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card.featured .service-features li {
    color: rgba(255,255,255,0.9);
}

.service-features i {
    color: var(--secondary-color);
}

.service-card.featured .service-features i {
    color: var(--accent-color);
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

.service-card.featured .service-link {
    color: var(--white);
}

/* Course Cards Modern */
.courses-slider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card-modern {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.course-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.course-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card-modern:hover .course-image-wrapper img {
    transform: scale(1.1);
}

.course-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #2c4a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-body {
    padding: 1.5rem;
}

.course-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-category {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.course-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.course-body h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.course-body p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
}

.course-info-grid .info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.course-info-grid i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.course-info-grid span {
    font-size: 0.85rem;
    color: var(--gray);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

.course-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.btn-enroll {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-enroll:hover {
    background: #ff1493;
    gap: 1rem;
}

/* Stats Counter Section */
.stats-counter-section {
    background: linear-gradient(rgba(27, 49, 66, 0.95), rgba(27, 49, 66, 0.95)), 
                url('../images/stats-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
    position: relative;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.counter-item {
    text-align: center;
    color: var(--white);
}

.counter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 105, 180, 0.2);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.counter-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-features {
    margin-top: 2rem;
}

.why-feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-feature-item:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.why-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.why-feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.why-feature-content p {
    color: var(--gray);
    line-height: 1.6;
}

.image-grid-why {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
}

.image-grid-why .image-item {
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
}

.image-grid-why .image-item.large {
    grid-row: span 2;
    height: 100%;
}

.image-grid-why img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-grid-why .image-item:hover img {
    transform: scale(1.1);
}

.success-badge-float {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-badge-float .badge-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.success-badge-float h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.success-badge-float p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #eee;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Gallery Preview */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 49, 66, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.1);
}

.gallery-preview-item:hover .gallery-preview-overlay {
    opacity: 1;
}

.gallery-preview-overlay i {
    color: var(--white);
    font-size: 2.5rem;
}

/* CTA Section Modern */
.cta-section-modern {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.95), rgba(255, 192, 203, 0.95)), 
                url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 49, 66, 0.8), rgba(255, 105, 180, 0.8));
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 2px solid var(--white);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.cta-feature i {
    font-size: 1.3rem;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .slider-control {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .slider-control.prev {
        left: 15px;
    }
    
    .slider-control.next {
        right: 15px;
    }
    
    .about-home-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .courses-slider-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .quick-info-bar {
        margin-top: 0;
        border-radius: 0;
    }
    
    .info-bar-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-counter-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;
}

/* Background image optimization */
.hero-slider .slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stats-counter-section,
.cta-section-modern,
.page-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Mobile optimization for background images */
@media (max-width: 968px) {
    .stats-counter-section,
    .cta-section-modern,
    .page-header {
        background-attachment: scroll;
    }
}

/* Lazy loading animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lazy-loaded {
    animation: fadeIn 0.5s ease-in;
}

/* ========================================
   ENHANCED HEADER STYLES
   ======================================== */

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(135deg, var(--secondary-color), #ff1493);
    color: var(--white);
    padding: 0.8rem 0;
    position: relative;
    z-index: 999;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.announcement-content i {
    animation: pulse 2s infinite;
}

.announcement-content a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.announcement-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    right: 20px;
    transition: all 0.3s ease;
}

.announcement-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-item i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.top-bar-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-item a:hover {
    color: var(--secondary-color);
}

/* Social Links Top */
.social-links-top {
    display: flex;
    gap: 0.8rem;
}

.social-links-top a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links-top a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.2);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 150px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-option:hover,
.lang-option.active {
    background: var(--gray-light);
}

.lang-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* Enhanced Logo */
.logo-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 400;
    margin-top: -2px;
}

/* Desktop Search */
.nav-search-desktop {
    flex: 1;
    max-width: 400px;
    margin: 0 2rem;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.7rem 3rem 0.7rem 1rem;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    border: none;
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #ff1493;
    transform: translateY(-50%) scale(1.1);
}

/* Enhanced Navigation Items */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-link i {
    font-size: 1rem;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Badges */
.badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: 0.3rem;
}

.badge-new {
    background: #ff1493;
    color: var(--white);
    animation: pulse 2s infinite;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ff1493;
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    width: 90vw;
    max-width: 1000px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    margin-top: 1rem;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.mega-menu-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu-section ul {
    list-style: none;
}

.mega-menu-section ul li {
    margin: 0.5rem 0;
}

.mega-menu-section ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
}

.mega-menu-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

.mega-menu-section ul li a:before {
    content: "→";
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mega-menu-section ul li a:hover:before {
    opacity: 1;
}

.mega-menu-highlight {
    background: linear-gradient(135deg, var(--primary-color), #2c4a5f);
    border-radius: 10px;
    padding: 1.5rem;
    color: var(--white);
}

.mega-menu-promo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mega-menu-promo i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.mega-menu-promo h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.mega-menu-promo p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.mega-menu-info {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
}

.mega-menu-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Quick Contact Button */
.btn-quick-contact {
    background: #25d366;
    border: none;
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-quick-contact:hover {
    background: #128c7e;
    transform: scale(1.1);
}

/* Quick Contact Modal */
.quick-contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.quick-contact-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-options {
    padding: 1.5rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.contact-option:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-option.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border-color: transparent;
}

.contact-option.phone {
    background: linear-gradient(135deg, #4e73df, #224abe);
    color: var(--white);
    border-color: transparent;
}

.contact-option.email {
    background: linear-gradient(135deg, #ea4335, #c5221f);
    color: var(--white);
    border-color: transparent;
}

.contact-option.messenger {
    background: linear-gradient(135deg, #0084ff, #0066cc);
    color: var(--white);
    border-color: transparent;
}

.option-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.option-details {
    flex: 1;
}

.option-details h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.option-details p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.modal-footer {
    text-align: center;
    padding: 1rem;
    background: var(--gray-light);
    color: var(--gray);
    font-size: 0.85rem;
    border-radius: 0 0 20px 20px;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.fab-button:hover {
    transform: scale(1.1);
}

.whatsapp-fab {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse 2s infinite;
}

.scroll-top-fab {
    background: linear-gradient(135deg, var(--primary-color), #2c4a5f);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top-fab.visible {
    opacity: 1;
    visibility: visible;
}

.fab-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    margin-right: 10px;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fab-button:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--gray-light);
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--secondary-color);
}

.breadcrumb-list .separator {
    margin: 0 0.5rem;
    color: var(--gray);
    font-size: 0.8rem;
}

.breadcrumb-list .active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Sticky Header Effect */
.navbar.sticky {
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .top-bar {
        display: none;
    }
    
    .nav-search-desktop {
        display: none;
    }
    
    .mobile-search {
        padding: 1rem 0;
        background: var(--white);
        border-bottom: 1px solid #eee;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .fab-tooltip {
        display: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .logo-apex,
    .logo-campus {
        font-size: 1.3rem;
    }
    
    .logo-tagline {
        font-size: 0.6rem;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   JAPANESE CHARACTERS ANIMATION
   ======================================== */

   .japanese-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.jp-char {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 105, 180, 0.15);
    font-weight: bold;
    animation: float-japanese var(--duration, 20s) linear infinite;
    animation-delay: var(--delay, 0s);
    left: calc(var(--delay) * 10%);
}

@keyframes float-japanese {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ========================================
   AUTO-TYPING ANIMATION
   ======================================== */

.typing-text {
    display: inline-block;
    min-width: 280px;
    text-align: left;
}

.typed-text {
    font-weight: 700;
    color: var(--secondary-color);
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--secondary-color);
    margin-left: 0.1rem;
    animation: blink 0.7s infinite;
}

.cursor.typing {
    animation: none;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* ========================================
   ENHANCED HERO SECTION
   ======================================== */

.slide-description-jp {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 1px;
}

.hero-mini-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mini-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

.mini-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

/* ========================================
   JAPANESE LEVELS SECTION
   ======================================== */

.japanese-levels-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.jlpt-levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.jlpt-level-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jlpt-level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.jlpt-level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.jlpt-level-card.featured {
    background: linear-gradient(135deg, var(--primary-color), #2c4a5f);
    color: var(--white);
}

.jlpt-badge {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.jlpt-badge.n5 { background: linear-gradient(135deg, #4caf50, #45a049); }
.jlpt-badge.n4 { background: linear-gradient(135deg, #2196f3, #1976d2); }
.jlpt-badge.n3 { background: linear-gradient(135deg, #ff9800, #f57c00); }
.jlpt-badge.n2 { background: linear-gradient(135deg, #e91e63, #c2185b); }
.jlpt-badge.n1 { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }

.jlpt-kanji {
    font-size: 2.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--secondary-color);
    margin: 1rem 0;
    font-weight: 700;
}

.jlpt-level-card.featured .jlpt-kanji {
    color: var(--accent-color);
}

.jlpt-level-card h3 {
    color: var(--primary-color);
    margin: 1rem 0;
    font-size: 1.3rem;
}

.jlpt-level-card.featured h3 {
    color: var(--white);
}

.jlpt-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.jlpt-level-card.featured .jlpt-description {
    color: rgba(255,255,255,0.9);
}

.jlpt-skills {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    padding: 0;
}

.jlpt-skills li {
    padding: 0.5rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jlpt-level-card.featured .jlpt-skills li {
    color: rgba(255,255,255,0.9);
}

.jlpt-skills i {
    color: var(--secondary-color);
}

.jlpt-level-card.featured .jlpt-skills i {
    color: var(--accent-color);
}

.jlpt-duration {
    margin: 1.5rem 0;
    padding: 0.8rem;
    background: var(--gray-light);
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.jlpt-level-card.featured .jlpt-duration {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 2.5rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* ========================================
   ANIMATION CLASSES
   ======================================== */

.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-in-out;
    animation-fill-mode: both;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .jp-char {
        font-size: 1.5rem;
    }
    
    .typing-text {
        min-width: 200px;
    }
    
    .slide-description-jp {
        font-size: 0.9rem;
    }
    
    .hero-mini-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mini-stat-number {
        font-size: 2rem;
    }
    
    .jlpt-levels-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .typed-text {
        font-size: 1.8rem;
    }
    
    .hero-mini-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   ENHANCED QUICK INFO BAR
   ======================================== */

   .quick-info-bar {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-top: -80px;
    position: relative;
    z-index: 100;
    border-radius: 15px;
    padding: 3rem 2rem;
}

.info-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.info-bar-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-bar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-bar-item:hover::before {
    transform: scaleY(1);
}

.info-bar-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* Icon Styling */
.info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.phone-icon {
    background: linear-gradient(135deg, #4e73df, #224abe);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse-whatsapp 2s infinite;
}

.location-icon {
    background: linear-gradient(135deg, #ea4335, #c5221f);
}

.email-icon {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.info-bar-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Info Details */
.info-details {
    flex: 1;
}

.info-details h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1rem;
    background: var(--white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.1), transparent);
    transition: left 0.5s;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover {
    border-color: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-link i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.contact-link span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Special Link Styles */
.primary-contact {
    background: linear-gradient(135deg, rgba(78, 115, 223, 0.1), rgba(34, 74, 190, 0.1));
    border-color: #4e73df;
}

.whatsapp-link {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(18, 140, 126, 0.1));
}

.whatsapp-link i {
    color: #25d366;
}

.whatsapp-link:hover {
    border-color: #25d366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(18, 140, 126, 0.2));
}

.location-link,
.directions-link {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.1), rgba(197, 33, 31, 0.1));
}

.location-link i,
.directions-link i {
    color: #ea4335;
}

.email-link {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
}

.social-link.facebook {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(0, 102, 255, 0.1));
}

.social-link.facebook i {
    color: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.1), rgba(193, 53, 132, 0.1));
}

.social-link.instagram i {
    color: #e1306c;
}

/* Link Badges */
.link-badge {
    margin-left: auto;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Availability Status */
.availability {
    display: block;
    margin-top: 0.8rem;
    color: var(--gray);
    font-size: 0.85rem;
    font-style: italic;
}

.availability.online {
    color: #25d366;
    font-weight: 600;
    font-style: normal;
}

/* Quick Action Buttons Row */
.quick-actions-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-action-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.quick-action-btn:hover::after {
    width: 300px;
    height: 300px;
}

.quick-action-btn i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.quick-action-btn span {
    position: relative;
    z-index: 1;
}

.call-btn {
    background: linear-gradient(135deg, #4e73df, #224abe);
    color: var(--white);
}

.call-btn:hover {
    box-shadow: 0 10px 30px rgba(78, 115, 223, 0.4);
    transform: translateY(-3px);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
}

.whatsapp-btn:hover {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}

.apply-btn {
    background: linear-gradient(135deg, var(--secondary-color), #ff1493);
    color: var(--white);
}

.apply-btn:hover {
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    transform: translateY(-3px);
}

.contact-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
}

.contact-btn:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

/* Click Effect */
.quick-action-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .quick-info-bar {
        margin-top: 0;
        border-radius: 0;
    }
    
    .info-bar-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-bar-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .contact-links {
        align-items: stretch;
    }
    
    .quick-actions-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .quick-info-bar {
        padding: 2rem 1rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-link {
        padding: 0.6rem 0.8rem;
    }
    
    .quick-action-btn {
        padding: 0.8rem 1rem;
    }
}

/* Tooltip for Contact Links */
.contact-link[data-tooltip] {
    position: relative;
}

.contact-link[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.85rem;
    margin-bottom: 5px;
    z-index: 1000;
}

.contact-link[data-tooltip]:hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary-color);
}

/* Print Styles */
@media print {
    .quick-info-bar {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .quick-action-btn {
        display: none;
    }
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Copy Notification */
.copy-notification {
    position: absolute;
    top: -30px;
    right: 10px;
    background: #4caf50;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    animation: slideDown 2s ease-out;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Copy Button */
.copy-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.3rem;
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-link:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    color: var(--secondary-color);
}

/* Logo Styles */
.logo a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.logo-image {
    width: 75;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff6b6b;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-image {
        width: 40px;
        height: 40px;
    }
}