*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
.html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(eduford_img/NDT\ img4_LE_upscale_balanced_x4.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.text-box span{
    color: #0096FF;
}
.me span{
    color: #0096FF;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 200px;
    /* max-width: 100%; */
    height: auto;
    object-fit: contain;
    background: transparent;
    border: none;
    margin-top: 10px;
}
.nav-links{
    flex: 1;
    text-align: right;

}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.footer a{
    text-decoration: none;
    color: #999;
}
.nav-links ul li a{
    color: #F0FFFF;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #0096FF;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
    
}
.text-box{
    width: 90%;
    color: #F0FFFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #F0FFFF;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #F0FFFF;
    border: 1px solid #F0FFFF;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.hero-btn:hover{
    border: 1px solid #0096FF;
    background: #0096FF;
    transition: 1s;
}

nav .ri-menu-line{
    display: none;
}
nav .ri-arrow-right-line{
    display: none;
}

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin: 5%;
    display: flex;
    justify-content: space-between;

}
.course-col{
    flex-basis: 31%;
    background: #ADD8E6;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
.Company {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.Company img{
    padding-top: 50px;
    width: 80%;
}
.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,
.layer.visible{
    background: rgba(0,150,255,0.7);
}
.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #F0FFFF;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3,
.layer.visible h3 { /* <-- add this line */
    bottom: 49%;
    opacity: 1;
}


.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.Fac-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.Fac-col img{
    width: 100%;
    border-radius: 10px;
}
.Fac-col p{
    padding: 0;
}
.Fac-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}
.Testi{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.Test-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #F0FFFF;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.Test-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.Test-col p{
    padding: 0;
}
.Test-col h3{
    margin-top: 5px;
    text-align: left;
}
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(eduford_img/NDT\ img5.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #F0FFFF;
    margin-bottom: 40px;
    padding: 0;
}
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
.ri{
    color: #0096FF;
    margin: 0 30px;
    cursor: pointer;
    padding: 18px 0;
}
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(eduford_img/NDT\ img4_LE_upscale_balanced_x4.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #F0FFFF;
}
.sub-header h1{
    margin-top: 100px;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;

}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
}
.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
}

.red-btn{
    border: 1px solid #0096FF;
    background: transparent;
    color: #0096FF;
}
.red-btn:hover{
    color: #F0FFFF;
}
.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;

}
.blog-left{
    flex-basis: 65%;

}
.blog-content img{
    width: 100%;
}
.blog-content h2{
    color: #222;
    font-weight: 600;
    margin: 30px;
}
.blog-left p{
    color: #999;
    padding: 0;
}
.blog-right{
    flex-basis: 32%;
}
.blog-right h3{
    background: #0096FF;
    color: #F0FFFF;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}
.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}
.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px 0;
}
.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;

}
.contact-us{
    width: 80%;
    margin: auto;

}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;

}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div i{
    font-size: 28px;
    color: #0096FF;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}



.owner-enhanced-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #f0f2f5, #ffffff);
    font-family: 'Poppins', sans-serif;
}

.owner-enhanced-card {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    background: #F0FFFF;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    padding: 40px;
    align-items: center;
    flex-wrap: wrap;
    transition: 0.3s ease;
}

.owner-image-container img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.owner-image-container img:hover {
    transform: scale(1.05);
}

.owner-info {
    flex: 1;
    min-width: 280px;
}

.owner-info h2 {
    font-size: 30px;
    color: #222;
    font-weight: 700;
    margin-bottom: 8px;
}

.owner-info h3 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.owner-info .title {
    color: #888;
    margin-bottom: 12px;
}

.owner-section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
}


.owner-info .bio {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.owner-contact-info p {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-weight: 500;
    color: #333;
}

.owner-contact-info i {
    color: #0096FF;
    font-size: 20px;
    margin-right: 10px;
    width: 24px;
    text-align: center;
}

.owner-contact-info span {
    font-size: 15px;
}

.me{
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
    font-family: "Poppins", sans-serif;
  }
  .me h2 {
    font-size: 30px;
    font-weight: 500;
    color: #002147;
  }
  .me h3{
    font-size: 2.1rem;
    color: #013A63;
    text-transform: uppercase;
    transition-delay: .2s;
}

.me p{
    font-size: 1.2rem;
    color: #1B2E3C;
    transition-delay: .4s;
    padding: 1rem 0;
}
  .me .subtitle {
    font-size: 15px;
    color: #555;
    margin-top: 10px;
  }
  .me .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
  }
  .me .feature-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .me .feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  }
  .me .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  .me .feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #013A63;
    margin-bottom: 10px;
  }
  .me .feature-desc {
    font-size: 15px;
    color: #333333;
  }

.hidden-text {
    opacity: 0;
    transition: opacity 0.5s ease;
    }

    .hidden-text.visible {
    opacity: 1;
    }



@media (max-width: 768px) {
    .owner-enhanced-card {
        flex-direction: column;
        text-align: center;
    }

    .owner-contact-info {
        justify-content: center;
    }
    
}



#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #0096FF; /* red spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.whatsapp-float {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        cursor: pointer;
    }

    .whatsapp-float img {
        width: 50px;
        height: 50px;
        transition: transform 0.3s ease;
         background: transparent; 
    }

    .whatsapp-float img:hover {
        transform: scale(1.1);
    }

    


@media(max-width:700px)
{
    .header nav img{
        padding-top: 20px;
    }
    .text-box h1{
        font-size: 30px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #0096FF;
        height: 100vh;
        width: 200px;
        top:0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .ri-menu-line{
        display:inline;
        color: #fff;
        margin: 2px;
        padding: 0.5px;
    }
    nav .ri-arrow-right-line{
        display:inline-block;
        margin: 8px;
        color: #fff;
        position: relative;
        cursor: pointer;
        padding: 5px;
    }
    .nav-links ul{
        padding: 30px;

    }
}
@media(max-width: 700px)
{
    .row{
        flex-direction: column;
    }
    .Test-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
    .ctn h1{
        font-size: 24px;
    }
    .sub-header h1{
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    .owner-enhanced-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .owner-image-container img {
        width: 150px;
        height: 150px;
    }

    .owner-info h3 {
        font-size: 22px;
    }

    .owner-info .bio,
    .owner-info .title {
        font-size: 14px;
    }

    .owner-contact-info p {
        justify-content: center;
    }
}
