body {
    font-family: "Calibri", sans-serif;
}
/* <==================slider========================> */
.image-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.image-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.image-slider img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.slide-content {
    position: absolute;
    top: 70%;
    left: 25%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: 30px 40px;
    text-align: center;
    border-radius: 10px;
    max-width: 80%;
    animation: fadeInUp 1s ease;
}

.slide-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    background: rgba(6, 107, 151, 0.547);
    border-radius: 5px;
}

.slide-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 16px;
}
/* Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 25px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    user-select: none;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 930px) {
    .slide-content {
        left: 40%;
    }
}
@media (max-width: 768px) {
    .slide-content {
        padding: 20px;
    }

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

    .slide-content h3 {
        font-size: 18px;
    }

    .slide-content p {
        font-size: 14px;
    }
}

/* <========================================> */
/* <===============About==================> */
/* About Section */
.about-us {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    gap: 40px;
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.about-images {
    position: relative;
    flex: 1 1 300px;
    max-width: 500px;
    animation: slideInLeft 1s ease forwards;
    opacity: 0;
}

.about-images .img1 {
    width: 100%;
    border-radius: 10px;
}

.about-images .img2 {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 45%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-images .curve {
    position: absolute;
    left: -50px;
    bottom: 0;
    width: 100px;
}

.about-content {
    flex: 1 1 300px;
    max-width: 600px;
    animation: slideInRight 1s ease forwards;
    opacity: 0;
}

.about-content .badge {
    background-color: #e1f3ee;
    color: #176553;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 14px;
}

.about-content h2 {
    font-size: 32px;
    color: #111;
    margin-bottom: 20px;
}

.about-content p {
    color: #444;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 25px;
}

.read-more-btn {
    background-color: #004d80;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
}

.read-more-btn:hover {
    background-color: #0066aa;
    transform: translateX(5px);
}

/* About Video Section */
.about-video-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.video-caption {
    font-size: 18px;
    color: #222;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 0 10px;
}

.about-video {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.about-video video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .about-us {
        flex-direction: column;
    }

    .about-images,
    .about-content {
        max-width: 100%;
    }

    .about-images .img2 {
        right: 0;
        bottom: -15px;
        width: 40%;
    }

    .about-images .curve {
        display: none;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content p {
        font-size: 15px;
    }

    .video-caption {
        font-size: 16px;
    }
}

/* <========================================> */
/* <==============Education=====================> */
.programs-section {
    padding: 60px 20px;
    background-color: #f4f9fb;
    text-align: center;
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}

.section-header .badge {
    background: #d7f2ec;
    color: #176553;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.section-header p {
    font-size: 16px;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.6;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    justify-content: center;
    align-items: stretch;
    padding: 0 20px;
}

.program-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: slideUp 1s ease forwards;
    opacity: 0;
}

.program-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.program-card h4 {
    font-size: 16px;
    font-weight: 600;
    padding: 15px;
    margin: 0;
    color: #222;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* <========================================> */
/* <================Gallery===================> */
.photo-gallery {
    padding: 60px 20px;
    background: #f5f9fb;
    text-align: center;
    overflow: hidden;
}

.gallery-header .badge {
    background-color: #d6f3e9;
    color: #176553;
    padding: 5px 14px;
    font-weight: 600;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
}

.gallery-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin: 10px 0;
}

.gallery-header h2 span {
    display: block;
    color: #111;
}

.gallery-header p {
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
}

.gallery-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.nav-btn {
    background-color: #004d80;
    color: #fff;
    border: none;
    font-size: 24px;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.nav-btn:hover {
    background-color: #0066aa;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    position: relative;
    min-width: 250px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

.gallery-item:hover {
    transform: perspective(800px) rotateY(10deg) scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(23, 101, 83, 0.85);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}
.gallery-item:hover .caption {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .gallery-track {
        gap: 10px;
    }

    .gallery-item {
        min-width: 200px;
    }

    .nav-btn {
        font-size: 18px;
        padding: 8px 12px;
    }
}

/* <========================================> */
/* <=================our services=================> */
.app-section {
    padding: 60px 20px;
    background: #fdfdfd;
    text-align: center;
}

.app-header .badge {
    background-color: #d6f3e9;
    color: #176553;
    padding: 6px 14px;
    font-weight: 600;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 14px;
}

.app-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 10px 0;
}

.app-header p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.app-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.app-card {
    background: #0c4a6e;
    color: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.7s ease-in-out;
}

.app-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.app-card .icon img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Ensures image fills the container */
}

.app-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.demo-btn {
    display: inline-block;
    border: 1px solid #fff;
    padding: 8px 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    background: #fff;
    color: #0c4a6e;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .app-header h2 {
        font-size: 22px;
    }

    .app-card {
        padding: 20px 15px;
    }

    .app-card h3 {
        font-size: 16px;
    }
}

/* <========================================> */

/* <=================Contact Us==================> */
.contact-section {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 40px;
    animation: fadeIn 0.6s ease;
    margin-top: 5%;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    font-size: 32px;
    color: #004d80;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 16px;
    color: #666;
}

.contact-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1 1 60%;
}

.contact-info {
    flex: 1 1 35%;
    background: #e9f5ff;
    padding: 20px;
    border-radius: 10px;
}

.contact-info h2 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #004d80;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #007acc;
    background: #f0fbff;
}

.submit-btn {
    background-color: #004d80;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background-color: #007acc;
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* <========================================> */
