/* --- VARIABLES & RESET --- */
:root {
  --bg-dark: #0f172a; /* Deep Slate */
  --bg-light: #1e293b; /* Lighter Slate */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --accent: #06b6d4; /* Cyan */
  --accent-glow: #22d3ee; /* Bright Neon Cyan */
  --border: #334155;

  --font-main: "Inter", sans-serif;
}
@import "tailwindcss";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.accent {
  color: var(--accent);
}

.bg-light {
  background-color: var(--bg-light);
}
.border-top {
  border-top: 1px solid var(--border);
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 10px;
}

/* --- BUTTONS --- */
.btn-primary {
  background-color: var(--accent);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  background-color: #0891b2;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: white;
}

.btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

/* --- NAVIGATION --- */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn-primary):hover {
  color: var(--accent-glow);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 180px 0 100px 0;
  text-align: center;
  overflow: hidden;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.neon-text {
  background: linear-gradient(to right, var(--accent-glow), #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Background Blobs */
.background-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  z-index: -1;
}
.glow-1 {
  background-color: #3b82f6;
  top: -100px;
  left: 20%;
}
.glow-2 {
  background-color: var(--accent);
  top: 50px;
  right: 20%;
}

/* --- PROCESS CARDS --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.card {
  background-color: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: 0.3s;
}

.process-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.process-card {
  text-align: center;
}
.process-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.process-card h3 {
  color: var(--accent-glow);
  margin-bottom: 10px;
}
.process-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* --- ADVANCED SLIDING SERVICE CARDS --- */

.service-card {
  background-color: var(--bg-light);
  /* Use the variable for the border, defaulting to white if missing */
  border-left: 4px solid var(--card-color, #fff);
  position: relative; /* Essential for positioning the slide */
  overflow: hidden; /* Ensures the slide doesn't spill out */
  padding: 40px 30px;
  transition: transform 0.3s ease;
  z-index: 1; /* Ensures text stays on top */
}

/* The Sliding Background (The Curtain) */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--card-color); /* Uses the color defined in HTML */
  transform: translateX(100%); /* Starts hidden to the right */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth slide effect */
  z-index: -1; /* Puts it behind the text */
}

/* Hover Action: Move the curtain in */
.service-card:hover::before {
  transform: translateX(0);
}

/* Text & Icon Styling */
.service-content {
  position: relative;
  z-index: 2;
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
  transition: color 0.3s;
}

/* The Description Text */
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  opacity: 0; /* Hidden by default */
  transform: translateX(20px); /* Pushed slightly right */
  transition: all 0.4s ease 0.1s; /* 0.1s delay so it waits for background */
  height: 0; /* Collapse height so card is compact initially */
  overflow: hidden;
}

/* Hover State Changes */
.service-card:hover {
  transform: translateY(-5px); /* Little pop up */
}

.service-card:hover p {
  opacity: 1; /* Show text */
  transform: translateX(0); /* Slide text into place */
  height: auto; /* expand height */
  color: white; /* Make text bright white on the colored background */
  margin-top: 10px;
}

/* Ensure title stays white */
.service-card:hover h3 {
  color: white;
}

/* Specific Border Colors */
.border-cyan {
  border-left-color: var(--accent);
}
.border-blue {
  border-left-color: #3b82f6;
}
.border-purple {
  border-left-color: #000080;
}
.border-green {
  border-left-color: #22c55e;
}
.border-yellow {
  border-left-color: #eab308;
}
.border-red {
  border-left-color: #ef4444;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- LEADERSHIP --- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.leader-card {
  background-color: var(--bg-dark);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.leader-card .avatar {
  width: 100px;
  height: 100px;
  background-color: var(--border);
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.leader-card h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.leader-card .role {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.leader-title {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.leader-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* --- FOOTER --- */
footer {
  background-color: #000;
  padding: 60px 0 20px 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.footer-col h4 {
  color: var(--accent);
  margin-bottom: 15px;
}
.footer-col p,
.footer-col a {
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: white;
}

.copyright {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: #64748b;
  font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
  }

  .section-padding {
    padding: 50px 0;
  }
}
/* --- 3D FLIP CARD STYLES --- */

/* 1. The Container */
.flip-card {
  background-color: transparent;
  perspective: 1000px; /* This gives the 3D depth effect */
  height: 300px; /* We need a fixed height for the flip to work nicely */
}

/* 2. The Inner Wrapper (The thing that actually rotates) */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s; /* Smooth animation speed */
  transform-style: preserve-3d;
}

/* 3. The Interaction (Hover triggers rotation) */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* 4. Common Styles for Front and Back Faces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Hides the back of the div */
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 30px 20px; /* Adjusted padding */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 5. Front Face Specifics */
.flip-card-front {
  background-color: var(--bg-dark);
  border: 1px solid var(--border);
}

/* 6. Back Face Specifics */
.flip-card-back {
  background-color: var(
    --bg-light
  ); /* Slightly lighter background for contrast */
  border: 1px solid var(--accent); /* Cyan border to show it's active */
  transform: rotateY(180deg); /* Starts flipped around */
}

.flip-card-back h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.flip-card-back p {
  font-size: 0.95rem;
  color: #e2e8f0; /* Lighter text for readability */
  line-height: 1.5;
}

.flip-card-front .icon {
  font-size: 4rem; /* This makes them big (approx 64px) */
  margin-bottom: 20px; /* Adds space between icon and text */
  line-height: 1; /* Prevents extra vertical spacing */
}

/* --- INQUIRY FORM STYLES --- */

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  gap: 20px;
  margin-bottom: 20px;
}

/* Make it single column on mobile */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-wrapper {
    padding: 25px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width {
  grid-column: 1 / -1; /* Spans across both columns */
}

label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Input Field Styling */
input,
select,
textarea {
  background-color: var(--bg-dark);
  border: 1px solid var(--border);
  color: white;
  padding: 15px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none; /* Remove default browser outline */
}

/* The Neon Glow on Focus */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2); /* Cyan Glow */
}

/* Placeholder text color */
::placeholder {
  color: #475569;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit button {
  width: 100%;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
}
.form-submit button:hover {
  transform: translateY(-2px);
}
/* --- CUSTOM CHECKBOX GRID --- */

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  gap: 15px;
  margin-top: 5px;
}

@media (max-width: 600px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  } /* One column on mobile */
}

.checkbox-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  background-color: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Hover effect for the whole box */
.checkbox-option:hover {
  border-color: var(--text-muted);
}

/* Hide the default browser checkbox */
.checkbox-option input {
  display: none;
}

/* Create the Custom Checkbox Square */
.custom-check {
  width: 20px;
  height: 20px;
  border: 2px solid #475569;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  transition: all 0.2s;
}

/* When Checked: Change Border and Background to Cyan */
.checkbox-option input:checked ~ .custom-check {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4); /* Glow effect */
}

/* The Checkmark Icon (CSS Draw) */
.custom-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0; /* Hidden by default */
  transition: opacity 0.2s;
}

/* Show checkmark when checked */
.checkbox-option input:checked ~ .custom-check::after {
  opacity: 1;
}

/* Text Styling */
.label-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Make text white when selected */
.checkbox-option input:checked ~ .label-text {
  color: white;
  font-weight: 600;
}

/* --- CONTACT INFO & MAP STYLES --- */

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Split 50/50 */
  gap: 40px;
  align-items: stretch; /* Make both sides equal height */
}

/* Left Side: The Cards */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--accent);
  background-color: rgba(15, 23, 42, 0.8);
  transform: translateX(5px); /* Slide slightly right on hover */
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.contact-icon {
  font-size: 2rem;
  background-color: var(--bg-dark);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.contact-text h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-text p,
.sub-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.contact-link {
  display: block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.contact-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--accent);
}

/* Right Side: The Map */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 300px; /* Ensures it has height on mobile */
  /* Optional: Makes the map look darker to fit your theme */
  filter: grayscale(20%) contrast(1.2);
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; /* Stack vertically */
  }
  .map-container {
    height: 300px; /* Fixed height for map on mobile */
  }
}

/* --- LEADER PHOTOS --- */

.leader-photo {
  width: 120px; /* Slightly larger than the emoji circle */
  height: 120px;
  border-radius: 50%; /* Makes it a perfect circle */
  object-fit: cover; /* Prevents the image from looking stretched/squashed */
  border: 3px solid var(--accent); /* Adds a nice Cyan border */
  margin: 0 auto 20px auto; /* Centers it */
  display: block;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); /* Adds the neon glow */
  transition: transform 0.3s ease;
}

.leader-card:hover .leader-photo {
  transform: scale(1.05); /* Slight zoom effect on hover */
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}
