/* CSS Boilerplate */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fffcfc74;
    color: black;
    scroll-behavior: smooth;
}

#header {
    width: 100%;
}

.header-tt {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 3rem;
    background-color: #111D30;
}

.header-ttl {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.header-ttl a {
    text-decoration: none;
    color: white;
    transition: all .3s ease;
}

.header-ttl a:hover {
    transform: scale(1.1);
    color: #00A8FF;
    transition: 0.3s;
}

.header-ttr {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 1rem;
}

.header-ttr a {
    text-decoration: none;
    color: white;
    transition: all .3s ease;
}

.header-main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 6rem;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.205);


}

.logo {
    width: 65px;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.navbar a {
    font-size: 14px;
    font-family: sans-serif;
    text-decoration: none;
    color: #000000b5;
    font-weight: 600;
    transition: all 0.3s ease-in;
}

.navbar a:hover {
    transform: scale(1.09);
    color: #000ba0;
    transition: 0.3s;
}

.hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    margin-bottom: 1rem;
}

.hero img {
    width: 100%;
    height: auto;
}

.latest-nn {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.latest-nn h1 {
    margin: 20px 0;
    margin-bottom: 3rem;
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
}

.slider-track {
    padding: 1rem 0;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.card {
    min-width: 300px;
    margin: 10px 10px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.386);
    padding: 20px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .6s ease;
}

.card:hover {
    background-color: #1004FD;
    color: white;
    transition: .6s;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-top: 2rem;
}

.afgcollege {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    margin-top: 3rem;
    padding: 0 6rem;
}

.afgcollege-l {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: right;
    align-items: start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.afgcollege-l h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.afgcollege-r {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.afgcollege-r img {
    width: 90%;
    height: auto;
    border-radius: 10px;
}

.home-vvv {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 3rem;
}

.hvcard {
    width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    background-color: rgb(255, 255, 255);
    padding: 1rem 1rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.11);
    transition: all .3s ease;
}

.hvcard:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgb(0, 0, 0);
}

.hvcard video {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.blogstyle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    background-color: #F3F7FD;
    padding: 3rem 1rem;
}

.bs-card {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.205);
    transition: all .3s ease-in;
}

.bs-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 0 20px black;
    transition: all .3s ease;
}

.bs-cardtt {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 4rem;
}

.bs-cardtt img {
    width: 100%;
    height: auto;
}

.bs-cardbb {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 1rem;
    text-align: left;
    padding: 0 1.2rem;
    padding-bottom: 1.5rem;
}

.testimonials {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    gap: 4rem;
    position: relative;
}

.testimonial-texture {
    position: absolute;
    z-index: 11;
    left: 0;
    bottom: 0;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.testmonial-card {
    width: 40%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.311);
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    border: 3px solid white;
    z-index: 22;
    position: relative;
    overflow: hidden;
}

.corner {
    background-color: #337AB7;
    width: 120px;
    height: 70px;
    transform: rotate(45deg);
    position: absolute;
    right: -8%;
    top: -18px;
}

.testimonial-carduu {
    width: 100%;
    margin-bottom: 2rem;
}

.testimonial-carddd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 2px solid #0000001a;
    padding-top: 2rem;
}

.testimonial-carddl {
    width: 40%;
}

.testimonial-carddl img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-carddr {
    padding-left: 10px;
    border-left: 1px solid black;

}

.testimonial-carddr h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testmonial-card i {
    font-size: 1.8rem;
    position: absolute;
    right: 1%;
    top: 2%;
    color: white;
    z-index: 333;
}

.footer {
    width: 100%;
    background-color: #111D30;
}

.footer-up {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 2rem;
    padding: 3rem 6rem;
    border-bottom: 2px solid #ffffff1a;
}

.facebook-plink {
    width: 30%;
    margin-right: 2rem;  
}



.student-re {
    width: 20%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 2rem;
}

.student-re h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.student-re ul {
    list-style-type: "➤ ";
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    padding-left: 1.2rem;
}

.admissions-re {
    width: 20%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2rem;
}

.admissions-re h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.admissions-re ul {
    list-style-type: "➤ ";
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    padding-left: 1.2rem;
}

.contact-info {
    width: 30%;
    color: white;
}

.contact-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.79);
}

.contact-info p span {
    font-weight: 800;
    color: white;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.opening-t1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ffffff1a;
}

.opening-t2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 6rem;
    background-color: #111D30;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.575);
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all .3s ease;
}

#contactform-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
}

.contact-inner {
    width: fit-content;
    padding: 2rem 2rem;
    display: flex;
    box-shadow: 0 15px 25px black;
}

.contact-inner-left {
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.location-sec-1{
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2rem;
    margin-bottom: 0.5rem;
}

.location-sec-1l i {
    font-size: 3rem;
    color: #337AB7;
}

.location-sec-1r h3{
    font-size: 1.3rem;
}

.location-sec-1r p {
    font-size: 1.3rem;
}

.google-map {
    width: fit-content;
    padding: 2rem 2rem;
    border-left: 1px solid rgba(0, 0, 0, 0.205);
}

.google-map h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}