/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Roboto, sans-serif;
    color: #4a76b8;
    line-height: 1.6;
    background: linear-gradient(135deg, #F5F6FA 0%, #E0E7FF 100%);
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1rem;
    text-align: center;
    margin: 0;
    color: #b7aaaa;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1rem;
        color: #a59a9a;
    }
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    background: #ffffff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 900;
    padding: .5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
}

/* Navigation Styles */
nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Sliding Underline Effect */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #007bff;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 50%;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Background Color on Hover */
nav ul li a:hover {
    background-color: #e7f1ff;
    color: #007bff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #87c2e7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 150px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #e7f1ff;
    color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Mobile Dropdown Adjustment */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        padding: 0;
        width: 100%;
        display: none;
        text-align: center;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    nav ul li .dropdown-toggle {
        width: 100%;
        text-align: center;
    }
}

/* Phone Icon and Academy Button */
.phone-icon img {
    width: 24px;
    vertical-align: middle;
}

.enquiry-btn {
    background: #000000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.enquiry-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Ensure Phone Icon and Academy Button Have the Same Hover Effect */
nav ul li .phone-icon::after,
nav ul li .enquiry-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #0c69cd;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav ul li .phone-icon:hover::after,
nav ul li .enquiry-btn:hover::after {
    width: 50%;
}

/* Adjust Phone Icon Hover Background */
nav ul li .phone-icon:hover {
    background-color: #e7f1ff;
    border-radius: 5px;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    width: 30px;
    height: 30px;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: #000000;
    margin: 5px 0;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-line:nth-child(1) {
    top: 5px;
}

.hamburger-line:nth-child(2) {
    top: 13px;
}

.hamburger-line:nth-child(3) {
    top: 21px;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateX(-50%) translateY(8px) rotate(45deg);
    top: 13px;
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateX(-50%) translateY(-8px) rotate(-45deg);
    top: 13px;
}

/* Hero Section */
.hero {
    background: url('https://via.placeholder.com/1500x600') no-repeat center center/cover;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 3rem 1rem;
    min-height: 50vh;
}

.hero .company-name {
    font-size: 1.5rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero .location-highlight {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    line-height: 1.6;
    color: rgb(82, 102, 181);
}

.rating {
    text-align: center;
    margin: 0.5rem 0;
}

.rating p {
    font-size: 1.2rem;
    color: rgb(174, 87, 87);
    margin-bottom: 0.5rem;
}

/* Courses Section */
.courses {
    padding: 5rem 1rem 0;
    text-align: center;
    margin-top: -10rem;
    position: relative;
    z-index: 1;
}

#courses .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}



/* Specific Video Container for Courses Section */
#courses .video-container {
    position: relative;
    width: 54%;
    max-width: 1200px;
    margin: 0 auto 1rem;
    padding-top: 30.25%; /* 16:9 aspect ratio */
    background: rgba(48, 103, 255, 0.1);
    box-shadow: 0 0 60px rgba(0, 70, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
}



#courses .video-container video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(47, 0, 255, 0.1);
    object-fit: cover;
}

/* Default Video Container for Other Pages */
.video-container {
    max-width: 1000px;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 68, 255, 0.8);
    border-radius: 10px;
    background: rgba(0, 66, 247, 0.1);
    height: 500px;
    overflow: hidden;
    padding: 0.2rem;
}

.video-container video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(47, 0, 255, 0.1);
    object-fit: cover;
}

/* Buttons Section */
#courses .buttons {
    margin-top: 4rem;
}

/* Rating Section */
#courses .rating {
    margin: 0.5rem 0;
    text-align: center;
}

.rating p {
    font-size: 1.2rem;
    color: rgb(225, 92, 92);
    margin-bottom: 0.5rem;
}

/* Ensure Buttons and Rating Flow Correctly */
#courses .course-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.btn {
    background: rgb(61, 101, 162);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 0.5rem;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #4a5ca2;
    background: rgba(0, 68, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    #courses .video-container {
        height: 200px;
        padding: 0.25rem;
    }
    #courses .buttons {
        margin-top: 0.25rem;
    }
    #courses .rating {
        margin: 0.25rem 0;
    }
}

/* Services Section */
.services {
    padding: 50px 20px;
    text-align: center;
    background-color: #ffffff;
}

.services h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgb(42, 98, 153);
    margin-bottom: 1rem;
}

.services .subtitle {
    font-size: 1.2rem;
    color: #4e4545;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services h3 {
    font-size: 1rem;
    color: rgb(61, 101, 162);
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.service-box h3 {
    margin-bottom: 10px;
    color: #333;
}

.service-box p {
    color: #666;
    font-size: 14px;
}

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

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.close-btn:hover {
    color: #007bff;
}

.popup-content h2 {
    font-size: 1.8rem;
    color: rgb(61, 101, 162);
    margin-bottom: 1.5rem;
}

.popup-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.view-more-btn {
    background: rgb(61, 101, 162);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.view-more-btn:hover {
    background: #4a5ca2;
}

/* Reviews Section */
.reviews {
    padding: 0.5rem 1rem;
    background: #c6cce3;
    text-align: center;
}

.reviews h2 {
    font-size: .5rem;
    color: rgb(61, 101, 162);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.carousel-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 0.2rem;
    margin-bottom: 2rem;
}

.review-video {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    max-width: 225px;
    margin: 0 auto;
}

.review-video iframe {
    width: 225px;
    height: 400px;
    border: none;
    border-radius: 10px 10px 0 0;
}

.text-reviews {
    overflow: hidden;
    position: relative;
}

.review-carousel {
    display: flex;
    animation: slide 40s infinite linear;
    gap: 1rem;
}

.review-card {
    flex: 0 0 300px;
    background: rgb(255, 255, 255);
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 10 10px 10px rgba(255, 0, 0, 0.1);
    text-align: left;
}

.reviewer-initials {
    width: 50px;
    height: 50px;
    background: rgb(61, 101, 162);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-stars {
    color: gold;
    margin-bottom: 3rem;
}

.review-text {
    font-size: 1rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-carousel.paused {
    animation-play-state: paused;
}

.review-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    background: none;
    border: none;
    color: rgb(61, 101, 162);
    cursor: pointer;
    margin-top: 0.5rem;
}

.reviewer-name {
    font-weight: bold;
    margin-top: 1rem;
    color: #333;
}

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

/* Achievements Section */
.achievements {
    padding: 3rem 1rem;
    text-align: center;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.achievement-grid li p {
    background: #f0f4ff;
    padding: 2rem;
    border-radius: 10px;
}

.achievement-grid li p span {
    font-size: 2rem;
    color: rgb(61, 101, 162);
    margin-bottom: 0.5rem;
}

.plus-sign {
    font-size: 1.5rem;
    vertical-align: top;
}

/* Locations Section */
.locations {
    padding: 3rem 1rem;
    background: #fafbff;
    text-align: center;
}

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

.location-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.location-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.location-address {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.location-box a img {
    width: 16px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.map-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 70px;
}

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

/* About Us Section */
.about-us {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-us h2 {
    font-size: 2.5rem;
    color: rgb(61, 101, 162);
    margin-bottom: 1rem;
}

.about-us .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-us h3 {
    font-size: 2rem;
    color: rgb(61, 101, 162);
    margin: 2rem 0 1rem;
}

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

.about-us p strong {
    color: #333;
}

/* Directors Grid */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.director-box {
    background: #e6e9f5;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.director-box:hover {
    transform: translateY(-5px);
}

.director-box img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.director-box h4 {
    font-size: 1.5rem;
    color: rgb(61, 101, 162);
    margin-bottom: 0.5rem;
}

.director-box p {
    font-size: 1rem;
    color: #555;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.team-box {
    background: #f0f4ff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-box:hover {
    transform: translateY(-5px);
}

.team-box img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.team-box h4 {
    font-size: 1.2rem;
    color: rgb(61, 101, 162);
    margin-bottom: 0.5rem;
}

.team-box p {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Responsive Design for About Us */
@media (max-width: 768px) {
    .about-us {
        padding: 2rem 1rem;
    }

    .about-us h2 {
        font-size: 2rem;
    }

    .about-us h3 {
        font-size: 1.5rem;
    }

    .directors-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .director-box,
    .team-box {
        min-height: auto;
        padding: 1rem;
    }

    .director-box img {
        width: 120px;
        height: 120px;
    }

    .team-box img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 1.5rem 0.5rem;
    }

    .about-us h2 {
        font-size: 1.5rem;
    }

    .about-us h3 {
        font-size: 1.2rem;
    }

    .director-box img,
    .team-box img {
        width: 90px;
        height: 90px;
    }

    .director-box h4,
    .team-box h4 {
        font-size: 1rem;
    }

    .director-box p,
    .team-box p {
        font-size: 0.8rem;
    }
}

/* Footer */
footer {
    background: #2562bd;
    color: white;
    padding: 3rem 1rem;
}

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

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

.footer-column ul,
.footer-column ul li {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-column ul li a img {
    height: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.social-icons li a {
    margin-right: 1rem;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
}

.whatsapp-icon img {
    width: 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-icon img {
        width: 100px;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: 40vh;
    }

    .courses {
        margin-top: -5rem;
    }

    .video-container {
        height: 200px;
    }

    .hero .company-name {
        font-size: 1.2rem;
    }

    .hero .location-highlight {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .directors-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    header {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    nav {
        width: 100%;
        order: 2;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0;
        margin: 0;
        z-index: 1000;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 1rem;
        border-bottom: 1px solid #eee;
        display: block;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        padding: 0;
        width: 100%;
        display: none;
        text-align: center;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    nav ul li .dropdown-toggle {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .whatsapp-icon img {
        width: 50px;
    }

    header {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero {
        padding: 1.5rem 1rem;
        min-height: 30vh;
    }

    .courses {
        margin-top: -3rem;
    }

    .video-container {
        height: 150px;
    }

    .hero .company-name {
        font-size: 6rem;
    }

    .hero .location-highlight {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 0.9rem;
    }

    .directors-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .director-box img,
    .team-box img {
        width: 100px;
        height: 100px;
    }

    .director-box,
    .team-box {
        min-height: auto;
    }
}

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

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

.course-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.course-box h3 {
    font-size: 1.5rem;
    color: rgb(61, 101, 162);
    margin-bottom: 1rem;
}

.course-box p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.course-box .btn {
    background: rgb(61, 101, 162);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
}

.course-box .btn:hover {
    background: #4a5ca2;
}

/* Courses Section Course Buttons */
.course-buttons {
    margin-top: 2rem;
}

.view-all-courses-btn {
    background: #00c4cc;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.view-all-courses-btn:hover {
    background: #00a3a8;
}

.sub-course-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sub-course-btn {
    background: #4a5ca2;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
}

.sub-course-btn:hover {
    background: #3d4a8a;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Chatbot Styles */
.chatbot-toggler {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #2F8D46;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    outline: none;
}

.chatbot {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease;
    z-index: 1000;
}

body.show-chatbot .chatbot {
    transform: scale(1);
}

.chatbot header {
    background: #2F8D46;
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
}

.chatbot header .close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: white;
}

.chatbox {
    list-style: none;
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    background: #f9f9f9;
    margin: 0;
}

.chatbox .chat {
    margin-bottom: 10px;
}

.chatbox .incoming p {
    background: #e9ecef;
    padding: 8px 12px;
    border-radius: 5px;
    max-width: 80%;
}

.chatbox .outgoing p {
    background: #2F8D46;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-left: auto;
    max-width: 80%;
}

.chat-input {
    padding: 10px;
    background: white;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

.chat-input textarea {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    font-size: 14px;
    min-height: 40px;
}

.chat-input button {
    background: #2F8D46;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    background: #247d38;
}

/* Blog Section */
.blog-section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.blog-section h2 {
    font-size: 2.5rem;
    color: rgb(61, 101, 162);
    margin-bottom: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-post {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.blog-post h3 {
    font-size: 1.5rem;
    color: rgb(61, 101, 162);
    margin-bottom: 0.5rem;
}

.blog-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-post p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.blog-post .btn {
    display: inline-block;
    background: rgb(61, 101, 162);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
}

.blog-post .btn:hover {
    background: #4a5ca2;
}

/* Video Hero Section */
.video-hero {
    position: relative;
    color: #c6c6c6;
    text-align: center;
    padding: 0.4rem 1rem;
    min-height: 60vh;
    overflow: hidden;
}

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

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.video-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
    background: rgba(251, 241, 241, 0.4);
}

.video-hero .company-name {
    font-size: 1.5rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-hero .location-highlight {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.video-hero .subtitle {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    line-height: 1.6;
    color: #ffffff;
}

.rating {
    text-align: center;
    margin: 0.5rem 0;
}

.rating p {
    font-size: 1.2rem;
    color: #8c8667;
    margin-bottom: 0.5rem;
}

.buttons {
    margin-top: 1rem;
}

.btn {
    background: rgb(61, 101, 162);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 0.5rem;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #4a5ca2;
}

.view-all-courses-btn {
    background: #00c4cc;
}

.view-all-courses-btn:hover {
    background: #00a3a8;
}

.sub-course-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sub-course-btn {
    background: #4a5ca2;
    color: white;
    padding: 0.8rem 4rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.sub-course-btn:hover {
    background: #3d4a8a;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Responsive Design for Video Hero */
@media (max-width: 768px) {
    .video-hero {
        padding: 2rem 1rem;
        min-height: 60vh;
    }

    .video-background video {
        object-fit: cover;
    }

    .video-hero .company-name {
        font-size: 1.2rem;
    }

    .video-hero .location-highlight {
        font-size: 2.5rem;
    }

    .video-hero .subtitle {
        font-size: 1rem;
    }

    .sub-course-buttons {
        flex-direction: column;
    }

    .sub-course-btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .video-hero {
        padding: 1.5rem 1rem;
        min-height: 50vh;
    }

    .video-hero .company-name {
        font-size: 1rem;
    }

    .video-hero .location-highlight {
        font-size: 2rem;
    }

    .video-hero .subtitle {
        font-size: 0.9rem;
    }
}
