:root {
    --abt-teal: #0ca6a3;
    --abt-teal-glow: rgba(12, 166, 163, 0.06);
    --abt-orange: #dd642b;
    --abt-orange-glow: rgba(221, 100, 43, 0.06);
    --abt-dark: #1a202c;
    --abt-gray: #4a5568;
    --abt-radius: 24px;
    --abt-bezier: cubic-bezier(0.165, 0.84, 0.44, 1);
    --card-teal: #0ca6a3;
    --card-teal-glow: rgba(12, 166, 163, 0.15);
    --card-orange: #dd642b;
    --card-bg-light: #fdfdfd;
    --card-shadow-hover: 0 22px 40px rgba(12, 166, 163, 0.09);
    --card-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-about-wrapper {
    padding: 50px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Row-by-Row Structural Distinctions */
.about-row-block {
    margin-bottom: 110px;
    position: relative;
}
.about-row-block:last-child {
    margin-bottom: 0;
}

/* Premium Framed Image Vectors */
.about-media-container {
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-frame-canvas {
    width: 100%;
    max-width: 480px;
    height: 340px;
    border-radius: var(--abt-radius);
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    transition: all 0.5s var(--abt-bezier);
}

/* Geometric Glow Backdrops that flip natively on alternate rows */
.about-media-container::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 105%;
    background: var(--abt-teal-glow);
    border-radius: var(--abt-radius);
    top: -5%;
    left: 2%;
    z-index: 1;
    transform: rotate(-3deg);
    transition: all 0.5s var(--abt-bezier);
    border: 1px dashed rgba(12, 166, 163, 0.2);
}

.about-row-block:nth-child(even) .about-media-container::before {
    background: var(--abt-orange-glow);
    transform: rotate(3deg);
    left: auto;
    right: 2%;
    border-color: rgba(221, 100, 43, 0.2);
}

/* Hover Physics */
.about-media-container:hover .about-frame-canvas {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(12, 166, 163, 0.12);
}
.about-row-block:nth-child(even) .about-media-container:hover .about-frame-canvas {
    box-shadow: 0 40px 80px rgba(221, 100, 43, 0.12);
}
.about-media-container:hover::before {
    transform: rotate(0deg) scale(0.98);
}

/* Content Element Typographic Layouts */
.about-content-box {
    padding: 0 40px;
}

.about-section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--abt-teal);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-row-block:nth-child(even) .about-section-tag {
    color: var(--abt-orange);
}

.about-content-box h2 {
    font-size: 2.3rem;
    font-weight: 850;
    color: var(--abt-dark);
    margin-bottom: 22px;
    letter-spacing: -0.5px;
    position: relative;
}

.about-content-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--abt-gray);
}

.highlight-teal {
    color: var(--abt-teal);
    font-weight: 700;
}

/* Structural Feature Bullet List Additions */
.about-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}
.about-feature-list li {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--abt-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-feature-list li i {
    color: var(--abt-teal);
    font-size: 0.85rem;
}
.about-row-block:nth-child(even) .about-feature-list li i {
    color: var(--abt-orange);
}

/* Standard Call to Action Module Button */
.about-cta-action {
    background-color: var(--abt-teal);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 32px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(12, 166, 163, 0.2);
    margin-top: 24px;
}
.about-cta-action:hover {
    background-color: #088a87;
    box-shadow: 0 6px 20px rgba(12, 166, 163, 0.35);
    transform: translateY(-2px);
}



.courses-wrapper-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 50px 0;
    position: relative;
}

/* Header Upgrades */
.courses-wrapper-section .sub-title {
    background-color: rgba(12, 166, 163, 0.08);
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
}

.courses-wrapper-section h2 {
    font-size: 2.6rem;
    font-weight: 850;
    color: #1a202c;
    letter-spacing: -0.5px;
}

/* Premium Card Architecture */
.course-card {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-bounce, all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275));
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(12, 166, 163, 0.2) !important;
}

/* Image Wrapper Zoom Mechanics */
.course-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
}

.course-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-card:hover .card-img-top {
    transform: scale(1.06);
}

/* Badge Enhancements */
.course-meta-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #1a202c !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

/* Rating Layer */
.course-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.course-rating-row .stars {
    color: #ffa800;
    font-size: 0.8rem;
}
.course-rating-row .rating-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #718096;
}

/* Typography Hierarchy inside Card Body */
.course-card .card-body {
    padding: 24px !important;
}

.course-card .course-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: #1a202c;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.course-card:hover .course-title {
    color: var(--card-teal);
}

.course-card p.text-muted {
    font-size: 0.88rem !important;
    line-height: 1.5;
    color: #718096 !important;
    margin-bottom: 20px;
}

/* Interactive Enroll Buttons */
.enroll-btn {
    background-color: var(--card-teal);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(12, 166, 163, 0.2);
}

.enroll-btn:hover {
    background-color: #088a87;
    box-shadow: 0 6px 20px rgba(12, 166, 163, 0.35);
    transform: translateY(-1px);
}

/* Bottom Global Directory Redirection Button */
.view-all-courses-btn {
    border: 2px solid #1a202c !important;
    color: #1a202c !important;
    background: transparent;
    padding: 12px 36px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.95rem;
    transition: all 0.2s ease !important;
}

.view-all-courses-btn:hover {
    background: #1a202c !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(26, 32, 44, 0.15);
}
/* --- LAPTOP SHOWCASE SECTION STYLES --- */
.showcase-section {
    background: #f8fafc;
    padding: 80px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.showcase-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 40px;
    text-align: center;
    font-family: system-ui, -apple-system, sans-serif;
}
.showcase-title span {
    color: #0ca6a3;
}
:root {
    --laptop-max-width: 400px;
}

.laptop-container {
    position: relative;
    width: 100%;
    max-width: var(--laptop-max-width);
    margin: 0 auto;
    box-sizing: border-box;
}

/* Screen Housing (Lid Bezel) */
.laptop-screen {
    position: relative;
    background: #000000;
    border-radius: 16px 16px 0 0;
    padding: 12px 12px 0 12px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

/* Camera Lens Hardware Node */
.laptop-screen::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #242424;
    border-radius: 50%;
    z-index: 10;
}

/* Viewport Window Box */
.laptop-display {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* Automatically locks aspect geometry ratios */
    background: #ffffff;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
    border: 1px solid #111111;
    
    /* CRITICAL LIGHTHOUSE FIX: Isolates layer to prevent surrounding document repaints */
    transform: translateZ(0); 
}

/* Long Screenshot Hardware Acceleration Layer */
.scrolling-web-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto; /* Lets the browser register the real height of the long image */
    display: block;
    
    /* Forces GPU processing rendering paths */
    transform: translateY(0);
    will-change: transform;
    animation: longScreenshotScroll 18s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite alternate;
}

/* Metallic Keyboard Frame Base */
.laptop-base {
    position: relative;
    width: 116%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 0 0 12px 12px;
    left: -8%;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

/* Display Opening Notch Finger Grip */
.laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 0 0 5px 5px;
}

/* Realistic Ground Drop Shadow Layer */
.laptop-base::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 5%;
    width: 90%;
    height: 4px;
    background: rgba(15, 23, 42, 0.15);
    border-radius: 50%;
    filter: blur(2px);
}

/* --- AUTOMATED COMPUTATIONAL SCROLL MATHEMATICS ---
  At maximum display limits (400px wide), a 16:10 view window height scales to exactly 236px.
  The calc formula below shifts the image upward to its exact bottom boundary seamlessly.
*/
@keyframes longScreenshotScroll {
    0%, 8% {
        transform: translateY(0);
    }
    92%, 100% {
        transform: translateY(calc(-100% + 236px));
    }
}

/* Responsive Fluid Breakpoints */
@media (max-width: 767px) {
    .laptop-container { max-width: 90%; }
    .laptop-screen { border-radius: 12px 12px 0 0; padding: 8px 8px 0 8px; }
    
    /* Mobilized view calculation adjustments (container viewport size matches ~180px height) */
}
    @keyframes longScreenshotScroll {
        0%, 8% { transform: translateY(0); }
        92%, 100% { transform: translateY(calc(-100% + 180px)); }
    }


/* Precision Grid Responsiveness */
@media (max-width: 991px) {
    .premium-about-wrapper { padding: 70px 0; }
    .about-row-block { margin-bottom: 70px; text-align: center; }
    .about-content-box { padding: 30px 15px 0 15px; }
    .about-feature-list { display: inline-block; text-align: left; }
    .about-media-container { max-width: 440px; margin: 0 auto; }
}