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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Top Header */
.top-header {
    background: #2c3e50;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.top-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.3s;
}

.top-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #4a90e2;
}

.apply-btn {
    background: #e74c3c !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
}

.apply-btn:hover {
    background: #c0392b !important;
}

/* Slider Section */
.slider-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: white;
    z-index: 10;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 500px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #357abd;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Notice Section */
.notice-section {
    background: #f8f9fa;
    padding: 15px 0;
    text-align: center;
    border-bottom: 3px solid #4a90e2;
}

.notice-section p {
    margin: 0;
    font-size: 16px;
}

.notice-section strong {
    color: #e74c3c;
}

.notice-section img {
    vertical-align: middle;
    margin: 0 10px;
}

/* Quick Links Section */
.quick-links-section {
    padding: 50px 0;
    background: white;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.quick-link img {
    margin-bottom: 15px;
    border-radius: 50%;
}

.quick-link span {
    font-weight: 500;
    text-align: center;
}

/* Marquee Section */
.marquee-section {
    background: #f8f9fa;
    padding: 40px 0;
    overflow: hidden;
}

.marquee-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 28px;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}

.branch-item {
    background: white;
    margin-right: 30px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    min-width: 300px;
    text-align: center;
}

.branch-item h4 {
    color: #4a90e2;
    font-size: 18px;
    margin-bottom: 5px;
}

.branch-item p {
    color: #666;
    font-size: 14px;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: white;
}

.welcome-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-content h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
}

.welcome-content h2 span {
    color: #4a90e2;
}

.welcome-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.read-more-btn {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #357abd;
}

.welcome-image img {
    width: 100%;
    border-radius: 10px;
}

.tagline {
    text-align: center;
    margin-top: 50px;
}

.tagline h3 {
    font-size: 32px;
    color: #e74c3c;
    font-weight: bold;
    text-transform: uppercase;
}

/* Courses Section */
.courses-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.courses-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.courses-section > p {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.course-card i {
    font-size: 48px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.course-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.course-card p {
    color: #666;
}

/* Franchise Process Section */
.franchise-process {
    background: white;
    padding: 80px 0;
}

.franchise-process h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
    padding: 30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 32px;
    color: white;
}

.step h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.step p {
    color: #666;
}

.apply-now-section {
    text-align: center;
}

.apply-now-btn {
    background: #e74c3c;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s;
}

.apply-now-btn:hover {
    background: #c0392b;
}

/* Why NEIST Section */
.why-neist {
    background: #f8f9fa;
    padding: 80px 0;
}

.why-neist h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.why-neist p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.features-list {
    max-width: 600px;
    margin: 40px auto;
}

.features-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    color: #666;
}

.features-list i {
    color: #2ecc71;
    margin-right: 10px;
}

.why-neist .apply-now-btn {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}

/* Top Performance Branches */
.top-performance {
    background: white;
}

/* Statistics Section */
.stats-section {
    background: #2c3e50;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.stats-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.stats-section > p {
    max-width: 800px;
    margin: 0 auto 50px;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Placement Section */
.placement-section {
    background: white;
    padding: 80px 0;
}

.placement-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
}

.placement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.placement-text h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.placement-text p {
    color: #666;
    margin-bottom: 30px;
}

.enquiry-btn {
    background: #4a90e2;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.enquiry-btn:hover {
    background: #357abd;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.testimonials-section p {
    color: #666;
    margin-bottom: 20px;
}

.testimonials-section .testimonial-card {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    position: relative;
    padding: 40px;
}

.testimonials-section .testimonial-card i {
    font-size: 32px;
    color: #4a90e2;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonials-section .testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 40px;
}

.testimonial-author {
    font-weight: bold;
    color: #2c3e50;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #4a90e2;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #4a90e2;
}

.footer-section i {
    margin-right: 8px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #4a90e2;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Chat Buttons */
.chat-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-btn {
    display: flex;
    align-items: center;
    background: #25d366;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 25px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: transform 0.3s;
}

.chat-btn:hover {
    transform: translateX(-5px);
}

.chat-btn.telegram {
    background: #0088cc;
}

.chat-btn img {
    margin-right: 8px;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #4a90e2;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    background: #357abd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 15px;
    }
    
    .slide-content {
        left: 20px;
        right: 20px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .welcome-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .placement-content {
        grid-template-columns: 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chat-buttons {
        bottom: 80px;
    }
}
/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #2c3e50, #4a90e2);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
    background: white;
}

.about-intro {
    text-align: center;
    margin-bottom: 60px;
}

.about-intro h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h3 {
    font-size: 24px;
    color: #2c3e50;
    margin: 30px 0 15px 0;
}

.about-text ul {
    list-style: none;
    margin-top: 20px;
}

.about-text li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.about-text li i {
    color: #2ecc71;
    margin-right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.features-section {
    background: #f8f9fa;
    padding: 60px 0;
    border-radius: 10px;
}

.features-section h2 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

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

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Course Page Styles */
.courses-content {
    padding: 80px 0;
    background: white;
}

.courses-intro {
    text-align: center;
    margin-bottom: 60px;
}

.courses-intro h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.course-category {
    margin-bottom: 60px;
}

.course-category h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.course-category h3 i {
    margin-right: 15px;
    color: #4a90e2;
}

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

.course-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.course-icon {
    width: 60px;
    height: 60px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon i {
    font-size: 24px;
    color: white;
}

.course-card h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.course-card p {
    color: #666;
    margin-bottom: 15px;
}

.course-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.course-card li {
    padding: 5px 0;
    color: #666;
}

.course-btn {
    background: #4a90e2;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
}

.course-btn:hover {
    background: #357abd;
}

.course-features {
    background: #f8f9fa;
    padding: 60px 0;
}

.course-features h2 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

.course-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Franchise Page Styles */
.franchise-hero {
    background: linear-gradient(135deg, #4a90e2, #2ecc71);
    color: white;
    padding: 80px 0;
}

.franchise-content {
    text-align: center;
}

.franchise-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.franchise-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item i {
    font-size: 24px;
}

.franchise-process {
    background: white;
    padding: 80px 0;
}

.franchise-process h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.franchise-form {
    background: #f8f9fa;
    padding: 80px 0;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.application-form, .online-application-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 30px;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-section h3 i {
    margin-right: 10px;
    color: #4a90e2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.submit-btn, .submit-application-btn {
    background: #4a90e2;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.submit-btn:hover, .submit-application-btn:hover {
    background: #357abd;
}

.form-note {
    text-align: center;
    color: #666;
    margin-top: 15px;
    font-size: 14px;
}

.why-franchise {
    background: white;
    padding: 80px 0;
}

.why-franchise h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 40px;
}

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

.why-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.why-item i {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-card p {
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 5px;
}

.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.enquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-map {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.map-placeholder {
    background: #e1e8ed;
    height: 200px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.map-placeholder i {
    font-size: 40px;
    color: #666;
    margin-bottom: 10px;
}

.branch-locator h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.locator-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.locator-form select,
.locator-form button {
    padding: 10px;
    border: 2px solid #e1e8ed;
    border-radius: 5px;
}

.locator-form button {
    background: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
}

.faq-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Page Styles */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.gallery-intro {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-intro h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e8ed;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

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

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

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

.gallery-overlay h4 {
    margin-bottom: 5px;
}

.video-gallery {
    background: #f8f9fa;
    padding: 60px 0;
}

.video-gallery h2 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

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

.video-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.play-button:hover {
    background: rgba(0,0,0,0.9);
}

.play-button i {
    color: white;
    font-size: 20px;
    margin-left: 3px;
}

.video-item h4 {
    padding: 20px 20px 10px;
    color: #2c3e50;
}

.video-item p {
    padding: 0 20px 20px;
    color: #666;
}

/* Student Zone Styles */
.student-services {
    padding: 80px 0;
    background: white;
}

.student-services h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
}

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

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.quick-actions {
    background: #f8f9fa;
    padding: 80px 0;
}

.quick-actions h2 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

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

.action-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.action-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 5px;
    margin-bottom: 15px;
}

.verify-btn, .download-btn, .result-btn {
    width: 100%;
    background: #4a90e2;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.verify-btn:hover, .download-btn:hover, .result-btn:hover {
    background: #357abd;
}

.student-resources {
    background: white;
    padding: 80px 0;
}

.student-resources h2 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.resource-item i {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.resource-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.resource-link {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

.student-support {
    background: #f8f9fa;
    padding: 80px 0;
}

.student-support h2 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
}

.support-text h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.support-options {
    margin-top: 30px;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.support-option i {
    font-size: 24px;
    color: #4a90e2;
}

.support-option h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Application Page Styles */
.application-section {
    padding: 80px 0;
    background: white;
}

.application-intro {
    text-align: center;
    margin-bottom: 50px;
}

.application-intro h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .about-grid,
    .contact-form-section {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .franchise-benefits {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}
.course-card {
    padding: 2rem;
    border-radius: 1rem;
    color: white;
    background-color: #007bff; /* Official blue color */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.course-card .course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}
.course-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff; /* White color for heading */
    font-weight: bold; /* Bold heading */
}
.course-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}
.course-card .course-fee {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
}
.course-card .fee-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Removed unique color classes to use one official blue */
.course-card.adca,
.course-card.tally,
.course-card.ccc,
.course-card.olevel {
    background: none; /* Remove gradients from previous versions */
    background-color: #007bff; /* Apply consistent color */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* CSS for the new marquee effect */
.marquee-container-new {
    overflow: hidden;
    white-space: nowrap;
    animation: scroll-left-new 20s linear infinite; /* Adjust time for speed */
}

.marquee-item-new {
    display: inline-block;
    vertical-align: top;
}

@keyframes scroll-left-new {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* --- Global Styles & Variables --- */
:root {
    --primary-color: #2c3e50; /* Dark Blue */
    --secondary-color: #3498db; /* Blue */
    --accent-color: #e74c3c; /* Red */
    --text-color: #333;
    --light-bg-color: #1b6661;
    --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* --- Top Header --- */
.top-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 0;
    font-size: 0.9em;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header .contact-info span {
    margin-right: 20px;
}

.top-header .contact-info i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.top-header .top-links a {
    color: #fff;
    margin-left: 20px;
}

/* --- Main Header --- */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo img {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.main-nav .apply-btn {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.main-nav .apply-btn:hover {
    background-color: #c0392b;
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://safalmantra.in/assets/img/page-header-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #fff;
}

.page-header .breadcrumb a,
.page-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Courses Content --- */
.courses-content, .course-features {
    padding: 60px 0;
}

.courses-intro {
    text-align: center;
    margin-bottom: 50px;
}

.courses-intro h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.course-category {
    margin-bottom: 60px;
}

.course-category h3 {
    font-size: 2em;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.course-category h3 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

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

.course-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-card .course-icon {
    font-size: 4em;
    color: #fff; /* Changed icon color to white for better contrast */
    margin-bottom: 20px;
    background-color: var(--secondary-color); /* Changed background to secondary-color */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Added a subtle shadow */
}

.course-card h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.course-card p {
    font-style: italic;
    color: #777;
}

.course-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.course-card ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.course-card ul li:last-child {
    border-bottom: none;
}

.course-card .course-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.course-card .course-btn:hover {
    background-color: #c0392b;
}

/* --- Course Features Section --- */
.course-features {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.course-features h2 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 50px;
}

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

.feature-item i {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Footer --- */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: #fff;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-section p, .footer-section ul, .footer-section a {
    font-size: 0.9em;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-section .contact-info p i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 99;
}

.scroll-to-top:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .main-header .container,
    .top-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

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

    .course-card {
        padding: 20px;
    }
}
