/* ==========================================
   Sigma Home Tutorials
   Version 2.0
   ========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fb;
    color:#333;
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

img{
    max-width:100%;
    height:auto;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}
/* ===========================
   Header
=========================== */

header{
    background:#0d47a1;
    color:#ffffff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo h1{
    font-size:28px;
    font-weight:bold;
}

nav ul{
    display:flex;
    gap:25px;
}

nav ul li a{
    color:#ffffff;
    font-size:16px;
    font-weight:600;
    transition:0.3s;
}

nav ul li a:hover{
    color:#ffcc00;
}
/* ===========================
   Hero Section
=========================== */

.hero{
    height:500px;
    background:linear-gradient(135deg,#1565c0,#42a5f5);
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
}

.hero-content h2{
    font-size:48px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    padding:14px 28px;
    background:#ff9800;
    color:#fff;
    border-radius:8px;
    margin:10px;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:#e65100;
}

.btn2{
    background:#2e7d32;
}

.btn2:hover{
    background:#1b5e20;
}
/* ===========================
   About Section
=========================== */

.about{
    padding:80px 0;
    background:#ffffff;
}

.about h2{
    text-align:center;
    font-size:36px;
    color:#0d47a1;
    margin-bottom:20px;
}

.about p{
    text-align:center;
    font-size:18px;
    max-width:900px;
    margin:0 auto 40px;
}

.about-box{
    display:flex;
    justify-content:space-between;
    gap:25px;
    flex-wrap:wrap;
}

.box{
    flex:1;
    min-width:280px;
    background:#f5f7fb;
    padding:30px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.10);
}

.box h3{
    color:#0d47a1;
    margin-bottom:15px;
}
/* ===========================
   Why Choose Us
=========================== */

.why-us{
    padding:80px 0;
    background:#eef5ff;
}

.why-us h2{
    text-align:center;
    font-size:36px;
    color:#0d47a1;
    margin-bottom:40px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.why-card{
    background:#ffffff;
    padding:30px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.why-card:hover{
    transform:translateY(-8px);
}

.why-card h3{
    color:#1565c0;
    margin-bottom:15px;
}
/* ===========================
   Courses Section
=========================== */

.courses{
    padding:80px 0;
    background:#ffffff;
}

.courses h2{
    text-align:center;
    font-size:36px;
    color:#0d47a1;
    margin-bottom:40px;
}

.course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.course-card{
    background:#f5f7fb;
    padding:30px;
    text-align:center;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.10);
    transition:.3s;
}

.course-card:hover{
    background:#1565c0;
    color:#ffffff;
    transform:translateY(-8px);
}

.course-card h3{
    margin-bottom:15px;
}
/* ===========================
   Statistics Section
=========================== */

.stats{
    background:#0d47a1;
    padding:80px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.stat-card{
    background:#1565c0;
    color:#ffffff;
    text-align:center;
    padding:35px 20px;
    border-radius:12px;
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-8px);
    background:#1976d2;
}

.stat-card h2{
    font-size:42px;
    margin-bottom:12px;
}

.stat-card p{
    font-size:20px;
}
/* ===========================
   Footer
=========================== */

.footer{
    background:#0b1f3a;
    color:#ffffff;
    padding:60px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    margin-bottom:30px;
}

.footer-box h3{
    margin-bottom:20px;
    color:#ffcc00;
}

.footer-box ul{
    padding:0;
}

.footer-box ul li{
    margin-bottom:10px;
}

.footer-box a{
    color:#ffffff;
}

.footer-box a:hover{
    color:#ffcc00;
}

.footer hr{
    border:1px solid rgba(255,255,255,0.2);
    margin:20px 0;
}

.copyright{
    text-align:center;
    font-size:15px;
}
/* ===========================
   Contact Preview
=========================== */

.contact-preview{
    padding:80px 0;
    background:#f8f9fc;
    text-align:center;
}

.contact-preview h2{
    font-size:36px;
    color:#0d47a1;
    margin-bottom:15px;
}

.contact-preview p{
    font-size:18px;
    margin-bottom:30px;
}

.contact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin:40px 0;
}

.contact-card{
    background:#ffffff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.10);
}

.contact-card h3{
    color:#1565c0;
    margin-bottom:15px;
}
/* ===========================
   WhatsApp Button
=========================== */

.whatsapp{
    position:fixed;
    right:20px;
    bottom:20px;
    width:60px;
    height:60px;
    background:#25D366;
    color:#ffffff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    text-decoration:none;
    box-shadow:0 5px 15px rgba(0,0,0,.30);
    z-index:9999;
    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.1);
}
/* ===========================
   Student Registration Form
=========================== */

.form-container{
    width:90%;
    max-width:700px;
    margin:50px auto;
    background:#ffffff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.form-container h2{
    text-align:center;
    color:#0d47a1;
    margin-bottom:25px;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

.form-group textarea{
    resize:vertical;
    min-height:100px;
}

.btn-submit{
    width:100%;
    padding:15px;
    background:#1565c0;
    color:#fff;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
}

.btn-submit:hover{
    background:#0d47a1;
}
/* =====================================
   SIGMA QUICK ACCESS
===================================== */

.sht-quick-access{
    width:100% !important;
    padding:50px 5% !important;
    background:#f4f7fc !important;
    text-align:center !important;
}

.sht-quick-access h2{
    margin:0 0 8px !important;
    color:#0d47a1 !important;
    font-size:34px !important;
    font-weight:800 !important;
}

.sht-quick-access > p{
    margin:0 0 30px !important;
    color:#64748b !important;
    font-size:16px !important;
}

.sht-quick-grid{
    width:100% !important;
    max-width:1400px !important;
    margin:0 auto !important;
    display:grid !important;
    grid-template-columns:repeat(5, 1fr) !important;
    gap:18px !important;
}

.sht-quick-btn{
    min-height:125px !important;
    padding:20px 12px !important;
    background:#ffffff !important;
    color:#0d47a1 !important;
    border:1px solid #dbeafe !important;
    border-radius:16px !important;
    text-decoration:none !important;
    font-size:17px !important;
    font-weight:700 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    gap:12px !important;
    box-shadow:0 10px 25px rgba(15,60,120,.14) !important;
    transition:.3s !important;
    position:relative !important;
    z-index:10 !important;
    cursor:pointer !important;
}

.sht-icon{
    width:52px !important;
    height:52px !important;
    border-radius:50% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    background:linear-gradient(135deg,#0d47a1,#2874e8) !important;
    font-size:25px !important;
}

.sht-quick-btn:hover{
    background:linear-gradient(135deg,#0d47a1,#2563eb) !important;
    color:#ffffff !important;
    transform:translateY(-7px) !important;
}

@media(max-width:1100px){

    .sht-quick-grid{
        grid-template-columns:repeat(3, 1fr) !important;
    }
}

@media(max-width:700px){

    .sht-quick-grid{
        grid-template-columns:repeat(2, 1fr) !important;
    }
}

@media(max-width:430px){

    .sht-quick-grid{
        grid-template-columns:1fr !important;
    }
}
/* About Section */

.about-section{
    padding:70px 20px;
    background:#f4f7fc;
}

.about-container{
    max-width:1100px;
    margin:auto;
    text-align:center;
    background:#ffffff;
    padding:45px 35px;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,0.12);
}

.about-container h2{
    font-size:36px;
    color:#0d47a1;
    margin-bottom:22px;
}

.about-container p{
    font-size:18px;
    color:#444444;
    line-height:1.8;
    margin-bottom:15px;
}

html{
    scroll-behavior:smooth;
}

@media(max-width:600px){

    .about-section{
        padding:45px 15px;
    }

    .about-container{
        padding:30px 20px;
    }

    .about-container h2{
        font-size:28px;
    }

    .about-container p{
        font-size:16px;
    }
}
/* ==============================
   GALLERY SECTION
============================== */

.gallery-section{
    padding:70px 5%;
    background:#f4f7fc;
    text-align:center;
}

.gallery-section h2{
    margin:0 0 10px;
    color:#0d47a1;
    font-size:38px;
    font-weight:800;
}

.gallery-subtitle{
    margin:0 0 35px;
    color:#64748b;
    font-size:17px;
}

.gallery-grid{
    max-width:1250px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:25px;
}

.gallery-card{
    overflow:hidden;
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 12px 30px rgba(15,60,120,.15);
    transition:.3s ease;
}

.gallery-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(15,60,120,.25);
}

.gallery-card img{
    width:100%;
    height:220px;
    display:block;
    object-fit:cover;
}

.gallery-card h3{
    margin:0;
    padding:18px 12px;
    color:#0d47a1;
    font-size:20px;
}

/* Tablet */

@media(max-width:950px){

    .gallery-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media(max-width:600px){

    .gallery-section{
        padding:50px 15px;
    }

    .gallery-section h2{
        font-size:29px;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-card img{
        height:220px;
    }
}
/* =========================================
   MOBILE HEADER + HERO FIX
   ========================================= */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 10px;
        gap: 12px;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .logo h1 {
        margin: 0;
        font-size: 24px;
        line-height: 1.2;
        white-space: nowrap;
    }

    nav {
        width: 100%;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 16px;
        margin: 0;
        padding: 5px 0;
        list-style: none;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a,
    nav ul > a {
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

    .hero {
        height: auto;
        min-height: 520px;
        padding: 45px 18px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h2 {
        font-size: 38px;
        line-height: 1.25;
        margin-bottom: 22px;
    }

    .hero-content p {
        font-size: 19px;
        line-height: 1.5;
        margin-bottom: 28px;
    }

    .hero .btn {
        display: block;
        width: 90%;
        max-width: 380px;
        margin: 12px auto;
        text-align: center;
    }
}


@media (max-width: 480px) {

    .logo h1 {
        font-size: 21px;
    }

    nav ul {
        gap: 9px 13px;
    }

    nav ul li a,
    nav ul > a {
        font-size: 14px;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 18px;
    }
}
/* ==================================================
   MOBILE FOOTER FINAL FIX
   Desktop design will remain unchanged
================================================== */

@media (max-width: 768px) {

    .footer .container {
        width: 94% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Footer sections one below another */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
    }

    .footer-box,
    .area-footer-box,
    .footer-box:first-child,
    .footer-box:last-child {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    /* Headings */
    .footer-box h3 {
        white-space: normal !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    /* Sigma description */
    .footer-box:first-child p {
        text-align: center !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    /* Subtitle */
    .area-subtitle {
        text-align: center !important;
        width: 100% !important;
        font-size: 13px !important;
        margin: 5px 0 15px !important;
        white-space: normal !important;
    }

    /* Area buttons - 2 columns on mobile */
    .area-footer-links {
        width: 100% !important;
        display: block !important;
    }

    .area-footer-links ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .area-footer-links li {
        width: 100% !important;
        margin: 0 !important;
    }

    .area-footer-links a {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 12px !important;
        padding: 10px 5px !important;
        white-space: normal !important;
        text-align: center !important;
    }

    /* Contact section */
    .footer-box:last-child {
        text-align: center !important;
    }

    .footer-box:last-child p {
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin: 5px 0 !important;
    }

    /* Copyright */
    .copyright {
        text-align: center !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
}
