body {
    margin: 0;
    font-family: Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}

/* Navbar */
header {
    width: 100%;
    background: #111;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.logo img {
    width: 40px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff4c4c;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* Responsive */
@media (max-width:768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: #111;
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }
}

/* Hero */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    background-color: #e65c00;
}

.overlay h1 {
    font-size: 48px;
    margin-bottom: 15px;
    
}

.overlay p {
    font-size: 18px;
    margin-bottom: 20px;

}

.overlay a {
    padding: 12px 25px;
    background: #ff4c4c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from {opacity: .4}
    to {opacity: 1}
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    padding: 10px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    border-radius: 50%;
}

.prev { left: 20px; }
.next { right: 20px; }

.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background: #bbb;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #ff4c4c;
}

/* Responsive */
@media (max-width:768px) {
    .overlay h1 {
        font-size: 28px;
    }
}

.trainer-section {
    padding: 60px 20px;
    background: #f4f6f9;
    text-align: center;
}

.trainer-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.trainer-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.trainer-card {
    background: #ffffff;
    width: 300px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.trainer-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.trainer-card h3 {
    margin-top: 15px;
    font-size: 20px;
}

.designation {
    color: #ff6600;
    font-weight: bold;
    margin: 10px 0;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    text-decoration: none;
    color: #fff;
    background: #0077b5;
    padding: 6px 12px;
    margin: 5px;
    border-radius: 5px;
    font-size: 14px;
    display: inline-block;
    transition: 0.3s;
}

.social-icons a:last-child {
    background: #E1306C;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Course Section */
.courses {
    padding: 60px 8%;
    background: #f5f5f5;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
}

.course-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: 0.4s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 20px;
}

.course-content h3 {
    margin: 10px 0;
    font-size: 20px;
}

.course-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff4c4c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #222;
}

/* About Section */
.about {
    padding: 70px 8%;
    background: #ffffff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 80%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-box {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
}

.stat-box:hover {
    background: #ff4c4c;
    color: #fff;
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width:768px) {
    .about-container {
        flex-direction: column;
    }
}


/* Why Choose Us Section */
.why-choose {
    padding: 70px 8%;
    background: linear-gradient(135deg, #111, #222);
    color: #fff;
    text-align: center;
}

.section-title {
    font-size: 34px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #ccc;
    margin-bottom: 50px;
}

.usp-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.usp-box {
    background: #1e1e1e;
    padding: 30px 20px;
    border-radius: 12px;
    transition: 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.usp-box:hover {
    background: #ff4c4c;
    transform: translateY(-10px);
}

.usp-box .icon {
    font-size: 28px;
    margin-bottom: 15px;
}

.usp-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.usp-box p {
    font-size: 14px;
    color: #ddd;
}

/* Responsive */
@media (max-width:768px) {
    .section-title {
        font-size: 26px;
    }
}


/* Placement Section */
.placement {
    padding: 70px 8%;
    background: #f5f5f5;
    text-align: center;
}

.section-title {
    font-size: 34px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #555;
    margin-bottom: 50px;
}

/* Placement Partners */
.placement-partners h3 {
    margin-bottom: 20px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.partner-logos img {
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.partner-logos img:hover {
    transform: scale(1.1);
}

/* Success Stories */
.success-stories h3 {
    margin-bottom: 30px;
}

.success-stories {
    display: grid;
    gap: 25px;
    max-width: 900px;
    margin: auto;
}

.story-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.story-box:hover {
    transform: translateY(-8px);
}

.story-box h4 {
    margin-bottom: 10px;
    font-size: 20px;
}

.story-box p {
    color: #555;
    margin-bottom: 10px;
}

.salary {
    font-weight: bold;
    color: #ff4c4c;
}

/* Testimonials Section */
.testimonials {
    padding: 70px 8%;
    background: linear-gradient(135deg, #ff4c4c, #ff7b7b);
    text-align: center;
    color: #fff;
}

.section-title {
    font-size: 34px;
    margin-bottom: 10px;
}

.section-subtitle {
    margin-bottom: 50px;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    color: #333;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #ff4c4c;
}

.testimonial-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* Google Review Button */
.review-btn {
    margin-top: 40px;
}

.review-btn a {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #ff4c4c;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s ease;
}

.review-btn a:hover {
    background: #222;
    color: #fff;
}

/* Offer Section */
.offer-section {
    padding: 80px 8%;
    text-align: center;
    background: linear-gradient(135deg, #111, #ff4c4c);
    color: #fff;
}

.offer-container h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.offer-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    color: #f1f1f1;
}

/* Highlights */
.offer-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.offer-box {
    background: rgba(255,255,255,0.15);
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: bold;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.offer-box:hover {
    background: #fff;
    color: #ff4c4c;
}

/* CTA Button */
.offer-btn a {
    display: inline-block;
    padding: 15px 35px;
    background: #fff;
    color: #ff4c4c;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 40px;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.offer-btn a:hover {
    background: #222;
    color: #fff;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width:768px) {
    .offer-container h2 {
        font-size: 26px;
    }
}

/* Gallery Section */
.gallery {
    padding: 70px 8%;
    background: #f5f5f5;
    text-align: center;
}

.section-title {
    font-size: 34px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #555;
    margin-bottom: 50px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 15px;
    transform: translateY(100%);
    transition: 0.4s ease;
    font-weight: bold;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 70px 8%;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #555;
}

.contact-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info,
.contact-form {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-info a {
    color: #ff4c4c;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

/* Form Styling */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form select {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.contact-form button {
    padding: 12px;
    border: none;
    background: #ff4c4c;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #222;
}

/* Responsive */
@media (max-width:768px) {
    .contact-content {
        flex-direction: column;
    }
}

/* FAQ Section */
.faq {
    padding: 70px 8%;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    font-size: 20px;
    transition: 0.3s;
}

.faq-answer {
    display: none;
    padding: 0 15px 15px 15px;
    color: #555;
}

/* Active State */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* Footer Section */
.footer {
    background: #111;
    color: #fff;
    padding: 60px 8% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 14px;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ff4c4c;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.footer-col a:hover {
    color: #ff4c4c;
}

/* Social Links */
.social-links {
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    color: #fff;
    background: #ff4c4c;
    padding: 6px 12px;
    border-radius: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #fff;
    color: #ff4c4c;
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 13px;
    color: #aaa;
}

/* Responsive */
@media (max-width:768px) {
    .footer {
        text-align: center;
    }
}


/* Branches Section */
.branches {
    padding: 70px 5%;
    background: #f5f5f5;
    text-align: center;
}

.section-title {
    font-size: 34px;
    margin-bottom: 10px;
}

.section-subtitle {
    margin-bottom: 50px;
    color: #555;
}

/* 5 Column Grid */
.branches-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Branch Card */
.branch-card {
    background: #fff;
    padding: 30px 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-8px);
    background: #ff4c4c;
    color: #fff;
}

.branch-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.branch-card p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Button */
.branch-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #ff4c4c;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.3s;
}

.branch-card:hover .branch-btn {
    background: #fff;
    color: #ff4c4c;
}

/* Responsive */
@media (max-width:1200px) {
    .branches-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:768px) {
    .branches-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:480px) {
    .branches-container {
        grid-template-columns: 1fr;
    }
}

/* Popup Background */
.popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

/* Popup Box */
.popup-content {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: popupFade 0.4s ease;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
}

/* Button */
.popup-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.popup-btn:hover {
    background: #e65c00;
}

/* Animation */
@keyframes popupFade {
    from {opacity: 0; transform: translate(-50%, -40%);}
    to {opacity: 1; transform: translate(-50%, -50%);}
}