/* ===========================================================
   National Engineering College
   SDG Website - style.css
   Part 1
=========================================================== */

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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.8;
}

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

.container{
    width:90%;
    max-width:1250px;
    margin:auto;
}

.section{
    padding:80px 0;
}

.light{
    background:#f8fbfd;
}

h1{
    font-size:42px;
    color:#0b4ca8;
    margin-bottom:25px;
    font-weight:700;
}

h2{
    font-size:34px;
    color:#0b4ca8;
    margin-bottom:20px;
    font-weight:600;
}

h3{
    font-size:24px;
    color:#0f5d31;
    margin-bottom:15px;
}

h4{
    font-size:20px;
    color:#0b4ca8;
}

p{
    margin-bottom:18px;
    text-align:justify;
}

ul{
    padding-left:25px;
}

li{
    margin-bottom:12px;
}

hr{
    border:none;
    height:3px;
    width:90px;
    background:#0f5d31;
    margin:25px 0;
}

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

header{

    position:sticky;
    top:0;

    width:100%;

    background:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 6%;

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

    z-index:9999;

    border-bottom:4px solid #0f5d31;

}

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    width:420px;

    height:auto;

}

/*=========================
     NAVIGATION
=========================*/

nav ul{

    display:flex;

    list-style:none;

    align-items:center;

    gap:28px;

}

nav ul li{

    position:relative;

}

nav ul li a{

    text-decoration:none;

    color:#333;

    font-weight:500;

    font-size:16px;

    transition:.3s;

    padding:10px 0;

}

nav ul li a:hover{

    color:#0f5d31;

}

nav ul li a.active{

    color:#0f5d31;

    font-weight:600;

}

.home-btn{

    background:#0f5d31;

    color:#fff !important;

    padding:12px 25px;

    border-radius:30px;

}

.home-btn:hover{

    background:#094823;

}

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

.hero{

    width:100%;

    height:90vh;

    background:

    linear-gradient(

    rgba(0,0,0,.55),

    rgba(0,0,0,.55)

    ),

    url("https://nec.edu.in/wp-content/uploads/2024/12/Drone-View-New-scaled.webp");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-overlay{

    text-align:center;

    color:#fff;

    max-width:900px;

    padding:60px;

}

.hero-overlay h1{

    color:#fff;

    font-size:60px;

    margin-bottom:20px;

}

.hero-overlay h2{

    color:#ffffff;

    font-size:30px;

    margin-bottom:25px;

    font-weight:400;

}

.hero-overlay p{

    text-align:center;

    font-size:20px;

    color:#eee;

    margin-bottom:35px;

}

/*=========================
        BUTTON
=========================*/

.btn{

    display:inline-block;

    padding:15px 35px;

    background:#0f5d31;

    color:#fff;

    text-decoration:none;

    border-radius:40px;

    transition:.3s;

    font-size:17px;

    font-weight:600;

}

.btn:hover{

    background:#0b4ca8;

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(0,0,0,.25);

}

/*=========================
     COMMON CARDS
=========================*/

.card{

    background:#fff;

    padding:35px;

    border-radius:15px;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

    margin-top:20px;

}

.card:hover{

    transform:translateY(-6px);

    transition:.4s;

}

/*=========================
     GRID CARDS
=========================*/

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:40px;

}

.info-card{

    background:#fff;

    border-radius:15px;

    padding:30px;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

    transition:.3s;

}

.info-card:hover{

    transform:translateY(-8px);

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

}

.info-card h3{

    margin-bottom:15px;

    color:#0f5d31;

}

.info-card p{

    margin:0;

}

/*=========================================================
    SDG MAPPING
=========================================================*/

.sdg-map{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:40px;

}

.sdg-item{

    background:#ffffff;

    border-radius:15px;

    padding:30px;

    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.35s;

}

.sdg-item:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(0,0,0,.12);

}

.sdg-item span{

    font-size:45px;

    display:block;

    margin-bottom:15px;

}

.sdg-item h4{

    color:#0b4ca8;

    margin-bottom:8px;

}

.sdg-item p{

    text-align:center;

    margin:0;

    color:#555;

}

/*=========================================================
    IMPACT / COUNTER
=========================================================*/

.impact-section{

    background:#0f5d31;

    color:#fff;

    padding:90px 0;

}

.impact-section h2{

    text-align:center;

    color:#fff;

    margin-bottom:60px;

}

.counter-wrapper{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.counter-box{

    background:rgba(255,255,255,.12);

    border-radius:15px;

    padding:40px 20px;

    text-align:center;

    transition:.3s;

}

.counter-box:hover{

    background:rgba(255,255,255,.18);

    transform:translateY(-6px);

}

.counter{

    font-size:58px;

    font-weight:700;

    color:#ffffff;

}

.counter-box p{

    text-align:center;

    color:#fff;

    margin-top:12px;

    font-size:18px;

}

/*=========================================================
    CALL TO ACTION
=========================================================*/

.cta-section{

    background:linear-gradient(135deg,#0b4ca8,#0f5d31);

    color:#fff;

    text-align:center;

    padding:90px 0;

}

.cta-section h2{

    color:#fff;

    font-size:42px;

    margin-bottom:25px;

}

.cta-section p{

    color:#f2f2f2;

    text-align:center;

    max-width:900px;

    margin:0 auto 35px;

    font-size:18px;

}

.cta-section .btn{

    background:#ffffff;

    color:#0f5d31;

}

.cta-section .btn:hover{

    background:#ffd54f;

    color:#222;

}

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

footer{

    background:#082d18;

    color:#fff;

    padding:70px 0 20px;

}

.footer-container{

    width:90%;

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

}

.footer-container h3{

    color:#ffffff;

    margin-bottom:20px;

}

.footer-container p{

    color:#d8d8d8;

    text-align:left;

}

.footer-links ul{

    list-style:none;

    padding:0;

}

.footer-links li{

    margin-bottom:10px;

}

.footer-links a{

    color:#d8d8d8;

    text-decoration:none;

    transition:.3s;

}

.footer-links a:hover{

    color:#ffffff;

    padding-left:8px;

}

.footer-contact p{

    line-height:1.8;

}

.copyright{

    margin-top:50px;

    padding-top:20px;

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

    text-align:center;

    color:#ccc;

    font-size:15px;

}

/*=========================================================
    UTILITIES
=========================================================*/

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mt-40{

    margin-top:40px;

}

.mb-20{

    margin-bottom:20px;

}

.text-center{

    text-align:center;

}

/*=========================================================
    SCROLLBAR
=========================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#e8e8e8;

}

::-webkit-scrollbar-thumb{

    background:#0f5d31;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#0b4ca8;

}

/*=========================================================
    ANIMATIONS
=========================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.section{

    animation:fadeUp .8s ease;

}

/*=========================================================
    IMAGE
=========================================================*/

img{

    max-width:100%;

    display:block;

}

/*=========================================================
    LINKS
=========================================================*/

a{

    transition:.3s;

}

/*=========================
      SDG GOALS
=========================*/

.sdg-section{
    padding:70px 0;
}

.section-title{
    text-align:center;
    font-size:38px;
    color:#0b4ca8;
    margin-bottom:40px;
    font-weight:700;
}

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

.sdg-box{
    display:flex;
    align-items:center;
    gap:15px;

    width:100%;

    background:#fff;
    border:1px solid #ddd;
    border-radius:6px;

    padding:10px;

    text-decoration:none;
    color:#333;

    transition:.3s;
    min-height:100px;
}

.sdg-box:hover{
    border-color:#0f5d31;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    transform:translateY(-5px);
}

.sdg-box img{
    width:30px;
    height:30px;
    object-fit:cover;
    flex-shrink:0;
}

.sdg-box span{
    display:block;
    font-size:15px;
    font-weight:600;
    line-height:1.5;
}

@media (max-width:992px){
    .sdg-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:768px){
    .sdg-grid{
        grid-template-columns:1fr;
    }
}
