/* Base variables */
:root {
    --primary-color: #ff6f61;
    --secondary-color: #2c3e50;
    --header-height: 80px;
    --header-height-mobile: 60px;
    --slider-height: 600px;
    --slider-height-mobile: 400px;
}


/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header & Navigation */
header {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scrolled {
    background: linear-gradient(45deg, #00B4DB, #3498db);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Update Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 2rem;
    z-index: 1001; /* Ensure nav stays above other elements */
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    z-index: 1002;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: block;
}

/* Update hamburger styles in styles.css */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger i {
    font-size: 24px;
    color: #fff;
    transition: all 0.3s ease;
}

.menu-icon,
.close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-icon {
    display: none;
}

.hamburger .menu-icon {
    display: block;
}

.hamburger .close-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hamburger.active .menu-icon {
    display: none;
}

.hamburger.active .close-icon {
    display: block;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2rem;
    position: relative;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu Styles */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-item {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-toggle:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    margin-left: 0.5rem;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Update slider styles */
.slider {
    position: relative;
    width: 100%;
    height: var(--slider-height);
    margin-top: calc(var(--header-height) + 35px); /* Account for header + announcement bar */
    overflow: hidden;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: initial;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 4;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    padding: 12px 0;
    overflow: hidden;
}

.marquee-content {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-text {
    display: inline-block;
    animation: marquee 70s linear infinite;
    padding-left: 100%;
}

.marquee-text span {
    color: #fff;
    font-size: 14px;
    margin: 0 20px;
}

.marquee-text i {
    margin-right: 12px;
    color: var(--primary-color);
}

.separator {
    color: var(--primary-color);
    font-weight: bold;
}

/* Update announcement bar styles */
.top-announcement-bar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    padding: 8px 0;
    overflow: hidden;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Features Area */
.feature-area {
    padding: 80px ;
    background: #fff;
}

/* Add to existing single-feature styles */
.single-feature {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    animation: fadeInUp 0.6s ease-out;
    transform-origin: center;
    position: relative;
    overflow: hidden;
}

.single-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.single-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.single-feature:hover::before {
    opacity: 1;
}

.single-feature:nth-child(1) { animation-delay: 0.1s; }
.single-feature:nth-child(2) { animation-delay: 0.3s; }
.single-feature:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.single-feature:hover {
    transform: translateY(-10px);
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Popup Form */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Use viewport height */
    background: rgba(0, 0, 0, 0.8);
    display: none; /* Will be changed to flex when active */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.popup-overlay.active {
    display: flex !important; /* Override inline styles */
}

/* Remove any inline styles from HTML and use these classes */
.show-popup {
    display: flex !important;
}
.hide-popup {
    display: none !important;
}

.popup-form {
    background: linear-gradient(45deg, #00B4DB, #3498db);
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    /* Remove absolute positioning */
    margin: auto; /* Center horizontally */
    transform: translateY(0); /* Remove any transforms that might affect centering */
    /* transform: translateX(0); */
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

.form-wrap {
    padding: 1rem 0;
}

.form-wrap h4 {
    color: #fff;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-image img {
    max-width: 200px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

select.form-control {
    appearance: none;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") no-repeat right 1rem center;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #e65c4f;
}



@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer */
.footer-area {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    padding: 60px 0 20px;
    color: #fff;
}

.single-footer-widget h4 {
    color: #fff;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* Animations */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Update/Add to styles.css */
.hero-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 3;
    width: 80%;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
}

.hero-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero-content .btn:hover {
    background: #e65c4f;
}

/* Add overlay to slider for better text visibility */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
}

/* Add to styles.css */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.chaty-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.chaty-svg svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.fab:hover {
    transform: scale(1.1);
}

.fab:hover svg {
    transform: rotate(180deg);
}

/* Add to styles.css */
.header-top {
    background: #f8f9fa;
    padding: 10px 0;
}

.header-top-left ul {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-top-right a {
    margin-left: 20px;
    color: #fff;
    text-decoration: none;
}

.main-menu {
    padding: 15px 0;
}

.links {
    display: flex;
    gap: 2rem;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.container.main-menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
}

.row {
    height: 100%;
    margin: 0;
}

.wrapper {
    width: 100%;
    height: 100%;
}

#logo {
    height: 50px; /* Reduced height */
    display: flex;
    align-items: center;
    padding: 5px 0;
}

#logo img {
    height: 100%;
    width: auto;
    max-height: 100px; /* Match container height */
    object-fit: contain;
}

.content {
    display: flex;
    align-items: center;
    height: 100%;
}

.links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.links li a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

/* Add to styles.css */
.institutes-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.institutes-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.institutes-slider .slide.active {
    opacity: 1;
}

.institutes-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain */
    padding: 20px;
    background: #f8f9fa;
}

.institutes-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0);
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 2;
}

.institutes-slider .prev {
    left: 20px;
}

.institutes-slider .next {
    right: 20px;
}

/* Add to styles.css */
.primary-btn.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366; /* WhatsApp brand color */
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 1.2em;
}

.whatsapp-btn:hover {
    background: #128C7E; /* Darker shade for hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Add to styles.css */
.search-course-area {
    background: linear-gradient(100deg, #00b4db, rgba(0,0,0,0.1));
    padding: 100px 0;
    position: relative;
    
}


.search-course-left {
    position: relative;
    z-index: 2;
}

.search-course-left h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease;
}

.search-course-left h4 {
    font-size: 1.5rem;
    line-height: 1.6;
    animation: slideInLeft 1.2s ease;
}

.search-course-right {
    background: linear-gradient(120deg, black, transparent);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: slideInRight 1s ease;
}

.form-wrap {
    width: 100%;
}

.form-wrap h4 {
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 15px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.form-select {
    position: relative;
    margin-bottom: 1.5rem;
}

select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    appearance: none;
}

.primary-btn {
    width: 50%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: #e65c4f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add to styles.css */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nested-dropdown {
    position: relative;
}

.nested-menu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.nested-dropdown:hover .nested-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu li a,
.nested-menu li a {
    color: #333;
    padding: 10px 15px;
    display: block;
    transition: background 0.3s ease;
}

.dropdown-menu li a:hover,
.nested-menu li a:hover {
    background: #f8f9fa;
}

/* Add to styles.css */

/* About Page Styles */
.about-hero {
    height: clamp(300px, 50vh, 400px);
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
                url('../public/aboutus.png') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: var(--header-height);
    padding: 2rem;
}

.about-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.overview-section {
    padding: clamp(40px, 5vw, 80px) 0;
    background: #f8f9fa;
}

.overview-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-content {
    animation: fadeInLeft 0.6s ease-out;
}

.overview-image {
    animation: fadeInRight 0.6s ease-out;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mission-vision {
    padding: 80px 0;
}

.mission-vision .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    padding: 0 1rem;
}

.mission-box,
.vision-box {
    padding: 3rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.mission-box i,
.vision-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.counter-section {
    padding: 80px 0;
    background: linear-gradient(45deg, #00B4DB, #3498db);
    color: #fff;
}

.counter-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.counter-box {
    text-align: center;
}

.counter-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-cta {
    padding: 100px 0;
    text-align: center;
    background: #f8f9fa;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #e65c4f;
    transform: translateY(-2px);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 300px;
        padding: 1rem;
    }

    .overview-section,
    .mission-vision,
    .counter-section {
        padding: 40px 1rem;
    }

    .mission-box,
    .vision-box {
        padding: 2rem;
    }

    .counter-box i {
        font-size: 2rem;
    }

    .counter {
        font-size: 2rem;
    }
}

/* Counseling Page Styles */
.counseling-hero {
    height: clamp(300px, 50vh, 400px);
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)),
                url('../public/counseling.png') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: var(--header-height);
    padding: 2rem;
}

.counseling-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.counseling-services {
    padding: clamp(40px, 5vw, 80px) 0;
    background: #f8f9fa;
}

.service-card {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    animation: fadeInUp 0.6s ease-out;
    transform-origin: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }

@media (max-width: 768px) {
    .counseling-hero {
        height: 300px;
        padding: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }

    .overview-section .container,
    .mission-vision .container,
    .counter-section .container {
        gap: 2rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    height: clamp(300px, 50vh, 400px);
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)),
                url('/public/contact1.png') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: var(--header-height);
    margin-bottom: 30px;
    padding: 2rem;
}

.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.info-card {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    color: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #fff;
    border-radius: 5px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #fff;
    color: var(--primary-color);
}

.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-form-wrapper,
.map-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.contact-form .submit-btn:hover {
    background: #e65c4f;
}

@media (max-width: 768px) {
    .contact-hero {
        height: 300px;
    }
    
    .info-card {
        margin-bottom: 1rem;
    }
    
    .contact-form-wrapper,
    .map-wrapper {
        padding: 1.5rem;
    }
}

/* Move all media queries to bottom of file */
@media (max-width: 768px) {
    /* Header & Navigation */
    :root {
        --header-height: var(--header-height-mobile);
    }

    #logo {
        height: 40px;
    }

    .container.main-menu {
        padding: 0 1rem;
    }

    /* Navigation */
    .hamburger {
        display: block;
        position: relative;
        cursor: pointer;
        z-index: 1002;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    nav.active .nav-menu {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        margin: 1rem 0;
        text-align: center;
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Dropdown */
    .dropdown-menu,
    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-dropdown.active .dropdown-menu,
    .has-submenu.active .submenu {
        display: block;
    }

    /* Content */
    .content {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: linear-gradient(100deg, #00B4DC, rgba(0,0,0,1));
        flex-direction: column;
        padding: 2rem 0;
        transition: left 0.3s ease;
    }

    nav.active .content {
        left: 0;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    /* Slider */
    .slider {
        height: var(--slider-height-mobile);
    }

    .institutes-slider {
        height: 300px;
    }

    /* Features */
    .feature-area {
        padding: 40px 0;
    }

    .feature-area .row {
        gap: 25px; /* Smaller gap on mobile */
    }

    .single-feature {
        margin-bottom: 30px;
    }

    /* Forms */
    .popup-form {
        width: 95%;
        padding: 1.5rem;
    }

    .form-control {
        padding: 10px;
    }

    .whatsapp-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    /* Search Course */
    .search-course-left h1 {
        font-size: 2.5rem;
    }
    
    .search-course-left h4 {
        font-size: 1.2rem;
    }
    
    .search-course-right {
        background: linear-gradient(45deg, black, transparent);
        padding: 2rem;
        margin-top: 2rem;
    }
}

/* Announcement bar adjustment if present */
.top-announcement-bar + .slider {
    margin-top: var(--header-height-30px) ; /* Account for announcement bar */
}

/* Add to styles.css */
.page-hero {
    height: clamp(300px, 50vh, 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: var(--header-height);
    padding: 2rem;
}

.info-section,
.colleges-section,
.course-details,
.subjects-section {
    padding: clamp(40px, 5vw, 80px) 0;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.admission-cta {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    padding: clamp(40px, 5vw, 80px) 0;
    color: #fff;
}

/* Add to styles.css */
.parallax-section {
    position: relative;
    height: 400px;
    background: url('public/paralax.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-color: #333;
}

.parallax-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0), rgba(0,0,0,0.6));
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.parallax-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.parallax-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #e65c4f;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .parallax-section {
        height: 300px;
    }
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header & Navigation */
header {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scrolled {
    background: linear-gradient(45deg, #00B4DB, #3498db);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #e65c4f;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger .menu-icon,
.hamburger .close-icon {
    font-size: 1.5rem;
    color: #fff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #3498db;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: #fff;
    padding: 0.5rem 1rem;
    display: block;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #e65c4f;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    nav.active .nav-menu {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        color: #fff;
        display: block;
        padding: 1rem;
        width: 100%;
    }
}

/* Hero Section */
.page-hero {
    height: clamp(300px, 50vh, 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: var(--header-height);
    padding: 2rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Course Details */
.course-details-area {
    padding: 80px 0;
    background: #f8f9fa;
}

.course-details-area .left-contents {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.course-details-area .left-contents h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.course-details-area .left-contents p {
    margin-bottom: 1rem;
}

.course-details-area .main-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.course-details-area .jq-tab-wrapper {
    margin-top: 2rem;
}

.course-details-area .jq-tab-menu {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #e0e0e0;
}

.course-details-area .jq-tab-title {
    padding: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.course-details-area .jq-tab-title.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.course-details-area .jq-tab-content-wrapper {
    padding: 2rem 0;
}

.course-details-area .jq-tab-content {
    display: none;
}

.course-details-area .jq-tab-content.active {
    display: block;
}

/* Footer */
.footer-area {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    color: #fff;
    padding: 80px 0;
}

.footer-area .single-footer-widget {
    margin-bottom: 2rem;
}

.footer-area .single-footer-widget h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-area .footer-links {
    list-style: none;
    padding: 0;
}

.footer-area .footer-links li {
    margin-bottom: 0.5rem;
}

.footer-area .footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-area .footer-links a:hover {
    color: var(--primary-color);
}

/* Add to styles.css */
.course-overview {
    padding: 80px 0;
    background: linear-gradient(45deg, rgba(0,180,219,0.1), rgba(0,0,0,0.05));
}

.overview-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 3vw, 2.5rem);
}

/* Update BDS Key Points Styling */
.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.point {
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
    transform-origin: center;
    position: relative;
    overflow: hidden;
}

.point:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.point i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.point h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.point p {
    color: #fff;
    margin: 0;
}

.point:nth-child(1) { animation-delay: 0.1s; }
.point:nth-child(2) { animation-delay: 0.3s; }
.point:nth-child(3) { animation-delay: 0.5s; }

.point ul {
    list-style: none;
    padding-left: 0;
}

.point ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

.overview-image img {
    transition: transform 0.3s ease;
}

.overview-image img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .course-overview {
        padding: 40px 0;
    }
    
    .key-points {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
}

/* Animations */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.main-image {
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Add to styles.css */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00B4DB, rgba(0,0,0,0.3));
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-links a:hover {
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.social-links .fa-facebook-f:hover {
    background: #3b5998;
}

.social-links .fa-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-links .fa-whatsapp:hover {
    background: #25d366;
}

@media (max-width: 768px) {
    .social-links {
        gap: 15px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}
/* Undergraduate Page Styles */
.undergraduate-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), 
                url('../public/undergraduate-hero.jpg') no-repeat center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

.specializations {
    margin: 3rem 0;
}

.specializations h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.college-lists {
    margin: 3rem 0;
}

.college-lists h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.college-lists ul {
    list-style: none;
    padding-left: 1rem;
}

.col/* Undergraduate Page Styles */
.undergraduate-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), 
                url('../public/undergraduate-hero.jpg') no-repeat center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

.specializations {
    margin: 3rem 0;
}

.specializations h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.college-lists {
    margin: 3rem 0;
}

.college-lists h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.college-lists ul {
    list-style: none;
    padding-left: 1rem;
}
/* Add these CSS rules */

.jq-tab-wrapper {
    margin: 2rem 0;
}

.jq-tab-menu {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2rem;
}

.jq-tab-title {
    padding: 1rem 2rem;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.jq-tab-title:hover {
    color: var(--primary-color);
}

.jq-tab-title.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.jq-tab-content {
    display: none;
    padding: 1rem 0;
}

.jq-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Chat Widget Styles */
/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.chat-toggle {
    width: 48px;
    height: 48px;
    background: #A886CD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 134, 205, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(168, 134, 205, 0.6);
}

.chat-options {
    margin-bottom: 15px;
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
}

.chat-option {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.chat-option:before {
    content: attr(data-tooltip);
    position: absolute;
    right: 50px;
    padding: 5px 10px;
    background: #333;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-option:hover:before {
    opacity: 1;
    visibility: visible;
}

.chat-option.whatsapp {
    background: #25D366;
}

.chat-option.phone {
    background: #03E78B;
}

.chat-option:hover {
    transform: translateX(-5px);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.show-options .chat-options {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-widget.show-options .chat-toggle {
    transform: rotate(45deg);
}

.counseling-process {
    padding: 60px 0;
    background: #f8f9fa;
}

.counseling-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.step-detail {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.step-detail:hover {
    transform: translateY(-5px);
}

.step-detail h3 {
    color: #A886CD;
    margin-bottom: 20px;
    font-size: 24px;
}

.step-detail ul {
    padding-left: 20px;
    margin: 15px 0;
}

.step-detail li {
    margin: 10px 0;
    color: #555;
}

.counseling-cta {
    background: #A886CD;
    padding: 40px;
    border-radius: 10px;
    color: white;
    margin-top: 50px;
}

.btn-primary {
    background: white;
    color: #A886CD;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
