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

body {
    font-family: Arial, sans-serif;
    padding-top: 70px; /* Adjust for fixed navbar */
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 45px;
    width: auto;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.institute-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(
        90deg,
        #2c3e50,
        #3498db,
        #2980b9,
        #e74c3c,
        #2c3e50
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 8s linear infinite;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

/* Gradient animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Enhanced hover effects */
.logo:hover .institute-name {
    transform: scale(1.02);
    letter-spacing: 1px;
}

.logo:hover img {
    transform: rotate(5deg) scale(1.1);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.2));
}

/* Add shine effect */
.institute-name::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Smooth transition for all effects */
.logo, .logo * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add a subtle bounce effect on page load */
@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    animation: logoAppear 1s ease-out forwards;
}

/* Add Google Font link to your HTML head section */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

.nav-links {
    display: none; /* Hidden by default for mobile */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    display: flex; /* Flex for desktop view */
    align-items: center;
    justify-content: flex-end; /* Align links to the right */
}

/* Show navbar on large screens */
@media screen and (min-width: 769px) {
    .nav-links {
        display: flex !important;
        gap: 2rem;
        list-style: none;
        margin: 0;
        margin-left: auto; /* Ensure right alignment */
        padding: 0;
        position: static;
        width: auto;
        box-shadow: none;
        background: transparent;
        align-items: center; /* Center items vertically */
    }

    .nav-item {
        border: none;
        padding: 0;
    }

    .nav-item a {
        padding: 0.5rem 1rem;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
        white-space: nowrap; /* Prevent text wrapping */
    }

    .nav-item a:hover {
        color: #007bff;
        background: none;
    }

    /* Hide mobile menu button on large screens */
    .mobile-menu {
        display: none !important;
    }
}

/* Mobile menu button styles */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-icon span:first-child {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:last-child {
    top: 16px;
}

/* Mobile menu active state */
.mobile-menu.active .menu-icon span:first-child {
    transform: rotate(45deg);
    top: 8px;
}

.mobile-menu.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active .menu-icon span:last-child {
    transform: rotate(-45deg);
    top: 8px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .mobile-menu {
        display: block !important;
        margin-left: auto; /* Push mobile menu to the right */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 0;
        flex-direction: column;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        justify-content: flex-start; /* Align links to the left for mobile */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        border-top: 1px solid #eee;
    }

    .nav-item a {
        display: block;
        padding: 15px;
    }

    .nav-item a:hover {
        background-color: #f8f9fa;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('images/studentlearning.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out;
    background: linear-gradient(45deg, #fff, #007bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    line-height: 1.6;
    animation: slideInRight 1s ease-out 0.5s forwards;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: 200% auto;
}

.primary-btn {
    background-image: linear-gradient(
        45deg,
        #2c3e50,
        #3498db,
        #2980b9,
        #2c3e50
    );
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    animation: gradientMove 8s linear infinite;
}

.secondary-btn {
    background-image: linear-gradient(
        45deg,
        #e74c3c,
        #3498db,
        #2980b9,
        #e74c3c
    );
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    animation: gradientMove 8s linear infinite;
    animation-delay: 0.5s;
}

/* Button hover effects */
.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background-position: right center;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Add shine effect to buttons */
.primary-btn::after, .secondary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 3s infinite;
}

/* Gradient animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Shine effect animation */
@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-btn, .secondary-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }
}

.hero-stats {
    display: flex;
    gap: 4rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 1.5s forwards;
}

.stat-item {
    text-align: left;
    transition: transform 0.3s ease;
}

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

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #007bff, #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.9;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glowing effect for buttons */
.primary-btn, .secondary-btn {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
    }
    to {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    }
}

/* Courses Section - Move this before Services Section */
.courses {
    padding: 4rem 1rem;
    background-color: var(--light-bg);
    opacity: 1;
    visibility: visible;
}

.courses h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.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: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    opacity: 1;
    transform: none;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    position: relative;
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.course-content {
    padding: 1.5rem;
}

.course-features {
    list-style: none;
    margin: 1rem 0;
}

.course-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.course-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.enroll-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Services Section - Moved after Courses */
.services {
    padding: 4rem 1rem;
    background-color: #f8f9fa;
    opacity: 1;
    visibility: visible;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    opacity: 1;
    transform: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: #007bff;
    font-weight: bold;
}

.service-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.service-btn:hover {
    background-color: #0056b3;
}

/* Footer Styling */
.footer {
    background-color: #000000;
    color: #fff;
    padding: 3rem 1rem 1rem;
}

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

.footer-section {
    padding: 0 1rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #333333;
}

.footer-section p {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
    position: relative;
}

.footer-links a {
    position: relative;
    color: #b3b3b3;
    text-decoration: none;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 10px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-info li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
}

.contact-info li i {
    color: #007bff;
    transition: all 0.3s ease;
}

.contact-info li:hover i {
    color: #00ff88;
    transform: scale(1.2);
}

.contact-info .email-link,
.contact-info .phone-link {
    color: #b3b3b3;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info .email-link:hover,
.contact-info .phone-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.contact-info span {
    word-wrap: break-word;
    max-width: 100%;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: linear-gradient(45deg, #007bff, #00ff88);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.social-icon img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

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

.footer-bottom-content {
    position: relative;
    padding: 1rem 0;
}

.footer-bottom-content p {
    transition: all 0.3s ease;
}

.footer-bottom-content:hover p {
    transform: scale(1.02);
    color: #fff;
}

/* Made by Bhupeshraj Link */
.footer-bottom-content .made-by {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.footer-bottom-content .made-by:hover {
    color: #0056b3;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .footer-section {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-section h3 {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .contact-info {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: block !important;
    }

    .mobile-menu {
        display: block;
    }

    #mobile-dropdown {
        padding: 0.5rem;
        border-radius: 5px;
        background-color: white;
        border: 1px solid var(--primary-color);
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

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

@media (max-width: 480px) {
    .logo span {
        font-size: 1.2rem;
    }

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

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

    .stat-number {
        font-size: 2.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .service-card {
        margin-bottom: 1rem;
    }

    .service-content {
        padding: 1.2rem;
    }
}

/* Add these styles to your existing CSS */
html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

#contact-section {
    scroll-margin-top: 80px; /* Adjust based on your navbar height */
}

/* Contact Section Highlight Animation */
@keyframes highlightSection {
    0% {
        background-color: rgba(0, 123, 255, 0.1);
    }
    50% {
        background-color: rgba(0, 123, 255, 0.2);
    }
    100% {
        background-color: transparent;
    }
}

#contact-section {
    scroll-margin-top: 80px;
    padding: 20px;
    border-radius: 8px;
}

#contact-section.highlight {
    animation: highlightSection 2s ease-out;
}

/* Make contact info more prominent on highlight */
#contact-section.highlight .contact-info li {
    transform: translateX(10px);
}

#contact-section.highlight .contact-info i {
    color: #fff;
    transform: scale(1.2);
}

.contact-info li {
    transition: transform 0.3s ease;
}

/* Updated Course Features List */
.course-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.course-features li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features li::before {
    content: '✓';
    color: #007bff;
    font-weight: bold;
}

.email-link {
    text-decoration: none;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #fff;
}

.phone-link {
    text-decoration: none;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #fff;
}

/* Updated Course Features List */
.course-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.course-features li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features li::before {
    content: '✓';
    color: #007bff;
    font-weight: bold;
}

.email-link {
    text-decoration: none;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #fff;
}

.phone-link {
    text-decoration: none;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #fff;
}

/* Modern Mobile Menu Styles */
.mobile-menu {
    display: none;
    cursor: pointer;
}

#mobile-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    padding: 10px 35px 10px 15px;
    position: relative;
    font-weight: 500;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px;
}

#mobile-dropdown:focus {
    outline: none;
}

/* Custom styling for dropdown options */
#mobile-dropdown option {
    background: white;
    color: #333;
    padding: 12px;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block !important;
        position: relative;
        z-index: 1000;
        margin-right: 10px;
    }

    #mobile-dropdown {
        display: block;
        min-width: 120px;
    }

    .hamburger {
        display: none;
    }

    .services {
        padding: 3rem 1rem;
    }

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

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

@media screen and (max-width: 480px) {
    nav {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .logo {
        font-size: 18px;
    }

    .mobile-menu {
        order: 2;
        width: auto;
        margin: 0;
    }

    #mobile-dropdown {
        padding-right: 30px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Add smooth transition for hover effects */
#mobile-dropdown:hover {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

/* Style the select when it's open */
#mobile-dropdown:focus {
    color: #007bff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

/* Course Features List */
.course-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.course-features li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features li::before {
    content: '✓';
    color: #007bff;
    font-weight: bold;
}

.email-link {
    text-decoration: none;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #fff;
}

.phone-link {
    text-decoration: none;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #fff;
}

/* Contact Section Styles */
#contact-section {
    scroll-margin-top: 80px;
    padding: 20px;
    border-radius: 8px;
}

#contact-section.highlight {
    animation: highlightSection 2s ease-out;
}

#contact-section.highlight .contact-info li {
    transform: translateX(10px);
}

#contact-section.highlight .contact-info i {
    color: #fff;
    transform: scale(1.2);
}

.contact-info li {
    transition: transform 0.3s ease;
}

@keyframes highlightSection {
    0% {
        background-color: rgba(0, 123, 255, 0.1);
    }
    50% {
        background-color: rgba(0, 123, 255, 0.2);
    }
    100% {
        background-color: transparent;
    }
}

/* Simple fade-in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.courses, .services {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Simple fade-in for cards */
.course-card, .service-card {
    opacity: 1;
    transform: none;
    transition: transform 0.3s ease;
}

/* Hover effect for cards */
.course-card:hover, .service-card:hover {
    transform: translateY(-5px);
}

/* Sticky Navbar */
body {
    padding-top: 70px; /* Adjust for fixed navbar */
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-buttons a {
    margin: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s;
}

.primary-btn {
    background-color: #007bff;
}

.secondary-btn {
    background-color: #6c757d;
}

.hero-buttons a:hover {
    background-color: #0056b3;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    animation: slide 5s infinite;
}

@keyframes slide {
    0% { opacity: 1; }
    20% { opacity: 0; }
    40% { opacity: 1; }
    60% { opacity: 0; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-links .active {
        display: flex !important;
    }

    .mobile-menu {
        display: block;
    }

    .hero-buttons a {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .hero {
        height: 50vh;
    }
}

/* Button Styles */
.hero-buttons a {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.primary-btn {
    background-color: #007bff;
}

.secondary-btn {
    background-color: #6c757d;
}

.hero-buttons a:hover {
    transform: scale(1.05);
}

.primary-btn:hover {
    background-color: #0056b3;
}

.secondary-btn:hover {
    background-color: #5a6268;
}

/* Modern Mobile Menu Styles */
.mobile-menu {
    display: none;
}

.menu-dots {
    display: block;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.menu-dots span {
    display: block;
    margin: 5px 0;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.menu-dots:hover span {
    background-color: #007bff;
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block !important;
        position: relative;
        z-index: 1000;
        margin-right: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons a {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

/* About Us Section */
.about {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

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

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Map Section Styles */
.map-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

/* Map Container Styles */
.map-container {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.map {
    width: 100%;
    height: 100%;
}

.map-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Directions Button Styles */
.directions-container {
    margin: 20px 0;
    width: 100%;
    text-align: center;
}

.directions-container button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50 !important; /* Ensure button background is applied */
    color: white !important; /* Ensure text color is applied */
    border: none !important; /* Remove any border */
    border-radius: 5px !important; /* Apply rounded corners */
    cursor: pointer !important; /* Ensure pointer cursor */
    display: inline-block !important; /* Ensure button is displayed inline */
    width: auto !important; /* Ensure width is auto if it's being affected */
    max-width: 100% !important; /* Prevent it from being squished */
    transition: background-color 0.3s ease !important; /* Smooth hover transition */
}

.directions-container button:hover {
    background-color: #45a049 !important; /* Ensure hover background is applied */
}



.directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center the text and icon */
    gap: 10px;
    padding: 15px 30px; /* Increased padding for better visibility */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem; /* Increased font size */
    font-weight: 600; /* Made text bolder */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4); /* Enhanced shadow for prominence */
    text-align: center; /* Ensure proper alignment */
    width: auto; /* Prevent it from stretching unnecessarily */
}

.directions-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px); /* Slightly increased hover effect */
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.5); /* Enhanced hover shadow */
}

@media (max-width: 480px) {
    .directions-btn {
        width: 100%; /* Ensure full width on smaller screens */
        justify-content: center;
        padding: 15px 20px;
        font-size: 1rem; /* Adjust font size for mobile */
    }
}

@media (max-width: 1200px) {
    .map-container {
        max-width: 800px;
    }
}

@media (max-width: 992px) {
    .map-container {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .map-container {
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .map-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .map-wrapper {
        padding-bottom: 75%; /* Taller aspect ratio for mobile */
    }
}

/* Location Details Styles */
.location-details {
    width: 100%;
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.info-item i {
    color: #007bff;
    font-size: 1.2rem;
    margin-top: 3px;
}

.info-text h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.1rem;
}

.info-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.info-text a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .location-details {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .info-item {
        padding: 10px;
    }

    .directions-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .map-container {
        height: 300px;
        margin: 1rem auto;
    }
}

/* Ensure map doesn't overflow */
.map img {
    max-width: none;
}

.gallery-section {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.gallery-container h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.gallery-preview {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.gallery-preview img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.gallery-btn:hover {
    background: #0056b3;
}

/* Mobile Menu */
.mobile-menu {
    cursor: pointer;
    display: block;
    position: relative;
    z-index: 1000;
    /* Add styling for the mobile menu toggle button (hamburger) */
}

.mobile-menu .menu-dots {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 6px auto;
    position: relative;
    transition: 0.3s ease;
}

.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50px; /* Adjust this based on your design */
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-links.active {
    display: block;
}

.nav-item {
    padding: 10px 20px;
    text-align: center;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: block;
}

/* Hamburger icon active state */
.mobile-menu.active .menu-dots {
    background-color: transparent;
}

.mobile-menu.active .menu-dots::before {
    transform: rotate(-45deg);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #333;
    transition: 0.3s ease;
}

.mobile-menu.active .menu-dots::after {
    transform: rotate(45deg);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #333;
    transition: 0.3s ease;
}

#time {
    font-size: 1.2rem;
    color: #000;
    margin-left: auto;
    padding: 0 20px;
    font-weight: bold;
  }
  