* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fffaf7;
    color: #351018;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 55px 6%;
}


/* ================= NAVBAR ================= */

.navbar {
    min-height: 72px;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    gap: 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 210px;
}

.logo strong {
    font-size: 40px;
    font-weight: 900;
    color: maroon;
}

.logo b {
    display: block;
    font-size: 20px;
}

.logo small {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    color: #0d0b08;
}

.navbar .nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar .nav-menu a {
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.navbar .nav-menu a:hover,
.navbar .nav-menu a.active {
    color: #ffd27d;
}

.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;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: #4b0717;
    transition: 0.3s ease;
}

.enquire-btn {
    background: #ffd27d;
    color: #4b0717;
    padding: 15px 24px;
    border-radius: 25px;
    font-weight: bold;
    white-space: nowrap;
}


/* ================= 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 {
    border: 1px solid #ffd27d;
    color: white;
}

.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: 43%;
    height: 390px;
    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;
}

.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: #670f21;
    color: white;
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: bold;
    margin: 18px 0;
}

.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(6, 1fr);
    gap: 14px;
}

.course-box {
    background: #680b23;
    color: white;
    min-height: 185px;
    border-radius: 9px;
    padding: 20px 15px;
    transition: 0.3s;
}

.course-box.different {
    background: #a45a0d;
}

.course-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(80,0,20,0.2);
}

.course-icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.course-box h3 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.course-box p {
    font-size: 11px;
    margin-top: 7px;
}


/* ================= TECHNOLOGY ================= */

.technology {
    background: #fffaf7;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}

.technology-grid div {
    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;
}

.technology-grid b {
    font-size: 12px;
}

.technology-grid small {
    font-size: 9px;
    color: #777;
}


/* ================= WHY US ================= */

.why-us {
    background: linear-gradient(120deg, #510719, #780d28);
    color: white;
    text-align: center;
}

.why-us h2 {
    font-size: 28px;
}

.why-us > p {
    color: #ffd27d;
    margin-top: 6px;
}

.why-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.why-grid div {
    padding: 15px 10px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.why-grid span {
    display: block;
    font-size: 30px;
    color: #ffd27d;
    margin-bottom: 12px;
}

.why-grid b {
    font-size: 11px;
    line-height: 1.5;
}


/* ================= 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 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial {
    border: 1px solid #eadbd7;
    border-radius: 10px;
    padding: 22px;
}

.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;
}


/* ================= INTERNSHIP ================= */

.internship {
    background:
        radial-gradient(circle at right, #81213c, transparent 35%),
        #57091c;
    color: white;
}

.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;
}


/* ================= CONTACT ================= */

.contact-strip {
    padding: 30px 6%;
    background: #720d27;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.contact-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-title > span {
    font-size: 35px;
    color: #ffd27d;
}

.contact-title h2 {
    font-size: 19px;
}

.contact-title p {
    font-size: 11px;
    margin-top: 5px;
}

.contact-info {
    display: flex;
    gap: 35px;
    font-size: 11px;
    line-height: 1.8;
}

.contact-info span {
    color: #f2d8dc;
}

.consult-btn {
    background: transparent;
    border: 1px solid #ffd27d;
    color: #ffd27d;
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}


/* ================= FOOTER ================= */

footer {
    background: #430613;
    color: white;
    padding: 30px 6% 15px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo strong {
    font-size: 32px;
}

.footer-logo b,
.footer-logo small {
    display: block;
}

.footer-logo b {
    font-size: 13px;
}

.footer-logo small {
    font-size: 8px;
    color: #e5c7a5;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 11px;
    color: #eadde0;
}

.footer-links a:hover {
    color: #ffd27d;
}

.social {
    display: flex;
    gap: 10px;
}

.social span {
    width: 28px;
    height: 28px;
    border: 1px solid #c78c99;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.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 (max-width: 1100px) {
    .navbar {
        gap: 18px;
    }

    .navbar .nav-menu {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar .nav-menu a {
        font-size: 11px;
    }

    .hero {
        gap: 30px;
    }

    .hero-content {
        width: 50%;
    }

    .hero-image {
        width: 45%;
        height: 360px;
    }

    .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) {
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 14px 5%;
        position: sticky;
    }

    .logo {
        min-width: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar .nav-menu {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 10px;
        border-top: 1px solid #f0e5e2;
    }

    .navbar .nav-menu.open {
        display: flex;
    }

    .navbar .nav-menu a {
        width: 100%;
        padding: 8px 0;
        font-size: 14px;
    }

    .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;
    }

    .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;
    }

    .contact-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .navbar {
        padding: 12px 5%;
    }

    .logo strong {
        font-size: 30px;
    }

    .logo b {
        font-size: 16px;
    }

    .navbar .nav-menu {
        gap: 8px 12px;
        justify-content: flex-start;
    }

    .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 {
        grid-template-columns: 1fr;
    }

    .technology-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .internship h2 {
        font-size: 32px;
    }

    .footer-bottom div {
        flex-direction: column;
        gap: 8px;
    }
}

.hero-image {
    position: relative;
    width: 50%;
    height: 480px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.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;
}
