:root{
    --primary:#3C85B8;
    --secondary:#41A58F;
    --light:#f5f8fb;
    --card:#ffffff;
    --text:#2b2b2b;
}

/* ================= GLOBAL ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

body{
    background:var(--light);
}
#navbar{
    position:fixed;
    top:0%;
    left:0%;
    height: 20%;
    width:100%;
    background-color: aqua;
    box-shadow: 0 0px 5px #000;
    z-index: 1000;
}
#navbar #navup{
    position: absolute;
    top: 0%;
    left: 0%;
    height: 50%;
    width: 100%;
    background-color: #20446D;
}
#navbar #navup #contact-info{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
#navbar #navup #contact-info li{
    display: inline-block;
    margin-left: 20px;
}
#navbar #navup #contact-info li a{
    color: #fff;
}

#navbar #navup #menu-info{
    position: absolute;
    top:50%;
    right:2%;
    transform: translateY(-50%);
}
#navbar #navup #menu-info li{
    display: inline-block;
    margin-left: 20px;
}
#navbar #navup #menu-info li a{
    color: #fff;
}

#navbar #navdn{
    position: absolute;
    top: 50%;
    left: 0%;
    height: 50%;
    width: 100%;
    background-image:url("../images/bg/bg2.png");
    background-size: cover;
    background-repeat: no-repeat;
}
#navbar #navdn #menu{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:2%;
}
#navbar #navdn #menu li{
    display: inline-block;
    margin-left: 30px;
}
#navbar #navdn #menu li:last-child{
    background-color: #ffd700;
    padding: 15px;
    border-radius: 30px;
}
#navbar #navdn #menu li a{
    color: #fff;
    font-weight: bolder;
    text-shadow: 1px 1px 0 #000, 1px 1px 1px #555;
}
#navbar #navdn #menu li:last-child a{
    color: #020202;
    text-shadow: none;
}
#navbar .arrow-shape {
  background: white;
  border: none;
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}
#navbar #logo{
    position: absolute;
    top:50%;
    left: 0%;
    transform: translateY(-50%);
    height: 100%;
    width: 20%;
    background-color:rgb(255, 255, 255);
}
#navbar #logo a img{
    position: absolute;
    top:50%;
    left: 45%;
    transform: translate(-50%,-50%);
    height: 120px;
    width: 120px;
}
#titl{
    display: none;
}
#nav{
    position: fixed;
    top:10%;
    left:0%;
    width:0%;
    height:90%;
    background-color: rgba(0,0,0,0.5);
	transition: 0.5s;
}
#nav #ul{
    position: fixed;
    top:10%;
    left:0%;
    width:70%;
    height:100%;
    background-color: #fff;
    display: none;
    transition: 0.5s;
    list-style: none;
}
#nav #ul li{
    margin: 30px;
}
#nav #ul li:first-child button{
    position: absolute;
    top:3%;
    right: 10%;
    font-size: 30px;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0%;
    margin: 0%;
}
#nav #ul li a{
    font-size: 20px;
    color:rgba(24,73,103)
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-image:url("../images/bg/bg1.png");
  background-size: 100% 100%;
  color: white;
  position: absolute;
  top:20%;
  left:0%;
  height: 80%;
  width: 100%;
}
.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
  margin-left: 5%;
}
.hero-content h1 {
  font-size: 5rem;
  text-shadow: 1px 1px 0 #000, 2px 2px 2px #555;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content span {
  color: #fff;
}
.hero-content p {
  font-size: 2rem;
  text-shadow: 1px 1px 0 #000, 2px 2px 2px #555;
  margin-bottom: 30px;
  opacity: 0.95;
}
.hero-btns {
  display: flex;
  gap: 15px;
}
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary {
  background-color: #ffd700;
  color: #000;
}
.btn-primary:hover {
  background-color: #ffcc00;
  transform: scale(1.05);
}
.btn-outline {
  background: #fff;
  border: 2px solid #fff;
  color: #0066cc;
}
.btn-outline:hover {
  background: #fff;
  color: #0066cc;
  transform: scale(1.05);
}
/* ---------- Hero Image ---------- */
.hero-image {
  flex: 1;
  text-align: center;
  animation: fadeIn 1.5s ease-in;
}
.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}
/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* OUR FRATERNITY */
#fret {
    position: absolute;
    top:100%;
    left:0;
    height:30%;
    width:100%;
    display: grid;
    place-items: center;
    background:var(--light);
}
#fret h1 {
    width:100%;
    text-align: center;
    font-size: 5rem;
    color: rgb(29, 53, 87);
}
.counters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 100px;
}
.counter {
  font-size: 3.2em;
  font-weight: bold;
}
.label {
  font-size: 1rem;
  margin-top: 8px;
}
.counter-box {
  display: grid;
  align-content: center;
  width: 200px;
  height: 150px;
  text-align: center;
  color: rgb(29, 53, 87);
}

/* ===== MAIN SECTION ===== */
#notice{
    position: absolute;
    top:130%;
    left:0%;
    width:100%;
    padding:60px 5%;
    background:#f4f6f9;
    display:grid;
    grid-template-columns: 2.2fr 1fr;
    gap:30px;
}

.notice-board{
    background:#fff;
    border-radius:16px;
    padding:25px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

/* Header */
.notice-board .header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.notice-board .header h2{
    font-size:24px;
}

.notice-board .header a{
    color:#0066cc;
    text-decoration:none;
    font-weight:600;
}

.notice-list{
    max-height:380px;
    overflow-y:auto;
    padding-right:10px;
    border-top:1px solid #e6e6e6;
}

.notice-item{
    display:grid;
    grid-template-columns:80px 1fr 60px;
    gap:15px;
    padding:18px 0;
    border-bottom:1px solid #eee;
    align-items:center;
}

/* DATE BOX */
.notice-item .date{
    text-align:center;
    font-size:13px;
}

.notice-item .day{
    display:block;
    font-size:22px;
    font-weight:bold;
    color:#0066cc;
}

/* CONTENT */
.notice-item .content{
    font-size:15px;
    line-height:1.5;
}

/* PDF BUTTON */
.notice-item .file{
    background:#0066cc;
    color:#fff;
    padding:6px 10px;
    border-radius:6px;
    font-size:12px;
    text-align:center;
}

.right-panel{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.quick-links{
    background:#fff;
    padding:20px;
    border-radius:16px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.links{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:15px;
}

.links a{
    background:#f1f3f6;
    padding:14px;
    border-radius:12px;
    text-decoration:none;
    color:#333;
    text-align:center;
    font-weight:600;
    transition:.3s;
}

.links a:hover{
    background:#0d6efd;
    color:#fff;
}

.calendar{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.ssc-calendar{
    margin-top: 20px;
    max-height:350px;
    overflow-y:auto;
    padding-right:10px;
}

.cal-item{
    display:flex;
    align-items:stretch;
    gap:18px;
    padding:18px 0;
    border-bottom:1px solid #e6e6e6;
}

.cal-date{
    background:#0d6efd;
    color:#fff;
    width:70px;
    min-width:70px;
    border-radius:8px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:10px 0;
    position:relative;
}

/* vertical connector line */
.cal-date::after{
    content:"";
    position:absolute;
    bottom:-20px;
    width:2px;
    height:20px;
    background:#0d6efd;
}

.cal-date .day{
    font-size:22px;
    font-weight:bold;
    line-height:1;
}

.cal-date .month{
    font-size:12px;
    letter-spacing:1px;
    margin-top:4px;
}

.cal-content{
    font-size:15px;
    line-height:1.5;
    color:#333;
    padding-top:6px;
}

.cal-item:last-child{
    border-bottom:none;
}

.cal-item:last-child .cal-date::after{
    display:none;
}

.ssc-calendar::-webkit-scrollbar{
    width:6px;
}
.ssc-calendar::-webkit-scrollbar-thumb{
    background:#0d6efd;
    border-radius:10px;
}

/* ===== ABOUT SECTION ===== */
.about{
    position: absolute;
    top:230%;
    left:0%;
    padding: 80px 10%;
    background: #f5f9ff;
}

.about-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Image */
.about-img{
    flex: 1;
}

.about-img img{
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Content */
.about-content{
    flex: 1;
}

.about-content h4{
    color: #3C85B8;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2{
    font-size: 32px;
    margin-bottom: 20px;
    color: #0b2c6b;
}

.about-content p{
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

/* Features */
.about-features{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
    gap: 10px;
}

.feature{
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    font-weight: 500;
}

/* Button */
.about-btn{
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background: linear-gradient(45deg,#3C85B8,#41A58F);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.about-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.about-animate{
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s ease;
}

/* when visible */
.about-animate.animat{
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
                    FACILITY SECTION
===================================================== */

.facility{
    position: absolute;
    top: 330%;
    left: 0%;
    padding:80px 10%;
    background:#ffffff;
}

.facility-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.facility-box{
    background:#f5f9ff;
    padding:30px 20px;
    border-radius:15px;
    text-align:center;
    transition:0.35s;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.facility-box:hover{
    transform:translateY(-12px);
    box-shadow:0 18px 35px rgba(0,0,0,0.18);
}

.icon{
    font-size:45px;
    margin-bottom:15px;
}

.facility-box h3{
    color:#0b2c6b;
    margin-bottom:10px;
}

.facility-box p{
    color:#444;
    font-size:15px;
    line-height:1.6;
}
.section-title{
    text-align: center;
    line-height: 10px;
}
.section-title h4{
    color: #3C85B8;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 30px;
}

.section-title h2{
    font-size: 32px;
    margin-bottom: 20px;
    color: #0b2c6b;
}

.section-title p{
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

#course{
    position: absolute;
    top:415%;
    left:0%;
    height:80%;
    width: 100%;
    background:#ffffff;
}
#course h1{
    text-align: center;
    font-size: 2.5rem;
    font-weight: bolder;
    margin: 20px;
}
#course #container{
    display: flex;
    justify-content: center;
}
/* Animation keyframes */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
#course #container .card{
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    height: 350px;
    width: 280px;
    margin: 15px;
    box-shadow: 0 0px 2px #000;
    padding: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

/* Active animation class */
#course #container .card.animate {
    animation: zoomIn 0.8s ease forwards;
}
/* Staggered delays */
#course #container .card.animate:nth-child(1) {
    animation-delay: 0.2s;
}
#course #container .card.animate:nth-child(2) {
    animation-delay: 0.4s;
}
#course #container .card.animate:nth-child(3) {
    animation-delay: 0.6s;
}
#course #container .card.animate:nth-child(4) {
    animation-delay: 0.8s;
}
#course #container .card h3{
    font-size: 1.2rem;
    color: #000000;
}
#course #container .card h4{
    font-size: 0.8rem;
    color: rgb(29, 53, 87);
}
#course #container .card .cont{
    line-height: 2rem;
}
.checked {
  color: orange;
}
#course #container .card .btn{
    float: right;
    padding: 5px;
    background: linear-gradient(45deg,#3C85B8,#41A58F);
    color: #fff;
    font-size: 15px;
    width: 100px;
    text-align: center;
    border-radius: 10px;
}
#course #vmc{
    position: absolute;
    padding: 20px;
    background: linear-gradient(45deg,#3C85B8,#41A58F);
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
}

/* =====================================================
                    MEMBER SECTION
===================================================== */

#members{
    position: absolute;
    top:500%;
    width:100%;
    padding:80px 8%;
    text-align:center;
}

#members h2{
    font-size:36px;
    margin-bottom:10px;
    color:var(--primary);
}

#members p{
    color:#666;
    margin-bottom:50px;
}

/* GRID */
.member-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

/* CARD */
.member-card{
    background:var(--card);
    padding:30px 20px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.4s;
}

.member-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.member-card img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid var(--secondary);
    margin-bottom:20px;
}

.member-card h3{
    font-size:20px;
    color:var(--text);
}

.member-card span{
    font-size:14px;
    color:var(--secondary);
    font-weight:bold;
}

/* SOCIAL */
.social{
    margin-top:15px;
}

.social a{
    text-decoration:none;
    margin:0 8px;
    font-size:18px;
    color:var(--primary);
    transition:0.3s;
}

.social a:hover{
    color:var(--secondary);
}

/* =====================================================
                    CONTACT SECTION
===================================================== */

#contact{
    position: absolute;
    top:580%;
    width: 100%;
    padding:80px 8%;
    background:#ffffff;
}

.contact-title{
    text-align:center;
    margin-bottom:50px;
}

.contact-title h2{
    font-size:36px;
    color:var(--primary);
}

.contact-title p{
    color:#666;
}

/* LAYOUT */
.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

/* INFO BOX */
.info-box{
    display:flex;
    gap:15px;
    margin-bottom:25px;
    align-items:flex-start;
}

.info-box .icon{
    font-size:26px;
    background:var(--secondary);
    color:white;
    padding:12px;
    border-radius:10px;
}

.info-box h4{
    margin-bottom:5px;
    color:var(--text);
}

.info-box p{
    color:#555;
}

/* MAP */
.map iframe{
    width:100%;
    height:250px;
    border-radius:12px;
    border:0;
    margin-top:20px;
}

/* FORM */
.contact-form{
    background:var(--light);
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.contact-form form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    padding:12px 15px;
    border-radius:8px;
    border:1px solid #ddd;
    outline:none;
    font-size:14px;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:var(--primary);
}

.contact-form button{
    padding:12px;
    border:none;
    background:var(--primary);
    color:white;
    font-size:16px;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.contact-form button:hover{
    background:var(--secondary);
}


/* Footer Styles */
.footer {
  position:absolute;
  top:690%;
  left:0%;
  width:100%;
  background-color: #0c1122;
  color: #dcdcdc;
  padding-top: 40px;
  padding-bottom: 20px;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  width: 80%;
  margin: 0 25px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-column ul li a {
  color: #dcdcdc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.logo-box {
  background-color: #fff;
  color: rgb(29, 53, 87);
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1.2rem;
}

.small-text {
  font-size: 0.8rem;
  color: #ccc;
}

.footer hr {
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}
/* ---------------------------------------------------
      RESPONSIVE DESIGN (MAX-WIDTH: 450PX)
----------------------------------------------------*/
@media screen and (max-width:450px){

    /* NAVBAR */
    #navbar{
        height:10%;
    }
    #navbar #navup{
        display: none;
    }
    #navbar #navdn{
        top:0;
        height:100%;
    }
    #navbar #logo a img{
        height:50px;
        width:50px;
        top:50%;
        left:45%;
        transform:translate(-50%, -50%);
    }
    #navbar #navdn #menu{
        display:none;
    }
    #navbar #navbtn{
        position:absolute;
        top:50%;
        right:5%;
        transform:translateY(-50%);
        height:50px;
        width:50px;
    }
    #navbar #navbtn button{
        height:100%;
        width:100%;
        font-size:1.8rem;
        background:transparent;
        border:none;
        color:darkblue;
    }
    #titl{
        display:block;
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%,-50%);
    }
    #titl h1{
        color:#0c1122;
    }
    #nav{
        z-index:1;
    }

    /* HERO */
    .hero{
        top:10%;
        height:90%;
        background-image:url("../images/bg/bg3.png");
    }
    .hero-content{
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
        margin-left:0;
        display:grid;
        place-items:center;
        align-content:center;
    }
    .hero-content h1{
        font-size:2.5rem;
        margin:25px;
    }
    .hero-content p{
        font-size:1.5rem;
        margin:25px;
        text-align:left;
    }
    .hero-btns{
        justify-content:center;
        flex-wrap:wrap;
    }
    .btn{
        padding:10px 25px;
        font-size:0.9rem;
    }
    .hero-image img{
        max-width:350px;
        margin-top:20px;
    }
    
    /* COUNTERS (Fret) */
    .counters{
        gap:10px;
    }

    #notice {
        position: absolute;
        top: 200%;
        left: 0%;
        width: 100%;
        padding: 60px 5%;
        background: #f4f6f9;
        display: flex;
        grid-template-columns: 2.2fr 1fr;
        gap: 30px;
        align-content: center;
        flex-direction: column;
    }
    .about{
        position: absolute;
        top: 400%;
        left: 0%;
    }
      .about-container{
        flex-direction: column;
        text-align: center;
    }

    .about-features{
        grid-template-columns: 1fr;
    }

    .about-content h2{
        font-size: 26px;
    }
    
    .facility-container{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:26px;
    }
    .facility{
        top:600%;
    }
    
   #course{
        position:absolute;     /* IMPORTANT */
        top:865%;
        height:100%;
        width: 100%;
        padding:80px 15px;
    }

    #course h1{
        font-size:2rem;
        text-align: center;
        width: 90%;
        height: 70px;
    }

    /* Scroll container */
    #course #container{
        width:100%;
        display:flex;
        gap:10px;
        overflow: hidden;
        overflow-x:scroll;
        padding:10px 5px;
        justify-content:flex-start;
    }

    /* Hide scrollbar */
    #course #container::-webkit-scrollbar{
        display:none;
    }

    /* Cards */
    #course #container .card{
        min-width:80%;
        max-width:250px;
        height:auto;
        flex-shrink:0;
        margin:0 auto;
        opacity:1;
        transform:scale(1);
    }
    #course #container .card img{
        height:200px;
    }
    #course #vmc{
        width: 70%;
        text-align: center;
    }
    #members{
        position: absolute;
        top:960%;
        width:100%;
    }
    #contact{
        position: absolute;
        top:1200%;
        width:100%;
    }
    .contact-wrapper{
        grid-template-columns:1fr;
    }
    
    .footer{
        position: absolute;
        top:1400%;
    }
}