
 /* Cascading Style Sheets */

*{
    margin: 0;
    padding: 0;
    /* border: 1px solid yellow; */
}

@font-face {
    font-family: myFirstFont;
    src: url(../Poppins/Poppins-Regular.ttf);
}
    @font-face {
    font-family: bold;
    src: url(../Poppins/Poppins-Bold.ttf);
}

@font-face {
    font-family: secound;
    src: url(../Poppins/Poppins-Bold.ttf);
}

h1{
    font-family: bold;
}

body{
    font-family: myFirstFont,Verdana, Geneva, Tahoma, sans-serif;
    cursor:default;
}

    /* Website Scrollerbar */
    body::-webkit-scrollbar {
        width: 5px !important;
        height: 5px !important;
    }
    body::-webkit-scrollbar-track {
        background: #3838387c !important;
    }
    body::-webkit-scrollbar-thumb {
        background-color: #ff6b05a4 !important;
        border: 1px solid #ff991279 !important;
        border-radius: 1px !important;
    }

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(10,42,80,0.6),rgba(10,42,80,0.6)),url(../image/background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

/* Background slideshow */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url("../image/background1.jpeg") ;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.02);
    transition: opacity 1.5s ease-in-out;

     content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url("../image/background2.jpeg") ;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.02);
    transition: opacity 1.5s ease-in-out;

     background-image: url("../image/background3.jpeg") ;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.02);
    transition: opacity 1.5s ease-in-out;
}



nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 150px;
}
.nav-links{
    flex: 1;
    text-align: right;
    
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    
}
.nav-links a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #ff9912;
    display: block;
    margin: auto;
    transition: 0.5s;
    
}
.nav-links ul li:hover::after{
    width: 100%;
    
}
.text-box{
    width: 90%;
    color: #fff;
    position:absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%,50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
    font-weight: bold;

}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
    
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #ff9912;
    border: 2px solid #ff9912;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 5px;
}
.hero-btn:hover{
    color: black;
    border: 2px solid #ff9912;
    background: #ff9912;
    transition: 0.5s;
}

.icon{
    display:none;
}

/* Course */

 .course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 300;
}
p{
    color:#777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    text-align: left;
}
.course-col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: #fff4ea;
    border-radius: 10px;
    border-top: 4px solid #ff6b05;
    padding: 22px 20px;
    box-sizing: border-box;
    transition: 0.5s;
}
.course-label{
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ff6b05;
    border: 1.5px solid #ff6b05;
    border-radius: 20px;
    padding: 3px 12px;
}
.course-col h3{
    text-align: left;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1b2b3f;
}
.course-col:hover{
    box-shadow: 10px 10px 24px 0px rgba(0,0,0,0.4);
}
@media (max-width: 900px){
    .course-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}


    /*Campus*/


.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.campus-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(0, 245, 253, 0.534);

    /* rgba(255,107,5,0.7); */
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3{
    opacity: 1;
    bottom: 49%;
}

/* Facilities */

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facilities-col img{
    width: 100%;
    border-radius: 10px;
    transition: 0.5s;
}
.facilities-col p{
    padding: 0%;
}

.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

.facilities-col img:hover{
    box-shadow: 3.5px 5px 15px 10px rgba(0, 0, 0, 0.308);
}

/* Call To Action */

.ctn{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../image/banner_ggu.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
    transition: 0.5s;
}
.ctn h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
.ctn:hover{
    margin: 100px auto;
    width: 80%;
    background-image:linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)),url(../image/banner_ggu.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 100px 0;
    box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.664);
}
.ctn{inline-size: 100%;}

/* Media query for responsive */

@media (max-width: 700px) {

    *{
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    
    }
    #logo-img{
        padding: 10px;
    }
    .text-box h1{
       font-size: 30px;
       font-weight: bold;
    }
    .text-box p{
        font-size: 12px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #ff6b05;
        height: 100vh;
        width: 200px;
        top: 0%;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    .icon{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 25px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }

    /*Course in Media query*/
   
    .course-grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .row{
        flex-direction: column;  
    }   
    .course-col:hover{
        box-shadow: 3px 3px 0.5px 0.5px rgba(0, 0, 0, 0.486);
    }
        /* Facilities */
    .facilities-col img:hover{
        box-shadow:none;
    }

    /* Call To Action in Media query*/
    .ctn h1{
        font-size: 24px;
    }
}
/* ====== WhatsApp Chat Button ====== */
#whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 999;
}
#whatsapp-chat:hover {
  transform: scale(1.1);
}

/* small footer */
    footer{margin-top:18px;color:var(--muted);font-size:13px;text-align:center}
/* Media query is Close*/

/* ====== Sub-page header (Application / other inner pages) ====== */
.header.sub-header{
    min-height: 55vh;
}
.sub-header .text-box{
    top: 58%;
    transform: translate(-50%,-50%);
}
.sub-header .text-box h1{
    font-size: 48px;
}
.sub-header .text-box p{
    margin: 10px 0 0;
}

/* ====== Application form ====== */
.admission{
    width: 80%;
    margin: auto;
    padding: 80px 0 40px;
}
.admission-layout{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3%;
}
.info-panel{
    flex-basis: 32%;
    background: #fff4ea;
    border-radius: 10px;
    padding: 30px 24px;
    box-sizing: border-box;
    transition: 0.5s;
}
.info-panel:hover,
.form-panel:hover{
    box-shadow: 10px 10px 24px 0px rgba(0,0,0,0.4);
}
.info-note{
    padding: 0 0 20px;
    color: #4a5a6b;
}
.info-block{
    margin-bottom: 22px;
}
.info-block h3{
    text-align: left;
    margin: 0 0 6px;
    color: #ff6b05;
}
.info-block p,
.info-block a{
    padding: 0;
    color: #4a5a6b;
    font-size: 14px;
    text-decoration: none;
}
.info-block a:hover{
    color: #ff6b05;
}
.social-row{
    display: flex;
    gap: 10px;
}
.info-block .social-link{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #ff6b05;
    color: #ff6b05;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}
.social-link svg{
    width: 18px;
    height: 18px;
}
.info-block .social-link:hover{
    background: #ff6b05;
    color: #fff;
}

.form-panel{
    flex-basis: 65%;
    background: #fff;
    border: 1px solid #f6dcc6;
    border-radius: 10px;
    padding: 30px 28px;
    box-sizing: border-box;
    transition: 0.5s;
}
.field{
    margin-bottom: 18px;
    text-align: left;
}
.field label,
.upload-label{
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1b2b3f;
    margin-bottom: 6px;
}
.field input,
.field select,
.field textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: #1b2b3f;
    background: #fff4ea;
    border: 2px solid transparent;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}
.field textarea{
    resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
    border-color: #ff6b05;
    background: #fff;
}
.field .invalid{
    border-color: #f26200;
}

.uploads{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0;
}
.upload-item{
    background: #fff4ea;
    border-radius: 10px;
    padding: 14px;
    box-sizing: border-box;
    min-width: 0;
}
.upload-item input[type="file"]{
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    color: #4a5a6b;
}
.upload-item input[type="file"]::file-selector-button{
    font-family: inherit;
    font-size: 12px;
    color: #ff6b05;
    background: transparent;
    border: 2px solid #ff6b05;
    border-radius: 5px;
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.5s;
}
.upload-item input[type="file"]::file-selector-button:hover{
    background: #ff6b05;
    color: #fff;
}

.form-note{
    min-height: 22px;
    padding: 0 0 10px;
    font-size: 14px;
    color: #f26200;
}
.form-note.success{
    color: #23880f;
}
.submit-btn{
    display: inline-block;
    color: #ff6b05;
    border: 2px solid #ff6b05;
    padding: 12px 34px;
    font-family: inherit;
    font-size: 13px;
    background: transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s;
}
.submit-btn:hover{
    color: #fff;
    background: #ff6b05;
}
.submit-btn:focus-visible,
.field input:focus-visible{
    outline: 2px solid #ff6b05;
    outline-offset: 2px;
}
.form-footnote{
    padding: 14px 0 0;
    font-size: 12px;
}

/* ====== Footer (shared) ====== */
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 20px;
    margin-top: 20px;
    font-weight: 600;
}

.footer-contact{
    width: 80%;
    max-width: 700px;
    margin: 0 auto 20px;
    padding-top: 20px;
    border-top: 1px solid #f6dcc6;
}
.footer-address{
    font-style: normal;
    color: #4a5a6b;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
}
.footer-line{
    color: #4a5a6b;
    font-size: 14px;
    line-height: 22px;
    padding: 4px 10px;
}
.footer-line strong{
    color: #ff6b05;
    font-weight: 600;
}
.footer-line a{
    color: #4a5a6b;
    text-decoration: none;
    transition: 0.3s;
}
.footer-line a:hover{
    color: #ff6b05;
}
#copyright{
    font-size: 13px;
}

@media (max-width: 700px){
    .footer-contact{
        width: 90%;
    }
    .footer-line{
        word-break: break-word;
    }
}

@media (max-width: 700px){
    .header.sub-header{
        min-height: 60vh;
    }
    .sub-header .text-box h1{
        font-size: 30px;
    }
    .admission{
        width: 90%;
        padding-top: 50px;
    }
    .admission-layout{
        flex-direction: column;
        gap: 24px;
    }
    .info-panel,
    .form-panel{
        flex-basis: auto;
        width: 100%;
    }
    .uploads{
        grid-template-columns: 1fr;
    }
    .info-panel:hover,
    .form-panel:hover{
        box-shadow: 3px 3px 0.5px 0.5px rgba(0,0,0,0.486);
    }
}


/* ====== About page: Our Story ====== */
.story{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.story-text{
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.impact-row{
    display: flex;
    justify-content: center;
    gap: 3%;
    margin-top: 40px;
}
.impact-box{
    flex-basis: 31%;
    background: #fff4ea;
    border-radius: 10px;
    padding: 24px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.impact-box:hover{
    box-shadow: 10px 10px 24px 0px rgba(0,0,0,0.4);
}
.impact-box h2{
    color: #ff6b05;
    font-size: 36px;
}

/* ====== Testimonials ====== */
.testimonials{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.testimonials h2.sub-title{
    text-align: left;
    font-size: 22px;
    font-weight: 600;
    margin: 50px 0 20px;
    color: #1b2b3f;
    border-left: 4px solid #ff6b05;
    padding-left: 12px;
}
.video-grid,
.story-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}
.video-card,
.story-card{
    background: #fff4ea;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
}
.video-card:hover,
.story-card:hover{
    box-shadow: 10px 10px 24px 0px rgba(0,0,0,0.4);
}
.video-card video{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    object-fit: cover;
}
.story-card img{
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f6dcc6;
}
.card-body{
    padding: 16px 18px 20px;
}
.card-body h3{
    text-align: left;
    margin: 0 0 4px;
    color: #ff6b05;
}
.card-body .course-tag{
    padding: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1b2b3f;
}
.card-body p{
    padding: 0;
}
.card-body .quote{
    font-style: italic;
    margin-top: 8px;
}

@media (max-width: 900px){
    .video-grid,
    .story-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px){
    .story,
    .testimonials{
        width: 90%;
        padding-top: 60px;
    }
    .video-grid,
    .story-grid{
        grid-template-columns: 1fr;
    }
    .impact-row{
        flex-direction: column;
        gap: 12px;
    }
    .impact-box:hover,
    .video-card:hover,
    .story-card:hover{
        box-shadow: 3px 3px 0.5px 0.5px rgba(0,0,0,0.486);
    }
}
