﻿body {
    font-family: 'Open Sans', sans-serif;
    line-height: 30px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#footer {
    margin-top: auto; /* Pushes the footer to the bottom */
}

.set-pad {
    padding-top: 35px;
}

.set-row-pad {
    padding-top: 30px;
    padding-bottom: 50px;
}

.logo-custom {
    max-height: 60px;
}

#menu {
    background-color: rgba(28, 43, 75, 1);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    min-height: 70px;
}

.navbar-inverse {
    border-color: transparent;
}

.navbar-inverse .navbar-nav > li > a, .navbar-inverse .navbar-nav > li > a:hover {
    color: #FFF;
    padding: 22px 10px;
}

.home-sec {
    padding-top: 10px;
    padding-bottom: 60px;
    background: url(../img/header.jpg) no-repeat center center;
    padding: 0;
    -webkit-background-size: cover;
    background-size: cover;
    color: #fff;
    background-attachment: fixed;
}

.home-sec .overlay {
    background: rgba(38, 57, 88, 0.89);
    min-height: 500px;
}

.home-sec h1 {
    color: #fff;
    font-weight: 900;
    font-size: 50px;
    text-transform: uppercase;
    padding-bottom: 35px;
}

.home-sec h3 {
    text-transform: uppercase;
}

.navbar-nav .nav-item .nav-link {
    transition: background-color 0.3s ease;
    padding: 5px 10px;
}

.navbar-nav .nav-item .nav-link:hover {
    background-color: #f0f0f0;
    color: #000;
}

.set-flexi {
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0);
    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0);
    background-color: transparent;
    border: 0px solid #000;
    padding-top: 120px;
}

.flex-control-nav {
    display: none!important;
}

.set-flexi a {
    margin: 5px;
}

.tag-line {
    background: #E9E9E9;
    color: #000;
}

.tag-line h2 {
    font-size: 20px;
    font-weight: 900;
    padding: 5px 10px 10px 5px;
    color: #005E5A;
}

.tag-line h2 > i {
    margin-left: 8px;
    margin-right: 8px;
}

.header-line {
    font-weight: 900;
    font-size: 25px;
    padding-bottom: 5px;
    padding-top: 25px;
    color: #000;
}

h1::after {
    content: " ";
    border: solid 2px #2f9484;
    display: block;
    width: 200px;
    margin: 12px auto;
}

.about-div {
    padding: 30px;
}

.icon-round-border {
    border: 10px double #1A94C4;
    color: #2f9484;
    text-align: center;
    padding-top: 15px;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.icon-round-border:hover {
    color: #fff;
    border: 10px double #fff;
    background-color: #1A94C4;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.about-div hr {
    border: 1px solid #1A94C4;
}

.about-div h3 {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.about-div p {
    padding-top: 10px;
}

.btn-set {
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    margin-bottom: 20px;
}

#faculty-sec {
    background-color: #000;
    color: #fff;
}

#faculty-sec .header-line {
    color: #fff;
}

.faculty-div h4 {
    line-height: 30px;
    font-weight: 700;
}

.faculty-div {
    padding: 30px;
}

.faculty-div hr {
    border: 1px solid #1A94C4;
}

.faculty-div h3 {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.faculty-div p {
    padding-top: 10px;
    padding-bottom: 15px;
}

.faculty-div img {
    border: 10px double #fff;
}

#contact-sec {
    padding-top: 10px;
    padding-bottom: 60px;
    background: url(../img/contact.jpg) no-repeat center center;
    padding: 0;
    -webkit-background-size: cover;
    background-size: cover;
    color: #fff;
    background-attachment: fixed;
}

#contact-sec .overlay {
    background: rgba(0, 0, 0, 0.76);
    min-height: 600px;
}

#contact-sec h1 {
    color: #fff;
}

#contact-sec .form-control {
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
}

#footer {
    padding: 5px 20px;
    background-color: #2d3d5a;
    text-align: right;
    color: #fff;
    font-size: 15px;
}

@media (max-width: 767.98px) {
    #academy-navbar {
        height: 50px;
        padding: 5px 10px;
        font-size: 12px;
    }

    #academy-navbar .navbar-brand {
        font-size: 14px;
    }

    #academy-navbar .navbar-nav .nav-item .nav-link {
        font-size: 12px;
        padding: 5px 8px;
    }

    .navbar-toggler {
        font-size: 14px;
    }

    .navbar-nav {
        flex-direction: column;
    }
}


#foliage1 {
    color: #129e56;
    font-weight: 900;
    font-size: 30px;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    #menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1030;
        width: 100%;
        background-color: rgba(28, 43, 75, 1); 
    }

    .navbar-collapse {
        color: #000;
        background-color: #549471;
        position: absolute;
        top: 100%;
        width: 100%;
        z-index: 1020;
    }

    .navbar-toggler {
        z-index: 1040;
    }

    .navbar-nav .nav-item .nav-link {
        color: white;
    }

    body {
        padding-top: 70px; 
    }
}
div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
  }
  
  div.gallery:hover {
    border: 1px solid #777;
  }
  
  div.gallery img {
    width: 100%;
    height: auto;
  }
  
  div.desc {
    padding: 15px;
    text-align: center;
  }
  .gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery {
    margin: 10px;
    flex-basis: calc(25% - 20px); /* Each image takes up 25% of the screen with some margin */
    box-sizing: border-box;
}

.gallery img {
    width: 100%;
    height: auto; /* Ensures responsiveness */
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05); /* Zooms in on hover */
}

.desc {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

@media screen and (max-width: 767.98px) {
    .gallery {
        flex-basis: calc(50% - 20px); /* On smaller screens, each image takes up 50% */
    }
}

@media screen and (max-width: 480px) {
    .gallery {
        flex-basis: calc(100% - 20px); /* On very small screens, each image takes up the full width */
    }
}
#goUpBtn {
    position: fixed;
    bottom: calc(20px + 60px);
    right: 20px; 
    display: none;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    
}
#goUpBtn:hover {
    background-color: #0056b3;
}
