/* ==========================================
   MiniMakers Robotics Academy
   Main Stylesheet
========================================== */


/* ==========================================
   GLOBAL RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: 'Poppins', Arial, sans-serif;

    color: #333;

    background: #ffffff;

    line-height: 1.6;

}


img {

    max-width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}


ul {

    list-style: none;

}


.container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

}


section {

    padding: 80px 0;

}


/* ==========================================
   BUTTONS
========================================== */


.btn {

    display: inline-block;

    padding: 14px 30px;

    border-radius: 30px;

    background: #ff8c00;

    color: white;

    font-weight: 600;

    transition: 0.3s;

}


.btn:hover {

    transform: translateY(-3px);

    opacity: 0.9;

}



/* ==========================================
   HEADER
========================================== */


header {

    position: fixed;

    width: 100%;

    top: 0;

    left: 0;

    background: white;

    z-index: 1000;

    box-shadow: 0 2px 15px rgba(0,0,0,0.08);

}


header .container {

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.logo img {

    width: 100px;
	height:80px;

}



.nav-links {

    display: flex;

    gap: 30px;

}


.nav-links a {

    font-weight: 500;

    transition: .3s;

}


.nav-links a:hover {

    color:#ff8c00;

}


.mobile-menu {

    display:none;

    border:none;

    background:none;

    font-size:25px;

}



/* ==========================================
   HERO SECTION
========================================== */


#hero {

    min-height:100vh;

    display:flex;

    align-ite
ms:center;

    background:

    linear-gradient(
        rgba(0,70,140,.75),
        rgba(0,70,140,.75)
    ),

    url("images/hero.jpg");

    background-size:cover;

    background-position:center;

    color:white;

    padding-top:100px;

}



.hero-content {
    max-width:600px;
    margin:0 auto;
    text-align:center;
}


.hero-content h1 {

    font-size:55px;

    line-height:1.1;

    margin-bottom:20px;

}


.hero-content p {

    font-size:20px;

    margin-bottom:30px;

}




/* ==========================================
   SECTION TITLES
========================================== */


.section-title {

    text-align:center;

    margin-bottom:50px;

}


.section-title h2 {

    font-size:40px;

    color:#123;

}


.section-title p {

    max-width:700px;

    margin:15px auto;

    color:#666;

}



/* ==========================================
   ABOUT
========================================== */


.about-grid {

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

}



.about-image img {

    border-radius:20px;

}



.about-content h3 {

    font-size:32px;

    margin-bottom:20px;

}



/* ==========================================
   FEATURES
========================================== */


.features-grid {

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}


.feature-card {

    padding:35px 25px;

    background:white;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    text-align:center;

    transition:.3s;

}


.feature-card:hover {

    transform:translateY(-10px);

}



.feature-card i {

    font-size:40px;

    color:#ff8c00;

    margin-bottom:20px;

}



/* ==========================================
   PROGRAMS
========================================== */


.program-grid {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



.program-card {

    border-radius:25px;

    overflow:hidden;

    background:white;

    box-shadow:0 10px 30px rgba(0,0,0,.1)
;

    transition:.3s;

}


.program-card:hover {

    transform:translateY(-10px);

}



.program-card img {

    height:250px;

    width:100%;

    object-fit:cover;

}


.program-card-content {

    padding:30px;

}



/* ==========================================
   JOURNEY
========================================== */


.timeline {

    min-height:300px;

}



/* ==========================================
   STATS
========================================== */


#stats {

    background:#f5f8fc;

}



.stats-grid {

    display:grid;

    grid-template-columns:repeat(4,1fr);

    text-align:center;

}



.stat h3 {

    font-size:45px;

    color:#0066cc;

}


/* ==========================================
   GALLERY
========================================== */


.gallery-grid {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}



.gallery-grid img {

    height:250px;

    object-fit:cover;

    border-radius:20px;

}



/* ==========================================
   TESTIMONIALS
========================================== */


.testimonial-slider {

    min-height:200px;

}



/* ==========================================
   SCHOOL + CSR
========================================== */


#schools,
#csr {

    background:#f8fafc;

}


.school-content,
.csr-content {

    min-height:250px;

}



/* ==========================================
   FAQ
========================================== */


.faq-container {

    max-width:800px;

    margin:auto;

}



/* ==========================================
   CONTACT
========================================== */


.contact-grid {

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

}



.contact-form {

    display:flex;

    flex-direction:column;

    gap:15px;

}



.contact-form input,
.contact-form textarea {

    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

}



/* ==========================================
   FOOTER
==========================
================ */


footer {

    background:#071b33;

    color:white;

    padding:60px 0 20px;

}



.footer-grid {

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}


.footer-bottom {

    margin-top:40px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.2);

    padding-top:20px;

}



/* ==========================================
   BACK TO TOP
========================================== */


#backToTop {

    position:fixed;

    bottom:30px;

    right:30px;

    width:45px;

    height:45px;

    border-radius:50%;

    border:none;

    background:#ff8c00;

    color:white;

    display:none;

}



/* ==========================================
   MOBILE RESPONSIVE
========================================== */


@media(max-width:900px){


.nav-links {

    display:none;

}


.mobile-menu {

    display:block;

}



.features-grid,
.program-grid,
.stats-grid,
.footer-grid {

    grid-template-columns:1fr 1fr;

}


.about-grid,
.contact-grid {

    grid-template-columns:1fr;

}


.hero-content h1 {

    font-size:40px;

}


}



@media(max-width:600px){


section {

    padding:60px 0;

}


.features-grid,
.program-grid,
.stats-grid,
.footer-grid,
.gallery-grid {

    grid-template-columns:1fr;

}


.hero-content h1 {

    font-size:32px;

}


.section-title h2 {

    font-size:30px;

}


}

/* Animation Support */

.hidden {

    opacity:0;

    transform:translateY(40px);

    transition:all .7s ease;

}


.show {

    opacity:1;

    transform:translateY(0);

}


/* Mobile Menu */

@media(max-width:900px){

.nav-links.active{

    display:flex;

    position:absolute;

    top:80px;

    left:0;

    width:100%;

    background:white;

    flex-direction:column;

    text-align:center;

    padding:30px;

    box-shadow:0 10px 20px rgba(0,0,0,.1);

}

}


/* Header animation */

header.scrolled{

    box-shadow:0 5px 25px rgba(0,0,0,.15);

}

/* Program Card Flex Adjustments */
.program-card {
    display: f
lex;
    flex-direction: column;
    justify-content: space-between;
}
.program-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.program-action {
    margin-top: auto; /* Pushes the join button to stay flush at the bottom */
}

/* Hero buttons centered */
.hero-content .btn { display:inline-block; margin:8px; }
.hero-content a.btn[style*="margin-left"] { margin-left:8px !important; }
