/* Import a modern Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* =========================================
   GENERAL DESKTOP STYLES
   ========================================= */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Beautiful Header */
header {
    background: linear-gradient(135deg, #0a2540 0%, #173f66 100%);
    color: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px;
    color: #ffd700; /* Gold Accent */
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffd700;
}

/* Page Containers */
main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 50vh;
}

/* Hero Section (Homepage Banner) */
.hero {
    background: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 40px;
    color: #0a2540;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* Modern Action Buttons */
.btn {
    display: inline-block;
    background-color: #ffd700;
    color: #0a2540;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Course Cards Layout */
.card-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    width: 300px;
    border-top: 5px solid #0a2540;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: #0a2540;
    margin-top: 0;
    font-size: 22px;
}

.card ul {
    list-style-type: none;
    padding: 0;
}

.card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.card ul li:last-child {
    border-bottom: none;
}

/* Forms */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 0 auto;
}

.contact-form label {
    font-weight: 600;
    color: #0a2540;
    display: block;
    margin-top: 15px;
}

.contact-form input {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box; /* Keeps inputs from breaking out of the box */
}

/* Beautiful Footer */
footer {
    text-align: center;
    padding: 30px;
    background-color: #0a2540;
    color: white;
    font-size: 14px;
    margin-top: 60px;
}

/* HAMBURGER BUTTON */
.hamburger {
    display: none; 
    background: none;
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

/* =========================================
   MOBILE RESPONSIVE DESIGN 
   ========================================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .hamburger {
        display: block; 
        position: absolute;
        top: 20px;
        right: 20px;
    }

    #nav-menu {
        display: none; 
        width: 100%;
        margin-top: 20px;
    }

    #nav-menu.active {
        display: flex; 
        flex-direction: column;
    }

    nav a {
        margin: 5px 0;
        padding: 12px;
        background: rgba(255,255,255,0.1);
        border-radius: 6px;
        text-align: center;
    }

    .hero h1 {
        font-size: 30px;
    }
}
/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed; /* This is the magic that makes it follow the scroll */
    width: 60px;
    height: 60px;
    bottom: 40px; /* Pins it 40px from the bottom */
    right: 40px;  /* Pins it 40px from the right */
    background-color: #25d366; /* Official WhatsApp Green */
    color: white;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000; /* Ensures it stays on top of all other elements */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Makes it pop slightly when hovered over */
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
}

/* Mobile Adjustments for the WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
.whatsapp-icon {
    width: 35px;
    height: 35px;
}
}
/* =========================================
   DETAILED FOOTER STYLES
   ========================================= */
.site-footer {
    background-color: #0a2540; /* Matches your header! */
    color: #d1d5db; /* A soft, easy-to-read gray/white */
    padding: 50px 20px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* This makes it mobile responsive automatically! */
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px; /* If the screen gets smaller than this, they stack */
    text-align: left;
}

.footer-column h3 {
    color: #ffd700; /* Gold Accent */
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 10px 0;
}

/* Styles the little icons next to phone/address */
.footer-column i {
    margin-right: 10px;
    color: #ffd700; 
    width: 20px;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

/* The very bottom bar with your credit */
.footer-bottom {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between; /* Puts copyright on left, your name on right */
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 15px;
}

.developer-credit a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.developer-credit a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Makes the bottom bar stack cleanly on phones */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}
/* Social Media Icons */
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    color: #d1d5db; /* Matches the paragraph text */
    font-size: 22px;
    margin-right: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover Effect: Turns gold and floats up slightly */
.social-icons a:hover {
    color: #ffd700;
    transform: translateY(-4px); 
}
/* =========================================
   SIDE-SCROLLING STUDENT ACHIEVERS
   ========================================= */
.testimonials-section {
    margin: 60px 0;
    text-align: center;
    overflow: hidden; /* Prevents the page from stretching sideways */
}

.testimonials-section h2 {
    color: #0a2540;
    font-size: 32px;
    margin-bottom: 10px;
}

.testimonials-section > p {
    color: #666;
    margin-bottom: 30px;
}

/* The magic scrolling container */
.testimonial-slider {
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow-x: auto; /* Allows left/right swiping */
    scroll-snap-type: x mandatory; /* Makes the cards snap into place */
    -webkit-overflow-scrolling: touch; /* Smooth swiping on iPhones */
    
    /* Hides the ugly scrollbar but keeps the scroll function */
    scrollbar-width: none; 
}
.testimonial-slider::-webkit-scrollbar {
    display: none; 
}

/* The individual student card */
.testimonial-card {
    flex: 0 0 220px; /* Forces cards to stay this width and not shrink */
    scroll-snap-align: center; /* Snaps the card to the middle of the screen */
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 5px solid #ffd700;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* The circular student photo */
.student-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%; /* Makes it a perfect circle */
    object-fit: cover; /* Ensures the face isn't stretched */
    border: 4px solid #0a2540; /* Dark blue ring around the photo */
    margin: 0 auto 15px auto;
    display: block;
}

.student-name {
    color: #0a2540;
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 5px 0;
}

.student-score {
    color: #25d366; /* WhatsApp green for a positive "success" color */
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}
/* =========================================
   LATEST UPDATES / NOTICE BOARD
   ========================================= */
.updates-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.updates-header {
    text-align: center;
    color: #0a2540;
    font-size: 28px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.notice-board {
    background: #fff;
    border-left: 5px solid #dc3545; /* Red line to grab attention */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}

.notice-item {
    display: flex;
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
    gap: 20px;
    transition: background 0.3s;
}

.notice-item:last-child {
    border-bottom: none; /* Removes the line under the very last item */
}

.notice-item:hover {
    background: #f8f9fa; /* Slight gray hover effect */
}

/* The dark blue calendar date box */
.notice-date {
    background: #0a2540;
    color: #ffd700;
    min-width: 65px;
    text-align: center;
    padding: 8px 5px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.notice-date span {
    display: block;
    font-size: 22px;
    color: white;
    margin-top: 2px;
}

.notice-text {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding-top: 5px;
}

/* The little red "NEW" badge */
.badge-new {
    background: #dc3545;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: bold;
    letter-spacing: 1px;
    animation: pulse 2s infinite; /* Makes it pulse slightly! */
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .notice-item { 
        flex-direction: column; 
        gap: 12px; 
        padding: 15px;
    }
    .notice-date { 
        display: inline-block; 
        min-width: auto; 
        padding: 4px 12px; 
    }
    .notice-date span { 
        display: inline; 
        font-size: 14px; 
        margin-left: 5px;
    }
    .notice-text {
        padding-top: 0;
    }
}
/* =========================================
   FOUNDER / FACULTY PROFILE
   ========================================= */
.founder-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.founder-container {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden; /* Keeps the image corners perfectly rounded */
}

.founder-image {
    flex: 0 0 40%; /* Image takes up 40% of the card width */
    position: relative;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 450px; /* Ensures the photo doesn't look squished */
}

.founder-content {
    flex: 0 0 60%; /* Text takes up the remaining 60% */
    padding: 40px 50px;
}

.founder-content h2 {
    color: #0a2540;
    font-size: 34px;
    margin-bottom: 5px;
}

.founder-title {
    color: #dc3545; /* Red accent for the job title */
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* The cool badges for his degree and experience */
.founder-qualifications {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.qual-badge {
    background: #f4f7f6;
    color: #0a2540;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    border-left: 3px solid #ffd700; /* Gold accent stripe */
}

.founder-bio p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Mobile Adjustments: Stacks the image on top of the text */
@media (max-width: 768px) {
    .founder-container {
        flex-direction: column;
    }
    .founder-image {
        flex: 0 0 auto;
        width: 100%;
    }
    .founder-image img {
        min-height: 350px;
    }
    .founder-content {
        flex: 0 0 auto;
        padding: 30px 20px;
    }
}
/* =========================================
   FLOATING CALL BUTTON
   ========================================= */
.phone-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 95px; /* Sits precisely above the WhatsApp button */
    right: 20px;
    background-color: #0a2540; /* Premium Dark Blue */
    color: #ffd700; /* Gold Icon */
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100; /* Keeps it on top of other content */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.phone-float:hover {
    transform: scale(1.1); /* Slightly enlarges when hovered */
    background-color: #113a63; /* Lightens up slightly */
    color: white;
}
/* =========================================
   PUBLIC GALLERY PAGE GRID
   ========================================= */
.gallery-page-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.media-card {
    background: #f8f9fa;
    border-radius: 8px;
    height: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.media-card:hover {
    transform: scale(1.03); /* Pops out slightly when hovered */
}
/* =========================================
   COURSE BATCH CARDS
   ========================================= */
.courses-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    /* Switch from Grid to Flex */
    display: flex;
    flex-wrap: wrap; /* Allows cards to drop to next line */
    justify-content: center; /* THIS CENTERS THE REMAINING CARD */
    gap: 30px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid #0a2540;
    transition: all 0.3s ease;
    
    /* Give cards a set width so they don't stretch weirdly */
    width: 300px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-top-color: #ffd700; /* Turns Gold on hover */
}

.course-card h3 {
    color: #0a2540;
    font-size: 24px;
    margin-bottom: 15px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.course-features li {
    padding: 8px 0;
    color: #555;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.course-features li i {
    color: #28a745; /* Green checkmark */
    margin-right: 10px;
}

.btn-course {
    display: block;
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't make it wider than the card */
    padding: 12px;
    background: #ffd700;
    color: #0a2540;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    margin-top: auto; /* Pushes button to bottom of card */
}

.btn-course:hover {
    background: #0a2540;
    color: #fff;
}
/* Custom Scrollbar for Chrome/Edge/Safari */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0a2540; 
}
::-webkit-scrollbar-thumb {
    background: #ffd700; 
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ffae00; 
}