/* ============================================
   Rajesh Neuro Centre — Combined Stylesheet
   Converted from Next.js CSS Modules to plain CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #004A99;
  --primary-light: #0066CC;
  --secondary: #00A69C;
  --accent: #E6F0F9;
  --text-main: #2C3E50;
  --text-muted: #5D6D7E;
  --bg-main: #FFFFFF;
  --bg-soft: #F8FBFF;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  overflow-x: hidden;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}



/*=====================================
          FAQ SECTION
=====================================*/

.faq-section{
    padding:90px 0;
    background:#f8fbfd;
}

.faq-section .section-header{
    max-width:750px;
    margin:auto;
    text-align:center;
    margin-bottom:60px;
}

.faq-section .subtitle{
    display:inline-block;
    color:#0b8fd8;
    font-size:15px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:12px;
}

.faq-section h2{
    font-size:42px;
    color:#0b2d4d;
    margin-bottom:20px;
    font-weight:700;
}

.faq-section .section-header p{
    color:#666;
    font-size:17px;
    line-height:30px;
}

/*==============================
FAQ Container
==============================*/

.faq-container{
    max-width:900px;
    margin:auto;
}

/*==============================
FAQ Card
==============================*/

.faq-item{

    background:#fff;

    margin-bottom:20px;

    border-radius:14px;

    border:1px solid #e5eef5;

    padding:28px;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

    transition:.35s;

}

.faq-item:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 45px rgba(0,0,0,.08);

}

/*==============================
Question
==============================*/

/* ================= FAQ ================= */

.faq-section{
    padding:80px 0;
    background:#f5f9fc;
}

.faq{
    max-width:900px;
    margin:50px auto 0;
}

.faq-box{
    background:#fff;
    border-radius:12px;
    margin-bottom:18px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.faq-box:hover{
    transform:translateY(-3px);
}

.faq-question{
    width:100%;
    background:none;
    border:none;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 28px;
    font-size:20px;
    font-weight:600;
    color:#123c67;
    text-align:left;
}

.faq-question:hover{
    color:#0086d1;
}

.icon{
    width:35px;
    height:35px;
    border-radius:50%;
    background:#0098d8;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    transition:.3s;
    flex-shrink:0;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .45s ease;
}

.faq-answer p{
    padding:0 28px 24px;
    color:#666;
    font-size:16px;
    line-height:30px;
}

.faq-box.active .faq-answer{
    max-height:400px;
}

.faq-box.active .icon{
    transform:rotate(45deg);
    background:#00a859;
}

.section-header{
    text-align:center;
}

.section-header h2{
    font-size:42px;
    color:#123c67;
    margin:10px 0;
}

.subtitle{
    color:#0098d8;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}

.section-header p{
    color:#666;
    max-width:700px;
    margin:auto;
    line-height:28px;
}

@media(max-width:768px){

.faq-question{
    font-size:17px;
    padding:18px;
}

.faq-answer p{
    padding:0 18px 20px;
}

.section-header h2{
    font-size:30px;
}

}
/* ============================================
   MOBILE RESPONSIVE OVERRIDES (global)
   ============================================ */

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
  }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled,
.navbar.not-home {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.navbar .logoText span {
  color: var(--secondary);
}

.navLinks {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.navLinks a {
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-main);
}

.navLinks a:hover {
  color: var(--primary);
}

.navLinks .cta {
  background: var(--primary);
  color: white !important;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600 !important;
}

.navLinks .cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.menuToggle {
  display: none;
  background: transparent;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1100;
}

.burger {
  width: 100%;
  height: 2px;
  background: var(--primary);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.burger::before,
.burger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--primary);
  left: 0;
  transition: var(--transition);
}

.burger::before { top: -8px; }
.burger::after { bottom: -8px; }

.burger.burgerActive {
  background: transparent;
}

.burger.burgerActive::before {
  top: 0;
  transform: rotate(45deg);
}

.burger.burgerActive::after {
  bottom: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 0 1.25rem;
  }

  .menuToggle {
    display: block;
  }

  .navLinks {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1050;
    padding: 2rem;
  }

  .navLinks.mobileOpen {
    right: 0;
  }

  .navLinks a {
    font-size: 1.2rem;
    text-align: center;
  }

  .navLinks .cta {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
    display: block;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    padding: 0 1rem;
  }

  .navbar .logo {
    font-size: 1.3rem;
  }

  .navLinks {
    width: 85%;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-soft);
  padding: 5rem 0 2rem;
  border-top: 1px solid #eee;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer .logo {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.footer .logo span {
  color: var(--secondary);
}

.footer .description {
  color: var(--text-muted);
  max-width: 300px;
}

.footer .grid h4 {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.footer .links ul li {
  margin-bottom: 0.8rem;
}

.footer .links ul li a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer .links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer .contact p, .footer .hours p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  word-break: break-word;
}

.footer .bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .footer .grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer .description {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer .container {
    padding: 0 1.25rem;
  }

  .footer .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer .logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .footer .grid h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .footer .bottom {
    font-size: 0.8rem;
    padding-top: 1.5rem;
  }
}

/* ============================================
   SERVICE CARD (reusable component)
   ============================================ */

.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.card .imageWrapper {
  position: relative;
  width: 100%;
  height: 200px;
}

.card .imageWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card .content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.card .iconWrapper {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover .iconWrapper {
  background: var(--secondary);
}

.card .icon {
  font-size: 1.8rem;
}

.card:hover .icon {
  filter: brightness(0) invert(1);
}

.card .title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--primary);
}

.card .description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .card .content {
    padding: 1.5rem;
  }

  .card .imageWrapper {
    height: 180px;
  }

  .card .title {
    font-size: 1.15rem;
  }

  .card .description {
    font-size: 0.9rem;
  }

  .card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .card .content {
    padding: 1.25rem;
  }

  .card .imageWrapper {
    height: 160px;
  }
}

/* ============================================
   HOME PAGE
   ============================================ */

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.heroBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.heroBg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.4) 100%);
}

.heroContent {
  max-width: 650px;
  animation: fadeIn 1s ease-out;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.heroContent h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.heroContent h1 span {
  color: var(--secondary);
}

.heroContent p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.heroBtns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stats {
  background: var(--primary);
  padding: 4rem 0;
  color: white;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.statsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.statItem h3 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.statItem p {
  font-size: 1rem;
  opacity: 0.9;
}

.aboutGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.aboutImage {
  position: relative;
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  overflow: hidden;
}

.aboutImage img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.subtitle {
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 1rem;
}

.qualifications {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.highlights {
  margin: 2rem 0;
}

.highlights li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.servicesSection {
  background: var(--bg-soft);
}

.sectionHeader {
  text-align: center;
  margin-bottom: 4rem;
}

.sectionHeader h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.servicesGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.servicesFooter {
  text-align: center;
  margin-top: 4rem;
}

.allServicesText {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2rem;
  font-style: italic;
}

.ctaBanner {
  background: linear-gradient(rgba(0, 74, 153, 0.9), rgba(0, 74, 153, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&q=80&w=1500');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  color: white;
  text-align: center;
}

.ctaContent h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.ctaContent p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .heroContent h1 {
    font-size: 3rem;
  }

  .aboutGrid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .aboutImage {
    max-width: 400px;
    margin: 0 auto;
  }

  .statsGrid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stats {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    border-radius: 16px;
  }

  .servicesGrid {
    grid-template-columns: 1fr;
  }

  .sectionHeader h2 {
    font-size: 2rem;
  }

  .ctaContent h2 {
    font-size: 2.2rem;
  }

  .ctaBanner {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 7rem 0 4rem;
    min-height: auto;
  }

  .overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 50%, rgba(255,255,255,0.85) 100%);
  }

  .heroContent {
    max-width: 100%;
  }

  .heroContent h1 {
    font-size: 2.2rem;
  }

  .heroContent h1 br {
    display: none;
  }

  .heroContent p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
  }

  .heroBtns {
    flex-direction: column;
    gap: 1rem;
  }

  .heroBtns a {
    text-align: center;
    width: 100%;
  }

  .stats {
    margin-top: -30px;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 2.5rem 1rem;
    border-radius: 14px;
  }

  .statsGrid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .statItem h3 {
    font-size: 2rem;
  }

  .statItem p {
    font-size: 0.85rem;
  }

  .aboutGrid {
    gap: 2rem;
  }

  .aboutImage {
    max-width: 100%;
  }

  .aboutContent h2 {
    font-size: 1.8rem;
  }

  .sectionHeader {
    margin-bottom: 2.5rem;
  }

  .sectionHeader h2 {
    font-size: 1.8rem;
  }

  .sectionHeader p {
    font-size: 0.95rem;
  }

  .servicesFooter {
    margin-top: 2.5rem;
  }

  .ctaBanner {
    padding: 3.5rem 0;
  }

  .ctaContent h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .ctaContent p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 0 3rem;
  }

  .heroContent h1 {
    font-size: 1.8rem;
  }

  .heroContent p {
    font-size: 0.9rem;
  }

  .stats {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    padding: 2rem 0.75rem;
    border-radius: 12px;
  }

  .statItem h3 {
    font-size: 1.6rem;
  }

  .statItem p {
    font-size: 0.8rem;
  }

  .aboutContent h2 {
    font-size: 1.5rem;
  }

  .highlights li {
    font-size: 0.9rem;
  }

  .sectionHeader h2 {
    font-size: 1.5rem;
  }

  .ctaContent h2 {
    font-size: 1.5rem;
  }

  .ctaContent p {
    font-size: 0.9rem;
  }
}

/* ============================================
   PAGE HEADER (shared: about / services / contact)
   ============================================ */

.header {
  background: var(--primary);
  padding: 8rem 0 4rem;
  color: white;
  text-align: center;
}

.header h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .header {
    padding: 7rem 0 3rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 6rem 0 2.5rem;
  }

  .header h1 {
    font-size: 1.6rem;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.contentGrid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.mainInfo h2 {
  margin-bottom: 2rem;
}

.mainInfo p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.qualificationsBox {
  background: var(--bg-soft);
  padding: 2.5rem;
  border-radius: 15px;
  border-left: 5px solid var(--secondary);
  margin: 3rem 0;
}

.qualificationsBox h3 {
  margin-bottom: 1.5rem;
}

.qualificationsBox ul li {
  margin-bottom: 1rem;
  list-style-type: none;
}

.sidebarImage {
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border-radius: 15px;
  overflow: hidden;
}

.sidebarImage img {
  width: 100%;
  height: auto;
  display: block;
}

.specialties {
  background: var(--primary);
  color: white;
  padding: 2rem;
  border-radius: 15px;
}

.specialties h4 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.specialties ul li {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.values {
  background: var(--bg-soft);
}

.values h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.valuesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.valueCard {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.valueIcon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .contentGrid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sidebar {
    order: -1;
  }

  .sidebarImage {
    max-width: 350px;
    margin: 0 auto 2rem;
  }

  .valuesGrid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .valueCard {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .contentGrid {
    gap: 2rem;
  }

  .mainInfo h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .mainInfo h3 {
    font-size: 1.3rem;
  }

  .qualificationsBox {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .specialties {
    padding: 1.5rem;
  }

  .values h2 {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
  }

  .valueIcon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .mainInfo h2 {
    font-size: 1.4rem;
  }

  .qualificationsBox {
    padding: 1.25rem;
  }

  .valueCard {
    padding: 1.5rem 1.25rem;
  }
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.categoryLayout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.categoryCard {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.categoryCard:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.imageContainer {
  position: relative;
  width: 100%;
  height: 250px;
}

.imageContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.imageOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem;
  color: white;
}

.imageOverlay h2 {
  font-size: 1.8rem;
  margin: 0;
  color: white;
}

.categoryContent {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.categoryDesc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.serviceList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.serviceList li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-main);
  word-break: break-word;
}

.checkIcon {
  color: var(--secondary);
  font-weight: bold;
  margin-right: 0.8rem;
  flex-shrink: 0;
}

.process {
  background: var(--bg-soft);
}

.process h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.processGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  position: relative;
}

.stepNumber {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 60%;
  width: 100%;
  height: 2px;
  background: var(--accent);
  z-index: 1;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .categoryLayout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .processGrid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .categoryCard:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .imageContainer {
    height: 200px;
  }

  .imageOverlay {
    padding: 1.25rem;
  }

  .imageOverlay h2 {
    font-size: 1.4rem;
  }

  .categoryContent {
    padding: 1.5rem;
  }

  .categoryDesc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .serviceList li {
    font-size: 0.9rem;
  }

  .process h2 {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
  }

  .processGrid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stepNumber {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .step h3 {
    font-size: 1.05rem;
  }

  .step p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .imageContainer {
    height: 170px;
  }

  .categoryContent {
    padding: 1.25rem;
  }

  .processGrid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contactGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contactInfo h2 {
  margin-bottom: 1.5rem;
}

.contactInfo > p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.branchCard {
  background: var(--bg-soft);
  padding: 2.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 1px solid #eee;
}

.branchHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--secondary);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
}

.branchDetails {
  margin: 1.5rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.branchDetails p {
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.formContainer {
  position: sticky;
  top: 120px;
}

.formCard {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #eee;
}

.formCard h3 {
  margin-bottom: 1rem;
}

.formCard p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.formGroup {
  margin-bottom: 1.5rem;
}

.formGroup label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.formGroup input,
.formGroup select,
.formGroup textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.formGroup input:focus,
.formGroup select:focus,
.formGroup textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent);
}

.formNote {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 992px) {
  .contactGrid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .formContainer {
    position: static;
  }
}

@media (max-width: 768px) {
  .contactInfo h2 {
    font-size: 1.6rem;
  }

  .contactInfo > p {
    margin-bottom: 2rem;
  }

  .branchCard {
    padding: 1.5rem;
  }

  .formCard {
    padding: 2rem;
    border-radius: 16px;
  }

  .formCard p {
    margin-bottom: 1.5rem;
  }

  .formGroup {
    margin-bottom: 1.25rem;
  }

  .formGroup input,
  .formGroup select,
  .formGroup textarea {
    padding: 0.75rem 0.85rem;
    font-size: 16px; /* prevents iOS zoom */
  }
}

@media (max-width: 480px) {
  .contactGrid {
    gap: 2rem;
  }

  .branchCard {
    padding: 1.25rem;
  }

  .formCard {
    padding: 1.5rem;
    border-radius: 14px;
  }
}
