
/* ==========================================
   GLOBAL STYLES
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#333;
    line-height:1.6;
    overflow-x:hidden;
}

.container{
    width:92%;
    max-width:1200px;
    margin:0 auto;
}

/* ==========================================
   HEADER & NAVIGATION
========================================== */

header{
    background:#082b5b;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.15);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
    gap:20px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.logo img{
    width:45px;
    height:45px;
    object-fit:contain;
}

.logo span{
    color:#ffffff;
    font-size:24px;
    font-weight:700;
}

nav ul{
    display:flex;
    list-style:none;
    gap:20px;
}

nav ul li a{
    color:#ffffff;
    text-decoration:none;
    font-weight:600;
    transition:0.3s ease;
}

nav ul li a:hover,
nav ul li a.active{
    color:#f58220;
}

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

.hero{
    min-height:40vh;
    background:
        linear-gradient(rgba(8,43,91,0.85), rgba(8,43,91,0.85)),
        url('../images/hero.jpg') center center/cover no-repeat;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#ffffff;
    padding:60px 20px;
}

.hero h1{
    font-size:clamp(2rem, 5vw, 3rem);
    margin-bottom:15px;
}

.hero p{
    font-size:clamp(1rem, 2vw, 1.2rem);
    max-width:700px;
    margin:0 auto;
}

/* ==========================================
   COMMON SECTIONS
========================================== */

.section{
    padding:70px 0;
}

.section-title{
    text-align:center;
    color:#082b5b;
    font-size:clamp(2rem, 4vw, 2.5rem);
    margin-bottom:15px;
}

.section-subtitle{
    text-align:center;
    color:#666666;
    margin-bottom:50px;
}

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

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
    gap:30px;
    margin-top:40px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    background:#ffffff;
    box-shadow:0 10px 30px rgba(0,0,0,0.10);
    transition:all 0.4s ease;
}

.gallery-item:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.18);
}

.image-container{
    width:100%;
    aspect-ratio:16 / 10;
    overflow:hidden;
    background:#dfe7f3;
}

.image-container img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    transition:transform 0.6s ease;
}

.gallery-item:hover .image-container img{
    transform:scale(1.1);
}

.gallery-caption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:24px 20px;
    background:linear-gradient(
        to top,
        rgba(8,43,91,0.95),
        rgba(8,43,91,0.70),
        transparent
    );
}

.gallery-caption h3{
    color:#ffffff;
    margin:0;
    font-size:1.15rem;
    font-weight:700;
    line-height:1.4;
}

/* ==========================================
   VIDEO SECTION
========================================== */

.video-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(350px, 1fr));
    gap:30px;
    margin-top:40px;
}

.video-card{
    background:#ffffff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.10);
    transition:transform 0.4s ease;
}

.video-card:hover{
    transform:translateY(-8px);
}

.video-card video{
    width:100%;
    aspect-ratio:16 / 9;
    display:block;
    background:#000000;
}

.video-card h3{
    padding:20px;
    text-align:center;
    color:#082b5b;
    font-size:1.1rem;
    font-weight:700;
    margin:0;
}

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

footer{
    background:#061d3d;
    color:#ffffff;
    text-align:center;
    padding:40px 20px;
    margin-top:70px;
}

footer p{
    margin:8px 0;
}

/* ==========================================
   TABLET VIEW
========================================== */

@media (max-width:992px){

    .container{
        width:95%;
    }

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero{
        min-height:35vh;
        padding:50px 20px;
    }

    .gallery-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .video-grid{
        grid-template-columns:1fr;
    }
}

/* ==========================================
   MOBILE VIEW
========================================== */

@media (max-width:768px){

    .navbar{
        flex-direction:column;
        text-align:center;
    }

    .logo span{
        font-size:20px;
    }

    nav{
        width:100%;
    }

    nav ul{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
        padding:0;
    }

    nav ul li{
        width:45%;
    }

    nav ul li a{
        display:block;
        padding:12px;
        background:rgba(255,255,255,0.08);
        border-radius:8px;
        font-size:15px;
    }

    .hero{
        min-height:30vh;
        padding:40px 15px;
    }

    .hero h1{
        font-size:2rem;
    }

    .hero p{
        font-size:1rem;
    }

    .section{
        padding:50px 0;
    }

    .section-title{
        font-size:1.8rem;
    }

    .section-subtitle{
        margin-bottom:30px;
    }

    .gallery-grid,
    .video-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .image-container{
        aspect-ratio:4 / 3;
    }

    .gallery-caption{
        padding:18px 15px;
    }

    .gallery-caption h3{
        font-size:1rem;
    }

    .video-card h3{
        padding:15px;
    }

    footer{
        padding:30px 15px;
        font-size:14px;
    }
}

/* ==========================================
   SMALL MOBILE VIEW
========================================== */

@media (max-width:480px){

    .logo img{
        width:40px;
        height:40px;
    }

    .logo span{
        font-size:18px;
    }

    nav ul li{
        width:100%;
    }

    .hero h1{
        font-size:1.7rem;
    }

    .hero p{
        font-size:0.95rem;
    }

    .image-container{
        aspect-ratio:1 / 1;
    }
}

/*# student Dashboard*/
.auth-container{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f5f7fb;
    padding:20px;
}

.auth-card{
    width:100%;
    max-width:420px;
    background:#ffffff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.auth-logo{
    width:70px;
    display:block;
    margin:0 auto 20px;
}

.auth-card h2{
    text-align:center;
    color:#082b5b;
    margin-bottom:25px;
}

.auth-card input,
.auth-card select{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #d9d9d9;
    border-radius:10px;
}

.auth-card button{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:#f58220;
    color:#ffffff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.auth-card button:hover{
    background:#d96d10;
}

.nav-btn{
    padding:10px 18px;
    border-radius:8px;
    font-weight:600;
}

.login-btn{
    border:1px solid #ffffff;
}

.login-btn:hover{
    background:#ffffff;
    color:#082b5b !important;
}

.register-btn{
    background:#f58220;
    color:#ffffff !important;
}

.register-btn:hover{
    background:#d96d10;
}

.cta-section{
    background:#082b5b;
    color:#ffffff;
    text-align:center;
    padding:80px 20px;
}

.cta-section h2{
    font-size:2rem;
    margin-bottom:15px;
}

.cta-section p{
    max-width:700px;
    margin:0 auto 30px;
}

footer a{
    color:#ffffff;
    text-decoration:none;
}

footer a:hover{
    color:#f58220;
}

@media (max-width:768px){

    .nav-btn{
        display:block;
        width:100%;
        text-align:center;
    }

    .register-btn{
        margin-top:8px;
    }
}

/* ==========================================
   SERVICES SECTION
========================================== */

.services{
    padding:80px 0;
    background:#f5f7fb;
}

.section-title{
    text-align:center;
    color:#082b5b;
    font-size:3rem;
    font-weight:700;
    margin-bottom:50px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:30px;
}

.card{
    background:#ffffff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:all 0.3s ease;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.card h3{
    color:#082b5b;
    font-size:1.6rem;
    margin-bottom:15px;
}

.card p{
    color:#666;
    margin-bottom:20px;
    min-height:60px;
}

.card a{
    display:inline-block;
    background:#f58220;
    color:#ffffff;
    text-decoration:none;
    padding:12px 24px;
    border-radius:8px;
    font-weight:600;
    transition:0.3s;
}

.card a:hover{
    background:#d96d10;
}

/* ==========================================
   MODERN STATS SECTION
========================================== */

.stats{
    background: linear-gradient(135deg, #082b5b 0%, #0d3d7a 100%);
    padding: 70px 0;
}

.stats-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-item{
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.stat-item:hover{
    transform: translateY(-8px);
    background: rgba(255,255,255,0.12);
}

.stat-item h3{
    color: #f58220;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-item p{
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Tablet */

@media (max-width: 992px){

    .stats-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */

@media (max-width: 768px){

    .stats{
        padding: 50px 0;
    }

    .stats-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .stat-item{
        padding: 30px 20px;
    }

    .stat-item h3{
        font-size: 2.5rem;
    }

    .stat-item p{
        font-size: 1rem;
    }
}

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

.btn-group{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-top:30px;
}

.btn{
    display:inline-block;
    padding:14px 30px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-primary{
    background:#f58220;
    color:#ffffff;
}

.btn-primary:hover{
    background:#d96d10;
}

.btn-outline{
    border:2px solid #ffffff;
    color:#ffffff;
}

.btn-outline:hover{
    background:#ffffff;
    color:#082b5b;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width:992px){

    .stats-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width:768px){

    .section-title{
        font-size:2.2rem;
    }

    .service-grid{
        grid-template-columns:1fr;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .card{
        padding:30px 20px;
    }

    .stat-item h3{
        font-size:2.4rem;
    }
}