/* =========================================================
   STAR INFOTECH - MAIN STYLESHEET
   Cleaned and updated version
========================================================= */


/* =========================
   GLOBAL RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #263238;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================
   ANNOUNCEMENT BAR
========================= */

.announcement-bar {
    background: #072d78;
    color: #ffffff;
    padding: 9px 0;
    font-size: 14px;
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.announcement-content strong {
    color: #ffd000;
}

.announcement-btn {
    display: inline-block;
    background: #e91c24;
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: 0.3s ease;
}

.announcement-btn:hover {
    background: #c81018;
}


/* =========================
   MAIN HEADER
========================= */

.main-header {
    background: #ffffff;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand a {
    display: block;
    text-decoration: none;
}

.main-logo {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* These remain harmless if old brand text is still present */
.brand-text h1 {
    color: #082d75;
    font-size: 26px;
    line-height: 1;
}

.brand-text p {
    margin-top: 6px;
    color: #333333;
    font-size: 13px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.info-icon {
    background: #0b3f96;
    color: #ffffff;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.whatsapp-icon {
    background: #25D366;
    color: #ffffff;
    font-size: 25px;
}

.whatsapp-icon i {
    line-height: 1;
}

.header-info span {
    display: block;
    font-size: 12px;
    color: #777777;
}

.header-info strong {
    display: block;
    font-size: 14px;
    color: #111111;
    line-height: 1.4;
}
/* CLICKABLE PHONE & WHATSAPP NUMBERS */

.header-info a {
    color: #111111;
    text-decoration: none;
}

.header-info a:hover {
    color: #174ea6;
}

/* =========================
   NAVIGATION
========================= */

.navbar {
    background: #063786;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-brand {
    display: none;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    width: 100%;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: block;
    padding: 17px 14px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.25s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    background: #f5b800;
    color: #111111;
}


/* =========================
   DROPDOWN MENU
========================= */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 245px;
    background: #06469f;
    list-style: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    z-index: 1100;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    color: #ffffff;
    padding: 13px 18px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
}

.dropdown-menu a:hover {
    background: #07377d;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-size: 25px;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    background: #eef5ff;
    padding: 75px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.small-heading {
    color: #174ea6;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #263238;
}

.hero-text h2 span {
    color: #174ea6;
}

.hero-text > p {
    font-size: 18px;
    max-width: 650px;
}

.hero-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
    transition: 0.3s ease;
}

.primary-btn {
    background: #174ea6;
    color: #ffffff;
}

.primary-btn:hover {
    background: #103c84;
}

.secondary-btn {
    border: 2px solid #174ea6;
    color: #174ea6;
    background: transparent;
}

.secondary-btn:hover {
    background: #174ea6;
    color: #ffffff;
}

.hero-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.hero-box h3 {
    margin-bottom: 14px;
    color: #111827;
    font-size: 24px;
}
.program {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 8px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: #1f2937;
    transition: 0.3s ease;
}

.program:last-child {
    border-bottom: none;
}

.program:hover {
    transform: translateX(4px);
}

.program-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.program span {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.program-arrow {
    color: #64748b;
    font-size: 14px;
}

.program-blue .program-icon {
    background: #dbeafe;
    color: #2563eb;
}

.program-green .program-icon {
    background: #dcfce7;
    color: #16a34a;
}

.program-orange .program-icon {
    background: #ffedd5;
    color: #ea580c;
}

.program-purple .program-icon {
    background: #f3e8ff;
    color: #9333ea;
}


/* =========================
   COMMON SECTION STYLES
========================= */

.categories {
    padding: 55px 0 70px;
}

.why-us {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title p {
    color: #174ea6;
    font-weight: bold;
}

.section-title h2 {
    font-size: 34px;
    color: #1f2937;
}


/* =========================
   COURSE CATEGORY CARDS
========================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 26px;
    border-radius: 16px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
}

.category-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.category-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 21px;
}

.category-card h3 {
    margin: 0;
    font-size: 20px;
}

.category-card p {
    margin-bottom: 16px;
    color: #475569;
}

.category-card ul {
    padding-left: 20px;
    margin-bottom: 22px;
    color: #334155;
}

.category-card ul li {
    margin-bottom: 5px;
}

.category-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    text-decoration: none;
}

.category-link:hover {
    gap: 12px;
}


/* BLUE CARD */

.card-blue {
    border-top: 4px solid #2563eb;
}

.card-blue .category-icon {
    background: #dbeafe;
    color: #2563eb;
}

.card-blue h3,
.card-blue .category-link {
    color: #2563eb;
}


/* GREEN CARD */

.card-green {
    border-top: 4px solid #16a34a;
}

.card-green .category-icon {
    background: #dcfce7;
    color: #16a34a;
}

.card-green h3,
.card-green .category-link {
    color: #16a34a;
}


/* ORANGE CARD */

.card-orange {
    border-top: 4px solid #ea580c;
}

.card-orange .category-icon {
    background: #ffedd5;
    color: #ea580c;
}

.card-orange h3,
.card-orange .category-link {
    color: #ea580c;
}


/* PURPLE CARD */

.card-purple {
    border-top: 4px solid #9333ea;
}

.card-purple .category-icon {
    background: #f3e8ff;
    color: #9333ea;
}

.card-purple h3,
.card-purple .category-link {
    color: #9333ea;
}

/* =========================
   WHY CHOOSE STAR INFOTECH
========================= */

.why-us {
    background: #f8fafc;
    padding: 70px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: 16px;
    border: 1px solid #e8edf3;
    text-align: center;
    transition: 0.3s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
}

.feature h3 {
    margin-bottom: 12px;
    color: #1f2937;
    font-size: 19px;
}

.feature p {
    color: #64748b;
    font-size: 15px;
}


/* FEATURE COLORS */

.feature-blue .feature-icon {
    background: #dbeafe;
    color: #2563eb;
}

.feature-green .feature-icon {
    background: #dcfce7;
    color: #16a34a;
}

.feature-orange .feature-icon {
    background: #ffedd5;
    color: #ea580c;
}

.feature-purple .feature-icon {
    background: #f3e8ff;
    color: #9333ea;
}

/* =========================
   LATEST UPDATES SECTION
========================= */

.updates-section {
    padding: 70px 0;
    background: #ffffff;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.update-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    transition: 0.3s ease;
}

.update-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.update-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.update-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.update-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: #1f2937;
}

.update-card p {
    color: #64748b;
    margin-bottom: 22px;
}

.update-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    text-decoration: none;
}

.update-link:hover {
    gap: 12px;
}


/* BLUE UPDATE */

.update-blue {
    border-top: 4px solid #2563eb;
}

.update-blue .update-icon {
    background: #dbeafe;
    color: #2563eb;
}

.update-blue .update-badge {
    background: #dbeafe;
    color: #2563eb;
}

.update-blue .update-link {
    color: #2563eb;
}


/* GREEN UPDATE */

.update-green {
    border-top: 4px solid #16a34a;
}

.update-green .update-icon {
    background: #dcfce7;
    color: #16a34a;
}

.update-green .update-badge {
    background: #dcfce7;
    color: #16a34a;
}

.update-green .update-link {
    color: #16a34a;
}


/* ORANGE UPDATE */

.update-orange {
    border-top: 4px solid #ea580c;
}

.update-orange .update-icon {
    background: #ffedd5;
    color: #ea580c;
}

.update-orange .update-badge {
    background: #ffedd5;
    color: #ea580c;
}

.update-orange .update-link {
    color: #ea580c;
}
/* =========================
   CERTIFICATE VERIFICATION
========================= */

.verification-section {
    padding: 70px 0;
    background: #f8fafc;
}

.verification-box {
    background: linear-gradient(135deg, #eef5ff, #ffffff);
    padding: 42px;
    border-radius: 18px;
    border: 1px solid #dbeafe;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.verification-content {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.verification-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    background: #dbeafe;
    color: #174ea6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}

.verification-content h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #1f2937;
}

.verification-content p {
    color: #64748b;
    max-width: 650px;
}

.verification-points {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.verification-points span {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.verification-points i {
    color: #16a34a;
    margin-right: 5px;
}

.verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #174ea6;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: 0.3s ease;
}

.verify-btn:hover {
    background: #103c84;
    transform: translateY(-2px);
}

.verify-btn i {
    font-size: 18px;
}

/* =========================
   CONTACT CTA
========================= */

.contact-cta {
    background: linear-gradient(135deg, #0b3f96, #174ea6);
    color: #ffffff;
    padding: 60px 0;
}

.contact-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.contact-cta-text {
    max-width: 650px;
}

.cta-small {
    color: #ffd54f;
    font-weight: bold;
    margin-bottom: 6px;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-cta p {
    margin-bottom: 0;
}

.contact-cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cta-light-btn {
    background: #ffffff;
    color: #174ea6;
}

.cta-light-btn:hover {
    background: #f1f5f9;
}

.cta-whatsapp-btn {
    background: #25D366;
    color: #ffffff;
}

.cta-whatsapp-btn:hover {
    background: #1da851;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 45px;
}

footer h3 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 19px;
}

footer p {
    margin-bottom: 12px;
    font-size: 14px;
}

footer a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.25s ease;
}

footer a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-about p {
    max-width: 340px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin: 0;
}

.footer-social a:hover {
    background: #174ea6;
    padding-left: 0;
}

.copyright {
    border-top: 1px solid #334155;
    text-align: center;
    padding: 18px;
    font-size: 14px;
}
/* =========================
   ABOUT PAGE
========================= */

.page-banner {
    background: linear-gradient(135deg, #0b3f96, #174ea6);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.page-banner p {
    color: #ffd54f;
    font-weight: bold;
    margin-bottom: 8px;
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-banner span {
    font-size: 16px;
    color: #e2e8f0;
}


/* ABOUT MAIN SECTION */

.about-section {
    padding: 70px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 45px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    color: #1f2937;
    margin-bottom: 18px;
}

.about-content p {
    color: #64748b;
    margin-bottom: 16px;
}

.about-content .btn {
    margin-top: 10px;
}

.about-highlight {
    background: #eef5ff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.about-highlight-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #174ea6;
    font-size: 30px;
}

.about-highlight h3 {
    font-size: 26px;
    color: #174ea6;
    margin-bottom: 8px;
}

.about-highlight p {
    color: #475569;
    margin-bottom: 18px;
}

.about-location {
    color: #334155;
    font-weight: 600;
    line-height: 1.6;
}

.about-location i {
    color: #e11d48;
    margin-right: 6px;
}


/* =========================
   MANAGING DIRECTOR
========================= */

.director-section {
    padding: 70px 0;
    background: #f8fafc;
}

.director-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.director-section .section-title p {
    color: #174ea6;
    font-weight: 700;
    margin-bottom: 8px;
}

.director-section .section-title h2 {
    font-size: 34px;
    color: #1f2937;
}

.director-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: center;
}

.director-photo {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.director-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.director-content .small-heading {
    color: #f5a800;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.director-content h2 {
    font-size: 34px;
    color: #174ea6;
    margin-bottom: 18px;
}

.director-content > p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.director-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.director-highlights span {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.director-highlights i {
    color: #174ea6;
    font-size: 18px;
}

.director-message {
    background: #eef5ff;
    border-left: 4px solid #174ea6;
    border-radius: 10px;
    padding: 20px 22px;
    margin-top: 22px;
}

.director-message > i {
    color: #174ea6;
    font-size: 22px;
    margin-bottom: 8px;
}

.director-message p {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

/* MISSION & VISION */

.mission-section {
    padding: 70px 0;
    background: #f8fafc;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.mission-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.mission-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #174ea6;
    font-size: 24px;
    margin-bottom: 18px;
}

.mission-card h3 {
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 12px;
}

.mission-card p {
    color: #64748b;
}


/* ABOUT SERVICES */

.about-services {
    padding: 70px 0;
    background: #ffffff;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-service {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s ease;
}

.about-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.about-service i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #dbeafe;
    color: #174ea6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.about-service h3 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 19px;
}

.about-service p {
    color: #64748b;
    font-size: 14px;
}
/* =========================
   ENROLMENT PAGE
========================= */

.enrol-section {
    padding: 70px 0;
    background: #f8fafc;
}

.enrol-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 35px;
    align-items: start;
}

.enrol-form-box,
.enrol-info-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.enrol-form-box {
    padding: 35px;
}

.enrol-form-box h2 {
    font-size: 32px;
    color: #1f2937;
    margin-bottom: 12px;
}

.enrol-intro {
    color: #64748b;
    margin-bottom: 28px;
}

.enrol-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 7px;
}

.form-group label span {
    color: #e11d48;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: #1f2937;
    background: #ffffff;
    outline: none;
    transition: 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #174ea6;
    box-shadow: 0 0 0 3px rgba(23, 78, 166, 0.10);
}

.form-group textarea {
    resize: vertical;
}

.full-width {
    margin-top: 20px;
}

.enrol-submit-btn {
    margin-top: 22px;
    border: none;
    background: #174ea6;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: 0.3s ease;
}

.enrol-submit-btn:hover {
    background: #103c84;
    transform: translateY(-2px);
}


/* RIGHT SIDE INFORMATION */

.enrol-info-box {
    padding: 32px;
}

.enrol-info-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #dbeafe;
    color: #174ea6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.enrol-info-box h3 {
    font-size: 24px;
    color: #1f2937;
    margin-bottom: 12px;
}

.enrol-info-box > p {
    color: #64748b;
    margin-bottom: 25px;
}

.enrol-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.enrol-contact-item > i {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #eef5ff;
    color: #174ea6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.enrol-contact-item strong {
    display: block;
    color: #1f2937;
    margin-bottom: 3px;
}

.enrol-contact-item a,
.enrol-contact-item span {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.enrol-contact-item a:hover {
    color: #174ea6;
}
/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 1100px) {

    .main-logo {
        width: 255px;
    }

    .header-content {
        gap: 18px;
    }

    .header-info strong {
        font-size: 13px;
    }

    .nav-links > li > a {
        padding: 16px 10px;
        font-size: 12px;
    }
}


@media (max-width: 950px) {
.about-grid {
    grid-template-columns: 1fr;
}
    .enrol-grid {
    grid-template-columns: 1fr;
}

.enrol-info-box {
    max-width: 600px;
}
.director-grid {
    grid-template-columns: 1fr;
}

.director-photo {
    max-width: 350px;
    margin: 0 auto;
}

.director-photo img {
    height: auto;
}

.director-content {
    text-align: left;
}
.about-services-grid {
    grid-template-columns: repeat(2, 1fr);
}
    .announcement-content {
        justify-content: space-between;
    }
.updates-grid {
    grid-template-columns: 1fr;
}
    .header-info {
        display: none;
    }

    .brand {
        margin: 0 auto;
    }

    .main-logo {
        width: 280px;
    }

    .nav-container {
        padding: 10px 0;
    }

    .mobile-brand {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        background: #063786;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links > li > a {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 14px 20px;
        font-size: 13px;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        background: #052d71;
    }

    .dropdown:hover > .dropdown-menu {
        display: none;
    }

    .dropdown.open > .dropdown-menu {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h2 {
        font-size: 38px;
    }

    .category-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .verification-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .verification-content {
    width: 100%;
}

.verify-btn {
    width: 100%;
    justify-content: center;
}
    .contact-cta-content {
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid {
    grid-template-columns: repeat(2, 1fr);
}
}
/* =========================
   ENQUIRY FORM MESSAGES
========================= */

.form-message {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
}

.success-message {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.error-message {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 600px) {
.page-banner {
    padding: 45px 20px;
}
    .enrol-section {
    padding: 50px 0;
}

.enrol-form-box,
.enrol-info-box {
    padding: 24px 20px;
}

.enrol-form-box h2 {
    font-size: 27px;
}

.form-grid {
    grid-template-columns: 1fr;
}

.enrol-submit-btn {
    width: 100%;
    justify-content: center;
}
.director-section {
    padding: 50px 0;
}

.director-section .section-title h2 {
    font-size: 28px;
}

.director-content h2 {
    font-size: 28px;
}

.director-highlights {
    grid-template-columns: 1fr;
}

.director-photo {
    max-width: 290px;
}
.page-banner h1 {
    font-size: 34px;
}

.about-content h2 {
    font-size: 30px;
}

.mission-grid,
.about-services-grid {
    grid-template-columns: 1fr;
}
    .announcement-bar {
        text-align: center;
    }

    .announcement-content {
        flex-direction: column;
        gap: 6px;
    }

    .main-header {
        padding: 12px 0;
    }

    .main-logo {
        width: 230px;
    }

    .brand-text h1 {
        font-size: 21px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .hero-text > p {
        font-size: 16px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        margin-right: 0;
        text-align: center;
    }

    .category-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .contact-cta h2 {
        font-size: 30px;
    }

    .verification-box {
        padding: 28px 22px;
    }
    .verification-content {
    flex-direction: column;
}

.verification-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 25px;
}

.verification-content h2 {
    font-size: 26px;
}

.verification-points {
    flex-direction: column;
    gap: 8px;
}
    .contact-cta-buttons {
    width: 100%;
    flex-direction: column;
}

.contact-cta-buttons .btn {
    width: 100%;
    text-align: center;
}

.footer-grid {
    grid-template-columns: 1fr;
}
}

/* =========================
   ADMIN LOGIN
========================= */

.admin-login-page {
    min-height: 100vh;
    background: #eef5ff;
}

.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.admin-login-box {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.admin-login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.admin-login-logo img {
    width: 260px;
    max-width: 100%;
}

.admin-login-heading {
    text-align: center;
    margin-bottom: 28px;
}

.admin-login-heading p {
    color: #174ea6;
    font-weight: 700;
    margin-bottom: 5px;
}

.admin-login-heading h1 {
    font-size: 30px;
    color: #1f2937;
    margin-bottom: 8px;
}

.admin-login-heading span {
    color: #64748b;
    font-size: 14px;
}

.admin-login-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-form-group {
    margin-bottom: 18px;
}

.admin-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 7px;
}

.admin-input-box {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.admin-input-box i {
    width: 45px;
    text-align: center;
    color: #174ea6;
}

.admin-input-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 13px 12px 13px 0;
    font-size: 15px;
    font-family: inherit;
}

.admin-input-box:focus-within {
    border-color: #174ea6;
    box-shadow: 0 0 0 3px rgba(23, 78, 166, 0.10);
}

.admin-login-btn {
    width: 100%;
    border: none;
    background: #174ea6;
    color: #ffffff;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: 0.3s ease;
}

.admin-login-btn:hover {
    background: #103c84;
}

.admin-login-footer {
    text-align: center;
    margin-top: 22px;
}

.admin-login-footer a {
    color: #174ea6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.admin-login-footer a:hover {
    text-decoration: underline;
}
/* =========================
   ADMIN DASHBOARD
========================= */

.admin-dashboard-page {
    background: #f1f5f9;
    min-height: 100vh;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}


/* SIDEBAR */

.admin-sidebar {
    width: 250px;
    min-width: 250px;
    background: #0f2f6d;
    color: #ffffff;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 25px 18px;
}

.admin-sidebar-logo {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 28px;
}

.admin-sidebar-logo img {
    width: 100%;
    display: block;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.admin-menu a {
    color: #dbeafe;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.admin-menu a i {
    width: 20px;
    text-align: center;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: #174ea6;
    color: #ffffff;
}

.admin-menu .admin-logout-link {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.08);
}


/* MAIN */

.admin-main {
    margin-left: 250px;
    width: calc(100% - 250px);
    padding: 32px;
}


/* TOP BAR */

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.admin-topbar p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 2px;
}

.admin-topbar h1 {
    font-size: 32px;
    color: #1f2937;
}

.admin-user-box {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.admin-user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dbeafe;
    color: #174ea6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-user-box span {
    display: block;
    color: #64748b;
    font-size: 11px;
}

.admin-user-box strong {
    color: #1f2937;
    font-size: 14px;
}


/* STATISTICS */

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.admin-stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.admin-stat-card span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 3px;
}

.admin-stat-card strong {
    font-size: 28px;
    color: #1f2937;
}

.stat-blue .admin-stat-icon {
    background: #dbeafe;
    color: #2563eb;
}

.stat-orange .admin-stat-icon {
    background: #ffedd5;
    color: #ea580c;
}

.stat-purple .admin-stat-icon {
    background: #f3e8ff;
    color: #9333ea;
}

.stat-green .admin-stat-icon {
    background: #dcfce7;
    color: #16a34a;
}


/* PANEL */

.admin-panel {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-panel-header p {
    color: #174ea6;
    font-weight: 700;
    font-size: 13px;
}

.admin-panel-header h2 {
    font-size: 22px;
    color: #1f2937;
}

.admin-view-all-btn {
    text-decoration: none;
    background: #174ea6;
    color: #ffffff;
    padding: 9px 15px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}


/* TABLE */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #f8fafc;
    color: #475569;
    text-align: left;
    padding: 13px 15px;
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 15px;
    border-top: 1px solid #f1f5f9;
    color: #475569;
    font-size: 13px;
    vertical-align: middle;
}

.admin-table td strong {
    color: #1f2937;
}

.admin-empty {
    text-align: center;
    padding: 30px !important;
}


/* STATUS */

.admin-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.status-new {
    background: #ffedd5;
    color: #c2410c;
}

.status-contacted {
    background: #f3e8ff;
    color: #7e22ce;
}

.status-enrolled {
    background: #dcfce7;
    color: #15803d;
}

.status-closed {
    background: #e2e8f0;
    color: #475569;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .admin-sidebar {
        position: static;
        width: 100%;
        min-width: 0;
        min-height: auto;
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
        padding: 22px;
    }

    .admin-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 550px) {

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-menu {
        grid-template-columns: 1fr;
    }

}
/* =========================
   ADMIN ENQUIRIES
========================= */

.admin-alert {
    padding: 13px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
}

.admin-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.admin-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

.admin-enquiry-table td {
    min-width: 110px;
}

.admin-enquiry-table td:nth-child(2) {
    min-width: 140px;
}

.admin-enquiry-table td:nth-child(3) {
    min-width: 160px;
}

.admin-enquiry-table td:nth-child(5),
.admin-enquiry-table td:nth-child(6) {
    min-width: 150px;
}

.admin-message-cell {
    max-width: 220px;
    min-width: 180px !important;
    white-space: normal;
}

.admin-table td a {
    color: #174ea6;
    text-decoration: none;
    font-weight: 600;
}

.admin-table td small {
    display: block;
    color: #94a3b8;
    margin-top: 3px;
    font-size: 11px;
}

.admin-status-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-status-select {
    padding: 7px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    outline: none;
}

.admin-status-select:focus {
    border-color: #174ea6;
}

.admin-status-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #174ea6;
    color: #ffffff;
    cursor: pointer;
    transition: 0.25s ease;
}

.admin-status-btn:hover {
    background: #103c84;
}
/* =========================
   CERTIFICATE MANAGEMENT
========================= */

.certificate-form-panel {
    margin-bottom: 30px;
}

.certificate-admin-form {
    padding: 25px;
}

.certificate-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}

.certificate-form-group {
    display: flex;
    flex-direction: column;
}

.certificate-form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 7px;
}

.certificate-form-group input,
.certificate-form-group select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 14px;
    background: #ffffff;
    color: #334155;
    outline: none;
}

.certificate-form-group input:focus,
.certificate-form-group select:focus {
    border-color: #174ea6;
}

.certificate-submit-btn {
    border: none;
    background: #174ea6;
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.certificate-submit-btn:hover {
    background: #103c84;
}

.certificate-list-panel {
    margin-top: 0;
}

.certificate-status-valid {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.certificate-status-cancelled {
    display: inline-block;
    background: #fee2e2;
    color: #b91c1c;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 700px) {

    .certificate-form-grid {
        grid-template-columns: 1fr;
    }

}
.certificate-qr-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: #174ea6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.certificate-qr-btn:hover {
    background: #103c84;
    color: #ffffff;
}
/* FIX QR BUTTON INSIDE ADMIN TABLE */

.admin-table td a.certificate-qr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 8px 12px;

    background: #174ea6;
    color: #ffffff !important;

    text-decoration: none;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

.admin-table td a.certificate-qr-btn:hover {
    background: #103c84;
    color: #ffffff !important;
}
/* CERTIFICATE ACTION BUTTONS */

.certificate-action-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: nowrap;
}

.admin-table td a.certificate-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f59e0b;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-table td a.certificate-edit-btn:hover {
    background: #d97706;
    color: #ffffff !important;
}