* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
}

/* 1. Transparent navbar positioned above hero */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between; /* logo left, nav (Home) right */
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.logo img {
  height: 90px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: '';
  width: 0;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hide default nav layout on mobile, trigger via JS toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}
.outer {
  background-image: url(1.jpg);
  height: 300px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;      
  background-position: center; /* Centers the image */
}
/* Mobile styles */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* .port{
  color: white;
  margin-top: 200px;
} */
 
/* //////////////////////////MAIN///////////////////////////////////////////// */
.card-section {
  background-color: #0f1124;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #0f1124;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.card-image img {
  width: 440px;
  height: auto;
  /* background: #ffffff; */
  /* border-radius: 4px; */
  padding: 10px;
}

.card-details {
  color: #ffffff;
  max-width: 600px;
}

.card-details .name {
  font-size: 32px;
  color: #1ecfff;
  font-weight: bold;
}

.card-details .experience {
  font-size: 20px;
  margin: 10px 0;
}

.card-details .address,
.card-details .chamber {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.card-details .icon {
  color: #ffffff;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-image img {
    width: 180px;
  }

  .card-details .name {
    font-size: 26px;
  }

  .card-details .experience,
  .card-details .address,
  .card-details .chamber {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .card-section {
    padding: 30px 15px;
  }

  .card-image img {
    width: 150px;
  }

  .card-details .name {
    font-size: 22px;
  }

  .card-details .experience,
  .card-details .address,
  .card-details .chamber {
    font-size: 14px;
  }
}

/* ///////////////////////////////////////////////////////////////// */
.about-section {
  width: 100%;
  background-color: #0f1124;
  padding: 40px 20px;
  box-sizing: border-box;
  color: #fff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-container h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: #33AFFF;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about-item {
  flex: 1 1 25%;
  min-width: 200px;
  margin-bottom: 16px;
}

.label {
  font-weight: bold;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 4px;
}

.value {
  font-size: 0.95rem;
}
/* /////////////////////////////////////////////////////////// */
.bio-section {
  width: 100%;
  background-color: #0f1124;
  padding: 40px 20px;
  box-sizing: border-box;
}

.bio-container {
  max-width: 1200px;
  margin: 0 auto;
  color: #ccc;
}

.bio-container h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #33AFFF;
}

.bio-container p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* ///////////////////////////////////////////////////////////////////////////// */
.categories-section {
  width: 100%;
  background-color: #0f1124;
  padding: 40px 20px;
  box-sizing: border-box;
}

.categories-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.categories-container h2 {
  display: inline-block;
  padding: 8px 24px;
  font-size: 1.25rem;
  font-weight: bold;
  border: 2px solid #33AFFF;
  border-radius: 20px;
  color: #33AFFF;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.categories-grid button {
  padding: 12px 16px;
  background-color: #fff;
  color: #0f1124;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.categories-grid button:hover {
  background-color: #e0e0e0;
}

.categories-grid button:active,
.categories-grid button.active {
  background-color: #33AFFF;
  color: #fff;
  transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 800px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}
/* //////////////////////////////////////////////////// */
.appointment-section {
  width: 100%;
  background-color: #0f1124;
  padding: 60px 20px;
  box-sizing: border-box;
}

.appointment-container {
  max-width: 600px;
  margin: 0 auto;
  color: #fff;
}

.appointment-container h2 {
  margin-bottom: 24px;
  font-size: 1.5rem;
  text-align: center;
  color: #fff;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appointment-form label {
  font-size: 0.95rem;
}

.date-input {
  position: relative;
  padding: 10px 12px;
  padding-right: 40px;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 4px;
  color-scheme: dark; /* ensures icon is light in Chrome */ 
  /* :contentReference[oaicite:1]{index=1} */
}

/* Hide native icon and overlay custom white calendar in Chrome-based browsers */
.date-input::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}
.date-input::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 24 24"><path d="M7 10h5v5H7zm11-8h-1V1h-2v1H9V1H7v1H6c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H6V8h14v8z"/></svg>');
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.appointment-form input,
.appointment-form textarea {
  padding: 10px;
  font-size: 1rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  resize: vertical;
}

.appointment-form textarea {
  min-height: 80px;
}

.btn {
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.create-btn {
  background: #33AFFF;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.submit-btn {
  background: #33AFFF;
  color: #fff;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 480px) {
  .appointment-container {
    padding: 0 10px;
  }
}
