@font-face {
  font-family: 'Caviar Dreams';
  src: url('fonts/CaviarDreams.ttf') format('truetype'),
       url('fonts/CaviarDreams.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* style.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    font-family: 'Caviar Dreams', sans-serif;
    margin: 0;
    padding: 0;
}

/* Top White Bar with Contact Info */
.top-bar {
    background-color: #d3e5f3;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    font-size: 14px;
    color: #333;
}

.contact-info {
    display: flex;
    gap: 15px;
}

.contact-info i {
    color: #002647;
    margin-right: 5px;
}

.opac {
    background: #d3e5f3;
}

/* Red Ribbon Overlay */
.red-ribbon {
    background-color: #002647;
    width: 75%; /* Adjusts width to 75% */
    height: 60px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50px 100%);
    position: absolute;
    top: 30px;
    right: 0; /* Positions the ribbon on the right side */
    z-index: 10;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    padding: 20px;
    position: relative;
    z-index: 20;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 30;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin-left: 20px;
    margin-top: -20px; /* Moves the logo up to align with the ribbon */
}

.navbar-brand .logo {
    border-radius: 100%;
    width: 100px;
    margin-top: -30px;
    margin-left: 50px;
}


.navbar-links {
    display: flex;
    align-items: right;
    margin-right: 100px;
    gap: 15px;
    margin-top: -40px;
}

.navbar-links a {
    color: #d3e5f3;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 2PX;
    transition: box-shadow 0.3s ease, color 0.3s ease;
}

.navbar-links a:hover {
    color: #003461;
    box-shadow: inset 100px 0 0 0 #fff;
    border-radius: 2px;
}

/*about us*/
.banner {
    width: 100%;
    max-height: 150px;
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -60px;
    text-align: center;
    padding-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutt {
    font-size: 42px;
    color: #d3e5f3;
    text-decoration: none;
    font-weight: bold;
    text-shadow: #002647;
}
  
/* About Section Styles */
.cont-us {
    width: 60%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
  }
  
  .section-us {
    text-align: center;
    font-size: 2rem;
    color: #000;
    margin-bottom: 1rem;
  }
  
  .intro-us {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
  }

.cont-us img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/*vision,mission,value*/
.mission-vision-values {
    width: 80%;
    max-width: 1200px;
    margin: 2rem auto;
    text-align: center;
  }
  
  .cont-vision {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .item {
    flex: 1;
    max-width: 300px;
  }
  
  .circle {
    width: 80px;
    height: 80px;
    border: 3px solid #002647;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
  }
  
  .icon {
    width: 60px;
    height: 60px;
  }
  
  h3 {
    font-size: 1.2rem;
    color: #002647;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  
  .divider {
    width: 50px;
    height: 2px;
    background-color: #002647;
    margin: 0.5rem auto;
  }
  
  p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-top: 0.5rem;
  }

/*timeline*/
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
  }
  
  .section-title {
    text-align: center;
    font-size: 2rem;
    color: #000;
    margin-bottom: 1rem;
  }
  
  .intro-text {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
  }
  
  /* Timeline Styles */
  .timeline {
    position: relative;
    padding: 2rem 0;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 220px;
    bottom: 20px;
    width: 3px;
    background-color: #002647;
    z-index: -1;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 1rem;
  }
  
  .timeline-content {
    width: 45%;
    text-align: center;
  }
  
  .timeline-content img {
    width: 400px;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .timeline-content h3 {
    font-size: 1.8rem;
    color: #002647;
    margin-bottom: 0.5rem;
  }
  
  .timeline-content h4 {
    font-size: 1.5rem;
    color: #00437e;
    margin-bottom: 1rem;
  }
  
  .timeline-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
  }
  
  /* Alignments */
  .timeline-item:nth-child(even) .timeline-content {
    order: 1;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    order: 2;
    text-align: right;
  }


/* Footer styles */
.footer {
    background-color: #002647;
    color: #d3e5f3;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h3 {
    color: #d3e5f3;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #72bcd4;
}

/* Company Info Styles */
.company-info {
    display: flex;
    flex-direction: column;
}

.logo-and-name {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    filter: invert(100%) brightness(1000%);
    width: 200px; /* Adjust as needed for logo size */
    margin-right: 10px;
    margin-top: 14px;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    color: #d3e5f3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #72bcd4;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #d3e5f3;
    border-top: 1px solid #72bcd4;
    margin-top: 20px;
}

.footer-bottom p {
    color: #d3e5f3;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========= RESPONSIVE STYLES ========= */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    background-color: #002647;
    z-index: 100;
  }

  .navbar-brand {
    font-size: 18px;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .navbar-brand .logo {
    width: 60px;
    margin-left: 10px;
    margin-top: -15px;
    filter: invert(100%) brightness(1000%);
  }

  .menu-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    background-color: #002647;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px); /* fills the screen below the navbar */
    z-index: 25;
  }

  .navbar-links.show {
    display: flex;
  }

  .navbar-links a {
    padding: 15px;
    border-top: 1px solid #444;
    color: #d3e5f3;
    text-align: center;
  }

  /* Red Ribbon */
  .red-ribbon {
    width: 110%;
    height: 50px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 25px 100%);
  }

  /* Banner */
  .banner {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    margin-top: 0;
    text-align: center;
    height: auto;
  }

  .banner p {
    font-size: 28px;
  }

  .banner button {
    margin-top: 20px;
    font-size: 1rem;
  }

  /* About Section */
  .container-us {
    width: 90%;
  }

  .cont-us img {
    width: 80%;
  }

  .aboutt {
    font-size: 32px;
  }

  /* Vision-Mission-Values */
  .cont-vision {
    flex-direction: column;
    align-items: center;
  }

  .item {
    max-width: 90%;
  }

  /* Timeline Section */
  .timeline {
    padding: 1rem 0;
  }

  .timeline::before {
    display: none; /* Hide center vertical line on mobile */
  }

  .timeline-item {
    flex-direction: column;
    text-align: center;
    margin: 2rem 0;
    position: relative;
  }

  .timeline-content {
    width: 100%;
    order: unset !important;
  }

  .timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .timeline-content img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .timeline-content p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* Optional: Add a horizontal line between timeline items */
  .timeline-item::after {
    content: "";
    display: block;
    width: 60%;
    height: 2px;
    background-color: #ccc;
    margin: 2rem auto;
  }

  /* Remove line after last item */
  .timeline-item:last-child::after {
    display: none;
  }

  /* Footer */
  .footer-logo {
    margin: 0 auto 10px auto;
    display: block;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%;
    margin: 20px 0;
  }
}

/* ========== SMALL SCREENS (≤ 480px) ========== */
@media (max-width: 480px) {
  .aboutt {
    font-size: 28px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .intro-text, .intro-us {
    font-size: 1rem;
  }

  h3 {
    font-size: 1rem;
  }

  .timeline-content h3,
  .timeline-content h4 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.85rem;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}
