/* ============================
   CSS Reset & Base
   ============================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0a1628;
    --navy-dark: #060f1e;
    --orange: #e87b1c;
    --orange-hover: #d06a0f;
    --white: #ffffff;
    --light-gray: #f4f6f9;
    --medium-gray: #e0e4ea;
    --dark-text: #1a1a2e;
    --body-text: #555555;
    --blue-accent: #1a3a5c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-orange {
    background: var(--orange);
    color: var(--white);
}

.btn-orange:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-dark:hover {
    background: #0d1d35;
    transform: translateY(-1px);
}

.btn-orange-outline {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    padding: 8px 20px;
    font-size: 12px;
}

.btn-orange-outline:hover {
    background: var(--orange);
    color: var(--white);
}

.btn-orange-sm {
    background: var(--orange);
    color: var(--white);
    padding: 7px 18px;
    font-size: 12px;
    border-radius: 4px;
}

.btn-orange-sm:hover {
    background: var(--orange-hover);
}

/* ============================
   Header / Navigation
   ============================ */
.header {
    background: var(--navy);
    position: relative;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}

.logo-tagline {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-login-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 3px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange);
}

.nav-link.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
}

/* ============================
   Hero Section
   ============================ */
.hero {
    position: relative;
    margin-top: 0px;
    height: 520px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.95) 30%,
            rgba(255, 255, 255, 0.6) 55%,
            rgba(255, 255, 255, 0) 80%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 28px;
}

.highlight-text {
    color: var(--orange);
}

.cursor {
    display: inline-block;
    color: var(--orange);
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: var(--white);
    width: 32px;
    height: 60px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    z-index: 3;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--orange);
}

/* ============================
   Welcome Section
   ============================ */
.welcome-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.welcome-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 40px 50px;
    gap: 40px;
}

.welcome-image {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-image img {
    width: 100%;
    height: auto;
    max-width: 190px;
    object-fit: contain;
}

.welcome-content {
    flex: 1;
}

.welcome-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 15px;
    letter-spacing: 0;
    line-height: 1.35;
}

.welcome-text {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 22px;
}

.welcome-buttons {
    display: flex;
    gap: 15px;
}

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

.section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
    gap: 25px;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-card-header {
    background: var(--navy);
    padding: 14px 25px;
    display: flex;
    align-items: center;
}

.course-category {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin: 0;
}

.course-body {
    padding: 25px 25px 30px 25px;
    position: relative;
    z-index: 2;
    padding-right: 170px;
    flex: 1;
}

.course-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
    line-height: 1.35;
}

.course-desc {
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 25px;
    line-height: 1.6;
}

.course-hero-image {
    position: absolute;
    right: 15px;
    bottom: 0;
    height: 100%;
    width: auto;
    z-index: 3;
    object-fit: contain;
    object-position: bottom right;
    pointer-events: none;
}

.course-btn {
    background: var(--orange);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.course-btn:hover {
    background: var(--orange-hover);
}

/* ============================
   Testimonials & Gallery
   ============================ */
.testimonials-gallery-section {
    padding: 50px 0;
    background: var(--light-gray);
}

.tg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonials-card,
.gallery-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 28px;
    position: relative;
}

.tg-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

#testimonial-slider {
    position: relative;
    min-height: 140px;
}

.testimonial-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.testimonial-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-text {
    font-size: 12px;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-nav {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.nav-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--orange);
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.nav-arrow:hover {
    background: var(--orange-hover);
}

.gallery-card {
    position: relative;
}

.gallery-nav-top {
    position: absolute;
    top: 28px;
    right: 28px;
    display: flex;
    gap: 6px;
}

.gallery-images {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    margin-top: 15px;
    padding-bottom: 5px;
    /* space for drop shadow / scaling on hover */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE and Edge */
}

.gallery-images::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari and Opera */
}

.gallery-img {
    flex: 0 0 calc(33.333% - 7px);
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

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

/* ============================
   Video Section
   ============================ */
.video-section {
    padding: 50px 0;
    background: var(--light-gray);
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.video-info {
    flex: 1;
}

.video-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.video-text {
    font-size: 13px;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.video-embed {
    flex: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--navy-dark);
    padding: 50px 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

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

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--orange);
}

.footer-links li a i.fa-circle {
    font-size: 5px;
    color: var(--orange);
}

.footer-links li a i.fa-angle-right {
    font-size: 12px;
    color: var(--orange);
}

.contact-info-block {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon-box {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 15px;
    flex-shrink: 0;
}

.contact-text a, .contact-text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 5px 0;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--orange);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.developed-by {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.developed-by a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
}
.developed-by a:hover {
    text-decoration: underline;
}

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

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

/* ============================
   Lightbox (Image Modal)
   ============================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 22, 40, 0.95);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--orange);
}

/* ============================
   Course Modal
   ============================ */
.course-modal {
    display: none; 
    position: fixed; 
    z-index: 2500; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.course-modal-content {
    background-color: var(--white);
    padding: 30px 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.course-modal.show .course-modal-content {
    transform: translateY(0);
}

.course-modal-close {
    color: var(--navy);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.course-modal-close:hover {
    color: var(--orange);
}

.course-modal-header h2 {
    color: var(--navy);
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.course-modal-body p {
    color: var(--navy-dark);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.course-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.course-module-list h3, .course-benefits-list h3 {
    color: var(--orange);
    font-size: 18px;
    margin-bottom: 15px;
}

.course-module-list ul, .course-benefits-list ul {
    list-style: none;
    padding: 0;
}

.course-module-list ul li, .course-benefits-list ul li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--navy);
}

.course-module-list ul li i, .course-benefits-list ul li i {
    color: var(--orange);
    margin-top: 3px;
    font-size: 12px;
}

.modal-action-btn {
    text-align: right;
    margin-top: 10px;
    border-top: 2px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        padding: 15px 0;
        gap: 0;
    }

    .nav.open {
        display: flex;
    }

    .nav-link {
        padding: 12px 20px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: 350px;
    }

    .hero-content {
        left: 20px;
    }

    .hero-title {
        font-size: 26px;
    }

    .welcome-card {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }

    .welcome-image {
        flex: 0 0 auto;
    }

    .welcome-buttons {
        justify-content: center;
    }

    .courses-grid,
    .tg-grid {
        grid-template-columns: 1fr;
    }

    .course-card-inner {
        min-height: 200px;
    }

    .video-card {
        flex-direction: column;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }
}