/* ==========================================================================
   CSS Variables & Scoped Reset
   ========================================================================== */
.mt-wrapper {
    --primary-color: #0F2A47;
    --secondary-color: #4482FF;
    --accent-color: #00F5FF;
    --text-dark: #FFFFFF; 
    --text-muted: #CBD5E1;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --transition: all 0.3s ease;

    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.mt-wrapper * {
    box-sizing: border-box;
}

.mt-wrapper h1, .mt-wrapper h2, .mt-wrapper h3, .mt-wrapper h4, .mt-wrapper h5, .mt-wrapper h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--bg-white);
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.mt-wrapper p {
    margin-bottom: 1.25rem;
    color: #E2E8F0;
    font-size: 1rem;
}

.mt-wrapper a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

.mt-wrapper a:hover {
    color: var(--bg-white);
}

.mt-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ==========================================================================
   Global Background Video, Overlay & Glow System
   ========================================================================== */
#global-bg-video {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -999;
}

#global-bg-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.9) 0%, rgba(3, 7, 18, 0.7) 50%, rgba(3, 7, 18, 0.95) 100%);
    z-index: -998;
}

.global-glow {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -997;
    pointer-events: none;
    background:
      radial-gradient(circle at 20% 20%, rgba(0,245,255,0.15), transparent 40%),
      radial-gradient(circle at 80% 80%, rgba(123,92,255,0.12), transparent 40%);
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.mt-hero {
    background: linear-gradient(135deg, rgba(1, 6, 28, 0.85) 0%, rgba(15, 42, 71, 0.85) 100%);
    color: var(--bg-white);
    padding: 4.5rem 0;
    border-radius: 0 0 2rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mt-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(68,130,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mt-hero-grid-split {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
    align-items: center;
    text-align: left;
}

.mt-hero-content-left {
    max-width: 100%;
    text-align: left;
}

.mt-hero-content-left h1 {
    color: var(--bg-white);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.mt-hero-content-left p {
    color: #CBD5E1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.mt-hero-graphic-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Abstract Tech Geometric Glow Element */
.mt-hero-abstract-glow {
    position: relative;
    width: 200px; 
    height: 200px; 
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(0, 245, 255, 0.3);
}

.mt-hero-abstract-inner {
    width: 140px; 
    height: 140px; 
    border: 1px solid rgba(68, 130, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: mtHeroSwing 6s ease-in-out infinite alternate; 
}

.mt-hero-abstract-inner i {
    font-size: 2.75rem; 
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
    animation: mtHeroPulse 3s ease-in-out infinite alternate;
}

@keyframes mtHeroSwing {
    0% { transform: rotate(-90deg); }
    100% { transform: rotate(90deg); }
}

@keyframes mtHeroPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* ==========================================================================
   Course Cards Grid System (Premium Interactive Layout)
   ========================================================================== */
.mt-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.mt-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.mt-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.mt-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 840px;
    margin: 0 auto 5rem auto;
}

.course-card {
    background: linear-gradient(135deg, rgba(1, 6, 28, 0.8) 0%, rgba(15, 42, 71, 0.7) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid rgba(0, 245, 255, 0.35);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 🔥 Glow Gradient Border Animation Overlay */
.course-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px; 
    background: linear-gradient(45deg, #00f5ff, #7b5cff, #ff2b2b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px -5px rgba(0, 245, 255, 0.25), 0 0 20px rgba(123, 92, 255, 0.15);
}

.course-card:hover::before {
    opacity: 1;
}

/* Premium Image Sizing & Framing Strategy */
.img-box {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
}

.img-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .img-box img {
    transform: scale(1.05);
}

/* Card Typography */
.course-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 6px 0;
    transition: var(--transition);
}

.course-card:hover h2 {
    color: var(--accent-color);
}

.course-card p {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.duration {
    display: block;
    color: #00f5ff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.duration i {
    margin-right: 4px;
}

/* Interactive Card Buttons */
.course-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #00f5ff, #5b8def, #7b5cff);
    color: #0f061c;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.course-card a:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #7b5cff, #ff2b2b);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 43, 43, 0.5);
}

/* ==========================================================================
   Why Choose Us & Career Opportunities Section
   ========================================================================== */
.mt-info-section {
    padding: 2rem 0 5rem 0;
}

.mt-card {
    background: linear-gradient(135deg, rgba(1, 6, 28, 0.75) 0%, rgba(15, 42, 71, 0.65) 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.mt-card h4 {
    font-size: 1.5rem;
    margin-top: 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.mt-card h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.mt-features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.mt-features-list li {
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.mt-features-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 245, 255, 0.15);
    transform: translateX(4px);
}

.mt-features-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1.25rem;
    top: 1.35rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.mt-features-list strong {
    color: var(--bg-white);
    display: block;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   Call To Action (CTA) Section
   ========================================================================== */
.mt-cta-card {
    background: linear-gradient(135deg, rgba(1, 6, 28, 0.9) 0%, rgba(15, 42, 71, 0.9) 100%);
    border-radius: 2rem;
    padding: 4.5rem 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-lg);
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.mt-cta-card h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.mt-cta-card p {
    color: #CBD5E1;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Scroll Animation Classes
   ========================================================================== */
.mt-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mt-fade-in.mt-appeared {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design Layout Constraints
   ========================================================================== */
@media (max-width: 1200px) {
    .mt-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .mt-grid-2 {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .mt-hero-grid-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .mt-hero-content-left {
        text-align: center;
    }
    .mt-hero-content-left h1 {
        font-size: 2.5rem;
    }
    .mt-hero-graphic-right {
        display: none; 
    }
    .mt-cta-card h2 {
        font-size: 2.25rem;
    }
    .mt-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mt-hero {
        padding: 4.5rem 0;
    }
    .mt-hero-content-left h1 {
        font-size: 2.5rem;
    }
    .mt-section-title {
        font-size: 2rem;
    }
    .mt-grid-3, .mt-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .course-card {
        padding: 24px;
    }
    .mt-cta-card {
        padding: 3.5rem 1.5rem;
    }
}
