body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffb4b0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%; /* Adjusted padding for centering */
    background-color: #582A38;
    border-bottom: 2px solid #000;
}

.navbar .logo h1 {
    color: white;
    font-size: 2rem;
    margin: 0;
    align-items: start;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items:end;
}

.navbar nav ul li {
    margin: 0;
    align-items: end;
}

.navbar nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}
/* highlight active curren page */
.navbar nav ul li a.active {
    font-size: 1.2rem; 
    border-bottom: 2px solid #fff; 
    color: #FFB4B0; 
    padding-bottom: 5px; 
}

/* Ribbons peeche ke */
.ribbon {
    position: absolute;
    width: 200%;
    height: 10px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    opacity: 1;
    animation: moveRibbon 5s linear infinite;
    z-index: -1; 
}

.ribbon1 {
    top: 10%;
    left: -50%;
    transform: rotate(45deg);
}

.ribbon2 {
    top: 30%;
    left: -50%;
    transform: rotate(-45deg);
}

.ribbon3 {
    top: 50%;
    left: -50%;
    transform: rotate(45deg);
}

.ribbon4 {
    top: 70%;
    left: -50%;
    transform: rotate(-45deg);
}
@keyframes moveRibbon {
    from {
        left: -100%;
    }
    to {
        left: 100%;
    }
}

.banner img {
    max-width: 100%; 
    height: auto; 
    display: block; 
}


.main-heading {
    font-size: 3px;
    color: #000000;
}

.subheading {
    font-size: 3px;
    color: #000000;
    margin-bottom: 1.5rem;
}
.content-section {
    padding: 5%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 70%; /* Adjusted width for centering */
    margin: 0 auto; 
}

.welcome-message h1 {
    font-size: 30px;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.welcome-message p {
    font-size: 20px;
    color: #000000;
    line-height: 1.6;
    text-align: justify;
    animation: fadeIn 1s ease-in-out;
}


.founder-section {
    display:inline-flex;
    flex-direction:row;
    align-items: right;
}

.founder-text h1 {
    font-size: 30px;
    color: #000;
    margin-bottom: 1rem;
    animation: slideIn 1.5s ease-in-out;
    text-align: center;
}

.founder-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #000;
    animation: slideIn 1.5s ease-in-out;
    margin-bottom: 1.5rem;
    text-align: left;
}

.founder-image img {
    max-width: 100%; 
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: zoomIn 2s ease-in-out;
    height: auto;
    margin-top: 5rem;
    width: 120rem;
}
.founder-name {
    text-align: center; /* Center-align the name */
    font-size: 24px;
    color: #000;
    margin-top: 1rem;
    animation: fadeIn 2s ease-in-out;
    font-weight: bold;
}

.info-section {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
}

.info-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 45%;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card img {
    width: 100%;
    height: auto;
}

.info-card h3 {
    margin: 20px 0 10px;
    color: #333;
}

.info-card p {
    padding: 0 20px;
    color: #555;
}

.info-card a {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background-color: #FF7A7A;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.info-card a:hover {
    background-color: #FF4B4B;
}

.info-card:hover {
    transform: scale(1.05);
}

.mascot-section {
    background-color: #fce4e4; 
    border-radius: 10px;
    width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    position: relative; 
    z-index: -1;
  }
  
  .mascot-text{
    text-align: left;
  }

  .mascot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .mascot-image img {
    width: 20%; 
    position:static;
    animation: zoomIn 2s ease-in-out; 
    z-index: -1;
    align-items: center;
  }

  /* Additional animation for the mascot */
  @keyframes mascot-animation {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.3);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .mascot-image img {
    animation: mascot-animation 5s infinite; 
  }

  /* Quotes Container:*/

  .quotes-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 90%; 
    margin: 2rem auto;
    padding: 2rem;
    position: relative;
  }

.quotes {
    width: 45%;
    padding: 2rem;
    background-color: #fce4e4;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
}
.quotes h3 {
    font-size: 1.5rem;
    color: #582A38;
    margin-bottom: 1rem;
}

.quotes p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    overflow: hidden; 
    white-space: nowrap;
    border-right: 3px solid #582A38; 
    animation: typing 2s steps(40, end);
    animation: blink-caret 0.75s step-end 2s; 
}

/* Typing Effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #582A38; }
}


@media (max-width: 768px) {
    .founder-section, .mascot-container, .quotes-container {
        flex-direction: column;
    }

    .founder-image img, .mascot-image img {
        width: 80%;
    }

    .quotes {
        width: 100%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* button */ 
.navbar nav ul li a:hover {
    color: #ffb4b0;
    transition: color 0.3s ease-in-out;
}

.button {
    padding: 1rem 2rem;
    background-color: #582A38;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    background-color: #ffb4b0;
}
footer {
    background-color: #582A38;
    color: white;
    padding: 5px 50px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-content .left-section h3 {
    margin-bottom: 10px;
    font-size: 20px;
}
.footer-content .logo h1 {
    font-size: 24px;
    margin: 0;
    margin-top: 5%;
}
.footer-content .right-section a {
    transition: transform 0.3s ease;
    margin-right: 70px;
    margin-top: 10Px;
}
.footer-content .right-section a:hover {
    transform: scale(1.1);
}
.footer-content .right-section img {
    width: 30px;
    height: 30px;
}
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
}

