*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: #f7f9fb;
    color: #1a2233;
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.home-page {
    background:
        radial-gradient(circle at top left, rgba(110, 193, 228, 0.18), transparent 28%),
        linear-gradient(180deg, #f5f8ff 0%, #eef4fb 100%);
}

.home-page header.home-header {
    background: transparent;
    box-shadow: none;
    padding: 18px 16px 0;
}

.home-page .header-shell {
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(209, 221, 242, 0.95);
    border-radius: 28px;
    box-shadow: 0 28px 56px rgba(17, 34, 68, 0.14);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.home-page .professional-3d-bar {
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 55%, #edf5ff 100%);
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid #e1e8f8;
}

.home-page .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 24px 14px;
    background: transparent;
}

.home-page .site-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #102544;
    text-decoration: none;
}

.home-page .site-title:hover {
    color: #102544;
}

.home-page .site-title-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #d9e5fb;
    box-shadow: 0 12px 28px rgba(17, 34, 68, 0.10);
    flex-shrink: 0;
}

.home-page .site-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.home-page .site-title-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-page .site-kicker {
    color: #6b7a95;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-page .site-name {
    color: #112244;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.home-page .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
    min-width: 320px;
}

.home-page .catalog-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e7efff 0%, #f9fbff 100%);
    border: 1px solid #d6e2fb;
    color: #1846aa;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(24, 70, 170, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.home-page .catalog-pill:hover {
    color: #0f347f;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(24, 70, 170, 0.16);
}

.home-page .search-bar {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 260px;
    max-width: 540px;
    padding: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7f9ff 0%, #eef4ff 100%);
    border: 1px solid #d7e2f8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-page .search-bar input[type="text"] {
    flex: 1;
    max-width: none;
    padding: 12px 14px;
    border: none;
    outline: none;
    background: transparent;
    color: #102544;
    font-size: 0.98rem;
}

.home-page .search-bar button {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8 0%, #102f76 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(16, 47, 118, 0.24);
}

.home-page .search-bar button:hover {
    background: linear-gradient(135deg, #245ce8 0%, #12398d 100%);
    color: #fff;
}

.home-page .professional-3d-nav {
    background: linear-gradient(135deg, #102544 0%, #19397c 100%);
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0 24px 18px;
}

.home-page .nav-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-page .professional-3d-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
    max-width: none;
    flex: 1;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.home-page .professional-3d-nav ul::-webkit-scrollbar {
    display: none;
}

.home-page .professional-3d-nav li {
    margin: 0;
    flex: 0 0 auto;
}

.home-page .professional-3d-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.90);
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.home-page .professional-3d-nav a:hover,
.home-page .professional-3d-nav a:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: none;
}

.home-page .professional-3d-nav .nav-auth a {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.16);
}

.home-page .professional-3d-nav .nav-auth-primary a {
    background: #ffffff;
    border-color: #ffffff;
    color: #13326b;
    box-shadow: 0 14px 24px rgba(7, 18, 46, 0.18);
}

.home-page .professional-3d-nav .nav-auth-primary a:hover,
.home-page .professional-3d-nav .nav-auth-primary a:focus {
    background: #dff1ff;
    border-color: #dff1ff;
    color: #0d2d68;
}

.home-page .nav-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 220px;
}

.home-page .nav-meta-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-page .nav-meta-text {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    text-align: right;
}

.home-page .quick-options-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.home-page .quick-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
    border: 1px solid #d7e4fb;
    color: #163266;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(9, 28, 69, 0.12);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-page .quick-option:hover {
    transform: translateY(-3px);
    border-color: #bfd5ff;
    box-shadow: 0 18px 40px rgba(9, 28, 69, 0.16);
}

.home-page .quick-option-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.home-page .quick-option-label {
    font-size: 1rem;
    font-weight: 700;
}

.home-page .quick-option-note {
    color: #66758f;
    font-size: 0.88rem;
    line-height: 1.45;
}

.home-page .quick-option i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #edf3ff;
    color: #1c52c7;
    flex-shrink: 0;
}

.home-page .hero-section {
    position: relative;
    background: transparent;
    padding: 0 0 40px;
}

.home-page .hero-title-wrap {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    width: 100%;
    min-height: clamp(250px, 38vw, 420px);
    margin: 0 0 20px;
    padding: clamp(28px, 4vw, 44px);
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 28px 56px rgba(17, 34, 68, 0.08);
}

.home-page .hero-title-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.18) 46%, rgba(237, 244, 255, 0.28) 100%);
}

.home-page .hero-title-clip {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.86;
    filter: saturate(1.14) contrast(1.1) brightness(0.99);
}

.home-page .hero-title {
    position: relative;
    z-index: 2;
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 10ch;
    text-shadow: 0 10px 28px rgba(255, 255, 255, 0.5);
}

.home-page .hero-subtitle {
    max-width: 700px;
}

.home-page main {
    margin-top: 24px;
}

header {
    background-color: #112244;
    padding: 0;
    box-shadow: 0 2px 8px rgba(17,34,68,0.04);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px 10px 40px;
    background: #112244;
}

.site-title {
    margin: 0;
    color: #fff;
    font-size: 2em;
    text-align: left;
    letter-spacing: 1px;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input[type="text"] {
    padding: 8px 12px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #d1d5db;
    outline: none;
    font-size: 1em;
    background: #fff;
    color: #1a2233;
}

.search-bar button {
    padding: 8px 14px;
    border: none;
    background: #1a2233;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

.search-bar button:hover {
    background: #6ec1e4;
    color: #112244;
}

nav {
    background: #112244;
    box-shadow: 0 1px 0 #e5e7eb;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between; /* Changed from center to space-between */
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

nav ul li {
    margin: 0 6px;
}

nav a {
    color: #f0f4fa;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-size: 1em;
}

nav a:hover {
    background: #e5e7eb;
    color: #112244;
}

.hero-section {
    text-align: center;
    padding: 56px 16px 40px 16px;
    background: #f7f9fb;
}

.hero-title {
    font-size: 5em; /* Increased from 2.4em to 5em */
    color: #112244;
    margin-bottom: 18px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.15em;
    color: #4b5563;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background: #112244;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.hero-btn:hover {
    background: #6ec1e4;
    color: #112244;
}

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(17,34,68,0.06);
}

section {
    margin-bottom: 48px;
}

section h2,
section#about p {
    text-align: center;
}


.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}


.course-card {
    background: #f7f9fb;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(17,34,68,0.08);
    padding: 24px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.25s cubic-bezier(.25,.8,.25,1), box-shadow 0.25s cubic-bezier(.25,.8,.25,1);
    will-change: transform;
}

.course-card:hover {
    transform: scale(1.06); /* Only enlarge, no tilt */
    box-shadow: 0 8px 32px rgba(17,34,68,0.18);
    z-index: 2;
}

.course-icon {
    font-size: 2.5em;
    color: #112244;
    margin-bottom: 12px;
}

.course-card h3 {
    margin: 10px 0 8px 0;
    color: #1a2233;
}


.course-card p {
    font-size: 0.98em;
    color: #4b5563;
    margin-bottom: 18px;
    flex-grow: 1;
}

.enroll-btn {
    background: linear-gradient(135deg, #112244 0%, #1a2233 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 200px;
}

.enroll-btn:hover {
    background: linear-gradient(135deg, #1a2233 0%, #0f1b36 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 34, 68, 0.3);
    text-decoration: none;
    color: white;
}

/* Remove these preview-related styles completely */
/* 
.preview-btn {
    // Delete all preview button styles
}
*/

.course-actions {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 1.5rem;
}

.video-cta-link {
    position: relative;
    display: block;
    width: min(100%, 1200px);
    margin: 0 auto 28px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    background: #09162d;
    box-shadow: 0 18px 48px rgba(17, 34, 68, 0.18);
    aspect-ratio: 16 / 7;
    min-height: 220px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-cta-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(17, 34, 68, 0.24);
}

.video-cta-link:focus-visible {
    outline: 3px solid #6ec1e4;
    outline-offset: 4px;
}

.video-cta-link video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.35s ease;
}

.video-cta-link:hover video,
.video-cta-link:focus-visible video {
    transform: scale(1.05);
}

.video-cta-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 18, 39, 0.16) 0%, rgba(6, 18, 39, 0.4) 45%, rgba(6, 18, 39, 0.82) 100%);
}

.video-cta-copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.video-cta-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f8fbff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.video-cta-title {
    max-width: 620px;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.8vw, 2.6rem);
    font-weight: 700;
    line-height: 1.08;
    text-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.video-cta-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    color: #102544;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(10, 22, 44, 0.24);
}

.reasons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 32px 0 0 0;
}

.reason-tile {
    background: #f7f9fb;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(17,34,68,0.06);
    width: 170px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #112244;
    text-align: center;
    padding: 18px 10px;
    border: 1px solid #e5e7eb;
}

.reason-tile i {
    font-size: 2em;
    color: #6ec1e4;
    margin-bottom: 12px;
}

.reason-tile p {
    margin: 0;
    font-size: 1.05em;
    color: #4b5563;
}

#contact {
    padding: 0;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

#contact img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(17, 34, 68, 0.18);
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #fff;
    color: #1a2233;
    font-size: 1em;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
    color: #b0bedc;
}

#contactForm button {
    background: #112244;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}

#contactForm button:hover {
    background: #6ec1e4;
    color: #112244;
}

footer {
    background: #112244;
    color: #f0f4fa;
    text-align: center;
    padding: 16px 0;
    margin-top: 0;
    font-size: 0.95em;
    border-radius: 0 0 12px 12px;
}

footer a {
    color: #f0f4fa;
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer a:hover {
    color: #6ec1e4;
}

.legal-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 0 10px;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content p,
.legal-content li {
    text-align: left;
}

.legal-content h1 {
    font-size: 2.2rem;
    margin: 0 0 8px;
    color: #112244;
}

.legal-content h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    color: #112244;
}

.legal-content p,
.legal-content li {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.02rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
}

.legal-meta {
    color: #6b7280;
    margin-top: 0;
}

/* 3D Professional Bar and Navigation */
.professional-3d-bar {
    background: linear-gradient(120deg, #112244 70%, #6ec1e4 100%);
    box-shadow: 0 6px 24px rgba(17,34,68,0.18), 0 1.5px 0 #e5e7eb inset;
    border-radius: 0 0 18px 18px;
    position: relative;
    z-index: 10;
}

.professional-3d-nav {
    background: #fff;
    box-shadow: 0 4px 24px rgba(17,34,68,0.10);
    border-radius: 0 0 14px 14px;
    margin-bottom: 18px;
    position: relative;
    z-index: 9;
}

.professional-3d-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 24px;
    display: flex;
    justify-content: space-between; /* Changed from center to space-between */
    gap: 18px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.professional-3d-nav li {
    margin: 0;
}

.professional-3d-nav a {
    display: block;
    padding: 14px 22px;
    color: #112244;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #f7f9fb 80%, #e5e7eb 100%);
    box-shadow: 0 2px 8px rgba(17,34,68,0.04);
    transition: 
        background 0.2s, 
        color 0.2s, 
        transform 0.18s cubic-bezier(.25,.8,.25,1), 
        box-shadow 0.18s cubic-bezier(.25,.8,.25,1);
    position: relative;
    top: 0;
}

.professional-3d-nav a:hover, .professional-3d-nav a:focus {
    background: #6ec1e4;
    color: #fff;
    transform: translateY(-4px) scale(1.07);
    box-shadow: 0 8px 24px rgba(17,34,68,0.16);
    z-index: 2;
}

.professional-3d-nav .nav-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #112244;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
}

.professional-3d-nav .nav-toggle i {
    font-size: 1.1rem;
}

.professional-3d-nav .nav-toggle:hover {
    background: #112244;
    color: #fff;
    box-shadow: 0 8px 18px rgba(17,34,68,0.18);
}

.professional-3d-nav .nav-toggle:focus-visible {
    outline: 2px solid #6ec1e4;
    outline-offset: 2px;
}

.nav-toggle-label {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

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

.course-objectives {
    display: none;
}

.course-card:hover .course-objectives {
    display: none;
}

/* Remove or update these CSS rules in your styles.css file */

.course-actions {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 1.5rem;
}

.enroll-btn {
    background: linear-gradient(135deg, #112244 0%, #1a2233 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 200px;
}

.enroll-btn:hover {
    background: linear-gradient(135deg, #1a2233 0%, #0f1b36 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 34, 68, 0.3);
    text-decoration: none;
    color: white;
}

/* Remove these preview-related styles completely */
/* 
.preview-btn {
    // Delete all preview button styles
}
*/

/* Course pricing styles */
.course-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;
    gap: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 400;
}

.current-price {
    color: #112244;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #112244 0%, #1a2233 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Alternative layout for horizontal pricing */
.course-price.horizontal {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

.course-price.horizontal .current-price {
    order: -1; /* Show current price first in horizontal layout */
}

/* Add discount badge */
.course-card {
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    z-index: 1;
}

/* Mobile Responsive Styles for Central and Symmetrical Layout */
@media screen and (max-width: 768px) {
    /* Global container for centering */
    body {
        display: block;
        min-height: 100vh;
        background-color: #f7f9fb;
    }
    
    /* Header adjustments for mobile */
    header,
    .hero-section,
    main,
    footer {
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-section,
    main {
        padding-left: clamp(16px, 4vw, 32px);
        padding-right: clamp(16px, 4vw, 32px);
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        text-align: center;
    }
    
    .site-title {
        font-size: 1.5em;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .search-bar {
        width: 100%;
        justify-content: center;
    }
    
    .search-bar input[type="text"] {
        flex: 1;
        max-width: 250px;
    }
    
    /* Navigation adjustments for mobile */
    .professional-3d-nav {
        padding: 16px 20px;
    }
    
    .professional-3d-nav.nav-collapsible .nav-toggle {
        display: flex;
    }
    
    .professional-3d-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0;
        margin: 0;
        width: 100%;
        max-height: none;
        overflow: visible;
        opacity: 1;
        visibility: visible;
    }

    .professional-3d-nav.nav-collapsible ul {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .professional-3d-nav.nav-collapsible.nav-open ul {
        max-height: 800px;
        opacity: 1;
        visibility: visible;
        margin-top: 12px;
    }
    
    .professional-3d-nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .professional-3d-nav ul li a {
        display: block;
        padding: 12px 18px;
        width: 100%;
        margin: 0 auto;
        max-width: 280px;
    }
    
    /* Hero section adjustments */
    .hero-section {
        padding: 30px 20px;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2em; /* Much smaller for mobile */
        line-height: 1.3;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1em;
        line-height: 1.5;
        margin-bottom: 20px;
        max-width: 90%;
        text-align: center;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 1em;
        margin: 0 auto;
    }
    
    /* Main content adjustments */
    main {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    section {
        margin-bottom: 30px;
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Course grid adjustments */
    .courses-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        align-items: stretch;
        padding: 0;
        width: 100%;
    }
    
    .course-card {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .course-card img {
        width: 100%;
        height: auto;
    }
    
    .course-card h3 {
        font-size: 1.2em;
        text-align: center;
        margin-top: 15px;
    }
    
    .course-card p {
        text-align: center;
        padding: 0 10px;
    }
    
    .course-actions {
        padding: 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .enroll-btn {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
    
    /* Reasons section adjustments */
    .reasons-list {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 0;
        width: 100%;
    }
    
    .reason-tile {
        width: 100%;
        max-width: none;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    /* Contact form adjustments */
    #contact {
        margin: 20px auto;
        width: 100%;
        max-width: 1200px;
    }
    
    #contactForm {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    #contactForm input,
    #contactForm textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        width: 100%;
        margin-bottom: 15px;
        text-align: left;
    }
    
    #contactForm button {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    /* Footer adjustments */
    footer {
        width: 100%;
        text-align: center;
        margin-top: auto;
    }
    
    /* Image adjustments for mobile */
    img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    /* Typography adjustments */
    .hero-section h1,
    .hero-section p,
    main > section > h2,
    main > section > p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    
    main > section > h2 {
        font-size: 1.5em;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    
    main > section > p {
        max-width: 100%;
    }

    body .course-hero {
        padding: 2.6rem 1rem 2.2rem;
        margin-bottom: 1.5rem;
    }

    body .course-hero h1 {
        font-size: clamp(1.25rem, 7vw, 1.75rem);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    body .course-hero h1 i {
        display: block;
        margin: 0 auto 0.65rem;
    }

    body .course-hero .free-badge-large,
    body .course-hero .google-badge {
        display: block;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    body .course-hero .free-badge-large {
        font-size: 1rem;
        padding: 10px 18px;
    }

    body .course-hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
    }

    body .course-hero .google-badge {
        margin-top: 0.75rem;
        font-size: 0.85rem;
    }

    body .course-content {
        padding: 0 1rem;
    }

    body .course-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    body .video-section,
    body .info-card,
    body .certificate-cta {
        padding: 1.25rem;
        border-radius: 16px;
    }

    body .cert-btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    body .cert-btn-large,
    body .navigation-buttons .nav-btn {
        width: 100%;
        justify-content: center;
    }

    body .navigation-buttons {
        flex-direction: column;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .header-top {
        padding: 12px 15px;
    }
    
    .site-title {
        font-size: 1.3em;
    }
    
    .search-bar input[type="text"] {
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 1.5em;
    }
    
    .hero-subtitle {
        font-size: 0.9em;
    }
    
    main {
        padding: 15px 12px;
    }
    
    .course-card {
        padding: 20px 16px;
    }
    
    .reason-tile {
        padding: 18px 16px;
    }
    
    #contact {
        margin: 15px auto;
        padding: 20px 15px;
    }

    body .course-hero {
        padding: 2.3rem 0.9rem 1.9rem;
    }

    body .course-hero h1 {
        font-size: 1.2rem;
    }

    body .course-hero .free-badge-large {
        font-size: 0.95rem;
        padding: 10px 16px;
    }

    body .course-hero p {
        font-size: 0.95rem;
    }

    body .video-section,
    body .info-card,
    body .certificate-cta {
        padding: 1rem;
    }

    body .cert-btn-large {
        padding: 14px 18px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) and (orientation: portrait) {
    .hero-section,
    main,
    #free-courses,
    #contact,
    .courses-list,
    .reasons-list,
    footer {
        max-width: 560px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .courses-list,
    .reasons-list {
        padding-left: 0;
        padding-right: 0;
    }

    .course-card,
    .reason-tile,
    #contact,
    .hero-section {
        border-radius: 16px;
    }

    .video-cta-link {
        border-radius: 16px;
    }

    .video-cta-copy {
        left: 18px;
        right: 18px;
        bottom: 18px;
        gap: 10px;
    }
}

@media screen and (max-width: 980px) {
    .home-page .header-actions {
        width: 100%;
        min-width: 0;
    }

    .home-page .search-bar {
        max-width: none;
    }

    .home-page .nav-track {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page .nav-meta {
        align-items: flex-start;
        min-width: 0;
    }

    .home-page .nav-meta-text {
        text-align: left;
    }

    .home-page .quick-options-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .home-page header.home-header {
        padding: 10px 12px 0;
    }

    .home-page .header-shell {
        border-radius: 24px;
    }

    .home-page .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px 16px 12px;
        text-align: left;
    }

    .home-page .site-title {
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .home-page .header-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .home-page .catalog-pill {
        justify-content: center;
    }

    .home-page .search-bar {
        width: 100%;
    }

    .home-page .search-bar input[type="text"] {
        max-width: none;
    }

    .home-page .professional-3d-nav {
        padding: 0 16px 16px;
    }

    .home-page .professional-3d-nav ul {
        width: 100%;
        flex-wrap: wrap;
        overflow: visible;
    }

    .home-page .professional-3d-nav li {
        flex: 1 1 calc(50% - 8px);
    }

    .home-page .professional-3d-nav a {
        width: 100%;
    }

    .home-page .quick-options-bar {
        grid-template-columns: 1fr;
    }

    .home-page .hero-section {
        padding: 0 18px 32px;
    }

    .home-page .hero-title-wrap {
        min-height: 240px;
        margin: 0 -18px 18px;
    }

    .home-page .hero-title {
        font-size: 2.5rem;
        max-width: 11ch;
    }
}

@media screen and (max-width: 480px) {
    .home-page .site-title {
        gap: 10px;
    }

    .home-page .site-title-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .home-page .site-logo {
        width: 32px;
        height: 32px;
    }

    .home-page .site-kicker {
        font-size: 0.68rem;
    }

    .home-page .site-name {
        font-size: 1.35rem;
    }

    .home-page .nav-track {
        padding: 14px 12px;
        border-radius: 18px;
    }

    .home-page .professional-3d-nav li {
        flex-basis: 100%;
    }

    .home-page .quick-option {
        padding: 14px;
        border-radius: 18px;
    }

    .home-page .hero-title-wrap {
        min-height: 210px;
        padding: 22px;
        margin: 0 -18px 18px;
    }

    .home-page .hero-title {
        font-size: 2.05rem;
    }
}

/* Index-style header shell for non-home pages */
.site-shell-page header.site-header {
    background: transparent;
    box-shadow: none;
    font-family: 'Open Sans', Arial, sans-serif;
    padding: 18px 16px 0;
}

.site-shell-page .header-shell {
    max-width: 1240px;
    margin: 0 auto 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(209, 221, 242, 0.95);
    border-radius: 28px;
    box-shadow: 0 28px 56px rgba(17, 34, 68, 0.14);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.site-shell-page .professional-3d-bar {
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 55%, #edf5ff 100%);
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid #e1e8f8;
}

.site-shell-page .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 24px 14px;
    background: transparent;
}

.site-shell-page .site-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #102544;
    text-decoration: none;
}

.site-shell-page .site-title:hover {
    color: #102544;
}

.site-shell-page .site-title-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #d9e5fb;
    box-shadow: 0 12px 28px rgba(17, 34, 68, 0.10);
    flex-shrink: 0;
}

.site-shell-page .site-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.site-shell-page .site-title-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-shell-page .site-kicker {
    color: #6b7a95;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-shell-page .site-name {
    color: #112244;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.site-shell-page .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
    min-width: 320px;
}

.site-shell-page .catalog-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e7efff 0%, #f9fbff 100%);
    border: 1px solid #d6e2fb;
    color: #1846aa;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(24, 70, 170, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-shell-page .catalog-pill:hover {
    color: #0f347f;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(24, 70, 170, 0.16);
}

.site-shell-page .search-bar {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 260px;
    max-width: 540px;
    padding: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7f9ff 0%, #eef4ff 100%);
    border: 1px solid #d7e2f8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-shell-page .search-bar input[type="text"] {
    flex: 1;
    max-width: none;
    padding: 12px 14px;
    border: none;
    outline: none;
    background: transparent;
    color: #102544;
    font-size: 0.98rem;
}

.site-shell-page .search-bar button {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8 0%, #102f76 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(16, 47, 118, 0.24);
}

.site-shell-page .search-bar button:hover {
    background: linear-gradient(135deg, #245ce8 0%, #12398d 100%);
    color: #fff;
}

.site-shell-page .professional-3d-nav {
    background: linear-gradient(135deg, #102544 0%, #19397c 100%);
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0 24px 18px;
}

.site-shell-page .nav-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-shell-page .professional-3d-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 560px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-shell-page .professional-3d-nav ul::-webkit-scrollbar {
    display: none;
}

.site-shell-page .professional-3d-nav li {
    margin: 0;
    flex: 0 0 auto;
}

.site-shell-page .professional-3d-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.90);
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.site-shell-page .professional-3d-nav a:hover,
.site-shell-page .professional-3d-nav a:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: none;
}

.site-shell-page .professional-3d-nav .nav-auth a {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.16);
}

.site-shell-page .professional-3d-nav .nav-auth-primary a {
    background: #ffffff;
    border-color: #ffffff;
    color: #13326b;
    box-shadow: 0 14px 24px rgba(7, 18, 46, 0.18);
}

.site-shell-page .professional-3d-nav .nav-auth-primary a:hover,
.site-shell-page .professional-3d-nav .nav-auth-primary a:focus {
    background: #dff1ff;
    border-color: #dff1ff;
    color: #0d2d68;
}

.site-shell-page .nav-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 0 1 320px;
    max-width: 100%;
    min-width: 220px;
}

.site-shell-page .nav-meta-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-shell-page .nav-meta-text {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-align: right;
}

.site-shell-page .quick-options-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.site-shell-page .quick-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
    border: 1px solid #d7e4fb;
    color: #163266;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(9, 28, 69, 0.12);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.site-shell-page .quick-option:hover {
    transform: translateY(-3px);
    border-color: #bfd5ff;
    box-shadow: 0 18px 40px rgba(9, 28, 69, 0.16);
}

.site-shell-page .quick-option-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.site-shell-page .quick-option-label {
    font-size: 1rem;
    font-weight: 700;
}

.site-shell-page .quick-option-note {
    color: #66758f;
    font-size: 0.88rem;
    line-height: 1.45;
}

.site-shell-page .quick-option i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #edf3ff;
    color: #1c52c7;
    flex-shrink: 0;
}

@media screen and (max-width: 980px) {
    .site-shell-page .header-actions {
        width: 100%;
        min-width: 0;
    }

    .site-shell-page .search-bar {
        max-width: none;
    }

    .site-shell-page .nav-track {
        flex-direction: column;
        align-items: stretch;
    }

    .site-shell-page .nav-meta {
        align-items: flex-start;
        min-width: 0;
    }

    .site-shell-page .nav-meta-text {
        text-align: left;
    }

    .site-shell-page .quick-options-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .site-shell-page header.site-header {
        padding: 10px 12px 0;
    }

    .site-shell-page .header-shell {
        border-radius: 24px;
    }

    .site-shell-page .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px 16px 12px;
        text-align: left;
    }

    .site-shell-page .site-title {
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .site-shell-page .header-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .site-shell-page .catalog-pill {
        justify-content: center;
    }

    .site-shell-page .search-bar {
        width: 100%;
    }

    .site-shell-page .search-bar input[type="text"] {
        max-width: none;
    }

    .site-shell-page .professional-3d-nav {
        padding: 0 16px 16px;
    }

    .site-shell-page .professional-3d-nav ul {
        width: 100%;
        flex-wrap: wrap;
        overflow: visible;
    }

    .site-shell-page .professional-3d-nav li {
        flex: 1 1 calc(50% - 8px);
    }

    .site-shell-page .professional-3d-nav a {
        width: 100%;
    }

    .site-shell-page .quick-options-bar {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .site-shell-page .site-title {
        gap: 10px;
    }

    .site-shell-page .site-title-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .site-shell-page .site-logo {
        width: 32px;
        height: 32px;
    }

    .site-shell-page .site-kicker {
        font-size: 0.68rem;
    }

    .site-shell-page .site-name {
        font-size: 1.35rem;
    }

    .site-shell-page .nav-track {
        padding: 14px 12px;
        border-radius: 18px;
    }

    .site-shell-page .professional-3d-nav li {
        flex-basis: 100%;
    }

    .site-shell-page .quick-option {
        padding: 14px;
        border-radius: 18px;
    }
}

/* Free Video Courses Section */
#free-courses {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 40px;
    margin: 40px 0;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.free-course {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #10b981;
    position: relative;
}

.free-course::before {
    content: "FREE";
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.free-course:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
    border-color: #059669;
}

.free-course .course-icon {
    color: #10b981;
}

.free-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    margin-bottom: 8px;
}

.cert-option {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
}

.pathway-badge {
    background: linear-gradient(135deg, #112244 0%, #1a2233 100%);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(17, 34, 68, 0.18);
}

.course-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.watch-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 180px;
    gap: 6px;
    font-size: 0.9rem;
}

.watch-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    color: white;
}

.watch-btn::before {
    content: "▶";
    font-size: 0.8rem;
}

.cert-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 180px;
    gap: 6px;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.cert-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    text-decoration: none;
    color: white;
    border-color: #f59e0b;
}

.cert-btn::before {
    content: "🏆";
    font-size: 0.8rem;
}

.free-video-course-page {
    background:
        radial-gradient(circle at top left, rgba(110, 193, 228, 0.18), transparent 28%),
        linear-gradient(180deg, #f5f8ff 0%, #eef4fb 100%);
}

.free-video-course-page main.free-video-main {
    max-width: 1240px;
    margin: 0 auto 48px;
    padding: 0 16px 24px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.free-video-course-page .course-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(110, 193, 228, 0.26), transparent 24%),
        linear-gradient(135deg, #102544 0%, #17356d 58%, #0c5f88 100%);
    box-shadow: 0 28px 60px rgba(17, 34, 68, 0.2);
}

.free-video-course-page .course-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.free-video-course-page .course-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f8fbff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.free-video-course-page .course-hero h1,
.free-video-course-page .course-hero p,
.free-video-course-page .course-hero .free-badge-large,
.free-video-course-page .course-hero .design-badge,
.free-video-course-page .course-hero .google-badge,
.free-video-course-page .course-hero .innovation-badge,
.free-video-course-page .course-hero .business-badge,
.free-video-course-page .course-hero .strategy-badge {
    position: relative;
    z-index: 1;
}

.free-video-course-page .course-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -0.04em;
    line-height: 1;
}

.free-video-course-page .course-hero p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.free-video-course-page .course-hero .free-badge-large,
.free-video-course-page .course-hero .design-badge,
.free-video-course-page .course-hero .google-badge,
.free-video-course-page .course-hero .innovation-badge,
.free-video-course-page .course-hero .business-badge,
.free-video-course-page .course-hero .strategy-badge {
    margin-top: 12px;
}

.free-video-course-page .course-content {
    max-width: none;
    padding: 0;
}

.free-video-course-page .video-section,
.free-video-course-page .info-card,
.free-video-course-page .certificate-cta {
    border-radius: 28px;
    border: 1px solid rgba(209, 221, 242, 0.9);
    box-shadow: 0 24px 48px rgba(17, 34, 68, 0.1);
}

.free-video-course-page .video-section {
    padding: clamp(1.4rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.96);
}

.free-video-course-page .video-container {
    box-shadow: 0 18px 36px rgba(17, 34, 68, 0.16);
}

.free-video-course-page .course-info {
    margin-bottom: 24px;
}

.free-video-course-page .info-card {
    background: rgba(255, 255, 255, 0.98);
}

.free-video-course-page .certificate-cta {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #102544 0%, #17356d 45%, #1e88b6 100%);
}

.free-video-course-page .certificate-cta p {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.free-video-course-page .cert-btn-group {
    gap: 12px;
}

.free-video-course-page .cert-btn-large {
    backdrop-filter: blur(10px);
}

.free-video-course-page .navigation-buttons {
    margin-top: 0;
    flex-wrap: wrap;
}

.free-video-course-page .nav-btn {
    min-height: 52px;
    justify-content: center;
    flex: 1 1 220px;
}

@media (max-width: 768px) {
    .free-video-course-page main.free-video-main {
        padding: 0 12px 24px;
    }

    .free-video-course-page .course-hero {
        padding: 2rem 1.25rem;
        border-radius: 24px;
    }

    .free-video-course-page .navigation-buttons {
        flex-direction: column;
    }

    .free-video-course-page .nav-btn {
        width: 100%;
        flex: none;
    }
}
