/* Reset & base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: url(images/kaiju.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 50px;
}

nav img {
    height: 60px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 6%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-links {
    display: flex;
}

.nav-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 25px;
}

.nav-links ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-links ul li a:hover {
    color: #fff;
    background-color: #0078D7;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fa-bars, .fa-times {
    display: none;
    font-size: 24px;
    color: black;
    cursor: pointer;
}

@media screen and (max-width: 900px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 0px;
        right: -200px;
        width: 100vh;
        height: 100vh;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        justify-content: center;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-links ul li a {
        color: #f0e6f6;
        font-size: 18px;
    }

    .fa-bars, .fa-times {
        display: block;
        color: black;
    }

    .fa-times {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .fa-bars {
        color: black !important;
    }
}

.text-box {
    width: 90%;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
}

.text-box h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.text-box p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #eee;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: #0078D7;
    border: none;
    padding: 12px 34px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: #005fa3;
}

nav .fa {
    display: none;
}

@media(max-width:700px) {
    .text-box h1 {
        font-size: 24px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        background: #0078D7;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }
}
.nav-hero-btn {
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 6px;
    white-space: nowrap;
    background-color: #0078D7;;
  }
  
  .nav-hero-btn:hover {
    background-color: #005fa3;
  }
  @media (max-width: 900px) {
    .nav-hero-btn {
      display: none; /* Hide button on mobile to keep things clean */
    }
  }


/* ----------services--------- */

.SERVICES {
    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-top: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col {
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

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);
}

@media(max-width:700px) {
    .row {
        flex-direction: column;
    }
}

/* ----------campus--------- */

.



/* ---------facilities-------- */

.facilities {
    width: 100%;
    margin: 0 auto;
    padding: 100px 10% 80px;
    text-align: center;
    background-color: #f9f9f9; /* Clean, light background */
    font-family: 'Noto Sans', sans-serif;
}

.facilities h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
    text-align: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.facilities-col {
    flex: 1 1 30%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(50px);
    opacity: 0;
    text-align: center;
}

.facilities-col.show {
    opacity: 1;
    transform: translateY(0);
}

.facilities-col img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    object-fit: cover;
}

.facilities-col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.facilities-col:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .facilities-col {
        flex-basis: 100%;
    }
}


/* --------testimonias-------- */
.testimonials {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonial-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
}

.testimonial-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonial-col p {
    padding: 0;
}

.testimonial-col h3 {
    margin-top: 15px;
    text-align: left;
}

.testimonial-col .fa {
    color: #f44336;
}

@media(max-width: 700px) {
    .testimonial-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
}

/* ---------callforaction------ */
.cta {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/image4.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 80px 0;
}


.cta h1 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Ensure form container matches the contact page */
.cta .contact-col {
    width: 50%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

/* Ensure input fields match the contact page */
.cta input,
.cta textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background: transparent;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
}

.cta input::placeholder,
.cta textarea::placeholder {
    color: #ddd;
}
.cta label {
    color: white !important;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}



/* Style the send button */
.cta .hero-btn.red-btn {
    background-color: #f44336;
    color: white;
    font-size: 1rem;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.cta .hero-btn.red-btn:hover {
    background-color: #cc0000;
}

/* Make the form responsive */
@media (max-width: 700px) {
    .cta .contact-col {
        width: 90%;
    }

    .cta h1 {
        font-size: 24px;
    }
}


/* --------------footer------ */

.custom-footer {
    background-color: #1f2937;
    color: #fff;
    padding: 60px 10%;
    font-family: 'Arial', sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }
  
  .footer-left {
    flex: 1 1 300px;
  }
  
  .footer-left img.footer-logo {
    width: 160px;
    margin-bottom: 20px;
  }
  
  .footer-left p {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
  }
  
  .footer-column {
    flex: 1 1 200px;
  }
  
  .footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 10px;
  }
  
  .footer-column ul li a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
  }
  
  .footer-column ul li a:hover {
    color: #fff;
  }
  .footer-social {
    margin-top: 20px;
  }
  
  .footer-social a {
    display: inline-block;
    margin-right: 15px;
    color: #ccc;
    font-size: 18px;
    transition: color 0.3s ease;
  }
  
  .footer-social a:hover {
    color: #fff;
  }
  
  
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  .footer-column.social-column {
    flex: 1 1 200px;
  }
  
  .footer-social-vertical a {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-social-vertical a i {
    margin-right: 8px;
  }
  
  .footer-social-vertical a:hover {
    color: #fff;
  }
  .footer-bottom {
    text-align: center;
    background-color: #1f2937; /* exact same as footer */
    color: #ccc;
    font-size: 13px;
    padding: 15px 10%;
    border-top: 1px solid #374151; /* subtle separation line */
  }
    

  
  


/* --------about us page-------------- */

.sub-header {
    height: 50vh;
    width: 100%;
    background-image: url(images/gotham.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.sub-header h1 {
    margin-top: 100px;
    padding-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;
    font-weight: 600;
}
.about-col {
    opacity: 0;
    transform: translateX(50px); /* Start from right */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-col.show {
    opacity: 1;
    transform: translateX(0);
}


.red-btn {
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.red-btn:hover {
    color: #fff;
}

/* --------------contact us page------------- */
.sub-contact {
    height: 50vh;
    width: 100%;
    background-image: url(images/japanland.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.sub-contact h1 {
    margin-top: 100px;
    padding-top: 100px;
}


.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: 20px;
    color: #f44336;
    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;
} */

.contact-col {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contact-col form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-col label {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.contact-col input[type="text"],
.contact-col input[type="email"],
.contact-col input[type="tel"],
.contact-col select,
.contact-col textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-col select {
    background-color: #fff;
    cursor: pointer;
}

.contact-col textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-col button[type="submit"] {
    background-color: #f44336;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-col button[type="submit"]:hover {
    background-color: #d32f2f;
}

@media (max-width: 768px) {
    .contact-col {
        padding: 0 20px;
    }
}

/* --------------loctt-------------- */

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
    padding: 50px 0;
}

.contact-col {
    flex-basis: 48%;
}

.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-col i {
    font-size: 24px;
    color: #f44336;
    margin-right: 15px;
}

.contact-col h5 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.contact-col p {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
}

/* Map container */
.map-container {
    flex-basis: 48%;
    height: 350px;
    /* Adjust map height */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-col,
    .map-container {
        flex-basis: 100%;
        text-align: center;
    }

    .map-container {
        height: 300px;
        margin-top: 20px;
    }
}
.test{
    height: 50px;
    width: 100%;
    background-color: linear-gradient(to bottom, #00aaff, #ffffff););
}
.test {
    display: flex;
    justify-content: space-between; /* Aligns items in the center */
    align-items: center;
    gap: 20px; /* Space between items */
    background: rgb(29 41 57);
    color: white;
    padding: 10px 20;
    font-size: 14px;
    flex-wrap: wrap;
}

.test p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.test i {
    color: #f8d210; /* Yellow color for icons */
}
.test-btn {
    padding: 8px 15px;
    background-color: #f44336; /* Red button color */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.test-btn:hover {
    background-color: #d32f2f; /* Darker red on hover */
}

/* Hide .test div on small screens (phones) */
@media (max-width: 768px) {
    .test {
        display: none;
    }
}

/* -----------------video----------- */

.video {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    opacity: 0; /* Initially hidden */
    transform: translateX(-50px); /* Start off-screen on the left */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.video.show {
    opacity: 1;
    transform: translateX(0); /* Slide into position */
}

.row {
    display: flex;
    justify-content: space-between;
}

.video-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.video-col img {
    width: 100%;
}

.video-col h1 {
    padding-top: 0;
}

.video-col p {
    padding: 15px 0 25px;
}

.hero-btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
}

.red-btn {
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.red-btn:hover {
    color: #fff;
    background-color: #f44336;
}

/* -------------------career counselling------------- */
.car-counsel {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 7)), url(images/careercounsel.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.car-counsel h1 {
    margin-top: 100px;
}

.counsel {
    width: 80%;
    margin: 100px auto;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: "Poppins", sans-serif;
    color: #333;
    line-height: 1.8;
}

.counsel h1 {
    font-size: 2rem;
    color: #1e3a8a; /* Dark blue tone */
    margin-bottom: 30px;
    text-align: center;
}

.counsel br {
    margin-bottom: 15px;
    display: block;
    content: "";
}

.counsel::before {
    content: "🎓";
    font-size: 40px;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.counsel p {
    margin: 10px 0;
}

.counsel span {
    font-weight: 600;
    color: #1e40af;
}

/* ---------------work in japan-------------------- */

.work {
    width: 100%;
    margin: auto;
    padding: 100px 0;
    background: url('images/japjap.jpg') no-repeat center center/cover;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

/* Optional soft overlay for text readability */
.work::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.85); /* light white overlay */
    z-index: 1;
}

.work-jp {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding: 0 20px;
}

.work-jp h1 {
    font-size: 38px;
    color: #1c3b6c;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.work-jp h3 {
    font-size: 24px;
    color: #2d2d2d;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 500;
}

.work-jp p {
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 800px;
}

.workk {
    width: 100%;
    margin: auto;
    padding: 100px 0;
    background: background-color: #f0f4f8; /* A soft, cool grey-blue */

    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.workk-jp {
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding: 0 20px;
}

.workk-jp h1 {
    font-size: 38px;
    color: #1c3b6c;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.workk-jp h3 {
    font-size: 24px;
    color: #2f4858;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 500;
}

.workk-jp p {
    font-size: 17px;
    color: #4e4e4e;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 800px;
}


/* ------------------services revamped---------------- */
.servamp {
    width: 100%;
    padding: 100px 10% 80px;
    text-align: center;
    position: relative;
    background: url("images/shigatsu.jpg") no-repeat center center/cover;
    z-index: 1;
    overflow: hidden;
  }
  
  .servamp::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* White overlay */
    z-index: 2;
  }
  
  /* Ensuring the content stays above the overlay */
  .servamp > * {
    position: relative;
    z-index: 3;
  }
  /* Heading */
.servamp h1 {
    font-size: 2.75rem;
    color: #1a1f36;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* Subheading Paragraph */
  .servamp p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
  }
  
  
  .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a1f36;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
  }
  
  .servamp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .servamp-col {
    flex: 1 1 300px;
    max-width: 320px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .servamp-col img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
  
  .servamp-col h3 {
    padding: 18px;
    font-size: 1.2rem;
    color: #1a1f36;
    text-align: left;
  }
  
  .servamp-col a {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .servamp-col:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border: 2px solid #c0392b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  /* Reveal animation */
  .servamp-col.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .servamp-grid {
      flex-direction: column;
      align-items: center;
    }
  }
  



/* -----------------testimonial section----- */

/* Section Layout */
.testimonial-section {
    background-image: url('images/japjap.jpg'); /* ✅ Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    color: white;
    position: relative;
  }
  
  /* Optional overlay to darken background for better text readability */
  .testimonial-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* adjust darkness here */
    z-index: 0;
  }
  
  .testimonial-header,
  .swiper,
  .testimonial-card {
    position: relative;
    z-index: 1;
  }
  
  
  /* Header */
  .testimonial-header h1 {
    font-size: 36px;
    color: white;
    margin-bottom: 10px;
  }
  .testimonial-header p {
    font-size: 16px;
    color: white;
    margin-bottom: 40px;
  }
  
  /* Swiper Layout */
  .swiper {
    max-width: 900px;
    margin: auto;
    padding-bottom: 40px;
  }
  
  .testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .testimonial-card video {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
  }
  
  /* Text Content */
  .testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* ✅ Center-align text */
  }
  .testimonial-content h3 {
    margin: 0;
    font-size: 20px;
    color: #222;
  }
  .testimonial-content p {
    font-size: 15px;
    color: #555;
    margin-top: 8px;
    max-width: 600px;
    text-align: center; /* ✅ Optional redundancy for extra safety */
  }
  
  /* Swiper Custom Arrows */
  .swiper-button-next,
  .swiper-button-prev {
    color: #0077cc;
    transition: transform 0.2s;
  }
  
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    transform: scale(1.2);
  }
  
  /* Pagination Dots */
  .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
  }
  .swiper-pagination-bullet-active {
    background: #0077cc;
  }
  
  
  /* -------------news and updates---------- */

  .news-section {
    background-color: #f9f9f9;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
  }
  
  .news-section .section-title {
    text-align: center;
    font-size: 36px;
    color: #222;
    margin-bottom: 50px;
    font-weight: 600;
  }
  
  .news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .news-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .news-card:hover {
    transform: translateY(-5px);
  }
  
  .news-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .news-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
  }
  
  .news-card .date {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #aaa;
  }
  .news-cards-section {
    background: #fff;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
  }
  
  .news-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #111;
  }
  
  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
  }
  
  .news-card {
    background: #f9f9f9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    padding-bottom: 20px;
  }
  
  .news-card:hover {
    transform: translateY(-5px);
  }
  
  .news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .news-card .tag {
    display: inline-block;
    background: black;
    color: white;
    font-size: 14px;
    padding: 6px 10px;
    margin: 20px;
    border-radius: 4px;
  }
  
  .news-card h3 {
    font-size: 20px;
    margin: 0 20px 10px;
  }
  
  .news-card h3 a {
    color: #111;
    text-decoration: none;
  }
  
  .news-card p {
    font-size: 15px;
    color: #555;
    margin: 0 20px;
  }
  
  .news-card .date {
    font-size: 13px;
    color: #999;
    display: block;
    margin: 15px 20px 10px;
  }
  
  .news-card .read-more {
    display: inline-block;
    margin: 0 20px;
    color: #000;
    font-weight: 500;
    text-decoration: underline;
    font-size: 14px;
    margin-top: 10px;
  }

  /* -------------------blog----------- */
  .blog-container {
    padding: 60px 10%;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .blog-col h2 {
    font-size: 36px;
    color: #1f3c88;
    margin-bottom: 10px;
  }
  
  .blog-col p {
    font-size: 16px;
    color: #333;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 220px; /* Set a fixed height for uniformity */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the space without distortion */
    transition: transform 0.3s ease;
  }
  
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  .pagination {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 18px;
    text-decoration: none;
    color: #0078D7;
    border: 1px solid #0078D7;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  .pagination a:hover {
    background-color: #0078D7;
    color: white;
  }
  
  .pagination a.active {
    background-color: #0078D7;
    color: white;
    font-weight: bold;
  }
  
  /* Lightbox Styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
  }
  
  .lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  }
  
  .close-lightbox {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .close-lightbox:hover {
    color: #bbb;
  }
  
  
/* ---------------affiliation--------- */
.affiliation-section {
    background-color: #eef3f9; /* Soft, clean blue-gray */
    padding: 100px 20px;
    font-family: 'Poppins', sans-serif;
    color: #111;
  }
  
  .affiliation-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
  }
  
  .affiliation-text {
    flex: 1 1 600px;
  }
  
  .affiliation-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #1f3c88;
  }
  
  .affiliation-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
  }
  
  .visit-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    background: black;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  .visit-link:hover {
    background: #333;
  }
  
  .affiliation-logo img {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  
  .affiliation-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }
  .affiliation-section.visible {
    opacity: 1;
    transform: translateY(0);
  }
    
  
  