/* BMB Pokhara CSS - Part 1: Base Styles & Navigation */

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

:root {
    --primary-color: #372AA2;
    --primary-light: #4A3BC4;
    --primary-dark: #2B1F7A;
    --secondary-color: #6C63FF;
    --accent-color: #FF6B35;
    --accent-light: #FF8A5C;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --text-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --bg-section: #FAFBFC;
    --border-color: #E9ECEF;
    --shadow-light: 0 2px 10px rgba(55, 42, 162, 0.1);
    --shadow-medium: 0 4px 20px rgba(55, 42, 162, 0.15);
    --shadow-heavy: 0 8px 30px rgba(55, 42, 162, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: cover;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.logo:hover .logo-text {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #4a3cbd;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.phone-button, .eps-exam-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(55, 42, 162, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.eps-exam-button {
    background: var(--gradient-accent);
}

.phone-button:hover, .eps-exam-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(55, 42, 162, 0.4);
}

.phone-button:hover {
    background: var(--primary-light);
}

.eps-exam-button:hover {
    background: linear-gradient(135deg, #FF8A5C, #FF6B35);
}

.exam-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}

.phone-text, .eps-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s ease;
    position: relative;
}

.popup-overlay.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    color: var(--text-dark);
}

.popup-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 2rem 2.5rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.popup-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.popup-body {
    padding: 2rem 2.5rem;
    text-align: center;
}

.popup-body p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.popup-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.popup-feature i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.popup-footer {
    padding: 0 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-cta-btn {
    background: var(--gradient-accent);
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.popup-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.popup-later-btn {
    background: transparent;
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-later-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}



/* BMB Pokhara CSS - Part 2: Sections & Components */

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-section);
}

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

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><polygon points="0,0 1000,0 1000,100 0,50"/></svg>');
    background-size: cover;
}

.stats-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.stats-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-white);
}

.stats-title::after {
    background: var(--gradient-accent);
}

.stats-description {
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.stat-item .stat-description {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
}

/* Services Section */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Practice Portal Section */
.practice-portal {
    background: var(--gradient-primary);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.practice-portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><polygon points="0,0 1000,0 1000,100 0,50"/></svg>');
    background-size: cover;
}

.practice-content {
    display: block;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.practice-text-center h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.practice-description {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portal-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.portal-feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.portal-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.portal-feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portal-feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.feature-icon-svg {
    width: 35px;
    height: 35px;
    stroke: var(--text-white);
    stroke-width: 2;
    transition: all 0.3s ease;
}

.portal-feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.portal-feature-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.portal-button-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-accent);
    color: var(--text-white);
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

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

.portal-button-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.6);
}

.portal-button-enhanced:hover::before {
    left: 100%;
}

.portal-button-enhanced:hover .button-arrow {
    transform: translateX(6px);
}

.portal-button-enhanced .button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
.features {
    background: var(--bg-section);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-demo {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-demo:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
}

.practice-sets {
    display: grid;
    gap: 0.75rem;
}

.set-item {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 4px solid var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-white);
}

.testimonials-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    margin-top: -2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 3.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-rating {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info strong {
    color: var(--primary-color);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}



/* BMB Pokhara CSS - Part 3: Footer, Responsive & Utilities */

/* Contact Section */
.contact {
    background: var(--gradient-primary);
    color: var(--text-white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><polygon points="0,0 1000,0 1000,100 0,50"/></svg>');
    background-size: cover;
}

.contact .section-title {
    color: var(--text-white);
}

.contact .section-title::after {
    background: var(--gradient-accent);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-main h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.contact-details a {
    color: var(--text-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.contact-details a:hover {
    border-color: var(--text-white);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-size: 1.1rem;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.8;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

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

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        max-width: 95%;
        padding: 0 1.5rem;
    }
    
    .social-links {
        display: none;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    
    .hero {
        height: 40vh;
        min-height: 500px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    
    .practice-text-center h2 {
        font-size: 2.4rem;
    }
    
    .portal-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.2rem;
        margin-bottom: 3rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav-actions {
        gap: 0.75rem;
    }
    
    .phone-text, .eps-text {
        display: none;
    }
    
    .phone-button, .eps-exam-button {
        padding: 0.6rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
        font-size: 0.9rem;
    }

    .hero {
        height: 40vh;
        min-height: 350px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .practice-text-center h2 {
        font-size: 2rem;
    }
    
    .practice-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .portal-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .portal-feature-card {
        padding: 1.5rem;
    }
    
    .portal-button-enhanced {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .stats-title {
        font-size: 1.8rem;
    }
    
    .stats-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .feature-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Popup responsive */
    .popup-content {
        width: 95%;
        margin: 1rem;
    }
    
    .popup-header {
        padding: 1.5rem 2rem;
    }
    
    .popup-body {
        padding: 1.5rem 2rem;
    }
    
    .popup-footer {
        padding: 0 2rem 2rem;
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    .popup-body p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 40vh;
        min-height: 350px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .practice-text-center h2 {
        font-size: 1.8rem;
    }

    .service-card,
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .phone-button, .eps-exam-button {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .stats-title {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .portal-button-enhanced {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    /* Mobile popup adjustments */
    .popup-content {
        width: 98%;
        margin: 0.5rem;
    }
    
    .popup-header {
        padding: 1.2rem 1.5rem;
    }
    
    .popup-body {
        padding: 1.2rem 1.5rem;
    }
    
    .popup-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .popup-header h3 {
        font-size: 1.2rem;
    }
    
    .popup-icon {
        font-size: 2.5rem;
    }
    
    .popup-cta-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[data-loaded="false"] {
    opacity: 0;
}

img[data-loaded="true"] {
    opacity: 1;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Animation keyframes */
@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressAnimation {
    0%, 100% { width: 60%; }
    50% { width: 75%; }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu-toggle,
    .popup-overlay,
    .portal-button,
    .phone-button,
    .eps-exam-button,
    .social-links,
    .footer-social {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
        break-inside: avoid;
    }
    
    .contact,
    .practice-portal,
    .stats-section {
        background: var(--bg-white) !important;
        color: var(--text-dark) !important;
    }
    
    .section-title {
        color: var(--primary-color) !important;
    }
    
    .popup-overlay {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #000000;
        --border-color: #000000;
        --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.5);
        --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.6);
        --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.7);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
    
    .popup-content {
        transform: none;
    }
}

/* Ensure consistent white/light theme */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
}

.nav-link {
    color: var(--text-dark) !important;
}