/* -------------------------------
   GLOBAL STYLES
--------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Oswald', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

main {
  margin-top: 0px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* -------------------------------
   HEADER
--------------------------------*/
.header {
  background: linear-gradient(rgba(117, 117, 119, 0.6), #FFFFFF);
  color: #003366;
  /* padding: 1rem 0; */
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 10000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem 0 1rem; 
}

.logo {
  display: flex;
  align-items: center;
  margin-left: -20px;
  margin-top: -20px;
}

.logo img {
  width: 200px;
  height: 100px;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .header-container {
    justify-content: flex-start; /* keeps everything left-aligned */
  }

  /* Show menu button */
  .menu-toggle {
    display: block;
    margin-right: 10px; 
    background: #003366;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1200;
    margin-top: -56px; 
    height: 50px;
  }

  /* Move logo slightly right to accommodate button */
  .logo {
    margin-left: 40px; /* adjust as needed */
  }
}

/* -------------------------------
   NAVIGATION
--------------------------------*/
.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  color: #003366;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.2rem;
}

.nav a:hover {
  color: #ffcc00;
}

/* Hide nav when sidebar collapses (mobile view) */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .logo {
    display: none;
  }

  .menu-toggle {
    display: block; 
  }
}

/* Show nav normally on larger screens */
@media (min-width: 769px) {
  .nav {
    display: flex; 
    gap: 1.5rem;   
  }

  .menu-toggle {
    display: none; 
  }
}

/* -------------------------------
   DROPDOWN MENU
--------------------------------*/
.dropdown {
  position: relative;
  display: inline-block;
  font-size: 1.2rem;
}

.dropbtn {
  color: #003366;
  font-weight: 600;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.dropbtn:hover {
  color: #ffcc00;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: #ffffff;
  border-radius: 10px;
  min-width: 230px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  animation: fadeDown 0.3s ease forwards;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-content a {
  color: #003366;
  padding: 16px 22px;
  display: block;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background: linear-gradient(90deg, #003366, #0055aa);
  color: #ffcc00;
  padding-left: 28px;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* -------------------------------
   LAYOUT: SIDEBAR + CONTENT
--------------------------------*/
.layout {
  display: flex;
  min-height: 100vh;
}

/* Fixed Sidebar */
.sidebar-fixed {
  position: fixed;
  top: 70px;
  left: 0;
  width: 190px;
  height: calc(100vh - 70px);
  background: #fff;
  /* padding: 6rem 1.5rem 2rem 1.5rem;  */
  padding-top: 3rem;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


.sidebar-fixed ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.sidebar-fixed ul li {
  margin-bottom: 1.2rem;
  position: relative;
}

.sidebar-fixed a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding-left: 12px;
  display: block;
  border-left: 4px solid transparent;
}

.sidebar-fixed a:hover {
  color: #0055aa;
  padding-left: 18px;
}

/* For tablets (medium screens) */
@media (max-width: 1024px) {
  .sidebar-fixed {
    width: 220px;
    padding: 5rem 1rem 2rem 1rem;
  }

  .sidebar-fixed a {
    font-size: 1rem;
    padding-left: 10px;
  }
}

/* Overlay menu hidden by default */
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1500;
}

body.sidebar-open .overlay-menu {
  opacity: 1;
  visibility: visible;
}

.overlay-menu .nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.overlay-menu .nav a {
  color: white;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.3s;
}

.overlay-menu .nav a:hover {
  color: #00aaff;
}


/* For mobile (small screens) */
@media (max-width: 768px) { 

  /* Dim background overlay */
  body.sidebar-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1400;
  }

  /* Make main content full width */
  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
  }

  /* Show menu button */
  .menu-toggle {
    display: block;
    position: fixed;
    /* top: 90px;
    left: 15px; */
    z-index: 1100;
    background: #003366;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: -56px; 
    height: 50px;
  }

  /* Move logo slightly right to accommodate button */
  .logo {
    margin-left: 40px; /* adjust as needed */
  }
}

/* Hide menu button on large screens */
.menu-toggle {
  display: none;
}

/* -------------------------------
   MAIN CONTENT AREA
--------------------------------*/
.main-content {
  margin-left: 190px; /* space for sidebar */
  width: calc(100% - 190px);
  background: #fff;
  padding: 3rem 4rem;
  padding-top: 1rem;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center horizontally */
  justify-content: flex-start; /* Align to top */
  text-align: center; /* Center text */
  scroll-margin-top: 0;
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 3rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: linear-gradient(to bottom, #ffffff, #f7faff);
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}

.hero::before {
  display: none;
}

.hero .content-container {
  width: 100%;
  max-width: 800px; /* keep content centered within limit */
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: 1.5rem;
  font-family: 'Oswald', sans-serif;
}

.hero img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero img:hover {
  transform: scale(1.10);
}

/* .hero img {
  width: 130%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%); 
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
} */

/* .hero-video {
  width: 130%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  object-fit: cover;   
}
  
.hero-video {
  width: 100%;
  height: auto;
  max-height: 450px;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  object-fit: cover;
}

.hero-video {
  max-height: 450px;
} */


.hero p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.7;
  font-family: 'Poppins', sans-serif;
  max-width: 700px;
  margin: 0 auto; /* center paragraph */
}

/* 🔹 Responsive adjustments */
@media (max-width: 1024px) {
  .hero {
    padding: 2.5rem 1.5rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .main-content {
    margin-left: 190px; /* reduce sidebar width */
    width: calc(100% - 190px);
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 1rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .main-content {
    margin-left: 0; /* remove sidebar space */
    width: 100%;    /* full width */
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 1rem;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero img,
  .hero-video {
    border-radius: 8px;
  }
}


/* -------------------------------
   Services Section
--------------------------------*/
.section {
  scroll-margin-top: 0;
  min-height: 80vh;
  padding: 4rem 2rem;
  padding-top: 0;
  margin-top: 0;
  border-bottom: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: linear-gradient(to bottom, #ffffff, #f7faff);
}

.content-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding-top: 0;
  margin-top: 0;
}

.content-container h1 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

.content-container p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-family: 'Poppins', sans-serif;
}

.search-container {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

/* Base styling for service detail */
.service-detail {
  display: none;
  position: relative;
  scroll-margin-top: 100px; /* ensures correct scroll positioning below header */
  /* min-height: calc(100vh - 100px);  */
  min-height: auto;
  height: auto;
  padding-top: 1rem;
  padding-bottom: 2rem;
  background: linear-gradient(to bottom, #ffffff, #f7faff);
  border-bottom: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  /* max-width: 1200px; */
  margin: 0 auto; /* centers it horizontally */
  margin-top: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  overflow: hidden;
}

.service-detail.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Uniform internal layout (for CLP, STIK, etc.) */
.service-layout {
  display: flex;
  justify-content: center;
  /* align-items: stretch; */
  gap: 2rem;
  padding: 1.5rem;
  /* height: calc(100vh - 140px); */
  height: auto;
  min-height: auto; 
  align-items: flex-start;
  box-sizing: border-box;
}

/* Ensure no extra white space below or above */
.service-detail:first-child {
  margin-top: 0;
}

.error-field {
  border: 2px solid red !important;
  background-color: #ffe5e5;
}

/* Responsive fix */
@media (max-width: 992px) {
  .page-form {
    width: 94%;
    max-width: 880px;
    max-height: none;
    overflow-y: visible;
  }
  .service-layout {
    height: auto;
  }
  .service-left, .service-right {
    flex: 1 1 100%;
  }
}

/* Left side (form / upload area) */
.service-left {
  flex: 0 0 30%;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;   /* <-- enable vertical scroll */
  max-height: 100%;   /* <-- limit height to parent */
}

.service-left h2 {
  text-align: center;
  color: #003366;
  font-family: "Oswald", sans-serif;
  margin-bottom: 1rem;
}

/* Input fields and labels */
.service-left label {
  font-weight: 600;
  color: #003366;
  margin-bottom: 0.4rem;
  display: block;
}

.service-left input[type="text"],
.service-left select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #cfd8e3;
  background: #f8fbff;
  font-size: 1rem;
  color: #003366;
  outline: none;
  transition: all 0.3s ease;
}

.service-left input[type="text"]:focus,
.service-left select:focus {
  border-color: #0055a5;
  box-shadow: 0 0 5px rgba(0, 85, 165, 0.3);
  background: #fff;
}

/* STIK Container and Grid */
#stik {
  padding: 30px;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f8f8;
}
.stik-title {
  text-align: center;       /* Center the main header */
  color: #0d7b8c;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
}
.stik-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 20px;
}

/* Card Styling */
.stik-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.stik-card h3 {
  color: #0d7b8c;
  margin-bottom: 20px;
  font-size: 18px;
  text-align: center; /* Center all card headers */
  font-weight: 500;
}

/* Buttons */
.btnstik {
  background-color: #5bc0de;
  border: none;
  padding: 12px 20px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  margin: 5px;
  min-width: 120px;
  text-align: center;
  transition: background 0.3s;
}
.btn.primary.stik {
  background-color: #5bc0de;
}
.btn:hover {
  background-color: #49a9c8;
}
.btnstik-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center buttons */
}

/* Inputs and Selects */
input, select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Responsive: single column on small screens */
@media (max-width: 768px) {
  .stik-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== MOBILE SIDEBAR STYLES ========== */
.menu-toggle {
  display: none;
  position: fixed;
  top: 95px;
  left: 20px;
  background: #003366;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 2000;
}

/* Responsive: Show toggle button, hide sidebar initially */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .sidebar-fixed {
    position: fixed;
    top: 60px;
    left: -280px; 
    width: 190px;
    height: calc(100vh - 90px);
    background: #fff;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.15);
    padding: 5rem 1.5rem 2rem;
    transition: left 0.3s ease-in-out;
    z-index: 1500;
  }

  .sidebar-fixed.active {
    left: 0; 
  }

  
  body.sidebar-open {
    overflow: hidden;
  }
}

/* Upload buttons left */
.btn.upload-btn {
  width: 100%;
  background: linear-gradient(135deg, #003366, #0055a5);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.9rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;

  display: flex;          /* added */
  justify-content: center; /* added */
  align-items: center;     /* added */
  text-align: center;      /* added */
}
.btn.upload-btn:hover {
  background: linear-gradient(135deg, #004080, #0066cc);
  transform: translateY(-2px);
}

/* Right side (automation steps area) */
.service-right {
  flex: 0 0 60%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Scrollable step container */
.steps-container {
  flex: 1;
  overflow-y: auto;
  margin-top: 1rem;
  padding-right: 10px;
  scroll-behavior: smooth;
}

/* Step card style */
.step-card {
  background: #f9fbff;
  border: 1px solid #dbe6ff;
  border-left: 5px solid #003366;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-2px);
}

/* Scrollbar styling */
.steps-container::-webkit-scrollbar {
  width: 8px;
}

.steps-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.steps-container::-webkit-scrollbar-thumb:hover {
  background: #999;
}


/* Title */
.service-detail h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 2rem;
  font-family: 'Oswald', sans-serif;
  text-align: center;
}

/* === Two-column layout === */
.clp-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}

/* === Left: Automation Form === */
.automation-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  font-size: 1rem;
}

.button-group {
  margin-bottom: 1.5rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  align-items: center;
}

.btn {
  background-color: #003366;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn:hover {
  background-color: #0055a5;
}
.btn.primary {
  flex: 1;
  background: #ffc107;
  color: #003366;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}
.btn.primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

/* === Right: Automation Steps === */
.automation-steps {
  background: #f8fbff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  border-left: 5px solid #003366;
  height: 100%;
}

.automation-steps h3 {
  font-size: 1.8rem;
  color: #003366;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.step-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #0055a5;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.step-header {
  font-weight: 700;
  color: #003366;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.step-card ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}
.step-card li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}
.step-card code {
  background: #eef3ff;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: #003366;
  font-weight: 600;
}

/* === Responsive === */
@media screen and (max-width: 992px) {
  .clp-layout {
    grid-template-columns: 1fr;
  }
  .automation-steps {
    margin-top: 2rem;
  }
}

/* -------------------------------
   search bar
--------------------------------*/

/* 🎨 Stylish Search Bar */
.search-container {
  text-align: center;
  margin: 2rem 0 2.5rem;
  position: relative;
}

#serviceSearch {
  width: 50%;
  padding: 0.9rem 3rem 0.9rem 1rem;
  font-size: 1rem;
  border: 1.5px solid #003366;
  border-radius: 30px;
  outline: none;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#serviceSearch:focus {
  border-color: #0055aa;
  box-shadow: 0 4px 18px rgba(0, 85, 170, 0.2);
}

/* 🔍 Add search icon inside input */
.search-container::before {
  content: "🔍";
  position: absolute;
  right: 26%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #003366;
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 768px) {
  #serviceSearch {
    width: 80%;
  }
  .search-container::before {
    right: 12%;
  }
}

/* -------------------------------
   Cards
--------------------------------*/
/* ===== Base Carousel Layout ===== */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 40px;
  box-sizing: border-box;
}

.cards-wrapper {
  overflow: hidden;
  width: 100%;
}

/* ===== Card Layout ===== */
.cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  transition: transform 0.6s ease;
}

.card {
  flex: 0 0 calc((100% - 60px) / 3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.1);
  box-sizing: border-box;
  height: 100%;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gradient overlay hover effect */
.card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 85, 170, 0.15), rgba(0, 51, 102, 0.05));
  transition: top 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.card:hover::before {
  top: 0;
}

/* ===== Card Content Styling ===== */
.icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #0055aa;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.card:hover .icon {
  transform: scale(1.2) rotate(5deg);
}

.card h3 {
  margin: 0.8rem 0;
  color: #003366;
  font-size: 1.3rem;
}

.card p {
  flex-grow: 1;
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.btnCard {
  pointer-events: auto;
  cursor: pointer;
  background: #003366;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btnCard:hover {
  background: #0055aa;
}

/* ===== Hidden Detail Sections  ===== */
.hidden {
  display: none;
}

.service-detail {
  display: none;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Arrows ===== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #003366, #0055a5);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
  backdrop-filter: blur(5px);
}

/* Hover Effects */
.arrow:hover {
  background: linear-gradient(135deg, #0055a5, #0077cc);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 85, 165, 0.4);
  color: #fff;
}

/* Active (on click) */
.arrow:active {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
}

/* Disabled */
.arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
  box-shadow: none;
}

.arrow.left { 
  left: 15px; 
}

.arrow.right { 
  right: 15px; 
}


/* Responsive: 2 cards on tablets, 1 on mobile */
@media (max-width: 1024px) {
  .card {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .card {
    flex: 0 0 100%;
  }
}

/* -------------------------------
   BUTTONS
--------------------------------*/
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  background: #003366;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
  margin: 0.5rem 0;
}

.btn:hover {
  background: #0055aa;
}

.btn.primary {
  background: #ffcc00;
  color: #003366;
}

.btn.primary:hover {
  background: #e6b800;
}

.backBtn {
  background: #0055aa;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.3s ease;
}

.backBtn:hover {
  background: #003f7f;
}

/* -------------------------------
   about
--------------------------------*/
.about-section {
  scroll-margin-top: 120px;
  min-height: 80vh;
  padding: 4rem 2rem;
  padding-top: 0;
  margin-top: 0;
  border-bottom: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: linear-gradient(to bottom, #ffffff, #f7faff);
  text-align: center;
}

.about-section h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
  font-family: 'Oswald', sans-serif;
}

.about-section .team-intro {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Poppins', sans-serif;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.team-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 320px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0073e6;
  margin-bottom: 1rem;
}

.team-card h3 {
  color: #003366;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-family: 'Poppins', sans-serif;
}

.team-card h4 {
  color: #0073e6;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.team-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive layout */
@media (max-width: 768px) {
  .about-section h2 {
    font-size: 2rem;
  }
  .team-card img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 2rem 1rem;
  }
  .team-card {
    padding: 1.5rem;
  }
}

/* For team video card */
/* Perfect circular video just like image */
.video-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem auto;
  border: 3px solid #0073e6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.team-card:hover .team-video {
  transform: scale(1.05);
}

.team-video1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.team-card:hover .team-video1 {
  transform: scale(1.05);
}

/* Responsive scaling */
@media (max-width: 768px) {
  .video-wrapper {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .video-wrapper {
    width: 90px;
    height: 90px;
  }
}

/* -------------------------------
   Contact Us
--------------------------------*/
.contact-section {
  font-family: 'Poppins', sans-serif;
  color: #333;
  scroll-margin-top: 120px;
  min-height: 80vh;
  padding: 4rem 2rem;
  padding-top: 0;
  margin-top: 0;
  border-bottom: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: linear-gradient(to bottom, #ffffff, #f7faff);
  text-align: center;
}

.contact-header {
  background: linear-gradient(135deg, #42B0D5, #007ba7); /* nice modern gradient */
  padding: 2.5rem 1rem;
  border-radius: 0 0 20px 20px; /* smooth bottom corners */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* soft shadow below */
  border-bottom: 4px solid #00a9d6; 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* subtle highlight line effect */
.contact-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60%;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* hover glow (optional, gives slight animation when hovered) */
.contact-header:hover {
  box-shadow: 0 12px 28px rgba(66, 176, 213, 0.4);
  transform: translateY(-2px);
}

.contact-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.2);
}

.contact-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.contact-info {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.contact-info:hover {
  color: #42B0D5;
}

.page-form {
  text-align: left;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #ffffff, #f7faff);
  padding: 2rem 2rem 4rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  max-width: 1200px;  /* ✅ increased from 850px */
  width: 100%;         /* ✅ ensures it stays responsive */
  margin: 0rem auto 0rem;  /* more top & bottom space */
  color: #333;

  /* Scroll behaviour */
  max-height: none;
  height: auto;
  overflow: visible;
  margin-top: 0;
  margin-bottom: 3rem;
  scrollbar-width: thin;
}

/* Scrollbar styling */
.page-form::-webkit-scrollbar {
  width: 10px;
}
.page-form::-webkit-scrollbar-thumb {
  background-color: #42B0D5;
  border-radius: 8px;
}
.page-form::-webkit-scrollbar-track {
  background: #f0f4f8;
}


.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group:hover {
  color: #42B0D5;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 1px solid #999;
  padding: 0.6rem 0.2rem;
  font-size: 1rem;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #42B0D5;
}

.search-booking {
  margin: 15px 0;
  text-align: center;
}

#bookingSearch {
  width: 90%;
  max-width: 350px;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.radio-group {
  display: flex;
  gap: 2rem;
  padding-top: 0.6rem;
  flex-wrap: wrap;
}

.radio-group label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  position: relative;
  user-select: none;
  color: #333;
}

/* Hide native radio button */
.radio-group input[type="radio"] {
  display: none;
}

/* Outer ring */
.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #42B0D5;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

/* Inner filled circle when checked */
.radio-group input[type="radio"]:checked + .custom-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #42B0D5;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: all 0.3s ease;
}

/* Hover glow */
.radio-group label:hover .custom-radio {
  border-color: #007ba7;
  box-shadow: 0 0 4px rgba(0, 123, 167, 0.3);
}

/* Checkbox inline style */
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;   /* space between checkbox and text */
  margin-top: 10px;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #42B0D5; /* modern way to style checkbox color */
  cursor: pointer;
}

.hidden {
  display: none;
}


.submit-btn {
  background: linear-gradient(135deg, #42B0D5, #007ba7);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #36a3c6, #006b94);
  transform: translateY(-2px);
}

/* Hover + Focus States */
.form-group:hover label {
  color: #42B0D5;
}

.form-group input:hover,
.form-group textarea:hover {
  border-bottom-color: #42B0D5;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.6rem;
  }

  .page-form {
    max-width: 95%;
    padding: 2rem 1.2rem;
  }

  .submit-btn {
    font-size: 1.1rem;
  }
}

/* -------------------------------
   FOOTER
--------------------------------*/
.footer {
  background: url("FooterIMG.png") no-repeat center bottom;
  background-size: 100% auto;
  background-color: #fff;
  color: #333;
  text-align: center;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.footer .container {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: bold;
}

/* -------------------------------
   ACTIVE SCROLL INDICATOR JS STYLE
--------------------------------*/
.sidebar-fixed a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #0055aa;
  border-radius: 0 3px 3px 0;
}

