@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
  --dark-blue: #002244;
  --sky-blue: #00BFFF;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
}
/* Base Layout */
.container {
  max-width: 1170px;
  margin: auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-blue);
  color: var(--white);
  z-index: 1000;
  padding: 5px 0;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .container {
  height: 60px;
}

.logo img {
  width: 120px;
}

.menu {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  transition: var(--transition);
}

.menu ul {
  list-style: none;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a,
.submenu-toggle > a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 10px;
  transition: var(--transition);
}

.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.submenu-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  padding: 10px 0;
  display: none;
  min-width: 180px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  z-index: 110;
  border-radius: 4px;
  margin-top: 15px;
}

.submenu.open {
  display: block;
  margin-top: 10px;
}

.submenu li a {
  display: block;
  padding: 10px;
  color: var(--dark-blue);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.submenu li a:hover {
  color: var(--dark-blue);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 18px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.icon-btn-cart {
  display: flex;
}

.icon-btn:hover {
  color: var(--sky-blue);
}

.open-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.open-menu-btn span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: var(--white);
  margin: 3px 0;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 991px) {
  .menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 240px;
    max-height: 80vh;
    background-color: var(--dark-blue);
    flex-direction: column;
    padding: 25px 20px;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    border-radius: 0 12px 12px 0;
    overflow-y: auto;
  }

  .menu.active {
    left: 0;
  }

  .main-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .main-menu li {
    width: 100%;
  }

  .submenu-toggle {
    width: 100%;
  }

  .main-menu li a {
    font-size: 16px;
    padding: 10px 0;
    width: 100%;
  }

  .submenu {
    position: static;
    background-color: var(--white);
    padding-left: 3px;
    margin-top: 20px;
  }

  .submenu li a {
    padding: 8px 15px;
    font-size: 14px;
    margin-left: 3px;
  }

  .submenu li a:hover {
    color: var(--dark-blue);
  }

  .open-menu-btn {
    display: flex;
  }

  .menu::-webkit-scrollbar {
    width: 8px;
  }

  .menu::-webkit-scrollbar-thumb {
    background-color: var(--sky-blue);
    border-radius: 4px;
  }
}

/* ========= ACTIVE LINK STYLES ========= */

/* .active: general highlight (e.g., Home, About) */
.main-menu > li > a.active,
.submenu li a.active {
  color: var(--sky-blue);
  font-weight: bold;
  position: relative;
}
.main-menu > li > a.active::after,
.submenu li a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 60%;
  height: 2px;
  background-color: var(--sky-blue);
  border-radius: 1px;
}

/* Ensure .active2 works inside .submenu-toggle */
.submenu-toggle > a.active2 {
  color: orange;
  font-weight: bold;
  position: relative;
}

.submenu-toggle > a.active2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: orange;
  border-radius: 1px;
}



/* Search Bar (Below Navbar, Right Top) */
.search-bar-wrapper {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 1200;
  display: none;
  width: 100%;
  max-width: 400px;
  justify-content: flex-end;
}

.search-bar-wrapper.active {
  display: flex;
}

.search-bar {
  display: flex;
  gap: 5px;
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.search-bar input {
  flex: 1;
  padding: 8px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-bar button {
  background: var(--dark-blue);
  border: none;
  color: white;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.search-bar button:hover {
  background: var(--sky-blue);
}



.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 360px;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 1500;
  display: none;
  flex-direction: column;
  transition: right 0.35s ease;
  font-family: 'Roboto', sans-serif;
  border-left: 1px solid #e0e0e0;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  background: var(--dark-blue);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
  font-size: 18px;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.cart-content {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  flex-direction: column;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #f9f9f9;
  transition: box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.cart-item p {
  margin: 3px 0;
  color: #333;
}

.cart-item strong {
  font-size: 16px;
}

.cart-total {
  border-top: 1px solid #ddd;
  padding-top: 15px;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
  color: #222;
}

/* Optional Scrollbar styling */
.cart-content::-webkit-scrollbar {
  width: 8px;
}

.cart-content::-webkit-scrollbar-thumb {
  background-color: var(--sky-blue);
  border-radius: 4px;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .search-bar-wrapper {
    top: 55px;
    right: 10px;
    max-width: 90%;
  }

  .cart-sidebar {
    width: 90%;
  }
}







.home_section {
   max-width: 1500px;
   margin: 5rem auto;
   padding: 50px 1rem;
  
  background: url('./images/bg/cta-bg4.jpg') no-repeat center center;
  background-size: cover;
  color: var(--white);
  text-align: center;
  margin-bottom: 10px;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.welcome-text h1 {
  font-size: 36px;
  font-weight: 700;
}

.welcome-text p {
  font-size: 18px;
  margin-top: 10px;
  color: #d3e8ff;
}

/* Carousel styling */
.carousel {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* Slide overlay content */
.slide-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  max-width: 85%;
  text-align: center;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.slide-overlay h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #aad4ff;
}

.slide-overlay p {
  font-size: 16px;
  line-height: 1.6;
  color: #e6f1ff;
  margin: 0;
}

/* Carousel controls */
.carousel-controls {
  text-align: center;
  margin-top: 15px;
}

.carousel-controls button {
  background-color: #0078d4;
  color: #fff;
  border: none;
  padding: 10px 24px;
  margin: 5px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.carousel-controls button:hover {
  background-color: #005fa3;
  transform: scale(1.05);
}

.carousel-controls button:disabled {
  background-color: #777;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 768px) {
  .slide-overlay {
    padding: 10px 14px;
    max-width: 96%;
    width: 96%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto; /* Enable scroll if content exceeds */
    line-height: 1.4;
  }

  .slide-overlay h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .slide-overlay p {
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
  }

  .carousel-slide img {
    height: 220px;
  }

  .carousel-controls button {
    font-size: 13px;
    padding: 7px 16px;
  }
}


/* Add these styles to your CSS */
.slide-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  max-width: 85%;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
}

.slide-content {
  flex-grow: 1;
  padding: 0 15px;
}

.slide-nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.slide-nav-btn:hover {
  background: rgba(0, 120, 212, 0.8);
  transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .slide-overlay {
    width: 80%;
    padding: 10px 14px;
  }
  
  .slide-nav-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}






.services-section {
  padding: 4rem 1rem;
  margin-top: 3rem;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #002244;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}



.service-img {
  width: 280px;
  height: 220px;
  object-fit: cover;
}

.octagon {
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  border: 3px solid #ccc;
  border-radius: 8px;
}

.service-content {
  flex: 1;
}

.service-name {
  font-size: 1.75rem;
  color: #002244;
  margin-bottom: 0.75rem;
}

.service-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.stars {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: gold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-item,
  .service-item.reverse {
    flex-direction: column !important;
    text-align: center;
  }

  .service-img {
    width: 100%;
    height: auto;
  }

  .service-content {
    width: 100%;
  }
}





.contact {
  padding: 60px 20px;
  background: url('./images/bg/cta-bg5.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  margin-top: 5%;
  position: relative;
  z-index: 1;
}

/* Optional overlay for better readability */
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: -1;
}


.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.contact-form, .contact-info {
  flex: 1 1 45%;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2,
.contact-info h3 {
  margin-bottom: 20px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical; /* Let user resize if needed */
  height: 150px; /* Increased height */
}


.contact-form button {
  padding: 12px 25px;
  background-color: #0066cc;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #004c99;
}

.info-card p {
  margin: 10px 0;
  color: #444;
}

.map-card {
  margin-top: 20px;

}

@media (max-width: 768px) {
  .contact-form, .contact-info {
    flex: 1 1 100%;
  }
}


.success {
  background-color: #d4edda;
  color: #155724;
  padding: 12px;
  margin-bottom: 15px;
  border-left: 5px solid #28a745;
  border-radius: 6px;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  margin-bottom: 15px;
  border-left: 5px solid #dc3545;
  border-radius: 6px;
}



.footer {

  padding: 60px 20px;
  background: url('./images/bg/cta-bg4.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-col {
  flex: 1 1 45%;
  min-width: 250px;
}

.footer-col h3 {
  margin-bottom: 20px;
  color: #fff;
}

.footer-col p,
.footer-col a {
  color: #ddd;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
  color: #ddd;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
