/* =========================================================
   HISTORY OPTIONAL — MAIN STYLESHEET
   Bootstrap 5.3 Compatible
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --navy: #092844;
    --navy-dark: #062039;
    --navy-light: #123a5c;

    --cream: #f8f0e4;
    --cream-dark: #efe2cf;
    --off-white: #f7f8fa;

    --white: #ffffff;

    --blue: #0865a9;
    --blue-dark: #034c83;
    --blue-light: #dcecf7;

    --gold: #d39b4a;
    --gold-light: #f0d7a9;

    --text: #17344d;
    --text-light: #637383;
    --border: #dce2e7;

    --shadow-sm: 0 5px 20px rgba(9, 40, 68, 0.07);
    --shadow-md: 0 12px 35px rgba(9, 40, 68, 0.12);
    --shadow-lg: 0 20px 55px rgba(9, 40, 68, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --transition: all 0.35s ease;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: "DM Sans", sans-serif;

    color: var(--text);
    background: var(--off-white);

    overflow-x: hidden;
}

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

a {
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--navy);
    color: var(--white);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    color: var(--navy);
}

p {
    line-height: 1.7;
}

.section-padding {
    padding: 90px 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
}

.section-heading .eyebrow {
    display: block;

    margin-bottom: 7px;

    color: var(--navy);

    font-family: "Playfair Display", serif;
    font-size: 17px;
    line-height: 1.3;
}

.section-heading h2 {
    margin: 0;

    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
}

.section-heading p {
    max-width: 600px;
    margin: 15px auto 0;

    color: var(--text-light);
    font-size: 14px;
}


/* =========================================================
   BUTTONS
========================================================= */

.custom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 40px;
    padding: 10px 22px;

    border: 1px solid var(--blue);

    border-radius: 6px;

    background: var(--blue);
    color: var(--white);

    font-size: 12px;
    font-weight: 600;

    transition: var(--transition);
}

.custom-btn:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);

    color: var(--white);

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(8, 101, 169, 0.25);
}

.custom-btn i {
    transition: transform 0.3s ease;
}

.custom-btn:hover i {
    transform: translateX(4px);
}

.custom-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 10px 22px;

    border: 1px solid rgba(9, 40, 68, 0.15);
    border-radius: 6px;

    color: var(--navy);

    font-size: 12px;
    font-weight: 600;

    transition: var(--transition);
}

.custom-btn-outline:hover {
    border-color: var(--navy);
    color: var(--navy);

    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    padding: 55px 0 35px;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(211, 155, 74, 0.10),
            transparent 25%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(8, 101, 169, 0.07),
            transparent 25%
        ),
        var(--cream);

    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
}

.hero-content h1 {
    margin: 0;

    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.2;
}

.hero-content h1 span {
    display: inline-block;
}

.hero-description {
    max-width: 570px;
    margin: 13px auto 18px;

    color: #63707c;

    font-size: 11px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    width: min(850px, 100%);
    height: 215px;

    margin: 30px auto 0;
}

.hero-book,
.hero-image-center,
.hero-person {
    position: absolute;

    overflow: hidden;

    border-radius: 14px;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.hero-book img,
.hero-image-center img,
.hero-person img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.hero-book:hover img,
.hero-image-center:hover img,
.hero-person:hover img {
    transform: scale(1.07);
}

.hero-book-left {
    left: 4%;
    bottom: 25px;

    width: 105px;
    height: 125px;

    transform: rotate(-1deg);
}

.hero-book-left:hover {
    transform: rotate(0deg) translateY(-7px);
}

.hero-image-center {
    left: 27%;
    bottom: 5px;

    width: 125px;
    height: 105px;

    border-radius: 12px;
}

.hero-image-center:hover {
    transform: translateY(-7px);
}

.hero-person {
    right: 26%;
    bottom: 5px;

    width: 105px;
    height: 130px;
}

.hero-person:hover {
    transform: translateY(-7px);
}


/* Rating card */

.hero-rating {
    position: absolute;

    left: 4%;
    bottom: 0;

    z-index: 4;

    display: flex;
    flex-direction: column;

    width: 105px;
    padding: 9px 10px;

    border-radius: 10px;

    background: #227ab5;
    color: var(--white);

    box-shadow: var(--shadow-md);
}

.rating-stars {
    font-size: 13px;
    font-weight: 700;
}

.hero-rating small {
    font-size: 8px;
    opacity: 0.9;
}


/* Topic card */

.hero-topic-card {
    position: absolute;

    right: 5%;
    top: 15px;

    width: 125px;
    min-height: 115px;

    padding: 12px;

    border-radius: 13px;

    background: #c8974d;

    color: var(--white);

    box-shadow: var(--shadow-md);

    transform: rotate(2deg);

    transition: var(--transition);
}

.hero-topic-card:hover {
    transform: rotate(0deg) translateY(-6px);
}

.hero-topic-card strong {
    display: block;

    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.hero-topic-card span {
    display: block;

    font-size: 8px;
    line-height: 1.35;
}

.hero-icon {
    position: absolute;

    right: 10px;
    bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);

    font-size: 19px;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    padding: 13px 0;

    background: var(--navy);
    color: var(--white);
}

.stat-item {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.stat-item strong {
    color: var(--white);

    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 1;
}

.stat-item span {
    margin-top: 4px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 8px;
    line-height: 1.3;
}

.col-4:not(:last-child) .stat-item::after {
    content: "";

    position: absolute;

    right: 0;
    top: 50%;

    width: 1px;
    height: 30px;

    background: rgba(255, 255, 255, 0.18);

    transform: translateY(-50%);
}


/* =========================================================
   REASON SECTION
========================================================= */

.reason-section {
    background: var(--off-white);
}

.reason-grid {
    max-width: 900px;
    margin: auto;
}

.reason-card {
    height: 100%;

    padding: 22px 20px;

    border-radius: 12px;

    background: transparent;

    transition: var(--transition);
}

.reason-card:hover {
    background: var(--white);

    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.reason-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 12px;

    border-radius: 8px;

    background: var(--blue-light);
    color: var(--blue);

    font-size: 15px;
}

.reason-card h3 {
    margin-bottom: 9px;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.reason-card p {
    margin: 0;

    color: #667786;

    font-size: 10px;
    line-height: 1.65;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline-section {
    background: var(--cream);
}

.timeline-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;
}

.timeline-card {
    position: relative;

    overflow: hidden;

    background: var(--white);

    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.timeline-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 1.1 / 1;
}

.timeline-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.3),
        transparent 55%
    );
}

.timeline-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.timeline-card:hover .timeline-image img {
    transform: scale(1.08);
}




/* =========================================================
   DIFFERENCE SECTION
========================================================= */

.difference-section {
    background: var(--off-white);
}

.difference-grid {
    max-width: 800px;

    margin: auto;
}

.difference-card {
    display: flex;
    align-items: center;

    min-height: 145px;

    padding: 14px;

    border-radius: 10px;

    background: var(--white);

    box-shadow: 0 3px 15px rgba(9, 40, 68, 0.04);

    transition: var(--transition);

    overflow: hidden;
}

.difference-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.difference-content {
    width: 58%;

    padding-right: 10px;
}

.difference-content h3 {
    margin-bottom: 7px;

    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.difference-content p {
    margin: 0;

    color: var(--text-light);

    font-size: 8px;
    line-height: 1.5;
}

.difference-image {
    width: 42%;
}

.difference-image img {
    width: 100%;
    height: 110px;

    object-fit: contain;

    transition: transform 0.5s ease;
}

.difference-card:hover .difference-image img {
    transform: scale(1.08) rotate(2deg);
}


/* =========================================================
   SYLLABUS
========================================================= */

.syllabus-section {
    position: relative;

    background: var(--navy);

    overflow: hidden;
}

.syllabus-section::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    left: -250px;
    top: 30%;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.025);
}

.syllabus-section::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -200px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(211, 155, 74, 0.05);
}

.light-heading {
    position: relative;
    z-index: 1;
}

.light-heading .eyebrow,
.light-heading h2 {
    color: var(--white);
}

.course-cover {
    max-width: 250px;

    margin: auto;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);

    transition: var(--transition);
}

.course-cover:hover {
    transform: translateY(-10px) rotate(-1deg);

    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.course-cover img {
    width: 100%;
}

.course-info-card {
    padding: 22px;

    border-radius: 13px;

    background: var(--white);

    box-shadow: var(--shadow-lg);
}

.course-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    color: var(--text-light);

    font-size: 9px;
}

.course-info-card h3 {
    margin-bottom: 14px;

    font-size: 20px;
}

.course-list {
    margin: 0 0 18px;
    padding: 0;

    list-style: none;
}

.course-list li {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 5px 0;

    color: var(--text-light);

    font-size: 10px;
}

.course-list i {
    color: #2c9860;
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: 8px;

    margin-bottom: 15px;
}

.course-price span {
    color: var(--navy);

    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-weight: 700;
}

.course-price small {
    color: var(--text-light);
    font-size: 8px;
}

.course-btn {
    background: var(--blue);
    border-color: var(--blue);

    color: var(--white);
}


/* =========================================================
   NOTES
========================================================= */

.notes-section {
    background: var(--cream);
}

.notes-preview {
    max-width: 500px;

    margin: auto;

    overflow: hidden;

    border-radius: 10px;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.notes-preview:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.notes-preview img {
    width: 100%;

    transition: transform 0.6s ease;
}

.notes-preview:hover img {
    transform: scale(1.025);
}


/* =========================================================
   LECTURES
========================================================= */

.lectures-section {
    background: var(--cream);
}

.lectures-grid {
    max-width: 850px;

    margin: auto;
}

.lecture-card {
    height: 100%;

    overflow: hidden;

    border: 1px solid rgba(9, 40, 68, 0.08);

    border-radius: 10px;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.lecture-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.lecture-thumbnail {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;
}

.lecture-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.lecture-card:hover .lecture-thumbnail img {
    transform: scale(1.07);
}

.play-button {
    position: absolute;

    left: 50%;
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);

    color: var(--blue);

    font-size: 20px;

    transform: translate(-50%, -50%);

    transition: var(--transition);

    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    background: var(--blue);
    color: var(--white);

    transform: translate(-50%, -50%) scale(1.12);
}

.lecture-content {
    padding: 13px;
}

.lecture-category {
    color: var(--blue);

    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.lecture-content h3 {
    margin: 5px 0 12px;

    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.lecture-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 8px;

    border-top: 1px solid var(--border);
}

.lecture-footer small {
    color: var(--text-light);

    font-size: 8px;
}

.watch-link {
    color: var(--blue);

    font-size: 8px;
    font-weight: 700;

    transition: var(--transition);
}

.watch-link:hover {
    color: var(--blue-dark);
}

.watch-link i {
    margin-left: 3px;

    transition: transform 0.3s ease;
}

.watch-link:hover i {
    transform: translateX(3px);
}


/* =========================================================
   CURRENT AFFAIRS
========================================================= */

.current-affairs-section {
    background: var(--off-white);
}

.featured-news-card {
    position: relative;

    height: 100%;
    min-height: 360px;

    overflow: hidden;

    border-radius: 12px;

    box-shadow: var(--shadow-sm);
}

.featured-news-image {
    position: absolute;

    inset: 0;
}

.featured-news-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5, 25, 42, 0.9),
            rgba(5, 25, 42, 0.05) 70%
        );
}

.featured-news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.featured-news-card:hover .featured-news-image img {
    transform: scale(1.05);
}

.featured-news-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 28px;

    color: var(--white);
}

.featured-news-overlay span {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-news-overlay h3 {
    max-width: 500px;

    margin: 7px 0;

    color: var(--white);

    font-size: clamp(22px, 3vw, 30px);
}

.featured-news-overlay p {
    max-width: 500px;

    margin: 0;

    color: rgba(255, 255, 255, 0.8);

    font-size: 10px;
}


/* News list */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    display: flex;

    min-height: 82px;

    padding: 8px;

    border-radius: 9px;

    background: var(--white);

    box-shadow: 0 3px 12px rgba(9, 40, 68, 0.04);

    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(5px);

    box-shadow: var(--shadow-sm);
}

.news-thumb {
    flex: 0 0 90px;

    overflow: hidden;

    border-radius: 7px;
}

.news-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.news-item:hover .news-thumb img {
    transform: scale(1.08);
}

.news-content {
    padding: 4px 8px;
}

.news-content span {
    color: var(--blue);

    font-size: 7px;
    font-weight: 700;
}

.news-content h3 {
    margin: 4px 0;

    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 700;

    line-height: 1.35;
}

.news-content a {
    color: var(--text-light);

    font-size: 7px;
}

.news-content a:hover {
    color: var(--blue);
}


/* Subscribe */

.current-affairs-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    max-width: 850px;

    margin: 30px auto 0;
    padding: 15px 18px;

    border-radius: 10px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.current-affairs-message {
    display: flex;
    flex-direction: column;
}

.current-affairs-message strong {
    font-size: 11px;
}

.current-affairs-message span {
    color: var(--text-light);

    font-size: 8px;
}

.subscribe-form {
    flex: 0 0 300px;
}

.subscribe-form .form-control {
    height: 37px;

    border-color: var(--border);

    font-size: 9px;
}

.subscribe-form .form-control:focus {
    border-color: var(--blue);

    box-shadow: 0 0 0 3px rgba(8, 101, 169, 0.08);
}

.subscribe-form .btn {
    font-size: 9px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta-section {
    background: var(--off-white);
}

.cta-book {
    max-width: 250px;

    margin: auto;

    overflow: hidden;

    border-radius: 13px;

    box-shadow: var(--shadow-lg);

    transition: var(--transition);
}

.cta-book:hover {
    transform: translateY(-10px) rotate(1deg);
}

.cta-book img {
    width: 100%;
}

.cta-content {
    max-width: 500px;
}

.cta-content .eyebrow {
    display: block;

    margin-bottom: 7px;

    color: var(--blue);

    font-size: 11px;
    font-weight: 700;
}

.cta-content h2 {
    margin-bottom: 13px;

    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.2;
}

.cta-content > p {
    margin-bottom: 18px;

    color: var(--text-light);

    font-size: 11px;
}

.cta-features {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 9px;

    margin-bottom: 22px;
}

.cta-features div {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--text);

    font-size: 10px;
    font-weight: 600;
}

.cta-features i {
    color: #2c9860;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 55px 0 20px;

    background: var(--navy);
    color: var(--white);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--white);

    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
}

.footer-logo span {
    color: var(--gold);
}

.footer-brand p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 10px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 7px;

    margin-top: 18px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    color: var(--white);

    font-size: 12px;

    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--white);
    color: var(--navy);

    transform: translateY(-4px);
}

.footer-title {
    margin-bottom: 15px;

    color: var(--white);

    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);

    font-size: 9px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);

    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 40px;
    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.4);

    font-size: 8px;
}

.footer-bottom div {
    display: flex;
    gap: 15px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--white);
}


/* =========================================================
   SCROLL TO TOP
========================================================= */

.scroll-top {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    background: var(--blue);
    color: var(--white);

    box-shadow: var(--shadow-md);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--navy);

    transform: translateY(-4px);
}


/* =========================================================
   SCROLL REVEAL ANIMATION
========================================================= */

.reveal-item {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-item.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   HERO FLOATING ANIMATION
========================================================= */

.hero-book-left {
    animation: floatingBook 5s ease-in-out infinite;
}

.hero-person {
    animation: floatingPerson 5.5s ease-in-out infinite;
}

.hero-topic-card {
    animation: floatingCard 4.5s ease-in-out infinite;
}

@keyframes floatingBook {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-8px) rotate(0deg);
    }
}

@keyframes floatingPerson {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}


/* =========================================================
   PULSE EFFECT
========================================================= */

.play-button::after {
    content: "";

    position: absolute;

    inset: -5px;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 50%;

    animation: playPulse 2s ease-out infinite;
}

@keyframes playPulse {

    0% {
        opacity: 0.8;
        transform: scale(0.9);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .section-padding {
        padding: 70px 0;
    }

    .hero-section {
        padding-top: 45px;
    }

    .hero-visual {
        height: 200px;
    }

    .hero-book-left {
        left: 8%;
    }

    .hero-rating {
        left: 8%;
    }

    .hero-person {
        right: 20%;
    }

    .hero-topic-card {
        right: 7%;
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .featured-news-card {
        min-height: 320px;
    }

    .current-affairs-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .subscribe-form {
        flex: auto;
        width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .section-padding {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading .eyebrow {
        font-size: 14px;
    }

    .section-heading h2 {
        font-size: 27px;
    }


    /* Hero */

    .hero-section {
        padding: 40px 0 25px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 10px;
        max-width: 330px;
    }

    .hero-visual {
        width: 100%;
        height: 190px;
    }

    .hero-book-left {
        left: 3%;

        width: 78px;
        height: 95px;
    }

    .hero-rating {
        left: 3%;

        width: 78px;

        padding: 7px;
    }

    .rating-stars {
        font-size: 10px;
    }

    .hero-rating small {
        font-size: 6px;
    }

    .hero-image-center {
        left: 28%;

        width: 95px;
        height: 80px;
    }

    .hero-person {
        right: 20%;

        width: 78px;
        height: 100px;
    }

    .hero-topic-card {
        right: 2%;

        width: 90px;
        min-height: 90px;

        padding: 8px;
    }

    .hero-topic-card strong {
        font-size: 18px;
    }

    .hero-topic-card span {
        font-size: 6px;
    }

    .hero-icon {
        width: 25px;
        height: 25px;

        font-size: 13px;
    }


    /* Stats */

    .stat-item strong {
        font-size: 20px;
    }

    .stat-item span {
        font-size: 6px;
    }


    /* Timeline */

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* Difference */

    .difference-card {
        min-height: 130px;
    }

    .difference-content h3 {
        font-size: 10px;
    }

    .difference-content p {
        font-size: 7px;
    }

    .difference-image img {
        height: 95px;
    }


    /* Syllabus */

    .course-info-card {
        padding: 17px;
    }

    .course-info-card h3 {
        font-size: 18px;
    }


    /* Lectures */

    .lecture-content h3 {
        font-size: 11px;
    }


    /* Current Affairs */

    .featured-news-card {
        min-height: 300px;
    }

    .featured-news-overlay {
        padding: 20px;
    }

    .featured-news-overlay h3 {
        font-size: 22px;
    }

    .news-thumb {
        flex-basis: 75px;
    }


    /* CTA */

    .cta-content {
        text-align: center;
    }

    .cta-features {
        text-align: left;
    }


    /* Footer */

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 10px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero-content h1 {
        font-size: 25px;
    }

    .hero-visual {
        height: 170px;
    }

    .hero-book-left {
        width: 70px;
        height: 86px;
    }

    .hero-rating {
        width: 70px;
    }

    .hero-image-center {
        left: 27%;

        width: 85px;
        height: 72px;
    }

    .hero-person {
        right: 19%;

        width: 70px;
        height: 90px;
    }

    .hero-topic-card {
        width: 80px;
        min-height: 82px;
    }

    .timeline-grid {
        gap: 7px;
    }

    .difference-card {
        padding: 10px;
    }

    .cta-features {
        grid-template-columns: 1fr;
    }

    .current-affairs-bottom {
        padding: 12px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* =========================================================
   JAVASCRIPT EFFECTS
========================================================= */

.custom-btn,
.custom-btn-outline {
    position: relative;
    overflow: hidden;
}


/* Button ripple */

.button-ripple {
    position: absolute;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);

    pointer-events: none;

    transform: scale(0);

    animation: buttonRipple 0.65s ease-out forwards;
}

@keyframes buttonRipple {

    0% {
        opacity: 1;
        transform: scale(0);
    }

    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}


/* Lecture button click */

.play-button.clicked {
    transform: translate(-50%, -50%) scale(0.85);
}


/* Broken image */

.image-load-error {
    opacity: 0.25;
}


/* Page loaded */

body:not(.page-loaded) .hero-content {
    opacity: 0;
}

body.page-loaded .hero-content {
    animation: heroContentIn 0.8s ease forwards;
}

@keyframes heroContentIn {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Disable parallax on mobile */

@media (max-width: 767.98px) {

    .hero-visual {
        transform: none !important;
    }

}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid rgba(9, 40, 68, 0.06);

    box-shadow: 0 2px 12px rgba(9, 40, 68, 0.03);
}


/* =========================================================
   NAVBAR
========================================================= */

.site-header .navbar {
    min-height: 72px;

    padding: 8px 0;

    background: #ffffff;
}

.header-container {
    max-width: 1280px;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-right: 40px;

    padding: 0 !important;

    color: #092844 !important;

    font-family: "DM Sans", sans-serif;
    font-size: 19px;
    font-weight: 700;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.site-logo:hover {
    color: #064f91 !important;
}

.site-logo img {
    width: 199px;
    height: auto;

    object-fit: contain;

    transition: transform 0.4s ease;
}

.site-logo:hover img {
    transform: rotate(-5deg) scale(1.05);
}


/* =========================================================
   MAIN MENU
========================================================= */

.main-menu {
    align-items: center;

    gap: 35px;
}

.main-menu .nav-link {
    position: relative;

    padding: 8px 0 !important;

    color: #30435a !important;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;

    transition: color 0.3s ease;
}


/* Animated underline */

.main-menu .nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    border-radius: 5px;

    background: #075699;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}

.main-menu .nav-link:hover {
    color: #075699 !important;
}

.main-menu .nav-link:hover::after {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-left: auto;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-contact {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 184px;
    height: 42px;

    padding: 0 16px;

    border: 1px solid #075699;

    border-radius: 14px;

    background: #ffffff;

    color: #075699;

    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 3px 8px rgba(7, 86, 153, 0.05);

    transition: all 0.3s ease;
}

.whatsapp-contact i {
    color: #25d366;

    font-size: 16px;

    transition: transform 0.3s ease;
}

.whatsapp-contact:hover {
    background: #f4f9fd;

    color: #06477d;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(7, 86, 153, 0.12);
}

.whatsapp-contact:hover i {
    transform: scale(1.15);
}


/* =========================================================
   CART
========================================================= */

.cart-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 42px;

    color: #075699;

    border-left: 1px solid #e7ebef;

    padding-left: 22px;

    transition: all 0.3s ease;
}

.cart-link i {
    font-size: 23px;
}

.cart-link:hover {
    color: #043e6c;

    transform: translateY(-2px);
}


/* Cart count */

.cart-count {
    position: absolute;

    top: 4px;
    right: -6px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 16px;
    height: 16px;

    padding: 0 4px;

    border-radius: 50%;

    background: #075699;
    color: #ffffff;

    font-size: 8px;
    font-weight: 700;
}


/* =========================================================
   LOGIN
========================================================= */

.login-link {
    color: #075699;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.login-link:hover {
    color: #043e6c;

    transform: translateY(-1px);
}


/* =========================================================
   JOIN COURSE BUTTON
========================================================= */

.join-course-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 168px;
    height: 41px;

    padding: 0 24px;

    border-radius: 13px;

    background: #075699;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 5px 14px rgba(7, 86, 153, 0.12);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.join-course-btn:hover {
    background: #043f70;

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(7, 86, 153, 0.22);
}


/* =========================================================
   MOBILE TOGGLER
========================================================= */

.site-header .navbar-toggler {
    width: 43px;
    height: 40px;

    padding: 7px;

    border: 1px solid #dce3e9;

    border-radius: 8px;

    box-shadow: none !important;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(7, 86, 153, 0.1) !important;
}

.site-header .navbar-toggler-icon {
    width: 20px;
    height: 20px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199.98px) {

    .header-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .site-logo {
        margin-right: 20px;
    }

    .main-menu {
        gap: 20px;
    }

    .header-actions {
        gap: 17px;
    }

    .whatsapp-contact {
        min-width: 165px;

        padding: 0 12px;

        font-size: 12px;
    }

    .join-course-btn {
        min-width: 145px;
    }

}


/* =========================================================
   TABLET / COLLAPSED NAVIGATION
========================================================= */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 68px;
    }


    /* Logo */

    .site-logo {
        margin-right: 0;

        font-size: 18px;
    }


    /* Mobile menu */

    .navbar-collapse {
        margin-top: 15px;

        padding: 15px 0 20px;

        border-top: 1px solid #edf0f3;
    }


    .main-menu {
        align-items: flex-start;

        gap: 0;

        margin: 0 !important;
    }

    .main-menu .nav-item {
        width: 100%;
    }

    .main-menu .nav-link {
        display: block;

        padding: 11px 5px !important;

        border-bottom: 1px solid #f0f2f4;

        font-size: 14px;
    }

    .main-menu .nav-link::after {
        display: none;
    }


    /* Actions */

    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-start;

        gap: 12px;

        margin-top: 18px;
        padding-top: 18px;

        border-top: 1px solid #edf0f3;
    }

    .whatsapp-contact {
        min-width: auto;

        height: 40px;
    }

    .cart-link {
        border-left: 0;

        padding-left: 5px;
    }

    .login-link {
        padding: 10px 12px;
    }

    .join-course-btn {
        min-width: 150px;
        height: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .site-header .navbar {
        min-height: 62px;

        padding: 7px 0;
    }

    .header-container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* Logo */

    .site-logo {
        gap: 8px;

        font-size: 16px;
    }

    .site-logo img {
        width: 34px;
        height: 34px;
    }


    /* Mobile actions */

    .header-actions {
        display: grid;

        grid-template-columns: 1fr 40px;

        gap: 10px;

        width: 100%;
    }


    .whatsapp-contact {
        width: 100%;
        min-width: 0;

        font-size: 12px;
    }


    .cart-link {
        width: 40px;

        padding-left: 0;

        border: 1px solid #e3e8ec;

        border-radius: 8px;
    }


    .login-link {
        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 40px;

        border: 1px solid #e3e8ec;
        border-radius: 8px;

        grid-column: 1;
    }


    .join-course-btn {
        width: 100%;
        min-width: 0;

        grid-column: 2;

        height: 40px;

        padding: 0 10px;

        font-size: 11px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .site-logo {
        font-size: 14px;
    }

    .site-logo img {
        width: 31px;
        height: 31px;
    }

    .whatsapp-contact span {
        font-size: 11px;
    }

    .join-course-btn {
        font-size: 10px;
    }

}