 /* Global Styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
   font-family: "Roboto", sans-serif;
   font-weight: 400;
    background-color: rgb(255, 255, 255);
    color: black;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-container {
    background-color: #003366;
    display: flex;
    color: white;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-family: 'Georgia, serif';
    background-color: #003366;
    color: #f0f0f0;
    font-size: 1.5rem;
}

nav ul {
    padding-right: 10px;
    background-color: #003366;
    color: white;
    display: flex;
    list-style: none;
}

nav ul li {
    color: white;
    margin-left: 30px;
}

nav ul li a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    padding: 8px;
    border-radius: 5px;
    background-color: #4651eb;
    color: #97b2cc;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    height: 700px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.hero-content h1 {
    font-family:'Arial Narrow Bold';
    color: white;
    font-size: 70px;
    padding: 40px;
    line-height: 1.5;
    letter-spacing: 3px;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    top: 90%;
    margin-bottom: 20px;
}

.hero-content .buttons{
    justify-content: center;
    padding-left: 100px;
    display: flex;
    gap: 23px;
}

.hero-content .button{
    text-decoration: none;
    padding: 10px 26px;
    border: 2px solid transparent;
    color: white;
    flex-direction: column;
    background: #417c2a;
    border-radius: 10px;
    font-weight: bolder;
    transition: 0.3s ease;
}

.hero-content .button:hover,
.hero-content .join-us{
    color: white;
    border-color: whitesmoke;
    background: transparent;
}

.hero-content .join-us:hover{
    color: rgb(206, 202, 195);
    border: 1px solid transparent;
    background: #417c2a;
}

.btn {
    display: inline-block;
    background-color: #0c7525;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1e4426;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #28a745;
    font-size: 2rem;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #28a745;
    margin: 15px auto 0;
}

.description{
    background-color: #c4ced8;
    align-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.description h3{
    font-size: 40px;
    color: black;
}

.description p{
    align-items: center;
    padding-left: 8px;
    font-size: 17px;
}

.description strong{
    color: #28a745;
}

/* About Section */
.about-content {
    display: flex;
    background-color: rgb(218, 215, 211);
    padding-left: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Programs Section */

#programs .container{
    height: 300px;
}
.programs-container {
    display: grid;
    background-color: rgb(233, 232, 229);
    box-shadow: 0 5px 15px rgba(27, 11, 11, 0.1);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
    cursor: pointer;
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-details {
    padding: 20px;
}

.program-details h3 {
    color:  #28a745;
    margin-bottom: 10px;
}

/* Admissions Section */
.admissions-content {
    background-color: rgb(223, 220, 220);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admissions-content h3 {
    color:  #28a745;
    margin-bottom: 20px;
}

.admissions-content h4{
    font-size: 20px;
    font-weight: bolder;
    text-transform: capitalize;
}

.admissions-content p {
    font-size: 20px;
    margin-bottom: 20px;
}

.admission-steps {
    margin-top: 30px;
}

.step .step-number .step-content p{
    font-size: 30px;
}
.step-number {
    background-color:  #28a745;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

section .news {
  padding: 30px;
  background: #f9f9f9;
  text-align: center;
}

/* Workflow section */
.study-flow{
    background-color: rgb(235, 233, 231);
}

.steps-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.step {
  text-align: center;
  width: 22%;
  border-radius: 10px;
  padding: 5px;
}

.step h3{
    margin-bottom: 10px;
}
.step p {
   
    text-align: center;
    font-size: 12.5px;
    margin-bottom: 10px;
}

.step-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.arrow {
  font-size: 30px;
  color: black;
}


/* News section*/
#news .container{
    height: 500px;
}
.news-grid {
 padding: 20px;
  text-align: center;
  color: rgb(8, 3, 3);
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  cursor: pointer;
}

#news h3{
     font-family: 'Courier New', Courier, monospace;
     text-transform: capitalize;
}

.news-item {
   padding: 20px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.news-item p{
    margin-bottom: 35px;
}
.news-item img {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  margin-bottom: 10px;
}

h3, h4 {
  color: #160d0d;
  margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials-container {
    position: relative;
    max-width: 900px;
    font-size: 22px;
    background-color: #003366;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
}

.testimonial-slide {
    display: none;
    background-color: #003366;
    padding: 30px;
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    color:  #28a745;
    margin-bottom: 5px;
}

.testimonial-nav {
    text-align: center;
    margin-top: 20px;
}

.testimonial-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.testimonial-dot.active {
    background-color: #003366;
}

/*Events*/
#events{
    background-color: #28a745;
}
.events{
  padding: 20px;
  text-align: center;
  color: white;
}

.event h2 {
     text-align: center;
    margin-bottom: 40px;
    color: #fdfdfd;
    font-size: 2rem;
    position: relative;
}
.event h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #fafffb;
    margin: 15px auto 0;
}
.event h3{
    color: #28a745;
}
.subtitle {
    letter-spacing: 15px;
    color: white;
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0.8;
}

.events {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.event-card {
  cursor: pointer;
  background-color: white;
  color: #2d3436;
  width: 400px;
  padding: 10px;
  padding-left: 0;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 25px;
  display: inline-block;
  border-radius: 15px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(17, 14, 14, 0.1);
}

.event-card img {
    width: 100%;
    height:300px;
    border-radius: 5%;
    display: flexbox;
    transition: transform 0.5s;
}

.event-card p{
    font-family: 'Times New Roman', serif;
    font-weight: 500;
    font-size: 20px;
}
.date {
  font-weight: 800;
  font-family: 'Times New Roman';
  background-color: #28a745;
  position: absolute;
  top: 270px;
  left: 10px;
  width: 70px;
  color: rgb(254, 255, 253);
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 3px;
}

.date span {
  font-size: 1.5rem;
  display: block;
}

.location {
  position: absolute;
  top: 270px;
  right: 20px;
  color: white;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 3px;
  background-color: #2d3436;
}

.event-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Gallery section */
#gallery{
    height: 2300px;
    background: wheat;
    padding: 50px 0 100px;
}

#gallery ul{
    list-style: none;
}

#gallery .gallery-list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#gallery .gallery-list .gallery-item{
    width: calc(100% / 4 - 36px);
}

#gallery .gallery-item .gallery-image{
    width: 90%;
    height: 80%;
    cursor: zoom-in;
    border-radius: 15px;
    transition: 0.3 ease-in-out;
}

#gallery .gallery-item:hover .gallery-image{
    transform: scale(1.3);
}


/* Contact Section */
.contact-container {
    width: 1330px;
    padding-left: 15px;
    background-color: #f1f7f2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    padding-right: 30px;
}

.contact-info h3 {
    color: #003366;
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    color: #003366;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
}
.code{
    width: 300px;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    padding: 60px 0 20px;
    
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column:hover{
    cursor: pointer;
    background-color: #02264b8a;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(17, 14, 14, 0.1);
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column i{
    color:#28a745;
    font-size: 30px;
}
.footer-column strong{
    color:#28a745;
}
.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    margin-top: 15px;
    font-size: 35px;
     background:#28a745;
}

.follow-social a {
    display: inline-block;
    width: 80px;
    height: 80px;
    font-size: 28px;
    padding-top: 18px;
    background: #83acd4;
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    color: rgb(14, 5, 5);
    transition: background-color 0.3s;
}

.follow-social a:hover{
    cursor: pointer;
    background: #5a6c7e;
}
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    color: rgb(14, 5, 5);
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ddd;
}

.footer-img{
    width: 60px;
    height: 60px;
}

.footer-social a {
    color:  #fff;
    margin: 0 10px;
    font-size: 18px;
    text-decoration: none;
}

.footer-social a:hover{
    background: #5a6c7e;
}

/* Mobile Styles */
@media (max-width: 768px) {
    body { font-size: 1.2rem;
    width: 500px; }
    .menu-toggle {
        margin-right: 10px;
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    nav.active {
        max-height: 500px;
        padding: 20px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-content h2 {
    font-size: 1.1rem;
    }

    .hero-content p {
    width: 500px;
    justify-content: center;
    padding-left: 100px;
    font-size: 1.1rem;
    }

    .about-content, .contact-container {
        flex-direction: column;
    }

    .about-text, .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
.hero-content h1 {
    font-family:'Arial Narrow Bold';
    color: white;
    font-size: 46px;
    padding: 40px;
    line-height: 1.5;
    letter-spacing: 3px;
    font-weight: 900;
    margin-bottom: 20px;
}
.admissions-content {
    background-color: rgb(223, 220, 220);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
#gallery{
    height: 850px;
    background: wheat;
    padding: 25px 0 50px;
    width: 100%;
}
.hero-content {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    height: 1200px;
    width: 700px;
}
.hero-content .button{
    padding: 10px;
    height: auto;
    width: 400px;
}
.hero-content .buttons{
    padding-top: 0;
    justify-content: center;
    padding-left: 100px;
    display: flex;
    flex-direction: column;
    gap: 23px;
}
.contact-container {
    width: 470px;
    padding-left: 10px;
}
#programs .container{
    height: 1700px;
}
#news .container{
    height: 900px;
}
.step {
  text-align: center;
  width: 80%;
  border-radius: 10px;
  padding: 0;
}
.arrow {
  color: transparent
}}

 @media (min-width: 1024px) {
      body { font-size: 1.2rem; }
    }
@media (max-width: 414px) {
      body { font-size: 1.1rem;
     }
      .hero-content {
    top: 90%;
}
    }

 @media (max-width: 320px) {
      body { font-size: 1.0rem; 
    }
    .hero-content {
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
}
    }
