/* --- GLOBAL VARIABLES --- */
:root {
  --primary: #2563eb;
  --dark: #0f172a;
  --gray: #64748b;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
}

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body {
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

/* --- NAVIGATION --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  margin-left: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.3s;
}

/* Mobile Responsive Nav Button */
.btn-nav.hide-mobile {
  display: none; /* Hidden on mobile by default */
}

.btn-nav {
  background: var(--primary);
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
}

/* --- HERO SECTION --- */
.hero {
  padding: 80px 5%;
  background: radial-gradient(circle at 90% 10%, #dbeafe 0%, #ffffff 60%);
  text-align: center;
}

.hero-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  max-width: 500px;
  font-size: 1.1rem;
  color: var(--gray);
  margin: 0 auto 30px;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  transition: 0.3s;
}

.btn-secondary {
  color: var(--dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

/* --- EXPERTISE SECTION --- */
.expertise {
  padding: 60px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.exp-card {
  padding: 40px 30px;
  border-radius: 20px;
  background: white;
  border: 1px solid #f1f5f9;
  text-align: center;
  transition: 0.4s;
}

.exp-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.exp-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

/* --- ROADMAP SECTION --- */
.path {
  padding: 60px 5%;
  background: var(--bg-soft);
}

.timeline-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.time-item {
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
}

.time-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: 800;
}

.time-item:hover {
  background: var(--primary);
  color: white;
}

/* --- PRICING SECTION (CENTERED) --- */
.pricing {
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the whole block */
}

.pricing-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center; /* Centers cards horizontally */
  width: 100%;
  max-width: 1200px;
}

.price-box {
  background: white;
  padding: 40px 30px;
  border-radius: 25px;
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: 0.4s;
}

.price-box.featured {
  border: 2.5px solid var(--primary);
}

.rec-badge {
  background: var(--primary);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 20px;
}

.cost {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 15px 0;
}

.p-features p {
  margin-bottom: 12px;
  color: var(--gray);
  font-weight: 500;
}

.price-btn {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  margin-top: 30px;
  transition: 0.3s;
}

.price-btn.active {
  background: var(--primary);
  color: white;
}

/* --- CONTACT FORM & FILE UPLOAD --- */
.contact {
  padding: 60px 5%;
  background: var(--bg-soft);
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.glass-form {
  flex: 1.5;
  background: white;
  padding: 40px 25px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.glass-form h2 {
  padding-bottom: 10px;
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
}

.input-row {
  display: flex;
  flex-direction: column;
}

/* File Upload Styling */
.file-input-group {
  margin-bottom: 20px;
  text-align: left;
}

.file-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray);
}

.file-input-group input[type="file"] {
  padding: 10px;
  border: 1px dashed var(--primary);
  background: #eff6ff;
  border-radius: 10px;
  cursor: pointer;
}

input,
select,
textarea {
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.submit-btn {
  width: 100%;
  background: var(--dark);
  color: white;
  padding: 18px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* --- OFFICE DETAILS --- */
.office-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.office-card {
  padding: 25px;
  border-radius: 15px;
  background: white;
  border-left: 4px solid var(--primary);
  transition: 0.3s;
}

.loc-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 5px;
}

.mail-card {
  background: var(--dark);
  color: white;
  border-left: 4px solid #38bdf8;
}

/* --- MEDIA QUERIES (TABLET & DESKTOP) --- */
@media (min-width: 768px) {
  .navbar {
    padding: 20px 8%;
  }

  .btn-nav.hide-mobile {
    display: inline-block; /* Show button on desktop */
  }

  .hero {
    padding: 120px 8%;
    text-align: left;
  }

  .hero-btns {
    flex-direction: row;
    justify-content: flex-start;
  }

  .btn-primary {
    width: auto;
  }

  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-box {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-container {
    flex-direction: row;
    align-items: stretch;
  }

  .price-box.featured {
    transform: scale(1.05);
  }

  .contact-wrapper {
    flex-direction: row;
  }

  .input-row {
    flex-direction: row;
    gap: 20px;
  }

  .glass-form {
    padding: 60px;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

footer {
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.9rem;
}
/* Update this specific section in your CSS */
.hero p {
  max-width: 600px; /* Slightly wider for better balance */
  font-size: 1.1rem;
  color: var(--gray);
  margin: 0 auto 30px; /* This centers the block itself */
  text-align: center; /* This centers the text inside the block */
  line-height: 1.6;
}

/* Ensure the desktop media query doesn't force it left */
@media (min-width: 768px) {
  .hero {
    text-align: left; /* Keeps the H1 and Buttons left-aligned */
  }

  .hero p {
    margin: 0 auto 30px; /* Keeps the paragraph block in the center */
    text-align: center; /* Keeps the text inside centered */
  }

  .hero-btns {
    justify-content: center; /* Centers the buttons to match the text above */
  }
}

/* --- Modern File Upload Styling --- */
.file-input-group {
  margin-bottom: 25px;
  width: 100%;
}

/* Hide the actual input */
.custom-file-upload input[type="file"] {
  display: none;
}

/* Style the Label to look like a Button/Box */
.custom-file-upload {
  display: block;
  width: 100%;
  padding: 30px 20px;
  border: 2px dashed #cbd5e1; /* Soft gray dashed border */
  border-radius: 15px;
  background: #f8fafc;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-file-upload:hover {
  border-color: var(--primary); /* Turns blue on hover */
  background: #eff6ff;
  transform: translateY(-2px);
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-icon {
  font-size: 2rem;
  margin-bottom: 5px;
}

#file-label-text {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

.file-types {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}

/* Class added via JS when a file is selected */
.file-selected {
  border-style: solid;
  border-color: #10b981 !important; /* Green border when file is picked */
  background: #ecfdf5 !important;
}

/* --- Updated Contact Styles --- */
.input-group {
  width: 100%;
}

/* Specific styling for the new Phone input to match the rest */
input[type="tel"] {
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  width: 100%;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
  background: #fcfcfc;
}

input[type="tel"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Ensuring all boxes have consistent spacing */
.glass-form input,
.glass-form select,
.glass-form textarea {
  margin-bottom: 20px; /* Better vertical breathing room */
}
