/*=========================================
    INDEX PAGE
    Part 1
=========================================*/

/*==========================
Hero Slider
==========================*/

.hero-slider{
    position:relative;
    width:100%;
    overflow:hidden;
}

.slider-wrapper{
    position:relative;
}

.slide{
    position:relative;
    display:none;
}

.slide:first-child{
    display:block;
}

.slide img{
    width:100%;
    height:600px;
    object-fit:cover;
}

.overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
}
.slider-section{
    margin-bottom:10px;
}
.slider-section{
    padding-bottom:10px;
}

.slide-content{
    position:absolute;
    top:50%;
    left:10%;
    transform:translateY(-50%);
    max-width:650px;
    color:#fff;
    z-index:10;
}

.slide-content .subtitle{
    display:inline-block;
    background:#ff9800;
    color:#fff;
    padding:8px 18px;
    border-radius:4px;
    margin-bottom:20px;
    font-size:15px;
    font-weight:600;
}

.slide-content h1{
    font-size:52px;
    line-height:1.2;
    margin-bottom:20px;
    font-weight:700;
}

.slide-content p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn-primary{
    background:#ff9800;
    color:#fff;
    padding:14px 30px;
    border-radius:5px;
    transition:.3s;
}

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

.btn-outline{
    border:2px solid #fff;
    color:#fff;
    padding:12px 30px;
    border-radius:5px;
    transition:.3s;
}

.btn-outline:hover{
    background:#fff;
    color:#003366;
}

/*==========================
Slider Buttons
==========================*/

.prev-slide,
.next-slide{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#ffffff;
    color:#003366;
    font-size:22px;
    cursor:pointer;
    transition:.3s;
    z-index:99;
}

.prev-slide{
    left:20px;
}

.next-slide{
    right:20px;
}

.prev-slide:hover,
.next-slide:hover{
    background:#ff9800;
    color:#fff;
}

/*==========================
Latest Updates
==========================*/

.latest-updates{
    display:flex;
    align-items:center;
    background:#ffffff;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    margin:40px auto;
    overflow:hidden;
    border-radius:6px;
}

.updates-title{
    background:#003366;
    color:#fff;
    padding:18px 30px;
    font-size:18px;
    font-weight:600;
    white-space:nowrap;
}

.updates-title i{
    margin-right:10px;
}

.updates-marquee{
    flex:1;
    padding:15px 20px;
}

.updates-marquee a{
    color:#003366;
    font-weight:600;
    transition:.3s;
}

.updates-marquee a:hover{
    color:#ff9800;
}

/*==========================
Common Section
==========================*/

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:38px;
    color:#003366;
    margin-bottom:12px;
}

.section-title p{
    color:#666;
    font-size:17px;
}

.text-center{
    text-align:center;
}

.mt-30{
    margin-top:30px;
}

.mb-30{
    margin-bottom:30px;
}

/*==========================
Animation
==========================*/

.hero-slider,
.latest-updates{
    animation:fadeIn .8s ease;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/*=========================================
    INDEX PAGE
    Part 2
=========================================*/

/*==========================
Welcome Section
==========================*/

.welcome-section{
    padding:80px 0;
    background:#f8f9fc;
}

.welcome-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:30px;
    align-items:flex-start;
}

.welcome-card,
.chairman-card,
.notice-card{
    background:#fff;
    border-radius:10px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.welcome-card:hover,
.chairman-card:hover,
.notice-card:hover{
    transform:translateY(-5px);
}

.welcome-card h2{
    color:#ff9800;
    font-size:18px;
    margin-bottom:8px;
}

.welcome-card h3{
    color:#003366;
    font-size:30px;
    margin-bottom:20px;
}

.welcome-card p{
    color:#666;
    text-align:justify;
    line-height:1.8;
    margin-bottom:25px;
}

/*==========================
Chairman Section
==========================*/

.chairman-card{
    text-align:center;
}

.chairman-card img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 25px;
    border:6px solid #003366;
}

.chairman-content h2{
    color:#003366;
    margin-bottom:20px;
    font-size:28px;
}

.chairman-content p{
    color:#666;
    text-align:justify;
    line-height:1.8;
    margin-bottom:25px;
}

.chairman-content h4{
    color:#003366;
    margin-bottom:5px;
    font-size:22px;
}

.chairman-content span{
    color:#ff9800;
    font-weight:600;
}

/*==========================
Latest Notice
==========================*/

.notice-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    border-bottom:2px solid #f1f1f1;
    padding-bottom:15px;
}

.notice-header h2{
    color:#003366;
    font-size:26px;
}

.notice-header a{
    color:#ff9800;
    font-weight:600;
}

.notice-item{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px 0;
    border-bottom:1px solid #eeeeee;
}

.notice-item:last-child{
    border-bottom:none;
}

.notice-date{
    width:70px;
    min-width:70px;
    background:#003366;
    color:#fff;
    text-align:center;
    padding:12px 8px;
    border-radius:8px;
}

.notice-date span{
    display:block;
    font-size:24px;
    font-weight:700;
}

.notice-date small{
    font-size:13px;
    letter-spacing:1px;
}

.notice-text a{
    color:#333;
    font-weight:600;
    line-height:1.6;
    transition:.3s;
}

.notice-text a:hover{
    color:#ff9800;
}

/*==========================
Why Choose Us
==========================*/

.why-us{
    padding:80px 0;
    background:#ffffff;
}

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

.feature-box{
    background:#ffffff;
    text-align:center;
    padding:35px 25px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.feature-box:hover{
    background:#003366;
    transform:translateY(-8px);
}

.feature-box i{
    font-size:55px;
    color:#ff9800;
    margin-bottom:20px;
    transition:.3s;
}

.feature-box h3{
    color:#003366;
    font-size:22px;
    margin-bottom:15px;
    transition:.3s;
}

.feature-box p{
    color:#666;
    line-height:1.8;
    transition:.3s;
}

.feature-box:hover h3,
.feature-box:hover p{
    color:#ffffff;
}

.feature-box:hover i{
    color:#ffd54f;
}

/*=========================================
    INDEX PAGE
    Part 3
=========================================*/

/*==========================
Latest Gallery
==========================*/

.gallery-section{
    padding:80px 0;
    background:#f8f9fc;
}

.gallery-slider{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.gallery-item{
    overflow:hidden;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.4s;
    cursor:pointer;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/*==========================
Statistics
==========================*/

.statistics{
    padding:80px 0;
    background:#003366;
}

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

.counter-box{
    text-align:center;
    color:#fff;
}

.counter-box h2{
    font-size:48px;
    color:#ffd54f;
    margin-bottom:10px;
}

.counter-box p{
    font-size:18px;
}

/*==========================
Testimonials
==========================*/

.testimonial-section{
    padding:80px 0;
    background:#ffffff;
}

.testimonial-slider{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.testimonial-box{
    background:#fff;
    text-align:center;
    padding:35px 25px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.testimonial-box img{
    width:100px;
    height:100px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #003366;
    margin:auto;
    margin-bottom:20px;
}

.testimonial-box h3{
    color:#003366;
    margin-bottom:5px;
}

.testimonial-box span{
    color:#ff9800;
    font-weight:600;
}

.testimonial-box p{
    margin-top:20px;
    color:#666;
    line-height:1.8;
    font-style:italic;
}

/*==========================
Responsive
==========================*/

/* Laptop */

@media(max-width:1200px){

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

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

}

/* Tablet */

@media(max-width:992px){

.slide img{
height:450px;
}

.slide-content{
left:6%;
max-width:90%;
}

.slide-content h1{
font-size:40px;
}

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

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

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

.testimonial-slider{
grid-template-columns:1fr;
}

}

/* Mobile */

@media(max-width:768px){

.hero-slider{
margin-top:0;
}

.slide img{
height:320px;
}

.slide-content{
left:20px;
right:20px;
max-width:100%;
}

.slide-content .subtitle{
font-size:13px;
}

.slide-content h1{
font-size:28px;
}

.slide-content p{
font-size:15px;
margin-bottom:20px;
}

.hero-buttons{
flex-direction:column;
}

.hero-buttons .btn,
.hero-buttons .btn-primary,
.hero-buttons .btn-outline{
width:100%;
text-align:center;
}

.prev-slide,
.next-slide{
width:40px;
height:40px;
font-size:16px;
}

.latest-updates{
flex-direction:column;
}

.updates-title{
width:100%;
text-align:center;
}

.updates-marquee{
width:100%;
}

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

.gallery-slider{
grid-template-columns:1fr;
}

.gallery-item img{
height:250px;
}

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

.counter-box{
padding:20px 0;
}

.counter-box h2{
font-size:38px;
}

.testimonial-slider{
grid-template-columns:1fr;
}

.testimonial-box{
padding:25px;
}

.section-title h2{
font-size:28px;
}

.section-title p{
font-size:15px;
}

}

/* Small Mobile */

@media(max-width:480px){

.slide img{
height:260px;
}

.slide-content h1{
font-size:22px;
}

.slide-content p{
display:none;
}

.btn,
.btn-primary,
.btn-outline{
padding:12px 18px;
font-size:14px;
}

.gallery-item img{
height:220px;
}

.counter-box h2{
font-size:32px;
}

}
