* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-body: "Poppins", sans-serif;
    --line-body: 1.6;
    --line-heading: 1.2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: var(--line-body);
    background: #fffaf7;
    color: #351018;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: var(--line-heading);
}

p {
    line-height: var(--line-body);
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 55px 6%;
}


/* ================= NAVBAR ================= */

.navbar {
    min-height: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.78);
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 5%;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-bottom: 2px solid rgba(75, 7, 23, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
    border-bottom-color: rgba(75, 7, 23, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.logo strong {
    font-size: 34px;
    font-weight: 900;
    color: maroon;
}

.logo b {
    display: block;
    font-size: 17px;
}

.logo small {
    display: block;
    font-size: 9px;
    margin-top: 2px;
    color: #0d0b08;
}

.navbar .nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar .nav-menu a {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar .nav-menu a:hover,
.navbar .nav-menu a.active {
    color: #d48c06;
    background: rgba(75, 7, 23, 0.06);
    border-color: rgba(75, 7, 23, 0.2);
    box-shadow: 0 4px 12px rgba(75, 7, 23, 0.1);
}

.navbar .nav-menu a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 2px;
    background: #c58321;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navbar .nav-menu a:hover::after,
.navbar .nav-menu a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1001;
    border: 1px solid rgba(75, 7, 23, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background: rgba(75, 7, 23, 0.06);
    box-shadow: 0 4px 12px rgba(75, 7, 23, 0.15);
    transform: translateY(-1px);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: #4b0717;
    transition: 0.3s ease;
}

.enquire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffd27d;
    color: #4b0717;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    border: 2px solid rgba(75, 7, 23, 0.25);
    box-shadow: 0 4px 0 rgba(75, 7, 23, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-phone {
    fill: currentColor;
    stroke: none;
}


/* ================= HERO ================= */

.hero {
    min-height: 520px;
    padding: 65px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:
        radial-gradient(circle at 80% 20%, #7d2438, transparent 35%),
        linear-gradient(120deg, #4b0717, #6b0d25 55%, #8d2940);
    color: white;
    overflow: hidden;
}

.hero-content {
    width: 52%;
    z-index: 2;
}

.welcome {
    color: #ffd27d;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ffd27d;
}

.hero-description {
    max-width: 650px;
    line-height: 1.7;
    color: #f6e7e5;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.yellow-btn,
.outline-btn {
    padding: 14px 23px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
}

.yellow-btn {
    background: #ffd27d;
    color: #4b0717;
}

.outline-btn {
    background: linear-gradient(to right, #ffd27d 0%, #ffd27d 50%, transparent 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: right center;
    border: 1px solid #ffd27d;
    color: white;
    transition: background-position 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.outline-btn:hover,
.outline-btn:focus-visible {
    background-position: left center;
    color: #4b0717;
    box-shadow: 0 6px 16px rgba(255, 210, 125, 0.25);
    transform: translateY(-2px);
}

.yellow-btn:hover,
.enquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-features span {
    color: #ffd27d;
    font-size: 22px;
}

.hero-features p {
    font-size: 12px;
    line-height: 1.4;
}


/* HERO IMAGE */

.hero-image {
    width: 50%;
    height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    transition: opacity 0.8s ease-in-out;
}

.image-placeholder {
    width: 82%;
    height: 100%;
    border-radius: 25px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.15), rgba(0,0,0,0.2)),
        #8a3045;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.student-icon {
    font-size: 150px;
}

.hero-text {
    position: absolute;
    right: -5px;
    top: 55px;
    font-family: cursive;
    font-size: 22px;
    line-height: 1.35;
    color: white;
    transform: rotate(-5deg);
}


/* ================= TWO CARDS ================= */

.two-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    background: #fffaf7;
}

.big-card {
    background: white;
    border: 1px solid #eadbd7;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(70,0,20,0.06);
}

.card-heading {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.big-icon {
    min-width: 52px;
    height: 52px;
    background: #720d27;
    color: #ffd27d;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}

.card-heading h2 {
    color: #600a20;
    font-size: 21px;
    margin-bottom: 5px;
}

.card-heading p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.small-btn {
    display: inline-block;
    background: linear-gradient(to right, #ffd27d 0%, #ffd27d 50%, #670f21 50%, #670f21 100%);
    background-size: 200% 100%;
    background-position: right center;
    color: white;
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: bold;
    margin: 18px 0;
    border: 1px solid #670f21;
    transition: background-position 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.small-btn:hover,
.small-btn:focus-visible {
    background-position: left center;
    color: #4b0717;
    box-shadow: 0 6px 16px rgba(103, 15, 33, 0.2);
    transform: translateY(-2px);
}

.course-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.course-list ul,
.software-list {
    list-style: none;
}

.course-list li,
.software-list li {
    margin: 12px 0;
    font-size: 13px;
}

.course-list li::before,
.software-list li::before {
    content: "✓";
    color: #7d1028;
    font-weight: bold;
    margin-right: 10px;
}

.software-list {
    margin-top: 5px;
}


/* ================= SECTION HEADING ================= */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: 28px;
    color: #5d0b20;
}

.section-heading h2::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 4px;
    background: #ffd27d;
    margin-right: 8px;
    vertical-align: middle;
}

.section-heading p {
    color: #777;
    margin-top: 5px;
    font-size: 13px;
}

.section-heading > a {
    border: 1px solid #7d1028;
    color: #7d1028;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}


/* ================= POPULAR COURSES ================= */

.popular {
    background: #fff;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.course-box {
    background: #fff;
    color: #351018;
    min-height: 405px;
    border: 1px solid #dce1ec;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(28, 34, 52, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-box:hover {
    transform: translateY(-8px);
    border-color: #9aaeff;
    box-shadow: 0 18px 32px rgba(70, 86, 150, 0.18);
}

.course-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.course-box:hover .course-image {
    transform: scale(1.04);
    filter: saturate(1.12);
}

.course-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 14px 14px;
}

.course-box h3 {
    color: #101728;
    font-size: 18px;
    line-height: 1.25;
    min-height: 46px;
    margin-bottom: 8px;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #65708a;
    font-size: 12px;
    margin-bottom: 12px;
}

.course-meta span:last-child {
    border: 1px solid #cbd5ff;
    background: #f2f4ff;
    border-radius: 999px;
    padding: 4px 8px;
    color: #6179d9;
    font-size: 10px;
    white-space: nowrap;
}

.course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 24px;
    margin-bottom: 16px;
}

.course-badges span {
    border: 1px solid #e0e5f4;
    background: #f8f9fd;
    border-radius: 999px;
    padding: 4px 7px;
    color: #66718a;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
}

.course-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.course-learn-btn,
.course-apply-btn {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.course-learn-btn {
    border: 1px solid #680b23;
    color: #680b23;
}

.course-apply-btn {
    background: #ffd27d;
    color: #4b0717;
    box-shadow: 0 4px 10px rgba(103, 15, 33, 0.16);
}

.course-learn-btn:hover,
.course-learn-btn:focus-visible {
    background: #680b23;
    color: white;
    transform: translateY(-2px);
}

.course-apply-btn:hover,
.course-apply-btn:focus-visible {
    background: #e5b45f;
    box-shadow: 0 7px 14px rgba(103, 15, 33, 0.24);
    transform: translateY(-2px);
}

/* Course rating / price */
.course-rating { font-size: 13px; color: #351018; margin: -2px 0 8px; }
.course-rating .star { color: #f5a623; font-size: 15px; }
.course-rating span:not(.star) { color: #65708a; font-size: 12px; }
.course-meta { flex-wrap: wrap; }
.course-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.course-price del { color: #9aa2b5; font-size: 13px; }
.course-price strong { color: #680b23; font-size: 20px; line-height: 1; }
.course-price em { font-style: normal; background: #e7f7ec; color: #14612b; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 999px; }


/* ================= TECHNOLOGY ================= */

.technology {
    background: #fffaf7;
}

.technology-grid {
    overflow: hidden;
    padding: 10px 0 20px;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.technology-track {
    display: flex;
    width: max-content;
    gap: 14px;
    animation: technologyMarquee 32s linear infinite;
}

.technology-grid:hover .technology-track {
    animation-play-state: paused;
}

.technology-card {
    width: 130px;
    min-height: 90px;
    border: 1px solid #eadbd7;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 22px;
    flex: 0 0 130px;
    box-shadow: 0 5px 14px rgba(70, 0, 20, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.technology-card:hover {
    transform: translateY(-5px);
    border-color: #c58321;
    box-shadow: 0 10px 20px rgba(70, 0, 20, 0.14);
}

.technology-card b {
    font-size: 12px;
}

.technology-card small {
    font-size: 9px;
    color: #777;
}

@keyframes technologyMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 7px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .technology-track {
        animation: none;
        transform: translateX(0);
    }
}


/* ================= WHY US ================= */

.why-us {
    background: linear-gradient(120deg, #510719, #780d28);
    color: white;
    text-align: center;
}

.why-heading {
    max-width: 700px;
    margin: 0 auto;
}

.why-eyebrow {
    color: #ffd27d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.why-heading h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.why-heading > p:last-child {
    color: #f1dfe1;
    font-size: 14px;
    line-height: 1.7;
}

.why-grid {
    max-width: 1150px;
    margin: 42px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.why-card {
    padding: 24px 20px;
    min-height: 185px;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 210, 125, 0.22);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 210, 125, 0.65);
    box-shadow: 0 14px 28px rgba(35, 0, 12, 0.22);
}

.why-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 210, 125, 0.45);
    border-radius: 10px;
    background: rgba(255, 210, 125, 0.15);
    color: #ffd27d;
    font-size: 22px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.why-card:hover .why-icon {
    transform: rotate(-8deg) scale(1.08);
    background: rgba(255, 210, 125, 0.28);
}

.why-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.why-card p {
    color: #f1dfe1;
    font-size: 12px;
    line-height: 1.6;
}

.why-stats {
    max-width: 900px;
    margin: 42px auto 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.why-stats strong {
    color: #ffd27d;
    font-size: 28px;
    line-height: 1;
}

.why-stats span {
    color: #f1dfe1;
    font-size: 11px;
}

.why-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid #ffd27d;
    border-radius: 22px;
    color: #ffd27d;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.why-cta:hover,
.why-cta:focus-visible {
    background: #ffd27d;
    color: #4b0717;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(35, 0, 12, 0.22);
}


/* ================= PORTFOLIO ================= */

.portfolio {
    background: #fffaf7;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.portfolio-card {
    background: white;
    border: 1px solid #eadbd7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    height: 150px;
    background: linear-gradient(135deg, #eee, #d9b8bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
}

.portfolio-card h3 {
    padding: 15px;
    font-size: 14px;
    color: #620b21;
}


/* ================= TESTIMONIALS ================= */

.testimonials {
    background: white;
}

.testimonial-grid {
    overflow: hidden;
    padding: 10px 0 20px;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.testimonial-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: testimonialMarquee 38s linear infinite;
}

.testimonial-grid:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    width: min(340px, 78vw);
    min-height: 235px;
    flex: 0 0 min(340px, 78vw);
    background: #fffaf7;
    border: 1px solid #eadbd7;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(70, 0, 20, 0.07);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: #d5a44e;
    box-shadow: 0 14px 26px rgba(70, 0, 20, 0.14);
}

.profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ead1d5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.profile h3 {
    font-size: 14px;
}

.profile small {
    color: #777;
}

.testimonial > p {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}

.stars {
    color: #f2ae24;
    margin-top: 12px;
}

@keyframes testimonialMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 10px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-track {
        animation: none;
        transform: translateX(0);
    }
}


/* ================= INTERNSHIP ================= */

.internship {
    background:
        radial-gradient(circle at right, #81213c, transparent 35%),
        #57091c;
    color: white;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    align-items: center;
    gap: 55px;
}

.internship h2 {
    font-size: 40px;
    line-height: 1.2;
    margin: 15px 0;
}

.internship h2 span {
    color: #ffd27d;
}

.internship p:not(.welcome) {
    max-width: 600px;
    color: #f1dfe1;
    line-height: 1.6;
    margin-bottom: 25px;
}

.internship-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 210, 125, 0.35);
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(35, 0, 12, 0.22);
    backdrop-filter: blur(10px);
}

.internship-form h3 {
    font-size: 21px;
    margin-bottom: 2px;
}

.internship-form p {
    color: #f1dfe1;
    font-size: 12px;
    margin-bottom: 8px;
}

.internship-form label {
    color: #ffd27d;
    font-size: 11px;
    font-weight: 600;
}

.internship-form input,
.internship-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.95);
    color: #351018;
    font: inherit;
    font-size: 12px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.internship-form input:focus,
.internship-form select:focus {
    border-color: #ffd27d;
    box-shadow: 0 0 0 3px rgba(255, 210, 125, 0.2);
}

.internship-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 11px 16px;
    border: 1px solid #ffd27d;
    border-radius: 22px;
    background: #ffd27d;
    color: #4b0717;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.internship-submit:hover,
.internship-submit:focus-visible {
    background: #fff0c5;
    color: #680b23;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(35, 0, 12, 0.22);
}


/* ================= CONTACT ================= */

.contact-link {
    color: inherit;
    transition: color 0.25s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
    color: #ffd27d;
}

.contact-link span {
    transition: color 0.25s ease;
}

.consult-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(#ffd27d, #ffd27d) bottom / 100% 0 no-repeat;
    border: 1px solid #ffd27d;
    color: #ffd27d;
    padding: 15px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    transition: color 0.35s ease, background-size 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.consult-btn:hover,
.consult-btn:focus-visible {
    background-size: 100% 100%;
    color: #4b0717;
    transform: translateY(-3px);
    box-shadow: 0 9px 20px rgba(255, 210, 125, 0.25);
}


/* ================= FOOTER ================= */

footer {
    background: #430613;
    color: white;
    padding: 30px 6% 15px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 35px;
    padding-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo strong {
    font-size: 45px;
}

.footer-logo b,
.footer-logo small {
    display: block;
}

.footer-logo b {
    font-size: 18px;
}

.footer-logo small {
    font-size: 13px;
    color: #e5c7a5;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.footer-contact h3 {
    color: #ffd27d;
    font-size: 20px;
    margin-bottom: 3px;
}

.footer-contact .contact-link {
    color: #eadde0;
    font-size: 14px;
    line-height: 1.5;
}

.social {
    display: flex;
    gap: 12px;
}

.social a {
    width: 42px;
    height: 42px;
    border: 1px solid #c78c99;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eadde0;
    background: linear-gradient(#ffd27d, #ffd27d) bottom / 100% 0 no-repeat;
    transition: color 0.3s ease, background-size 0.35s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social a:hover,
.social a:focus-visible {
    color: #4b0717;
    background-size: 100% 100%;
    border-color: #ffd27d;
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(255, 210, 125, 0.25);
}

.social svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social a:first-child svg {
    fill: currentColor;
    stroke: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #cdbcc0;
}

.footer-bottom div {
    display: flex;
    gap: 15px;
}


/* ================= RESPONSIVE ================= */

@media (min-width: 1101px) {
    .logo {
        flex-shrink: 0;
    }

    .logo small {
        white-space: nowrap;
    }
}

@media (min-width: 1181px) and (max-width: 1500px) {
    .navbar {
        gap: 16px;
    }

    .logo {
        min-width: auto;
    }

    .navbar .nav-menu {
        gap: 4px;
    }

    .navbar .nav-menu a {
        font-size: 14px;
        padding: 9px 9px;
    }

    .navbar .nav-menu a::after {
        left: 9px;
        right: 9px;
    }
}

@media (max-width: 1180px) {
    /* Compact responsive navbar */
    .navbar {
        height: auto;
        min-height: 56px;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 5px 5%;
        gap: 0;
        position: sticky;
    }

    .logo {
        min-width: 0;
        flex: 1 1 auto;
    }

    .logo strong {
        font-size: 32px;
    }

    .logo b {
        font-size: 16px;
    }

    .logo small {
        font-size: 9px;
        margin-top: 1px;
    }

    .menu-toggle {
        display: flex;
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .navbar .nav-menu {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px 0 2px;
        margin-top: 4px;
        border-top: 1px solid #f0e5e2;
    }

    .navbar .nav-menu.open {
        display: flex;
    }

    .navbar .nav-menu a {
        width: 100%;
        padding: 7px 4px;
        font-size: 14px;
    }

    .navbar .nav-menu a::after {
        left: 4px;
        right: auto;
        width: 35px;
    }

    .enquire-btn {
        padding: 7px 13px;
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .hero {
        gap: 30px;
    }

    .hero-content {
        width: 50%;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .technology-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .enquire-btn {
        width: auto;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-content,
    .hero-image {
        width: 100%;
    }

    .hero-image {
        margin-top: 20px;
        height: 320px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-cards {
        grid-template-columns: 1fr;
    }

    .internship {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .technology-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .navbar {
        min-height: 52px;
        height: auto;
        padding: 4px 5%;
    }

    .logo {
        gap: 5px;
    }

    .logo strong {
        font-size: 27px;
    }

    .logo b {
        font-size: 14px;
    }

    .logo small {
        font-size: 8px;
        margin-top: 1px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        gap: 5px;
    }

    .menu-toggle span {
        width: 21px;
        height: 2.5px;
    }

    .navbar .nav-menu {
        gap: 2px;
        padding-top: 7px;
    }

    .navbar .nav-menu a {
        padding: 7px 2px;
        font-size: 13px;
    }

    .enquire-btn {
        padding: 7px 11px;
        font-size: 12px;
    }

    .enquire-btn,
    .yellow-btn,
    .outline-btn {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    section {
        padding: 40px 5%;
    }

    .course-grid,
    .portfolio-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .technology-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-heading h2 {
        font-size: 26px;
    }

    .why-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .internship h2 {
        font-size: 32px;
    }

    .footer-bottom div {
        flex-direction: column;
        gap: 8px;
    }
}

.profile-picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.course-actions .course-apply-btn:only-child { flex: 1; text-align: center; }
