/* =====================================================
   U-FRAMS
   University Face Recognition Attendance Management System
   MAKAUT, West Bengal
   Master Theme Stylesheet
===================================================== */

:root{
    --primary:#071c3f;
    --primary-light:#10356f;
    --orange:#f4a300;
    --orange-dark:#d98d00;
    --white:#ffffff;
    --light:#f5f7fa;
    --shadow:0 8px 25px rgba(0,0,0,.12);
}

/* GLOBAL */

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    padding:0;
    font-family:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:#f7f9fc;
    color:#333;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

.section-title{
    font-size:2rem;
    font-weight:700;
    color:var(--primary);
    margin-bottom:20px;
}

/* TOP HEADER */

.top-header{
    background:var(--orange);
    padding:10px 0;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

.logo-area{
    display:flex;
    align-items:center;
}

.logo-area img{
    width:70px;
    height:auto;
    margin-right:15px;
}

.uni-title{
    line-height:1.3;
}

.uni-title h4{
    margin:0;
    font-size:1.4rem;
    font-weight:700;
    color:#111;
}

.uni-title h5{
    margin:0;
    font-size:1rem;
    font-weight:600;
    color:#222;
}

.uni-title p{
    margin:0;
    font-size:.85rem;
    font-weight:600;
    color:#333;
}

/* FLOATING ICONS */

.attendance-icons{
    text-align:right;
}

.attendance-icons i{
    font-size:26px;
    color:var(--primary);
    margin-left:12px;
    animation:floatIcon 4s infinite ease-in-out;
}

.attendance-icons i:nth-child(2){
    animation-delay:.5s;
}

.attendance-icons i:nth-child(3){
    animation-delay:1s;
}

.attendance-icons i:nth-child(4){
    animation-delay:1.5s;
}

@keyframes floatIcon{
    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }
}

/* NAVBAR */

.navbar-custom{
    background:var(--primary);
    padding:10px 0;
}

.navbar-custom .nav-link{
    color:#fff !important;
    font-weight:600;
    margin-left:10px;
    transition:.3s;
}

.navbar-custom .nav-link:hover{
    color:var(--orange) !important;
}

/* HERO */

.hero{
    background:linear-gradient(
        135deg,
        #071c3f,
        #123f7e
    );
    padding:50px 0;
    color:#fff;
}

.hero-image img{
    width:100%;
    max-width:750px;

    height:650px;
    object-fit:cover;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.35);

    animation:floatHero 5s infinite ease-in-out;
}

@keyframes floatHero{
    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-12px);
    }

    100%{
        transform:translateY(0);
    }
}

.hero-content h1{
    font-size:3rem;
    font-weight:800;
    line-height:1.2;
}

.hero-content p{
    font-size:1.15rem;
    margin-top:20px;
    color:#e7eefc;
}

.btn-login{
    background:var(--orange);
    color:#111;
    font-weight:700;
    padding:12px 30px;
    border-radius:40px;
    margin-top:20px;
    transition:.3s;
}

.btn-login:hover{
    background:#fff;
    color:var(--primary);
}

/* ABOUT */

.about-section{
    background:#fff;
    padding:70px 0;
}

.about-text{
    font-size:1.05rem;
    line-height:1.9;
    text-align:justify;
}

/* FEATURES */

.features{
    background:#f2f6fb;
    padding:80px 0;
}

.feature-card{
    border-radius:18px;
    padding:30px;
    min-height:220px;
    color:#fff;
    box-shadow:var(--shadow);
    transition:.4s;
}

.feature-card:hover{
    transform:translateY(-8px);
}

.feature-card i{
    font-size:40px;
    margin-bottom:15px;
}

.card-blue{
    background:#3366cc;
}

.card-green{
    background:#00a86b;
}

.card-yellow{
    background:#f4a300;
    color:#111;
}

.card-red{
    background:#d84343;
}

.card-cyan{
    background:#00acc1;
}

.card-purple{
    background:#6a1b9a;
}

/* STATISTICS */

.stats{
    background:linear-gradient(
        135deg,
        #071c3f,
        #123f7e
    );
    color:#fff;
    padding:80px 0;
}

.stat-box{
    text-align:center;
}

.stat-box h2{
    font-size:3rem;
    font-weight:700;
}

.stat-box p{
    font-size:1rem;
}

/* FOOTER */

.footer{
    background:var(--orange);
    padding:25px 0;
    text-align:center;
    color:#111;
    font-weight:600;
}

.footer p{
    margin:5px 0;
}

.footer a{
    color:#111;
    font-weight:600;
    transition:.3s;
}

.footer a:hover{
    color:#071c3f;
    padding-left:5px;
}

.footer h5{
    font-weight:700;
    margin-bottom:15px;
}

/* RESPONSIVE */

@media (max-width:991px){

    .attendance-icons{
        text-align:center;
        margin-top:15px;
    }

    .hero{
        text-align:center;
    }

    .hero-content h1{
        font-size:2rem;
    }

    .hero-image{
        margin-bottom:30px;
    }

    .logo-area{
        flex-direction:column;
        text-align:center;
    }

    .logo-area img{
        margin-right:0;
        margin-bottom:10px;
    }
}

@media (max-width:576px){

    .hero-content h1{
        font-size:1.7rem;
    }

    .section-title{
        font-size:1.5rem;
    }

    .uni-title h4{
        font-size:1rem;
    }

    .uni-title h5{
        font-size:.85rem;
    }
}


.hero-image{
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:750px;
    height:auto;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.35);
}




/* ==========================
   HIGHLIGHTS
========================== */

.highlight-box{

    background:#fff;

    padding:30px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.highlight-box:hover{

    transform:translateY(-6px);
}

.highlight-box i{

    font-size:45px;

    color:var(--orange);

    margin-bottom:15px;
}

.highlight-box h4{

    color:var(--primary);

    font-weight:700;
}


/* ==========================
   ANNOUNCEMENT BAR
========================== */

.announcement-bar{

    background:#fff;

    border-top:3px solid var(--orange);

    border-bottom:1px solid #ddd;

    padding:8px 0;

    font-weight:600;

    color:var(--primary);

    box-shadow:0 2px 5px rgba(0,0,0,.05);
}


.live-clock{

    margin-top:10px;

    font-size:14px;

    font-weight:700;

    color:#071c3f;

    text-align:right;

    line-height:1.4;
}
