/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f5f5f5;
    --transition: all 0.3s ease;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 24px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: var(--bg-light);
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Image Styles */
.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Image hover effects */
.hero-image:hover .main-image,
.about-image:hover .about-img,
.course-image:hover .course-img {
    transform: scale(1.05);
}

/* Responsive adjustments for images */
@media screen and (max-width: 991px) {
    .main-image,
    .about-img {
        height: 350px;
    }
}

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

    .main-image,
    .about-img {
        height: 300px;
    }

    .course-image {
        height: 180px;
    }
}

@media screen and (max-width: 576px) {
    .main-image,
    .about-img {
        height: 250px;
    }

    .course-image {
        height: 160px;
    }

    .hero-image,
    .about-image {
        border-radius: 10px;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: var(--bg-light);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
    border-radius: 15px;
}

.branch-info {
    margin: 1.5rem 0;
}

.branch-info h4 {
    color: var(--text-color);
    margin-top: 1rem;
    font-size: 1.2rem;
}

.branch-info p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.whatsapp-button,
.call-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    margin-top: 15px;
    transition: var(--transition);
}

.whatsapp-button {
    background-color: #25D366;
}

.call-button {
    background-color: #007bff;
    margin-top: 10px;
}

.whatsapp-button:hover,
.call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-button svg,
.call-button svg {
    width: 24px;
    height: 24px;
}

.call-button:hover {
    background-color: #0056b3;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

/* Courses Section */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 2rem 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--primary-color);
    opacity: 1;
}

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

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    transition: var(--transition);
    color: var(--text-color);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link .tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.social-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.youtube {
    background: #ff0000;
    color: white;
}

.social-link.whatsapp {
    background: #25D366;
    color: white;
}

.social-link:hover svg {
    transform: scale(1.1);
}

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

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

.footer-bottom p {
    margin: 5px 0;
}

.developer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.developer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.developer-link:hover::after {
    transform: translateX(0);
}

.developer-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Development Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.popup-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.popup-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.popup-close:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Only show hover effects on devices with hover capability */
@media (hover: hover) {
    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .cta-button:hover,
    .whatsapp-button:hover,
    .call-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

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

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-links a {
        color: var(--text-color);
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: var(--primary-color);
        transition: var(--transition);
    }

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

    .nav-links a.active {
        color: var(--primary-color);
        font-weight: 600;
    }

    .menu-btn {
        display: block;
        font-size: 24px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .about-content {
        padding: 20px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-item .number {
        font-size: 2rem;
    }

    .course-card {
        padding: 20px;
    }

    .contact-grid {
        padding: 20px;
    }

    .footer-content {
        padding: 30px 20px;
    }

    .cta-button,
    .whatsapp-button,
    .call-button {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }
}

@media (max-width: 576px) {
    .nav-brand {
        font-size: 1.25rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

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

    .about-content,
    .contact-grid {
        padding: 15px;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-item .number {
        font-size: 1.75rem;
    }

    .stat-item .label {
        font-size: 0.9rem;
    }

    input,
    textarea {
        padding: 12px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 15px;
        font-size: 0.85rem;
    }
}

@media (hover: none) {
    .nav-links a,
    .cta-button,
    .whatsapp-button,
    .call-button,
    .course-cta,
    button {
        padding: 12px 24px;
    }

    .nav-links a:active,
    .cta-button:active,
    .whatsapp-button:active,
    .call-button:active,
    .course-cta:active,
    button:active {
        transform: scale(0.98);
    }
}

@supports (padding: env(safe-area-inset-top)) {
    .nav-container,
    .hero,
    .footer {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Utilities */
.section-padding {
    padding: 60px 0;
}

@media screen and (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
}

/* Fix for notched devices */
@supports (padding: env(safe-area-inset-top)) {
    .glass-nav {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Additional Styles */
.om-symbol {
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

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

/* About Section */
.about {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-item:hover .number {
    color: var(--primary-color);
}

.number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.label {
    font-size: 1.1rem;
    color: var(--text-light);
}

@media screen and (max-width: 768px) {
    .about {
        padding: 3rem 1rem;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .number {
        font-size: 2.5rem;
    }

    .label {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .about {
        padding: 2rem 1rem;
    }

    .about h2 {
        font-size: 1.8rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 1rem;
    }

    .number {
        font-size: 2.2rem;
    }
}

/* Courses Section */
.courses {
    padding: 2rem;
    background-color: var(--bg-light);
}

.courses h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.course-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
}

.course-cta:hover {
    background: var(--primary-dark);
}

.course-cta svg {
    transition: var(--transition);
}

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

/* Gallery Styles */
.gallery {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    font-family: 'Playfair Display', serif;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: var(--transition);
    white-space: nowrap;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Scrolling Banner */
.scroll-banner {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: fixed;
    top: 70px; /* Adjust based on your navbar height */
    z-index: 999;
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 20s linear infinite;
    font-weight: 500;
    letter-spacing: 1px;
}

@keyframes scrollText {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}