
/* =========================================================
   DANMAWeb ACADEMY — HOMEPAGE MASTER DESIGN
   Chocolate Brown: #4B2E24
   Warm Cream:      #F3E8D5
   White:           #FFFFFF
   Headings: Poppins | Body: Inter
========================================================= */

/* 1. DESIGN SYSTEM */

.homepage {
    --home-primary: #4B2E24;
    --home-dark: #352018;
    --home-cream: #F3E8D5;
    --home-light: #FBF7F0;
    --home-white: #FFFFFF;
    --home-text: #352B27;
    --home-muted: #786D66;
    --home-border: #E9DED1;
    --home-accent: #B98A55;
    --home-green: #66856B;

    font-family: "Inter", sans-serif;
    color: var(--home-text);
    background: var(--home-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

.homepage a {
    text-decoration: none;
}

.homepage img {
    max-width: 100%;
}

.homepage h1,
.homepage h2,
.homepage h3,
.homepage h4 {
    font-family: "Poppins", sans-serif;
}

.homepage p {
    color: var(--home-muted);
}

.homepage .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.homepage section {
    scroll-margin-top: 100px;
}

.homepage a:focus-visible {
    outline: 3px solid var(--home-accent);
    outline-offset: 4px;
}


/* 2. NAVIGATION */

.homepage .top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--home-border);
    backdrop-filter: blur(14px);
}

.homepage .nav-container {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.homepage .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.homepage .logo-mark {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--home-primary);
    box-shadow: 0 5px 14px rgba(75,46,36,0.16);
}

.homepage .logo-mark::after {
    content: "D";
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 25px;
    font-weight: 700;
}

.homepage .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.homepage .logo-text strong {
    color: var(--home-primary);
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.homepage .logo-text small {
    margin-top: 3px;
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.homepage .main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.homepage .main-nav a {
    position: relative;
    padding: 8px 0;
    color: #6E625B;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.homepage .main-nav a:hover,
.homepage .main-nav a.active {
    color: var(--home-primary);
}

.homepage .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--home-accent);
    transition: width 0.2s ease;
}

.homepage .main-nav a:hover::after,
.homepage .main-nav a.active::after {
    width: 100%;
}

.homepage .nav-actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

.homepage .nav-login {
    color: var(--home-primary);
    font-size: 13px;
    font-weight: 700;
}

.homepage .nav-login:hover {
    color: var(--home-accent);
}


/* 3. BUTTONS */

.homepage .primary-button,
.homepage .secondary-button,
.homepage .light-button {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.homepage .primary-button {
    color: white;
    background: var(--home-primary);
    border: 1px solid var(--home-primary);
    box-shadow: 0 6px 16px rgba(75,46,36,0.13);
}

.homepage .primary-button:hover {
    color: white;
    background: var(--home-dark);
    border-color: var(--home-dark);
    transform: translateY(-2px);
}

.homepage .secondary-button {
    color: var(--home-primary);
    background: white;
    border: 1px solid var(--home-border);
}

.homepage .secondary-button:hover {
    background: var(--home-cream);
    border-color: var(--home-accent);
    transform: translateY(-2px);
}

.homepage .nav-button {
    min-height: 41px;
    padding-inline: 19px;
}

.homepage .light-button {
    position: relative;
    z-index: 2;
    color: var(--home-primary);
    background: var(--home-cream);
    border: 1px solid var(--home-cream);
}

.homepage .light-button:hover {
    color: var(--home-primary);
    background: white;
    border-color: white;
    transform: translateY(-2px);
}


/* 4. HERO SECTION — PHOTOGRAPHIC BACKGROUND */

.homepage .hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 90px 0;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(53,32,24,0.94) 0%,
            rgba(53,32,24,0.82) 52%,
            rgba(53,32,24,0.50) 100%
        ),
        url("images/homepage-background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.homepage .hero::before,
.homepage .hero::after {
    display: none;
}

.homepage .hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 55px;
}

.homepage .hero-text {
    max-width: 590px;
}

.homepage .hero-label {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 9px 16px;
    border: 1px solid rgba(243,232,213,0.45);
    border-radius: 30px;
    background: rgba(243,232,213,0.12);
    color: var(--home-cream);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.homepage .hero-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-cream);
}

.homepage .hero-text h1 {
    margin: 0 0 23px;
    color: white;
    font-size: clamp(39px,5vw,60px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.2;
}

.homepage .hero-text h1 span {
    display: block;
    color: var(--home-cream);
}

.homepage .hero-text > p {
    max-width: 535px;
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    line-height: 1.9;
}

.homepage .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.homepage .hero-buttons .primary-button {
    color: var(--home-primary);
    background: var(--home-cream);
    border-color: var(--home-cream);
}

.homepage .hero-buttons .primary-button:hover {
    color: white;
    background: var(--home-primary);
    border-color: var(--home-primary);
}

.homepage .hero-buttons .secondary-button {
    color: white;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.65);
}

.homepage .hero-buttons .secondary-button:hover {
    color: var(--home-primary);
    background: white;
}

.homepage .hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: rgba(255,255,255,0.88);
    font-size: 12px;
}

/* The HTML already contains a checkmark span. */

.homepage .hero-note span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--home-cream);
    color: var(--home-primary);
    font-size: 11px;
    font-weight: 800;
}

.homepage .hero-note::before {
    display: none;
}



/* =========================================================
   5. DANMAWEB LEARNING PREVIEW — PREMIUM DESIGN
========================================================= */

.homepage .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 35px 20px;
}

.homepage .learning-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 445px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 22px;
    background: #F3E8D5;
    box-shadow: 0 28px 70px rgba(20,10,5,0.30);
}

.homepage .learning-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(75,46,36,0.12);
}

.homepage .learning-card-top .mini-label {
    color: #4B2E24;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.homepage .learning-card-top .status-dot {
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 50%;
    background: #66856B;
    box-shadow: 0 0 0 4px rgba(102,133,107,0.13);
}

.homepage .learning-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 25px 0 17px;
    border: 1px solid rgba(75,46,36,0.08);
    border-radius: 17px;
    background: #FFFFFF;
    color: #4B2E24;
    font-size: 29px;
}

.homepage .learning-card h3 {
    margin: 0 0 9px;
    color: #4B2E24;
    font-family: "Poppins", sans-serif;
    font-size: 21px;
    font-weight: 700;
}

.homepage .learning-card > p {
    margin: 0;
    color: #786D66;
    font-size: 12px;
    line-height: 1.8;
}

.homepage .mini-progress {
    margin-top: 27px;
    padding: 19px;
    border: 1px solid rgba(75,46,36,0.08);
    border-radius: 14px;
    background: #FFFFFF;
}

.homepage .mini-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #786D66;
    font-size: 11px;
}

.homepage .mini-progress-header strong {
    color: #4B2E24;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
}

.homepage .progress-track {
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 20px;
    background: #EEE5DA;
}

.homepage .progress-fill {
    width: 82%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #4B2E24, #B98A55);
}

.homepage .learning-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid rgba(75,46,36,0.12);
}

.homepage .learning-stats > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.homepage .learning-stats strong {
    color: #4B2E24;
    font-family: "Poppins", sans-serif;
    font-size: 19px;
}

.homepage .learning-stats span {
    color: #786D66;
    font-size: 10px;
}

.homepage .floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 13px;
    background: #FFFFFF;
    box-shadow: 0 14px 35px rgba(20,10,5,0.20);
}

.homepage .floating-card-one {
    top: 0;
    right: -8px;
}

.homepage .floating-card-two {
    bottom: 0;
    left: -8px;
}

.homepage .floating-card > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #F3E8D5;
    color: #4B2E24;
    font-size: 16px;
}

.homepage .floating-card div {
    display: flex;
    flex-direction: column;
}

.homepage .floating-card strong {
    color: #4B2E24;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
}

.homepage .floating-card small {
    color: #786D66;
    font-size: 9px;
}

/* Smaller screens */

@media (max-width: 560px) {
    .homepage .learning-card {
        padding: 22px 18px;
    }

    .homepage .learning-card h3 {
        font-size: 18px;
    }

    .homepage .mini-progress {
        padding: 15px;
    }

    .homepage .floating-card {
        padding: 9px;
        gap: 7px;
    }

    .homepage .floating-card > span {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .homepage .floating-card strong,
    .homepage .floating-card small {
        font-size: 8px;
    }
}

/* 6. SHARED SECTION HEADINGS */

.homepage .section-heading {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.homepage .section-heading > span {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--home-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.homepage .section-heading h2 {
    margin: 0 0 15px;
    color: var(--home-primary);
    font-size: clamp(29px,3.5vw,40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.3;
}

.homepage .section-heading h2 span {
    color: var(--home-accent);
}

.homepage .section-heading p {
    max-width: 590px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.9;
}


/* 7. ABOUT SECTION */

.homepage .about-section {
    padding: 95px 0;
    background: white;
}

.homepage .feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 23px;
}

.homepage .feature-card {
    padding: 30px 27px;
    border: 1px solid var(--home-border);
    border-radius: 15px;
    background: white;
    transition: transform 0.25s ease,box-shadow 0.25s ease;
}

.homepage .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(75,46,36,0.09);
}

.homepage .feature-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    margin-bottom: 21px;
    border-radius: 14px;
    background: var(--home-cream);
    color: var(--home-primary);
    font-size: 23px;
}

.homepage .feature-icon.teal-icon {
    background: #E8EFE7;
    color: #526F56;
}

.homepage .feature-icon.gold-icon {
    background: #F5EBDD;
    color: #A47738;
}

.homepage .feature-card h3 {
    margin: 0 0 11px;
    color: var(--home-primary);
    font-size: 17px;
}

.homepage .feature-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
}


/* 8. SUBJECTS SECTION */

.homepage .subjects-section {
    padding: 95px 0;
    background: var(--home-light);
}

.homepage .subject-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 19px;
}

.homepage .subject-card {
    position: relative;
    min-height: 155px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: white;
    transition: transform 0.25s ease,box-shadow 0.25s ease;
}

.homepage .subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 28px rgba(75,46,36,0.09);
}

.homepage .subject-number {
    position: absolute;
    top: 10px;
    right: 14px;
    color: rgba(75,46,36,0.12);
    font-family: "Poppins",sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.homepage .subject-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: var(--home-cream);
    color: var(--home-primary);
    font-size: 24px;
}

.homepage .subject-card h3 {
    margin: 0 0 6px;
    color: var(--home-primary);
    font-size: 15px;
}

.homepage .subject-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
}

.homepage .subject-arrow {
    position: absolute;
    right: 16px;
    bottom: 12px;
    color: var(--home-accent);
    font-size: 17px;
    transition: transform 0.2s ease;
}

.homepage .subject-card:hover .subject-arrow {
    transform: translateX(4px);
}


/* 9. HOW IT WORKS */

.homepage .how-section {
    padding: 95px 0;
    background: white;
}

.homepage .steps-container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.homepage .step-card {
    padding: 27px 20px;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: white;
    text-align: center;
    transition: transform 0.2s ease,box-shadow 0.2s ease;
}

.homepage .step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(75,46,36,0.08);
}

.homepage .step-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 19px;
    border-radius: 50%;
    background: var(--home-primary);
    color: white;
    font-family: "Poppins",sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.homepage .step-card h3 {
    margin: 0 0 10px;
    color: var(--home-primary);
    font-size: 14px;
}

.homepage .step-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.8;
}


/* 10. CALL TO ACTION */

.homepage .cta-section {
    padding: 20px 0 90px;
    background: white;
}

.homepage .cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 55px 60px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--home-primary);
}

.homepage .cta-card::before,
.homepage .cta-card::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    pointer-events: none;
}

.homepage .cta-card::before {
    top: -145px;
    left: -70px;
}

.homepage .cta-card::after {
    right: -90px;
    bottom: -150px;
}

.homepage .cta-card > div {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.homepage .cta-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--home-cream);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.homepage .cta-card h2 {
    margin: 0 0 13px;
    color: white;
    font-size: clamp(25px,3vw,35px);
    line-height: 1.3;
}

.homepage .cta-card p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    line-height: 1.8;
}


/* 11. CONTACT SECTION */

.homepage .academy-contact {
    padding: 85px 0;
    background: var(--home-light);
}

.homepage .academy-contact-inner {
    max-width: 950px;
    margin-inline: auto;
    text-align: center;
}

.homepage .academy-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--home-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.homepage .academy-contact-inner h2 {
    margin: 0 0 13px;
    color: var(--home-primary);
    font-size: clamp(28px,3vw,37px);
    line-height: 1.3;
}

.homepage .academy-contact-inner h2 span {
    color: var(--home-accent);
}

.homepage .academy-contact-inner > div:first-child p {
    max-width: 570px;
    margin: 0 auto 34px;
    font-size: 13px;
    line-height: 1.8;
}

.homepage .academy-contact-cards {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
    text-align: left;
}

.homepage .academy-contact-card {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: white;
    transition: transform 0.2s ease,box-shadow 0.2s ease;
}

.homepage .academy-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(75,46,36,0.08);
}

.homepage .academy-contact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--home-cream);
    color: var(--home-primary);
    font-size: 20px;
}

.homepage .academy-contact-card > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.homepage .academy-contact-card strong {
    color: var(--home-primary);
    font-size: 13px;
}

.homepage .academy-contact-card small {
    color: var(--home-muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.homepage .academy-contact-card:hover small {
    color: var(--home-accent);
}


/* 12. FOOTER */

.homepage .footer {
    padding: 55px 0 0;
    background: var(--home-dark);
}

.homepage .footer-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    gap: 35px 65px;
    padding-bottom: 32px;
}

.homepage .footer-brand {
    max-width: 340px;
}

.homepage .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.homepage .footer .logo-mark {
    background: var(--home-cream);
    box-shadow: none;
}

.homepage .footer .logo-mark::after {
    color: var(--home-primary);
}

.homepage .footer .logo-text strong {
    color: white;
}

.homepage .footer .logo-text small {
    color: rgba(255,255,255,0.65);
}

.homepage .footer-brand > p {
    margin: 0;
    color: rgba(255,255,255,0.68);
    font-size: 12px;
}

.homepage .footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 23px;
    padding-top: 12px;
}

.homepage .footer-links a {
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    transition: color 0.2s ease;
}

.homepage .footer-links a:hover {
    color: var(--home-cream);
}

.homepage .footer-copy {
    grid-column: 1 / -1;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    text-align: center;
}

.homepage .footer-copy p {
    margin: 0;
    color: rgba(255,255,255,0.55);
    font-size: 11px;
}


/* 13. TABLET RESPONSIVENESS */

@media (max-width: 1050px) {
    .homepage .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        padding-block: 15px;
        gap: 15px 25px;
    }

    .homepage .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 22px;
    }

    .homepage .hero-content {
        gap: 30px;
    }

    .homepage .hero-text h1 {
        font-size: 47px;
    }

    .homepage .floating-card-one {
        right: 0;
    }

    .homepage .floating-card-two {
        left: 0;
    }

    .homepage .cta-card {
        padding: 45px 35px;
    }
}

@media (max-width: 800px) {
    .homepage .hero {
        min-height: auto;
        padding: 75px 0;
        background-position: center;
    }

    .homepage .hero-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .homepage .hero-text {
        max-width: 680px;
        margin-inline: auto;
        text-align: center;
    }

    .homepage .hero-label {
        margin-inline: auto;
    }

    .homepage .hero-text > p {
        margin-inline: auto;
    }

    .homepage .hero-buttons,
    .homepage .hero-note {
        justify-content: center;
    }

    .homepage .hero-visual {
        width: 100%;
        max-width: 540px;
        margin-inline: auto;
    }

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

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

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

    .homepage .cta-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .homepage .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .homepage .footer-links {
        justify-content: flex-start;
    }
}


/* 14. MOBILE RESPONSIVENESS */

@media (max-width: 560px) {
    .homepage .container {
        width: calc(100% - 32px);
    }

    .homepage .nav-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
    }

    .homepage .logo-mark {
        width: 39px;
        height: 39px;
    }

    .homepage .logo-text strong {
        font-size: 15px;
    }

    .homepage .logo-text small {
        font-size: 8px;
    }

    .homepage .nav-actions {
        gap: 9px;
    }

    .homepage .nav-login {
        font-size: 11px;
    }

    .homepage .nav-button {
        min-height: 36px;
        padding-inline: 11px;
        font-size: 10px;
    }

    .homepage .main-nav {
        flex-wrap: wrap;
        gap: 8px 17px;
    }

    .homepage .main-nav a {
        font-size: 11px;
    }

    .homepage .hero {
        padding: 65px 0;
    }

    .homepage .hero-text h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .homepage .hero-text > p {
        font-size: 13px;
    }

    .homepage .hero-buttons {
        flex-direction: column;
    }

    .homepage .hero-buttons a {
        width: 100%;
    }

    .homepage .hero-note {
        align-items: flex-start;
        font-size: 11px;
        text-align: left;
    }

    .homepage .learning-card {
        padding: 22px 18px;
    }

    .homepage .learning-card h3 {
        font-size: 18px;
    }

    .homepage .floating-card {
        padding: 9px;
        gap: 7px;
    }

    .homepage .floating-card > span {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .homepage .floating-card strong {
        font-size: 8px;
    }

    .homepage .floating-card small {
        font-size: 8px;
    }

    .homepage .about-section,
    .homepage .subjects-section,
    .homepage .how-section {
        padding: 70px 0;
    }

    .homepage .section-heading {
        margin-bottom: 33px;
    }

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

    .homepage .feature-grid,
    .homepage .subject-grid,
    .homepage .steps-container,
    .homepage .academy-contact-cards {
        grid-template-columns: 1fr;
    }

    .homepage .feature-card {
        padding: 24px;
    }

    .homepage .subject-card {
        min-height: 125px;
    }

    .homepage .cta-section {
        padding: 10px 0 65px;
    }

    .homepage .cta-card {
        padding: 39px 23px;
    }

    .homepage .cta-card h2 {
        font-size: 27px;
    }

    .homepage .academy-contact {
        padding: 65px 0;
    }

    .homepage .academy-contact-card {
        padding: 18px;
    }

    .homepage .footer {
        padding-top: 40px;
    }

    .homepage .footer-links {
        gap: 13px 19px;
    }
}


/* 15. ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .homepage *,
    .homepage *::before,
    .homepage *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   DANMAWEB ACADEMY
   HERO LEARNING DASHBOARD VISUAL
   Chocolate Brown | Warm Cream | White
========================================================= */

.homepage .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 530px;
    padding: 45px 20px;
    isolation: isolate;
    background: transparent;
}

/* Soft decorative background */

.homepage .hero-visual-glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(243, 232, 213, 0.15);
    filter: blur(3px);
    z-index: -1;
}

/* Main dashboard */

.homepage .hero-dashboard {
    position: relative;
    width: 100%;
    max-width: 455px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 22px;
    background: #F3E8D5;
    box-shadow: 0 28px 65px rgba(20, 10, 5, 0.30);
    transform: rotate(-2deg);
    z-index: 2;
}

.homepage .dashboard-top,
.homepage .dashboard-brand,
.homepage .dashboard-status,
.homepage .dashboard-progress-heading,
.homepage .dashboard-section-heading,
.homepage .dashboard-subject,
.homepage .dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.homepage .dashboard-brand {
    justify-content: flex-start;
    gap: 11px;
}

.homepage .dashboard-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 12px;
    background: #4B2E24;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.homepage .dashboard-brand strong {
    display: block;
    color: #4B2E24;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.homepage .dashboard-brand small {
    display: block;
    margin-top: 2px;
    color: #927665;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.homepage .dashboard-status {
    gap: 6px;
    color: #55764B;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.homepage .dashboard-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6D9B5D;
}

/* Welcome area */

.homepage .dashboard-welcome {
    margin: 29px 0 20px;
    padding: 21px;
    border-radius: 15px;
    background: #4B2E24;
}

.homepage .dashboard-welcome > span {
    color: #D8B88B;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.homepage .dashboard-welcome h3 {
    margin: 10px 0 7px;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    line-height: 1.4;
}

.homepage .dashboard-welcome p {
    margin: 0;
    color: rgba(255,255,255,0.76);
    font-size: 11px;
    line-height: 1.7;
}

/* Progress panel */

.homepage .dashboard-progress {
    padding: 17px;
    border: 1px solid #E8D9C5;
    border-radius: 14px;
    background: #FFFFFF;
}

.homepage .dashboard-progress-heading > div small,
.homepage .dashboard-progress-heading > div strong {
    display: block;
}

.homepage .dashboard-progress-heading > div small {
    color: #9B8878;
    font-size: 8px;
    letter-spacing: 1px;
}

.homepage .dashboard-progress-heading > div strong {
    margin-top: 5px;
    color: #4B2E24;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

.homepage .dashboard-progress-heading > span {
    color: #9A713A;
    font-family: 'Poppins', sans-serif;
    font-size: 23px;
    font-weight: 700;
}

.homepage .dashboard-progress-track {
    height: 8px;
    margin: 15px 0 9px;
    overflow: hidden;
    border-radius: 20px;
    background: #EEE6DC;
}

.homepage .dashboard-progress-track div {
    width: 82%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #4B2E24, #B58B51);
}

.homepage .progress-caption {
    color: #9B8878;
    font-size: 9px;
}

/* Lower dashboard panels */

.homepage .dashboard-lower {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
    margin-top: 14px;
}

.homepage .dashboard-subjects,
.homepage .dashboard-achievement {
    min-width: 0;
    padding: 14px;
    border-radius: 13px;
    background: #FFFFFF;
}

.homepage .dashboard-section-heading {
    margin-bottom: 12px;
}

.homepage .dashboard-section-heading strong {
    color: #4B2E24;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
}

.homepage .dashboard-section-heading > span {
    color: #A18B77;
    font-size: 7px;
    font-weight: 700;
}

.homepage .dashboard-subject {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 9px;
    color: #5A463A;
    font-size: 9px;
    font-weight: 600;
}

.homepage .subject-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: #F3E8D5;
    color: #4B2E24;
    font-size: 12px;
    font-weight: 700;
}

.homepage .subject-check {
    margin-left: auto;
    color: #658456;
    font-size: 11px;
    font-weight: 700;
}

.homepage .dashboard-achievement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #E8D6BC;
}

.homepage .achievement-star {
    color: #A87935;
    font-size: 26px;
}

.homepage .dashboard-achievement small {
    margin-top: 9px;
    color: #8C6B4C;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
}

.homepage .dashboard-achievement strong {
    margin-top: 5px;
    color: #4B2E24;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

.homepage .dashboard-achievement p {
    margin: 5px 0 0;
    color: #725D4C;
    font-size: 9px;
    line-height: 1.5;
}

/* Dashboard footer */

.homepage .dashboard-footer {
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
    color: #947C65;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Floating notification cards */

.homepage .hero-floating-note {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 13px;
    background: #FFFFFF;
    box-shadow: 0 12px 35px rgba(20, 10, 5, 0.20);
}

.homepage .hero-note-top {
    top: 45px;
    right: -3px;
}

.homepage .hero-note-bottom {
    bottom: 45px;
    left: -8px;
}

.homepage .floating-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #F3E8D5;
    color: #4B2E24;
    font-size: 15px;
    font-weight: 700;
}

.homepage .hero-floating-note strong,
.homepage .hero-floating-note small {
    display: block;
}

.homepage .hero-floating-note strong {
    color: #4B2E24;
    font-size: 10px;
}

.homepage .hero-floating-note small {
    margin-top: 4px;
    color: #9B8878;
    font-size: 9px;
}

/* Responsive design */

@media (max-width: 1050px) {
    .homepage .hero-visual {
        min-height: 480px;
    }

    .homepage .hero-dashboard {
        max-width: 420px;
    }
}

@media (max-width: 800px) {
    .homepage .hero-visual {
        min-height: 480px;
        margin-top: 25px;
        padding: 35px 25px;
    }

    .homepage .hero-dashboard {
        max-width: 455px;
    }

    .homepage .hero-note-top {
        right: 0;
    }

    .homepage .hero-note-bottom {
        left: 0;
    }
}

@media (max-width: 560px) {
    .homepage .hero-visual {
        min-height: 420px;
        padding: 25px 10px;
    }

    .homepage .hero-dashboard {
        padding: 17px;
        transform: rotate(-1deg);
    }

    .homepage .dashboard-welcome {
        padding: 16px;
    }

    .homepage .dashboard-welcome h3 {
        font-size: 17px;
    }

    .homepage .dashboard-lower {
        grid-template-columns: 1fr 0.8fr;
        gap: 8px;
    }

    .homepage .dashboard-subjects,
    .homepage .dashboard-achievement {
        padding: 10px;
    }

    .homepage .dashboard-subject {
        font-size: 8px;
    }

    .homepage .hero-floating-note {
        padding: 9px 11px;
        gap: 7px;
    }

    .homepage .hero-floating-note strong {
        font-size: 8px;
    }

    .homepage .hero-floating-note small {
        font-size: 8px;
    }

    .homepage .hero-note-top {
        top: 5px;
        right: 0;
    }

    .homepage .hero-note-bottom {
        bottom: 5px;
        left: 0;
    }
}

/* =========================================================
   DANMAWEB ACADEMY
   FINAL HOMEPAGE REFINEMENTS
   Elegant | Centred | Readable | Responsive

   Headings: Poppins
   Body: Inter

   Chocolate Brown: #4B2E24
   Warm Cream:      #F3E8D5
   White:           #FFFFFF
========================================================= */


/* 1. CONSISTENT TYPOGRAPHY */

.homepage .about-section,
.homepage .subjects-section,
.homepage .how-section,
.homepage .cta-section,
.homepage .academy-contact,
.homepage .footer {
    font-family: "Inter", sans-serif;
}

.homepage .about-section h2,
.homepage .about-section h3,
.homepage .subjects-section h2,
.homepage .subjects-section h3,
.homepage .how-section h2,
.homepage .how-section h3,
.homepage .cta-section h2,
.homepage .academy-contact h2,
.homepage .footer strong {
    font-family: "Poppins", sans-serif;
}

.homepage .about-section p,
.homepage .subjects-section p,
.homepage .how-section p,
.homepage .cta-section p,
.homepage .academy-contact p,
.homepage .footer p {
    font-family: "Inter", sans-serif;
}


/* 2. SHARED SECTION SPACING */

.homepage .about-section,
.homepage .subjects-section,
.homepage .how-section {
    padding: 100px 0;
}

.homepage .section-heading {
    max-width: 700px;
    margin: 0 auto 52px;
    text-align: center;
}

.homepage .section-heading h2 {
    font-size: clamp(30px, 3.4vw, 40px);
    line-height: 1.35;
}

.homepage .section-heading p {
    max-width: 570px;
    margin-inline: auto;
    color: #786D66;
    font-size: 14px;
    line-height: 1.9;
}


/* 3. ABOUT DANMAWEB */

.homepage .about-section {
    background: #FFFFFF;
}

.homepage .feature-grid {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.homepage .feature-card {
    min-width: 0;
    min-height: 260px;
    padding: 34px 27px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    border: 1px solid #E9DED1;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 20px rgba(75, 46, 36, 0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homepage .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(75, 46, 36, 0.09);
}

.homepage .feature-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 16px;
    background: #F3E8D5;
    color: #4B2E24;
    font-size: 25px;
}

.homepage .feature-card h3 {
    margin: 0 0 12px;
    color: #4B2E24;
    font-size: 17px;
    line-height: 1.5;
}

.homepage .feature-card p {
    max-width: 280px;
    margin: 0 auto;
    color: #786D66;
    font-size: 13px;
    line-height: 1.9;
}


/* 4. SUBJECTS */

.homepage .subjects-section {
    background: #FBF7F0;
}

.homepage .subject-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.homepage .subject-card {
    min-width: 0;
    min-height: 225px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-align: center;
    border: 1px solid #E9DED1;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(75, 46, 36, 0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homepage .subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(75, 46, 36, 0.09);
}

.homepage .subject-number {
    top: 13px;
    right: 16px;
    font-size: 22px;
    color: rgba(75, 46, 36, 0.13);
}

.homepage .subject-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 16px;
    background: #F3E8D5;
    color: #4B2E24;
    font-size: 25px;
}

.homepage .subject-card > div:not(.subject-number) {
    width: 100%;
}

.homepage .subject-card h3 {
    margin: 0 0 8px;
    color: #4B2E24;
    font-size: 16px;
    line-height: 1.5;
}

.homepage .subject-card p {
    max-width: 260px;
    margin: 0 auto;
    color: #786D66;
    font-size: 12px;
    line-height: 1.8;
}

.homepage .subject-arrow {
    right: 17px;
    bottom: 13px;
    color: #B98A55;
    font-size: 18px;
}


/* 5. HOW IT WORKS */

.homepage .how-section {
    background: #FFFFFF;
}

.homepage .steps-container {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.homepage .step-card {
    min-width: 0;
    min-height: 255px;
    padding: 32px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    border: 1px solid #E9DED1;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 20px rgba(75, 46, 36, 0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homepage .step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(75, 46, 36, 0.08);
}

.homepage .step-number {
    width: 53px;
    height: 53px;
    margin: 0 auto 22px;
    flex-shrink: 0;
    background: #4B2E24;
    color: #FFFFFF;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
}

.homepage .step-content {
    width: 100%;
}

.homepage .step-card h3 {
    margin: 0 0 12px;
    color: #4B2E24;
    font-size: 15px;
    line-height: 1.5;
}

.homepage .step-card p {
    max-width: 245px;
    margin: 0 auto;
    color: #786D66;
    font-size: 12px;
    line-height: 1.9;
}

/* The cards replace the need for connector lines. */

.homepage .step-line {
    display: none;
}


/* 6. CALL TO ACTION */

.homepage .cta-section {
    padding: 30px 0 95px;
    background: #FFFFFF;
}

.homepage .cta-card {
    max-width: 1080px;
    min-height: 285px;
    margin: 0 auto;
    padding: 55px 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    background: #4B2E24;
    box-shadow: 0 18px 40px rgba(75, 46, 36, 0.12);
}

.homepage .cta-card > div {
    max-width: 700px;
    margin: 0 auto;
}

.homepage .cta-label {
    color: #F3E8D5;
    font-size: 10px;
    letter-spacing: 1.8px;
}

.homepage .cta-card h2 {
    margin: 0 0 15px;
    color: #FFFFFF;
    font-size: clamp(27px, 3.5vw, 37px);
    line-height: 1.4;
}

.homepage .cta-card p {
    max-width: 580px;
    margin: 0 auto;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    line-height: 1.9;
}

.homepage .cta-card .light-button {
    min-width: 165px;
    min-height: 49px;
    background: #F3E8D5;
    color: #4B2E24;
    border: 1px solid #F3E8D5;
}

.homepage .cta-card .light-button:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-3px);
}


/* 7. CONTACT SECTION */

.homepage .academy-contact {
    padding: 95px 0;
    background: #FBF7F0;
}

.homepage .academy-contact-inner {
    width: min(100%, 1000px);
    margin: 0 auto;
    text-align: center;
}

.homepage .academy-eyebrow {
    margin-bottom: 15px;
    color: #A47738;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.homepage .academy-contact-inner h2 {
    max-width: 700px;
    margin: 0 auto 16px;
    color: #4B2E24;
    font-size: clamp(29px, 3.5vw, 39px);
    line-height: 1.4;
}

.homepage .academy-contact-inner h2 span {
    color: #B98A55;
}

.homepage .academy-contact-inner > div:first-child p {
    max-width: 590px;
    margin: 0 auto 40px;
    color: #786D66;
    font-size: 14px;
    line-height: 1.9;
}

/* Contact cards */

.homepage .academy-contact-cards {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    text-align: left;
}

.homepage .academy-contact-card {
    width: 100%;
    min-width: 0;
    min-height: 112px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 17px;
    border: 1px solid #E6D9CA;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 20px rgba(75, 46, 36, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homepage .academy-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 28px rgba(75, 46, 36, 0.09);
}

.homepage .academy-contact-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #F3E8D5;
    color: #4B2E24;
    font-size: 21px;
}

.homepage .academy-contact-card > span:last-child {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.homepage .academy-contact-card strong {
    color: #4B2E24;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.homepage .academy-contact-card small {
    display: block;
    max-width: 100%;
    color: #786D66;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: normal;
}

.homepage .academy-contact-card:hover small {
    color: #A47738;
}


/* 8. FOOTER */

.homepage .footer {
    padding: 60px 0 0;
    background: #352018;
}

.homepage .footer-content {
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
    padding-bottom: 0;
}

.homepage .footer-brand {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.homepage .footer-logo {
    justify-content: center;
    margin-bottom: 13px;
}

.homepage .footer .logo-mark {
    background: #F3E8D5;
}

.homepage .footer .logo-mark::after {
    color: #4B2E24;
}

.homepage .footer .logo-text strong {
    color: #FFFFFF;
}

.homepage .footer .logo-text small {
    color: rgba(255,255,255,0.7);
}

.homepage .footer-brand > p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.homepage .footer-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 28px;
    padding: 0;
}

.homepage .footer-links a {
    color: rgba(255,255,255,0.82);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.homepage .footer-links a:hover {
    color: #F3E8D5;
}

.homepage .footer-copy {
    width: 100%;
    margin-top: 5px;
    padding: 22px 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}

.homepage .footer-copy p {
    margin: 0;
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    line-height: 1.7;
}


/* 9. TABLET ADJUSTMENTS */

@media (max-width: 900px) {
    .homepage .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage .steps-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage .subject-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage .academy-contact-cards {
        max-width: 760px;
        gap: 16px;
    }

    .homepage .academy-contact-card {
        padding: 19px;
    }
}


/* 10. MOBILE ADJUSTMENTS */

@media (max-width: 600px) {
    .homepage .about-section,
    .homepage .subjects-section,
    .homepage .how-section {
        padding: 70px 0;
    }

    .homepage .section-heading {
        margin-bottom: 35px;
        padding-inline: 5px;
    }

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

    .homepage .section-heading p {
        font-size: 13px;
    }

    .homepage .feature-grid,
    .homepage .subject-grid,
    .homepage .steps-container {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .homepage .feature-card {
        min-height: auto;
        padding: 28px 22px;
    }

    .homepage .subject-card {
        min-height: 195px;
        padding: 27px 20px;
    }

    .homepage .step-card {
        min-height: auto;
        padding: 29px 22px;
    }

    .homepage .cta-section {
        padding: 15px 0 65px;
    }

    .homepage .cta-card {
        min-height: 0;
        padding: 42px 23px;
        gap: 23px;
    }

    .homepage .cta-card h2 {
        font-size: 27px;
    }

    .homepage .cta-card p {
        font-size: 13px;
    }

    .homepage .academy-contact {
        padding: 70px 0;
    }

    .homepage .academy-contact-inner h2 {
        font-size: 29px;
    }

    .homepage .academy-contact-inner > div:first-child p {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .homepage .academy-contact-cards {
        grid-template-columns: 1fr;
        max-width: 430px;
        gap: 14px;
    }

    .homepage .academy-contact-card {
        min-height: 100px;
        padding: 19px;
        gap: 14px;
    }

    .homepage .academy-contact-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .homepage .academy-contact-card small {
        font-size: 11px;
    }

    .homepage .footer {
        padding-top: 45px;
    }

    .homepage .footer-links {
        gap: 15px 20px;
    }

    .homepage .footer-links a {
        font-size: 11px;
    }
}


/* 11. EXTRA SMALL SCREENS */

@media (max-width: 360px) {
    .homepage .academy-contact-card {
        padding: 15px;
        gap: 11px;
    }

    .homepage .academy-contact-card small {
        font-size: 10px;
    }

    .homepage .footer-links {
        gap: 12px 15px;
    }
}
/* =========================================================
   DANMAWeb Academy — Consistent Homepage Logo
========================================================= */

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
}

.logo-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   DANMAWeb Academy — Responsive Mobile Navigation
========================================================= */

/* Desktop: retain the existing horizontal navigation */
.homepage .mobile-menu-toggle {
    display: none;
}

.homepage .mobile-menu-panel {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Tablet and mobile navigation */
@media (max-width: 800px) {
    .homepage .nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        padding-block: 10px;
    }

    .homepage .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 46px;
        height: 44px;
        padding: 8px;
        border: 1px solid #4B2E24;
        border-radius: 10px;
        background: #F3E8D5;
        cursor: pointer;
        flex-shrink: 0;
    }

    .homepage .mobile-menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        border-radius: 2px;
        background: #4B2E24;
    }

    .homepage .mobile-menu-panel {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px;
        background: #FFFFFF;
        border: 1px solid #E8DCCB;
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(75, 46, 36, 0.12);
    }

    .homepage .mobile-menu-panel.is-open {
        display: flex;
    }

    .homepage .main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .homepage .main-nav a {
        display: block;
        padding: 12px 8px;
        border-bottom: 1px solid #F0E8DF;
        font-size: 14px;
        color: #4B2E24;
    }

    .homepage .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .homepage .nav-login {
        display: block;
        padding: 10px;
        text-align: center;
        font-size: 14px;
    }

    .homepage .nav-button {
        display: block;
        width: 100%;
        min-height: 44px;
        padding: 12px;
        text-align: center;
        font-size: 14px;
    }
}

/* Improve logo visibility on small phones */
@media (max-width: 560px) {
    .homepage .logo {
        gap: 9px;
    }

    .homepage .logo-mark {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .homepage .logo-mark::after {
        content: none;
    }

    .homepage .logo-text strong {
        font-size: 17px;
    }

    .homepage .logo-text small {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
}
