/* =========================
   SAFFRON HEADER (VISIBLE)
========================= */

.site-header {
    background-color: #E86C1A; /* Deep saffron */
    padding: 14px 0;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo-area {
    display: flex;
    align-items: center;
}

/* ROUND LOGO */
.logo-circle {
    width: 72px;
    height: 72px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.logo-circle img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

/* TEXT VISIBILITY FIX */
.logo-text h2 {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.logo-text p {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.35);
}

/* =========================
   HEADER ACCREDITATION LOGOS
========================= */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-badges img {
    height: 42px;          /* SMALL & PROFESSIONAL */
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.header-badges img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
    .header-badges {
        display: none;   /* Hide on small screens (optional) */
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
}

.site-header {
    background: #1f5fa5;
    color: white;
    padding: 15px;
    text-align: center;
}

.navbar {
    background: #f4f4f4;
    padding: 10px;
    text-align: center;
}

.navbar a {
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

.container {
    padding: 25px;
}

.hero-banner {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay h1 {
    color: #fff;
    font-size: 36px;
    text-align: center;
    margin: 0;
}

.hero {
    background: #eef4ff;
    padding: 40px;
    text-align: center;
}

.primary-btn {
    background: #1f5fa5;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.course-card {
    background: #eaf2fb;
    padding: 15px;
    text-decoration: none;
    color: black;
    border-left: 5px solid #1f5fa5;
}

.course-card:hover {
    background: #1f5fa5;
    color: white;
}

.footer-main {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    max-width: 1200px;
    margin: auto;
}

.footer-column {
    width: 45%;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
    color: #1f5fa5;
    font-size: 14px;
}

.footer-column p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    margin-right: 15px;
    text-decoration: none;
    font-size: 14px;
    color: #1f5fa5;
    font-weight: 500;
}

.footer-bottom {
    background: #1f5fa5;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 13px;
}


/* ================= CONTACT PAGE ================= */

.contact-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.page-title {
    margin: 30px 0;
    font-size: 28px;
}

.contact-wrapper {
    padding: 20px 0 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details .contact-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-details .icon {
    font-size: 26px;
    background: #1f5fa5;
    color: white;
    padding: 12px;
    border-radius: 50%;
}

.contact-details h4 {
    margin: 0 0 5px;
}

.contact-form {
    background: #f7f9fc;
    padding: 25px;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.page-title {
    margin-bottom: 30px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.course-card {
    background: #ffffff;
    padding: 22px;
    border-radius: 6px;
    border-left: 5px solid #1f5fa5;
    text-decoration: none;
    color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.course-card h3 {
    margin-top: 0;
    color: #1f5fa5;
}

.course-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ==============================
   HIRING PARTNERS SLIDER
============================== */

.partners-section {
    padding: 50px 0;
    text-align: center;
}

.partners-section h2 {
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: 600;
}

.partners-slider {
    overflow: hidden;
    width: 100%;
    background: #ffffff;
}

.partners-track {
    display: flex;
    width: calc(220px * 12); /* 6 logos × 2 */
    animation: scrollPartners 25s linear infinite;
}

.partner-logo {
    width: 220px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.partner-logo img {
    width: 180px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* SLIDE ANIMATION */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =========================
   ENQUIRY FORM STYLING
========================= */

.enquiry-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 15px;
}

.enquiry-card {
    background: #ffffff;
    max-width: 850px;
    width: 100%;
    padding: 35px 40px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.enquiry-header {
    text-align: center;
    margin-bottom: 30px;
}

.enquiry-header h2 {
    color: #1f5fa5;
    margin-bottom: 8px;
}

.enquiry-header p {
    color: #666;
    font-size: 14px;
}

.enquiry-form label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    margin-top: 5px;
}

.enquiry-form textarea {
    min-height: 100px;
    resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: #1f5fa5;
}

.form-actions {
    text-align: center;
    margin-top: 25px;
}

.submit-btn {
    background: #1f5fa5;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #174b82;
}
.form-select {
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    background-color: #fff;
}


/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* =========================
   COURSE CARD HOVER FIX
========================= */

.course-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    border-left: 6px solid #1f5fa7;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* NORMAL TEXT */
.course-card h3 {
    color: #1f5fa7;
    transition: color 0.3s ease;
}

.course-card p {
    color: #333333;
    transition: color 0.3s ease;
}

/* HOVER STATE */
.course-card:hover {
    background: #1f5fa7;
    transform: translateY(-4px);
}

/* 🔥 CRITICAL FIX — TEXT TURNS WHITE */
.course-card:hover h3,
.course-card:hover p {
    color: #ffffff !important;
}

/* =========================
   TEXT SPACING OPTIMIZATION
========================= */

/* GLOBAL TEXT READABILITY */
body {
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* SECTION CONTAINERS */
section {
    margin-bottom: 60px;
}

/* HEADINGS */
h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

h2 {
    font-size: 26px;
    margin-bottom: 18px;
    line-height: 1.35;
}

h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

/* PARAGRAPHS */
p {
    margin-bottom: 16px;
    font-size: 15px;
    color: #333;
}

/* BULLET-STYLE LISTS (• style) */
ul,
ol {
    margin-top: 10px;
    margin-bottom: 18px;
    padding-left: 22px;
}

ul li,
ol li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
}

/* CUSTOM BULLET TEXT (• used manually) */
section div,
section span {
    line-height: 1.7;
}

/* CARD TEXT (Courses, Info Blocks) */
.course-card h3 {
    margin-bottom: 10px;
}

.course-card p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* FORM TEXT */
.enquiry-header p {
    margin-bottom: 25px;
    line-height: 1.6;
}

/* FOOTER TEXT */
.footer-column p,
.footer-column li {
    line-height: 1.6;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    body {
        line-height: 1.6;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    p,
    ul li {
        font-size: 14px;
    }

    section {
        margin-bottom: 45px;
    }
}

/* =========================
   FEEDBACK FORM
========================= */

.feedback-container {
    max-width: 900px;
    margin: 40px auto;
}

.feedback-title {
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}

.feedback-note {
    font-size: 13px;
    text-align: center;
    margin: 15px 0 30px;
}

.feedback-form {
    border: 1px solid #ccc;
    padding: 25px;
}

.feedback-section {
    margin: 30px 0;
}

.feedback-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.feedback-table th,
.feedback-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

.feedback-table th:first-child,
.feedback-table td:first-child {
    text-align: left;
}

.feedback-table input {
    transform: scale(1.1);
}

/* =========================
   WHATSAPP FLOAT – FORCE FIX
========================= */

.whatsapp-float {
    position: fixed !important;
    bottom: 120px !important;   /* FORCE above footer */
    right: 25px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important;
    z-index: 99999 !important;
}

.whatsapp-float img {
    width: 32px !important;
    height: 32px !important;
}

/* MOBILE */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 140px !important;
        right: 18px !important;
    }
}

/* =========================
   A4 PAGE LAYOUT
========================= */

.a4-wrapper {
    background: #f2f2f2;
    padding: 40px 0;
}

.a4-page {
    width: 210mm;          /* A4 width */
    min-height: 297mm;     /* A4 height */
    margin: auto;
    background: #ffffff;
    padding: 25mm 20mm;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

/* Force clean typography */
.a4-page * {
    box-sizing: border-box;
}

/* Prevent responsive scrambling */
@media (max-width: 768px) {
    .a4-page {
        width: 100%;
        padding: 20px;
        box-shadow: none;
    }
}
