/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

body.loaded {
  visibility: visible;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Top Section */
.top-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0e7e7;
  padding: 1rem 2rem;
  color: rgb(53, 52, 52);
  flex-wrap: wrap;
}

.top-section img {
  width: 100px;
  height: auto;
  border-radius: 25%;
}

.office-info {
  text-align: center;
  flex: 1;
  margin: 0 1rem;
}
.officesinhala{
  font-family: "Abhaya Libre";
}


.office-name {
  font-size: 2rem;
}

/* Additional Menu Section */
.additional-menu {
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 500;
}

.additional-menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.additional-menu ul li a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.additional-menu ul li a:hover {
  background-color: #00aaff;
  color: white;
}

/* Header Section with Slideshow */
header {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  animation: slideshow 12s infinite;
}

.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slideshow {
  0% { transform: translateX(0%); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 5px black;
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.header-content p {
  font-size: 1.5rem;
}

/* About Section */
section {
  padding: 2rem 0;
}

.about-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: nowrap;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  max-width: 900px;
  margin: 1rem auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-container:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.about-container img {
  width: 150px;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
}

.about-content {
  flex: 1;
  padding-left: 1rem;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00aaff;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: justify;
}

/* Contact Section */
.contact-container {
  max-width: 1200px;
  margin: 2rem auto;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input, .contact-form textarea, .contact-form button {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-form button {
  background: #00aaff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #0077cc;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  color: #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .top-section {
    flex-direction: column;
    text-align: center;
  }

  .top-section img {
    width: 80px;
    margin: 0.5rem 0;
  }

  .office-name {
    font-size: 1.5rem;
  }

  header {
    height: 50vh;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .header-content p {
    font-size: 1rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-container img {
    width: 100%;
    max-width: 300px;
  }

  .about-content {
    padding-left: 0;
    margin-top: 1rem;
  }

  .additional-menu ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
}
css

Copy
/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Top Section */
.top-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0e7e7;
  padding: 1rem 2rem;
  color: rgb(66, 66, 66);
  flex-wrap: wrap;
}

.office-info {
  text-align: center;
  flex: 1;
  margin: 0 1rem;
}

.office-name {
  font-size: 2rem;
}

/* Full Circle Menu Icon */
.menu-wrapper {
  position: relative;
  bottom: -20px; /* Positions the circle at the bottom of the top section */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: #00aaff;
  border-radius: 50%; /* Makes it a full circle */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease; /* Add rotation animation */
}

.menu-wrapper:hover {
  transform: translateX(-50%) rotate(360deg); /* Rotate the circle on hover */
}

.menu-icon {
  width: 30px;
  height: 3px;
  background: white;
  position: relative;
  display: inline-block;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: white;
  left: 0;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

/* Menu Items */
.menu {
  display: none; /* Initially hidden */
  position: absolute;
  top: 100%; /* Position the menu below the circle */
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 200px;
  opacity: 0;
  transform: translateX(-50%) translateY(-10px); /* For animation */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu li {
  text-align: center;
  position: relative;
}

/* Hover Animation for Main Menu */
.menu-wrapper:hover .menu {
  display: block;
  opacity: 1; /* Fade in */
  transform: translateX(-50%) translateY(0); /* Slide into place */
}

.menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
}

.menu li a:hover {
  background-color: #00aaff;
  color: white;
  transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Submenu */
.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.submenu li a {
  padding: 0.5rem 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.submenu li a:hover {
  background-color: #00aaff;
  color: white;
  transform: scale(1.1);
}

/* Show Submenu on Hover */
.menu li:hover .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
#mission-vision{
  text-align: center;
  font-size: larger;
}

.Vission{
  border: #00aaff solid 2px;
  border-radius: 10%;
  margin-inline-start: 15%;
  margin-inline-end: 15%;
}

.Mission{
  border: #00aaff solid 2px;
  border-radius: 10%;
  margin-inline-start: 15%;
  margin-inline-end: 15%;
  margin-block-start: 2%;
}

#Aboutpara{
  margin-left: 10px;
  margin-right: 10px;
  border: #00aaff solid 2px;
}
