@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;
}

/* projects */
.projects-section {
    text-align: center;
    max-width: 1200px; /* Limits the width of the section */
    margin: 50px auto; /* Centers the section horizontally and adds vertical space */
    padding: 20px;
  }
  
  /* Grid Layout */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px;
    justify-content: center; /* Centers the grid items horizontally */
    align-items: center; /* Centers the grid items vertically */
    padding: 20px;
  }
  
  .project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    
  }
  
  .project-item img {
    width: 100%;
    height: 350px;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .project-item:hover img {
    transform: scale(1.1);
  }
  
  /* Hover Details */
  .project-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
  }
  
  .project-item:hover .project-details {
    opacity: 1;
  }
  
  .project-details h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  
  .project-details p {
    margin: 5px 0;
    font-size: 1rem;
  }

/* 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 a {
    color: #72bcd4;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
  }
}
@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;
    }
  
    .projects-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on small tablets */
      padding: 10px;
    }
  
    .project-item img {
      height: 300px;
    }

    /* 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;
    }
    .projects-grid {
      grid-template-columns: 1fr; /* 1 column on phones */
    }
  
    .project-item img {
      height: 250px;
    }
  
    .project-details h3 {
      font-size: 1.2rem;
    }
  
    .project-details p {
      font-size: 0.9rem;
    }
  
    .footer-section h3 {
      font-size: 16px;
    }
  
    .footer-bottom {
      font-size: 11px;
    }
  }