/* ====================== MASTER FIX – COURSES.CSS ====================== */
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none !important;
    outline: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d47a1;
    --secondary-color: #ffffff;
    --accent-color: #ff2d20;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ==================================== HERO SECTION ==================================== */
.hero-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    padding: 120px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* BUTTONS */
.btn-explore, .btn-contact {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
   font-weight: 700;
  font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 1rem;
    /* box-shadow: 0 10px 30px rgba(255,45,32,0.4); */
}

.btn-explore {
    background: #e02618;
    color: white;
}
.btn-explore:hover {
    background: #e02618;
    color: black;
    /* transform: translateY(-5px); */
    /* box-shadow: 0 15px 35px rgba(255,45,32,0.6); */
}

.btn-contact {
    background: #e02618;
    color: white;
    border: 2px solid #e02618;
}
.btn-contact:hover {
    background: #e02618;
    color: black;
    /* transform: translateY(-5px); */
}

/* HERO IMAGE WRAPPER */
.hero-image-wrapper {
    /* position: relative; */
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    transition: transform 0.4s ease;
    z-index: 1;
}

.hero-image-wrapper:hover .hero-main-img {
    transform: scale(1.05);
}

/* RED COUNTER BOXES (ABOVE IMAGE) */
.hero-counter.red-box {
    position: absolute;
    background: white;
    color: var(--primary-color);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(255, 45, 32, 0.5);
    min-width: 160px;
    z-index: 50; /* 👈 HIGHER than image */
    font-weight: 700;
}

.hero-counter.red-box h3 {
    font-size: 40px;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    color: var(--primary-color);
}

.hero-counter.red-box p {
    margin: 8px 0 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1976d2;
    text-transform: uppercase;
}

/* POSITION FIXES */
.students-counter {
    top: 12%;
    right: 100px;
}
.courses-counter {
    top: -10%;
    right: 30px;
}

/* RESPONSIVE FIXES */
@media (max-width: 1400px) {
    .students-counter { top: 10%; right: -5%; }
    .courses-counter  { top: 50%; right: 68%; }
}
@media (max-width: 1200px) {
    .students-counter { top: 8%; right: -4%; }
    .courses-counter  { top: 48%; right: -4%; }
}
@media (max-width: 991px) {
    .hero-section { padding: 80px 0; text-align: center;height: 180vh; }
    .hero-section h1 { font-size: 2.5rem; }
    .hero-image-wrapper { margin: 40px auto; max-width: 80%; }
    .students-counter, .courses-counter {
        position: static;
        display: inline-block;
        margin: 15px 10px;
    }
}
@media (max-width: 768px) {
    .hero-counter.red-box { padding: 1.2rem 1.5rem;
        min-width: 218px;
        margin-top: 171px;
        margin-right: 62px;
    height: 14vh; }
    .hero-counter.red-box h3 { font-size: 1.5rem; }
    .btn-explore{ display: block; margin: 10px auto; width: fit-content; }
.btn-contact { display: block; margin: 10px auto; width: fit-content;min-width: 225px; }
 #btn-prospectus{margin-left: 10px;}

}


/* CTA SECTION */
.journey-cta {
    padding: 100px 0;
    text-align: center;
    background: white;
}

.journey-cta h4 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.journey-cta p {
    font-size: 1.1rem;
    color: var(--primary-color); /* Changed to primary-color to match blue */
    max-width: 700px;
    margin: 0 auto 1.2rem;
    line-height: 1.8;
}

/* CTA BUTTONS */
.btn-prospectus, .btn-apply-now {
    display: inline-block;
    padding: 1rem 3rem; /* Adjusted padding */
    height: auto; /* Allow height to be determined by content and padding */
    width: auto; /* Allow width to be determined by content and padding */
    min-width: 200px; /* Ensure minimum width for buttons */
    border-radius: 50px;
  font-weight: 700;
  font-size: 1rem; /* Adjusted font size */
    text-align: center;
    transition: all 0.35s ease;
    margin: 0.7rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-prospectus {
    background: #e02618;
    color: white;
    border: 3px solid #e02618;
}
.btn-prospectus:hover {
    background: #e02618;
    color: black;
}

.btn-apply-now {
    background: #e02618;
    color: white;
    border: none;
    box-shadow: 0 12px 35px rgba(255, 45, 32, 0.5);
}
.btn-apply-now:hover {
    background: #e02618;
    color: black;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .btn-prospectus, .btn-apply-now {
        display: block;
        width: 80%;
        margin: 1rem auto;
    }
}
