/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ===== Theme Variables ===== */
:root {
  --accent: #00ccff;
  --accent-hover: #0077aa;
  --primary: #004466;
  --primary-text: #ffffff;
  --bg: #f9f9f9;
  --text: #333;
}

body.dark-theme {
  --accent: #00ccff;
  --accent-hover: #33ddff;
  --primary: #222;
  --primary-text: #f0f0f0;
  --bg: #121212;
  --text: #f0f0f0;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--primary-text);

  position: fixed;
  /* always stays on top */
  top: 0;
  left: 0;
  width: 100%;
  /* span full width */
  z-index: 1000;
  /* ensures it stays above other content */
  transition: background 0.3s ease, color 0.3s ease;
}


/* Logo */
.logo a {
  color: var(--primary-text);
  font-weight: bold;
  font-size: 1.5rem;
  text-decoration: none;
}

.logo a:hover {
  color: var(--accent);
}

.logo img {
  height: 40px;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--accent);
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  background: var(--primary);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  min-width: 180px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.dropdown-menu li a {
  color: var(--primary-text);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.dropdown-menu li:hover {
  background: var(--accent);
  transform: translateX(5px);
}

.dropdown-menu li:hover a {
  color: var(--primary-text);
}

/* Actions */
.nav-actions {
  display: flex;
  gap: 1rem;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--primary-text);
  cursor: pointer;
  font-size: 1.2rem;
}

/* Menu toggle (hamburger) */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-text);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    gap: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


/* ===== Hero Slider Images ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  /* full viewport height */
  overflow: hidden;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  /* slight zoom */
  transition: opacity 1s ease, transform 1.2s ease;
}

.hero-slider img.active {
  opacity: 1;
  transform: scale(1);
  /* zooms in smoothly */
  z-index: 0;
}

/* Gradient overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* gradient only at the bottom, lighter overall */
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.6) 0%,
      /* darker at bottom */
      rgba(0, 0, 0, 0.2) 40%,
      /* subtle mid fade */
      transparent 100%
      /* no overlay at top */
    );
  z-index: 1;
}



/* ===== Hero Content ===== */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--primary-text);
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  max-width: 700px;
  z-index: 2;
}

/* Optional: typing animation for heading */
/* ===== Hero Content ===== */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--primary-text);
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  max-width: 700px;
  z-index: 2;
}

/* Typing effect for heading */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border-right: 3px solid var(--accent);
  white-space: nowrap;
  width: 0;
  animation: typing 3s steps(30, end) forwards,
             blink 0.7s step-end infinite;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 2s ease 3s forwards;
}

/* Keyframes */
@keyframes typing {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes blink {
  50% { border-color: transparent; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.hero-dots span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: .3s;
}
.hero-dots span.active {
  background: var(--accent);
  transform: scale(1.2);
}
.hero-dots span:hover {
  background: var(--accent-hover);
}

/* ===== Sections ===== */
/* ===== Sections ===== */
.section {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

/* Section Headings */
.section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  position: relative;
  text-align: center;
  letter-spacing: 0.5px;
  font-weight: 700;
  /* stronger presence */
}

/* Accent underline */
.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

/* Hover effect */
.section:hover h2::after {
  width: 80px;
  background: var(--accent-hover);
}

/* Dark theme override */
body.dark-theme .section h2 {
  color: var(--accent);
  /* brighter in dark mode */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  /* subtle glow for readability */
}


/* ===== About Section ===== */
#about {
  background: var(--bg);
  color: var(--text);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

/* Heading */
#about h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  position: relative;
  text-align: center;
}

/* Accent underline */
#about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Dark theme override */
body.dark-theme #about h2 {
  color: var(--accent);
  /* brighter in dark mode */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  /* subtle glow for readability */
}

/* Paragraph styling */
#about p {
  max-width: 800px;
  margin: 1rem auto 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}


/* Subtle background accent (optional) */
#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 204, 255, 0.05), transparent);
  z-index: -1;
}




/* ===== Cards ===== */
.card {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: .3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Projects Section ===== */
#projects {
  background: var(--bg);
  color: var(--text);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

/* Heading */
#projects h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  position: relative;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Accent underline */
#projects h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

#projects:hover h2::after {
  width: 80px;
  background: var(--accent-hover);
}

/* Intro paragraph */
#projects > p {
  max-width: 800px;
  margin: 1rem auto 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

/* Grid layout */
.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

/* Project cards */
.project-grid .card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.project-grid .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Card headings */
.project-grid .card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.8rem;
  position: relative;
}

.project-grid .card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 0.4rem;
  border-radius: 2px;
}

/* Card text */
.project-grid .card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

/* Dark theme overrides */
body.dark-theme #projects h2 {
  color: var(--accent);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

body.dark-theme .project-grid .card {
  background: #1e1e1e;
}

body.dark-theme .project-grid .card h3 {
  color: var(--accent);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}


/* ===== Stats ===== */
/* ===== Stats Section ===== */
#stats {
  background: var(--bg);
  color: var(--text);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

/* Heading */
#stats h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
  text-align: center;
  letter-spacing: 0.5px;
}

#stats h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Stats grid */
.stats-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

/* Individual stat cards */
.stat {
  background: var(--bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Counter numbers */
.stat .counter {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

/* Stat labels */
.stat p {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.3px;
}

/* Dark theme overrides */
body.dark-theme #stats h2 {
  color: var(--accent);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

body.dark-theme .stat {
  background: #1e1e1e;
}

body.dark-theme .stat .counter {
  color: var(--accent);
}

/* ===== Team ===== */
/* ===== Team Section ===== */
#team {
  background: var(--bg);
  color: var(--text);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

/* Heading */
#team h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
  text-align: center;
  letter-spacing: 0.5px;
}

#team h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Team grid */
.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

/* Team member card */
.team-member {
  background: var(--bg);
  padding: 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Profile images */
.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.1);
}

/* Member name */
.team-member h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-align: center;
  position: relative;
}

.team-member h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin: 0.3rem auto 0;
  border-radius: 2px;
}

/* Member role */
.team-member p {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.3px;
}

/* Dark theme overrides */
body.dark-theme #team h2 {
  color: var(--accent);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

body.dark-theme .team-member h3 {
  color: var(--accent);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

body.dark-theme .team-member {
  background: #1e1e1e;
}


/* ===== Testimonials ===== */
.testimonial {
  background: var(--bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Profile picture */
.profile-pic {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial:hover .profile-pic {
  transform: scale(1.1);
}

/* Quote text */
.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Author with gender icon */
.testimonial h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Gender icons */
.icon.female {
  color: #e91e63;
  font-size: 1.2rem;
}

.icon.male {
  color: #2196f3;
  font-size: 1.2rem;
}

/* Dark theme overrides */
body.dark-theme .testimonial {
  background: #1e1e1e;
}

body.dark-theme .testimonial h4 {
  color: var(--accent);
}

/* ===== FAQ ===== */
/* FAQ item container */
.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.faq-item.active {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Question button */
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--accent-hover);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  background: var(--bg);
  color: var(--text);
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* enough space for text */
  padding: 1rem 1.2rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
  .faq-answer {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Gallery Section */
#gallery {
  background: var(--bg);
  color: var(--text);
  padding: 4rem 2rem;
  text-align: center;
}

#gallery h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
}

#gallery h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Gallery items */
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Hover effect */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Dark theme overrides */
body.dark-theme #gallery h2 {
  color: var(--accent);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}


/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--primary-text);
  cursor: pointer;
  transition: .3s;
}

.lightbox .close:hover {
  color: var(--accent);
  transform: scale(1.2);
}

/* ===== Contact Section ===== */
/* ===== Contact Section ===== */
#contact {
  background: var(--bg);
  color: var(--text);
  padding: 4rem 2rem;
  position: relative;
}

#contact h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  position: relative;
  transition: color 0.3s ease;
}

#contact h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

#contact:hover h2::after {
  width: 90px;
  background: var(--accent-hover);
}

/* ===== Split Layout ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* form left, map right */
  gap: 2.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Contact Form ===== */
#contact-form {
  background: var(--bg);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

#contact-form input,
#contact-form textarea {
  margin-top: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--primary);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(0,200,255,0.4);
  outline: none;
  transform: scale(1.02);
}

#contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

#contact-form button {
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-text);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#contact-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== Dark Theme Overrides ===== */
body.dark-theme #contact h2 {
  color: var(--accent); /* brighter heading in dark mode */
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

body.dark-theme #contact-form {
  background: #1e1e1e;
  box-shadow: 0 6px 18px rgba(255,255,255,0.08);
}

body.dark-theme #contact-form input,
body.dark-theme #contact-form textarea {
  background: #2a2a2a;
  border: 1px solid var(--accent);
  color: var(--primary-text);
}


/* ===== Map Container ===== */
.map-container {
  height: 100%;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
}

.map-container h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.05);
}

.map-container iframe {
  flex: 1;
  width: 100%;
  border: none;
}

/* ===== Success/Error Message ===== */
#form-status {
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
}

#form-status p {
  padding: 0.8rem;
  border-radius: 6px;
}

#form-status p.success {
  background: #d4edda;
  color: #155724;
}

#form-status p.error {
  background: #f8d7da;
  color: #721c24;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr; /* stack vertically */
  }
  .map-container {
    min-height: 300px;
  }
}


/* ===== sign Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Focus state for accessibility */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.4);
}

/* Primary button */
.btn-primary {
  background: var(--accent);
  color: var(--primary-text);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Secondary button */
.btn-secondary {
  background: var(--primary);
  color: var(--primary-text);
}

.btn-secondary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tertiary button (outline style) */
.btn-tertiary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-tertiary:hover {
  background: var(--accent);
  color: var(--primary-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== Back to Top ===== */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--primary-text);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
}

#backToTop:hover {
  background: var(--accent-hover);
}

/* ===== Footer ===== */
/* Footer base */
footer {
  background: var(--primary);
  color: var(--primary-text);
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* Footer sections */
/* Footer sections */
.footer-section {
  text-align: center; /* Center all content inside sections */
}

/* Headings */
.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
}

/* Paragraphs */
.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  margin: 0.5rem 0;
  color: var(--primary-text);
}

/* Lists */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto; /* Center list block */
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

/* Links */
.footer-section a {
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-section a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* Social media icons */
.social-media {
  display: flex;
  justify-content: center; /* Center icons horizontally */
  gap: 1rem;
  margin-top: 1rem;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  line-height: 1.6;
  color: var(--primary-text);
}

/* Company trigger */
.company {
  display: inline-block;
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
}
#caret {
  margin-left: 6px;
  transition: transform 0.2s ease;
}
#caret.rotated {
  transform: rotate(180deg);
}

/* Dropdown (in normal flow so footer height adapts) */
.company-dropdown {
  display: none;
  margin: 0.75rem auto 0;
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  padding: 0.6rem 1rem;
  max-width: 280px;
  text-align: left;
  animation: fadeIn 0.25s ease;
}
.company-dropdown.open {
  display: block;
}

/* Dropdown links */
.company-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.2s ease;
}
.company-dropdown a i {
  color: var(--accent);
  font-size: 1.1rem;
}
.company-dropdown a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Dark theme safety */
body.dark-theme .company-dropdown {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.18);
}
body.dark-theme .company-dropdown a {
  color: var(--primary-text);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
