
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* HEADER */
header {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h2 {
    margin: 0;
    color: #0b2a44;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(11,42,68,0.8), rgba(11,42,68,0.8)), 
                url('https://images.unsplash.com/photo-1518770660439-4636190af475');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;
}

.btn {
    display: inline-block;
    margin: 10px;
    padding: 12px 22px;
    background: #f57c00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* SECTION */
.section {
    padding: 40px 20px;
    text-align: center;
}

/* COURSES */
.courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.course {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.course:hover {
    background: #f57c00;
    color: white;
}

/* FOOTER */
footer {
    background: #0b2a44;
    color: white;
    text-align: center;
    padding: 20px;
}

/* WHATSAPP BUTTON */
.whatsapp {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #0b2a44;
    font-weight: 500;
}

nav a:hover {
    color: #f57c00;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav {
        margin-top: 10px;
    }
}
/* STICKY HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}

/* Optional shadow when scrolling */
header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
html {
    scroll-behavior: smooth;
}

/* SLIDER */
.slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    background-size: cover;
    background-position: center;
}

/* Background Images */
.slide:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1581090700227-4c4f50b6a7a8');
}

.slide:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c');
}

.slide:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1586717791821-3f44a563fa4c');
}

.slide.active {
    display: block;
}

/* Overlay */
.overlay {
    background: rgba(11,42,68,0.75);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.overlay h1 {
    font-size: 36px;
}

.overlay p {
    max-width: 600px;
}

.btn {
    margin-top: 15px;
    padding: 12px 20px;
    background: #f57c00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
/* SLIDER */
.slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Backgrounds */
.slide:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1581090700227-4c4f50b6a7a8');
}

.slide:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c');
}

.slide:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1586717791821-3f44a563fa4c');
}

/* Overlay */
.overlay {
    background: rgba(11,42,68,0.75);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.overlay h1 {
    font-size: 36px;
}

.overlay p {
    max-width: 600px;
}
/* DOTS */
.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 5px;
    display: inline-block;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #f57c00;
    transform: scale(1.2);
}

/* SECTION */
.why-section {
    padding: 20px 10px;
    background: #f8fafc;
    text-align: center;
}

.title {
    font-size: 30px;
    color: #0b2a44;
    margin-bottom: 15px;
}

/* GRID */
.why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* BOX */
.why-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
}

/* HOVER */
.why-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* ICON */
.icon {
    font-size: 35px;
    margin-bottom: 10px;
}

/* TEXT */
.why-box h3 {
    font-size: 18px;
    color: #0b2a44;
    margin-bottom: 8px;
}

.why-box p {
    font-size: 14px;
    color: #555;
}

/* SECTION */
.course-section {
    padding: 20px 10px;
    background: linear-gradient(303deg, #dcf1bf, #98cdfa);
    text-align: center;
}

.title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0b2a44;
}

/* GRID */
.course-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

/* CARD */
.course-card {
    position: relative;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 18px;
    transition: 0.4s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* GRADIENT BORDER */
.course-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(45deg, #f57c00, #ff9800);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* HOVER EFFECT */
.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ICON */
.course-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.course-logo {
    height: 45px;
    margin-bottom: 10px;
}

/* RIBBON */
.ribbon {
    position: absolute;
    top: 15px;
    left: -10px;
    background: #f57c00;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    transform: rotate(-15deg);
}

/* TEXT */
.course-card h3 {
    margin-bottom: 10px;
    color: #0b2a44;
}

.course-card p {
    font-size: 14px;
    color: #555;
}

/* RATING */
.rating {
    color: #ff9800;
    font-size: 14px;
    margin: 5px 0;
}

.rating span {
    color: #555;
}

/* STUDENTS */
.students {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: linear-gradient(45deg, #f57c00, #ff9800);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}
/* BUTTON */
/* RIGHT SIDE FLOATING BUTTON */
.inquiry-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);

    background: #f57c00;
    color: white;

    padding: 10px 20px;
    border: none;

    border-radius: 5px 5px 0 0;
    font-weight: 600;
    cursor: pointer;

    z-index: 9999;
}

/* OVERLAY */
.popup-overlay {
    display: none; /* important */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* SMALL BOX */
.popup-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;   /* 👈 small size */
    text-align: center;
    position: relative;
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 20px;
    cursor: pointer;
}

/* FORM */
.popup-box input,
.popup-box select {
    width: 90%;
    margin: 8px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-box button {
    width: 100%;
    padding: 10px;
    background: #f57c00;
    color: white;
    border: none;
    border-radius: 5px;
}
.popup-box {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* SECTION */
.contact-section {
    padding: 20px 10px;
    background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

/* BOX */
.contact-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.contact-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* ICON */
.contact-box .icon {
    font-size: 35px;
    margin-bottom: 10px;
}

/* TEXT */
.contact-box h3 {
    color: #0b2a44;
    margin-bottom: 8px;
}

.contact-box p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}
.footer {
    background: #0b2a44;
    color: white;
    padding: 8px 8px;
    display: flex;
    justify-content: center ;
    align-items: center;
    
}

/* ICONS */
.social-icons a {
    color: white;
    font-size: 18px;
    margin-left: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #f57c00;
}

/* MOBILE */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ABOUT HERO */
.about-hero {
    background: linear-gradient(rgba(11,42,68,0.8), rgba(11,42,68,0.8)),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475');
    color: rgb(255, 219, 219);
    text-align: center;
    padding: 60px 20px;
}

/* SECTION */
.section {
    padding: 20px 10px;
    text-align: center;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

/* ABOUT SECTION */
.about-section {
    padding: 20px 10px;
    background: #f8fafc;
}

.about-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

/* TEXT */
.about-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.highlight {
    color: #f57c00;
    font-weight: 600;
}

.mission {
    background: #fff3e0;
    padding: 12px;
    border-left: 4px solid #f57c00;
    border-radius: 5px;
}

/* RIGHT BOXES */
.about-boxes {
    display: grid;
    gap: 15px;
}

.about-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.about-box h3 {
    color: #f57c00;
    margin-bottom: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

/* CONTACT PAGE */
.contact-page {
    padding: 60px 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

/* INFO */
.contact-info h2 {
    margin-bottom: 15px;
    color: #0b2a44;
}

.contact-info p {
    margin-bottom: 12px;
    color: #555;
    font-size: 15px;
}

.contact-info i {
    color: #f57c00;
    margin-right: 8px;
}

/* FORM */
.contact-form h2 {
    margin-bottom: 15px;
    color: #0b2a44;
}

.contact-form input,
.contact-form select {
    width: 100%;
    margin: 8px 0;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #f57c00;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* MAP */
.map-section {
    margin-top: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
/* COURSE PAGE */
.course-page {
    padding: 60px 20px;
}

.course-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* CARD */
.course-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.course-card h3 {
    color: #0b2a44;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 14px;
    color: #555;
}

/* BUTTON */
.course-card .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #f57c00;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}