/* ============================================
   GAURI BALANKHE & ASSOCIATES - MAIN STYLESHEET
   ============================================ */

/* ---------- RESET & BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #FFFFFF; color: #333333; overflow-x: hidden; scroll-behavior: smooth; }
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 600; }

/* ---------- ROOT VARIABLES ---------- */
:root {
  --primary: #283E87;
  --primary-hover: #1D2F68;
  --accent-bg: #F5F7FB;
  --gradient-btn: linear-gradient(135deg, #283E87 0%, #4159B5 100%);
  --card-radius: 18px;
  --glass-bg: rgba(255,255,255,0.8);
  --backdrop-blur: blur(12px);
}

/* ---------- GLASS CARD ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--card-radius);
  box-shadow: 0 20px 35px rgba(0,0,0,0.04);
}

/* ---------- BUTTONS ---------- */
.btn-primary-gradient {
  background: var(--gradient-btn);
  border: none;
  color: white;
  padding: 0.7rem 2rem;
  border-radius: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -8px rgba(40,62,135,0.3);
  font-weight: 500;
  display: inline-block;
  text-decoration: none;
}
.btn-primary-gradient:hover {
  background: #1D2F68;
  transform: translateY(-2px);
  box-shadow: 0 18px 28px -8px rgba(29,47,104,0.5);
  color: white;
}

.btn-outline-primary-gradient {
  background: transparent;
  border: 2px solid #283E87;
  color: #283E87;
  padding: 0.5rem 1.8rem;
  border-radius: 40px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
  text-decoration: none;
}
.btn-outline-primary-gradient:hover { background: #283E87; color: white; }

.btn-poppins { font-family: 'Poppins', sans-serif; font-weight: 500; }

/* ---------- SECTION PADDING ---------- */
.section-padding { padding: 4.5rem 0; }
@media (max-width: 767.98px) { .section-padding { padding: 3rem 0; } }

/* ---------- TOP BAR ---------- */
.top-bar {
  background: #1D2F68;
  font-size: 0.9rem;
  height: 45px;
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
}

/* ---------- ICON CIRCLES ---------- */
.icon-circle {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: white;
  transition: 0.3s;
  margin: 0 3px;
}
.icon-circle:hover { background: white; color: #1D2F68; }

.social-icon-circle {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: white;
  margin-left: 6px;
  transition: 0.3s;
}
.social-icon-circle:hover { background: white; color: #1D2F68; }

/* ---------- HEADER / NAVBAR ---------- */
#main-header {
  transition: all 0.4s ease;
  background: transparent;
  z-index: 1000;
}
.header-scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.nav-link {
  color: #222 !important;
  margin: 0 0.2rem;
  font-weight: 700 !important;
  font-size: 1rem;
}
.nav-link:hover { color: #283E87 !important; }
.nav-link.active { color: #283E87 !important; }

/* ---------- PAGE HEADER ---------- */
.page-header {
  background: linear-gradient(135deg, #1D2F68 0%, #283E87 100%);
  padding: 3.5rem 0 3rem;
}
.breadcrumb-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb-item.active { color: white; }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.6); }

/* ---------- HERO ---------- */
.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 600;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}
@media (min-width: 992px) { .hero-content h1 { font-size: 2.6rem; } }
@media (max-width: 767.98px) { .hero-content h1 { font-size: 1.6rem !important; } }
@media (max-width: 480px) { .hero-content h1 { font-size: 1.4rem !important; } }

/* ---------- COUNTERS ---------- */
.counter-value { font-size: 2.4rem; font-weight: 800; color: #283E87; }
.counter-icon { font-size: 2.8rem; }
@media (max-width: 767.98px) {
  .counter-value { font-size: 1.6rem !important; }
  .counter-icon { font-size: 2rem !important; }
  .glass-card .counter-value { font-size: 1.6rem !important; }
}

/* ---------- SERVICE GRID CARDS ---------- */
.service-grid .service-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e0e5ec;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 1.2rem 0.8rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}
.service-grid .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(40,62,135,0.15);
  border-color: #c5cdff;
}
.service-grid .service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
  margin-bottom: 0.5rem;
}
.service-grid .service-card h5 {
  font-weight: 700;
  font-size: 0.95rem;
  color: #000;
  margin-top: 0.2rem;
}

/* ---------- TESTIMONIAL CARDS ---------- */
.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 20px 35px rgba(0,0,0,0.08);
  border: 1px solid #e9edf4;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-card p { line-height: 1.6; margin-bottom: 0; font-size: 0.95rem; }

/* ---------- TEAM CARDS (ABOUT PAGE) ---------- */
.team-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 25px 40px rgba(40,62,135,0.1); }
.team-img {
  width: 100%;
  
  object-fit: cover;
  object-position: top center;
  background: #f0f4ff;
}
.team-body { padding: 1.5rem; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.team-body h4 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.designation { color: #283E87; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.5px; margin-bottom: 1.2rem; display: block; }

/* ---------- SERVICE DETAIL CARDS ---------- */
.service-detail-block {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.04);
  border: 1px solid #eef2f8;
  margin-bottom: 1.5rem;
}
.service-detail-block h4 { color: #283E87; margin-bottom: 0.8rem; }
.service-detail-block p, .service-detail-block li { line-height: 1.8; color: #555; font-size: 0.95rem; }
.service-icon-large { font-size: 2.5rem; color: #283E87; margin-bottom: 1rem; }

/* ---------- JOB CARDS (CAREER PAGE) ---------- */
.job-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #eef2f8;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.job-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(40,62,135,0.12); border-color: #c5cdff; }
.job-icon { font-size: 2.5rem; color: #283E87; margin-bottom: 1rem; }
.job-card h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.job-meta { color: #666; font-size: 0.9rem; margin-bottom: 1rem; }
.job-meta span { margin-right: 1.2rem; }
.job-card p { line-height: 1.7; color: #555; font-size: 0.95rem; flex: 1; }

/* ---------- VALUE CARDS (CAREER PAGE) ---------- */
.value-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  border: 1px solid #eef2f8;
  transition: all 0.3s ease;
  height: 100%;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(40,62,135,0.12); border-color: #d0d8f0; }
.value-icon {
  width: 75px; height: 75px;
  background: linear-gradient(135deg, #eef2ff, #dce3fa);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 2rem; color: #283E87;
  margin-bottom: 1.2rem;
}
.value-card h5 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.value-card p { color: #666; font-size: 0.9rem; line-height: 1.7; }

/* ---------- CONTACT INFO CARDS ---------- */
.contact-info-card {
  background: white;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  border: 1px solid #eef2f8;
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(40,62,135,0.1); border-color: #d0d8f0; }
.contact-icon {
  width: 65px; height: 65px;
  background: linear-gradient(135deg, #eef2ff, #dce3fa);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.8rem; color: #283E87;
  margin-bottom: 1rem;
}
.contact-info-card h5 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-info-card p { color: #666; font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ---------- FORM STYLING ---------- */
.contact-form-wrapper, .career-form-wrapper, .cta-form {
  background: #F8F9FC;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 45px rgba(0,0,0,0.05);
  border: 1px solid #eef2f8;
}
.contact-form-wrapper .form-control, .contact-form-wrapper .form-select,
.career-form-wrapper .form-control, .career-form-wrapper .form-select {
  border: 1.5px solid #e0e5ec;
  border-radius: 12px;
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #FAFBFC;
}
.contact-form-wrapper .form-control:focus, .contact-form-wrapper .form-select:focus,
.career-form-wrapper .form-control:focus, .career-form-wrapper .form-select:focus {
  border-color: #283E87;
  box-shadow: 0 0 0 4px rgba(40,62,135,0.08);
  background: white;
}
.contact-form-wrapper label, .career-form-wrapper label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #444;
}

/* ---------- FILE UPLOAD ---------- */
.file-upload-area {
  border: 2px dashed #d0d8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  background: #FAFBFC;
  transition: all 0.3s ease;
  cursor: pointer;
}
.file-upload-area:hover { border-color: #283E87; background: #f0f4ff; }
.file-upload-area i { font-size: 2rem; color: #283E87; margin-bottom: 0.5rem; }
.file-upload-area p { color: #666; font-size: 0.9rem; margin: 0; }
.file-upload-area small { color: #999; }

/* ---------- MAP ---------- */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.06);
  border: 1px solid #eef2f8;
  height: 100%;
  min-height: 350px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

/* ---------- CAREER FORM SECTION ---------- */
.career-form-section {
  background: #F8FAFD;
  position: relative;
  overflow: hidden;
}
.career-form-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 250px; height: 250px;
  background: rgba(40,62,135,0.04);
  border-radius: 50%;
}

/* ---------- PARALLAX CTA ---------- */
.parallax-cta {
  background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?q=80&w=2070&auto=format&fit=crop') center/cover fixed;
  position: relative;
}
.parallax-cta .overlay {
  background: rgba(10, 20, 40, 0.75);
  position: absolute; inset: 0;
}
.parallax-cta .content { position: relative; z-index: 2; }

/* ---------- VISION MISSION ---------- */
.vision-mission-gradient {
  background: linear-gradient(145deg, #f0f4ff, #e6edfa);
  border-radius: 24px;
  padding: 1.5rem;
}

/* ---------- MODAL ---------- */
.modal-team-img, .modal-service-img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}
.modal-body p { line-height: 1.8; color: #444; font-size: 0.95rem; }

/* ---------- FOOTER ---------- */
.footer a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: 0.2s;
  padding-bottom: 2px;
}
.footer a:hover { color: #ddd; border-bottom-color: white; }
.footer h5 {
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.footer-link-white { color: white !important; text-decoration: none; }
.footer-link-white:hover { color: #ddd !important; border-bottom-color: #ddd !important; }
.list-unstyled li {
  border-bottom: 1px solid rgba(255,255,255,0.2) !important;
  padding-bottom: 8px;
  padding-top: 8px;
}

/* ---------- FLOATING BUTTONS ---------- */
.floating-btn {
  z-index: 1000;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: 0.3s;
  animation: floatAnim 3s infinite ease-in-out;
  position: fixed;
}
@keyframes floatAnim {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.whatsapp-btn { background: #25D366; bottom: 90px; right: 25px; }
.call-btn { background: #283E87; bottom: 25px; right: 25px; }
.scroll-top-btn { background: #333; bottom: 155px; right: 25px; }

/* ---------- MOBILE ADJUSTMENTS ---------- */
@media (max-width: 767.98px) {
  .top-bar .social-icon-circle { display: none !important; }
  .navbar-brand img { height: 30px !important; }
  .hero-content .lead { font-size: 1rem !important; }
  .hero-content .btn { font-size: 0.85rem !important; padding: 0.4rem 1.2rem !important; }
  .team-img {  }
  .service-img { height: 150px; }
  .map-container { min-height: 250px; }
  .map-container iframe { min-height: 250px; }
  .contact-form-wrapper, .career-form-wrapper { padding: 1.8rem; }
}