body {
    margin: 0;
    font-family: Arial, sans-serif;
} 
/* navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 20px;
    height: 20px;  
    box-shadow: rgba(7, 6, 6, 0.16) 0px 1px 3px;
   
}

.logo img {
    margin-top: 5px;
    height: 50px;  
    width: auto;  
    margin-left: 70px;
}

.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links ul li {
    margin: 0 10px;
}

.nav-links ul li a {
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links ul li a:hover {
    background-color: #f0f0f0;
    color: #fc0404;
}

.toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .logo img {
        margin-top: 5px;
        height: 40px;  
        width: auto;  
        margin-left: 0px;
    }

    .navbar {
    height: 10px;  
   
}

    .nav-links {
        display: none;
        width: 100%;
        
    }

    .nav-links ul {
        flex-direction: column;
        width: 100%;
        
    }

    .nav-links ul li {
        text-align: left;
        margin: 10px 0;
        justify-content: left;
        padding-left: 10px;
    }

    .toggle {
        display: block;
    }

    .nav-links.show {
        display: flex;
        flex-direction: column;
        background-color: rgb(234, 234, 234);
        position: absolute;
        top: 50px;
        right: 0;
        width: 150px;
        height: 100%;
        z-index: 1000;
       
    }
}



/* slider css */
.slider-container {
    display: flex;
    overflow: hidden;
    width: 100%;
  
    margin: 10px auto;  
  }
  
  .slider-content {
    display: flex;
    animation: slide 8s infinite;  
  }
  
  .slider-content img {
    width: 100%;
    min-width: 100%;
    height: 550px;
  
  }
  
  @keyframes slide {
    0%, 20% {
      transform: translateX(0);
    }
    25%, 45% {
      transform: translateX(-100%);
    }
    50%, 70% {
      transform: translateX(-200%);
    }
    75%, 95% {
      transform: translateX(-300%);
    }
    
  }
  
  
  
  @media screen and (max-width: 600px) {
    .slider-container{
        height: 200px;
        
    }
    .slider-content img {
      width: 100%;
      min-width: 100%;
      height: auto;
    
    }
  }
  

  /* home page about me my profile photo and about section  */
 
  .information-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
 
    overflow: hidden;
}

.card {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    width: 90%;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
 
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  
    border-radius: 20px;
    z-index: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 0.5;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #7a7a7a;
    transition: transform 0.3s;
}

.profile-image:hover {
    transform: scale(1.1);
}

.name {
    font-size: 32px;
    color: #606060;
    margin-bottom: 10px;
    margin-top: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.info {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    padding-top: 20px;
    border-top: 3px solid #828283;
    margin-top: 20px;
   justify-content: center;
   
}


/* 
why i do this section */
.whyidothis {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    padding: 30px;  
    background: white;  
    
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
 
    text-align: center;
    position: relative;  
    width: auto;
}

 

 
 

.whyidothis img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 0px;
 
}

 

.whyidothis-content {
    max-width: 100%;
    position: relative; /* For z-index */
    z-index: 1; /* Above overlay */
}

.whyidothis-content h5 {
    margin: 0;
    font-size: 2.2em; /* Default size for larger screens */
    color: #333333;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
    position: relative;
    z-index: 1; /* Above overlay */
}

.whyidothis-content p {
    margin: 0px 0 0;
    font-size: 1.2em;  
    color: #555555;
    line-height: 1.6;
    transition: max-height 0.3s ease;  
    font-family: Arial, Helvetica, sans-serif;
 text-align: justify;
}

/* .learn-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); Button shadow 
} */

/* .learn-more-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
} */

/* Media Queries for Small Screens */
@media (max-width: 767px) {
    .whyidothis {
        padding: 20px; /* Reduced padding for small screens */
    }

    .whyidothis-content h5 {
        font-size: 1.5em; /* Reduced font size for small screens */
        white-space: nowrap; /* Prevent line break */
        overflow: hidden; /* Hide overflow */
        text-overflow: ellipsis; /* Add ellipsis for overflow */
    }

    .whyidothis-content p {
        font-size: 0.9em; /* Reduced font size for small screens */
        line-height: 1.4; /* Reduced line height */
    }

    .learn-more-btn {
        margin-top: 15px; /* Reduced margin */
        padding: 10px 20px; /* Reduced padding */
    }
}

@media (min-width: 768px) {
    .whyidothis {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }

    .whyidothis img {
        max-width: 250px;
        margin-right: 40px;
        margin-bottom: 0;
    }

    .whyidothis-content {
        max-width: 600px;
    }

    .learn-more-btn {
        display: none; /* Hide button on larger screens */
    }
}

/* Decorative Lines */
.decorative-line {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #ff4081); /* Colorful line */
    margin: 20px 0; /* Space around the line */
    border-radius: 5px; /* Rounded edges */
}


/* work section */
 
.courses-section {
    padding: 30px 20px;
  background: #ffffff;
    color: #fff;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    overflow: hidden;
}

.courses-header {
    text-align: center;
    margin-bottom: 40px;
}

.courses-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0px;
    color: #050505;
    text-shadow: 2px 1px rgb(232, 232, 232);
}

.courses-header p {
    font-size: 18px;
  margin: auto;
   justify-content: center;
    width: 93%;
    line-height: 1.4;
    color: #878787;
    border-bottom: 3px solid rgb(8, 0, 255);
    padding-bottom: 10px;
 

}

.course-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(25% - 20px);
    text-align: center;
    position: relative;
    color: #333;
}

.course-card img {
    width: 100%;
    height: 230px;
}

.course-card h3 {
    font-size: 20px;
    margin: 10px 0;
    font-weight: 700;
    color: #0072ff;
    margin-bottom: 5px;
}

.course-card p {
    font-size: 14px;
    padding: 0 10px;
    margin-bottom: 10px;
    margin-top: 0px;
    width: 90%;
    text-align: center;
}

.course-card button {
    background-color: #0072ff;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
    margin-top: 10px;
}

.course-card button:hover {
    background-color: #005bb5;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .course-card {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .course-card {
        width: calc(50% - 20px);
    }

    .courses-header h1 {
        font-size: 36px;
    }

    .courses-header p {
        width: 90%;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .courses-section {
   box-shadow: none;
}
    .course-card {
        width: 100%;
    }

    .courses-header h1 {
        font-size: 28px;
    }

    .courses-header p {
        width: 100%;
        font-size: 14px;
    }
}


/* .course-card {
    position: relative;
    padding: 20px;
    margin: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} */

/* .text-container {
    max-height: 3.6em;  
    text-overflow: ellipsis;
    position: relative;
    transition: max-height 0.3s ease;
} */



.text-full {
    display: none;
}

.toggle-btn {
    display: block;
    margin: 0px auto 0;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.toggle-btn:hover {
    background-color: #0056b3;
}

.expanded .text-container {
    max-height: none;
}

.expanded .text-full {
    display: inline;
}

.expanded .text-short {
    display: none;
}


/* vision section */

.vision-container {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 20px;
    padding: 40px;
    animation: slideIn 1s ease-in-out;
}

.main-heading {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #0d47a1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: fadeIn 1s ease-in-out;
    text-align: center;
}

.circle-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0px;
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid #d9d9da;
    transition: transform 0.3s, box-shadow 0.3s;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.circle-item h2 {
    margin: 15px 0 0 0;
    font-size: 1.2em;
    color: #0d47a1;
    text-align: center;
    transition: color 0.3s;
    font-weight: bold;
}

.divider {
    height: 3px;
    background: #0d47a1;
    width: 50%;
    margin: 20px auto;
    animation: lineAnimation 1s forwards;
}

/* Hover Effects */
.circle-item:hover .circle {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.circle-item:hover h2 {
    color: #ff5722; /* Change color on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-heading {
        font-size: 2.5em;
    }

    .circle {
        width: 140px;
        height: 140px;
    }

    .circle-item h2 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .circle-container {
        gap: 30px;
       
    }

    .circle-item {
        width: 35%;
        margin: 10px;
    }

    .main-heading {
        font-size: 2em;
    }

    .circle {
        width: 120px;
        height: 120px;
    }

    .circle-item h2 {
        font-size: 1em;
    }
}
 
 
/* Keyframe animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes lineAnimation {
    from {
        width: 0;
    }
    to {
        width: 50%;
    }
}

 

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* 
extra section */



.extra-container {
    background-color: white;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    animation: fadeIn 1s ease-in-out;
 
    display: flex; 
    flex-direction: column; 
    justify-content: center;  
    align-items: center;  
    overflow: hidden;
    margin: 15px;

}

/* .extra {
    width: auto;   
} */

.extra h5 {
    font-size: 1.5em;
    color: #0d47a1;
    margin: 10px 0;  
    animation: slideIn 1s ease-in-out;
}

.extra p {
    line-height: 1.5;
    text-align: justify;
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .extra h5 {
        font-size: 2em;
    }

    .extra p {
        font-size: 0.9em;
    }
}






/* 
form of contact */


 
 
.submit-btn:hover {
    background-color: #0056b3;
}
.progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    margin-top: 15px;
    display: none;
}
.progress-bar div {
    width: 0%;
    height: 20px;
    background-color: #007BFF;
}
.success-container {
    display: none;
    text-align: center;
    background-color: #fff;
 padding: 70px;
 border-radius: 5px
 
}
.success-container h2 {
    font-size: 1.5em;
    color: green;
}
.success-container .checkmark {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: green;
    color: white;
    font-size: 30px;
    line-height: 50px;
    margin-bottom: 5px;
}
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 1;
}
.progress {
    border: 4px solid #007BFF;
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 29px;
    background-color: #f51505;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid rgb(171, 169, 169);
 padding-bottom: 32px;
 padding-top: 0px;
 width: 35px;
 height: 30px;
 color: white;
}

.close-btn:hover {
    color: #343434; 
    background-color: #65f504;
}








      /* Footer Styles */

      .site-footer {
        background-color: #212121;
        color: #fff;
        padding: 10px 20px;
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
        }
        
        .footer-container {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        }
        
        .footer-section {
        max-width: 250px;
       
        }
        
        .footer-section h3 {
        font-size: 18px;
        margin-bottom: 7px;
        }
        
        .footer-section p {
        font-size: 14px;
        margin-bottom: 0px;
        line-height: 22px;
        }
        
        .footer-section ul  {
        list-style: none;
        padding: 0;
        margin: 0;
        
        }
        .footer-section ul li a {
        text-decoration: none;
        color: beige;
        }
        .footer-section ul li{
        margin-bottom: 5px;
        }
        
        .footer-section li {
        margin-bottom: 5px;
        }
        
        .footer-button {
        display: inline-block;
        padding: 8px 40px;
        background-color: #ff5722;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
        }
        
        .button:hover {
        background-color: #e64a19;
        }
        
        .social-icons1 {
        display: flex;
        }
        
        .social-icons1 a {
        color: #fff;
        font-size: 30px; /* increased size */
        margin-right: 20px;
        text-decoration: none;
        }
        
        /* Copyright Section */
        
        .copyright {
    padding: 0px;
    margin: 0px;
        text-align: center;
        font-size: 14px;
        color: #ccc;
        
        }
 
.fundi {
    text-decoration: none;
    color: rgb(148, 148, 148);
  
}




 
