:root {
    --primary: #3868fb;
    --primary-light: #6ec1ff;
    --accent: #3868fb;
    --text: #111827;
    --muted: #6b7280;
    --bg: #ffffff;
    --bg-dark: #0f172a;
    --card-bg: #ffffff;
    --card-dark: #1e293b;
    --radius: 14px;
    --shadow: 0 6px 28px rgba(16, 24, 40, 0.08);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Inter", system-ui, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.dark {
    background: var(--bg-dark);
    color: #e6eef8
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto
}

.text-center {
    text-align: center
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}

.card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .22s
}

body.dark .card {
    background: var(--card-dark)
}

.card:hover {
    transform: translateY(-6px)
}

/* NAV */
nav {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 999
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0
}

.logo {
    display: flex;
    gap: 12px;
    align-items: center
}

.logo img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    display: block
}

.brand-title {
    font-weight: 700;
    font-size: 18px
}

.brand-sub {
    font-size: 12px;
    color: var(--muted)
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600
}

.nav-links a:hover {
    color: var(--primary)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 22px;
    cursor: pointer
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 360px;
    height: 100%;
    background: var(--card-bg);
    padding: 28px;
    box-shadow: -8px 0 40px rgba(2, 6, 23, 0.2);
    transition: right .28s;
    z-index: 10000
}

.mobile-drawer.open {
    right: 0
}

.mobile-drawer nav a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 18px
}

.mobile-drawer .close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: 0;
    font-size: 22px;
    cursor: pointer
}

/* HERO */
.hero1 {
    position: relative;
    min-height: 48vh;
    overflow: hidden;
    border-radius: 10px;
    margin: 12px 0
}

.hero1 img {
    width: 100%;
    height: 48vh;
    object-fit: cover;
    display: block;
    border-radius: 10px
}

.hero-card {
    position: absolute;
    left: 5%;
    bottom: 8%;
    max-width: 480px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    padding: 20px;
    border-radius: 14px;
    backdrop-filter: blur(6px)
}

body.dark .hero-card {
    background: linear-gradient(180deg, rgba(16, 24, 40, 0.9), rgba(16, 24, 40, 0.85))
}

.hero-card h1 {
    margin: 0 0 8px;
    font-size: 24px
}

.muted {
    color: var(--muted)
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px
}

.btn-primary,
.btn-ghost,
.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700
}

.btn-primary {
    background: var(--primary);
    color: #fff
}

.btn-ghost {
    border: 1px solid rgba(56, 104, 251, 0.12);
    color: var(--primary);
    background: transparent
}

/* SECTION TITLES */
.section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin: 8px 0
}

.section-subtitle {
    color: var(--muted);
    text-align: center;
    margin-bottom: 14px
}

/* HERO main content layout */
main.split {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
    margin: 22px 0
}

@media(max-width:980px) {
    main.split {
        grid-template-columns: 1fr
    }
}

aside.card {
    position: relative
}

/* CTA row */
.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px
}

.cta-row .card {
    display: inline-block;
    padding: 12px 14px;
    border-radius: 10px
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px
}

.pricing-card {
    padding: 18px
}

.pricing-card.featured {
    border: 2px solid var(--primary)
}

.price {
    font-size: 16px;
    margin: 6px 0
}

.old-price {
    text-decoration: line-through;
    color: var(--muted)
}

.new-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 20px
}

.badge {
    display: inline-block;
    background: #eef2ff;
    color: var(--primary);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px
}

.course-card video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px
}

/* Forms */
form input,
form select,
form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    border: 1px solid #e6e9ef;
    background: #fff
}

body.dark form input,
body.dark form select,
body.dark form textarea {
    background: #0b1220;
    border-color: #223049;
    color: #e6eef8
}

form button {
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 700
}

form button:hover {
    opacity: .95
}

/* Counters & reviews */
.counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 12px
}

.counter {
    text-align: center;
    padding: 16px
}

.stars {
    font-size: 18px;
    color: #f59e0b
}

/* Footer */
footer {
    background: #0b1220;
    color: #dbeafe;
    padding: 20px;
    margin-top: 28px
}

footer .flex {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center
}

@media(max-width:768px) {
    .nav-links {
        display: none
    }

    .menu-toggle {
        display: block
    }

    .hero-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: 6%;
        width: 92%
    }

    .quote-box {
        position: static;
        order: 3;
    }

}

/* small helpers */
.muted-small {
    color: var(--muted);
    font-size: 13px
}

a.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0
}

.form-label {
    margin-top: 2px;
    font-size: 1rem;
}

.form-input {
    border: 1px solid rgba(0, 0, 0, 0.587);
}

.product-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 90%;
    margin: 0 auto;
    padding: 10px;
    padding-top: 4rem;
}

.product-info-1 {
    grid-column: 1;
    grid-row: 1;
}

.product-info-2 {
    margin-top: -85;
    grid-column: 1;
    grid-row: 2;
}

.quote-box {
    border-radius: 7px;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    margin-left: 6rem;
    max-width: 73%;
    grid-column: 2;
    grid-row: 1 / span 2;
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (max-width: 1100px) {
    .product-info-container {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }

    .product-info-2 {
        padding-top: 2rem;
    }

    .quote-box {
        grid-column: 1;
        grid-row: 3;
        padding: 1rem;
        align-items: center;
    }

    .container1 {
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    .product-info-container {
        padding: 1rem .5rem;
    }

    .product-info-1,
    .product-info-2 {
        padding: 1rem .5rem;
    }

    .quote-box {
        padding: 1.5rem .7rem;
        border-radius: 16px;
        justify-content: center;
        align-items: center;
    }
}

.Companies-Info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.container1 {
    flex: 1 1 300px;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
    background-color: white;
}

.Reviews-container{
    display: flex;
    height: fit-content;
    flex-wrap: wrap;
    gap: 20px;
    padding: 2rem;
}

.Ratings-con{
    height: fit-content;
    flex: 1 1 200px;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
    background-color: white;
}

.shadow-colored {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #c4c5c6, #f0eef4, #beccd7);
    box-shadow: 0 3px 6px rgba(59, 130, 246, 0.4);
    margin: 20px 0;
}