:root {
  --primary: #6D28D9;          /* Rich purple – logo, headings, links, accents */
  --accent: #D97706;           /* Warm golden yellow – main CTAs, highlights, success */
  --primary-dark: #5B21B6;     /* Darker purple for hovers/depth */
  --accent-dark: #B45309;      /* Darker gold for button hovers */
 
  --dark: #1E293B;             /* Slate dark for body text */
  --gray: #64748B;             /* Subtle gray for secondary text */
  --light: #F8FAFC;            /* Very light gray-white for sections */
  --bg-section: #FFFFFF;
 
  --purple-light: #F3E8FF;     /* Pale purple tint – hero/subtle backgrounds */
  --gold-light: #FEF3C7;       /* Pale gold tint – badges/highlights */
 
  --shadow: 0 10px 40px rgba(109, 40, 217, 0.12);   /* Stronger shadow */
  --shadow-hover: 0 25px 70px rgba(109, 40, 217, 0.25); /* New: Strong hover shadow */
  --radius: 16px;              /* Slightly larger, more modern rounded corners */
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: var(--bg-section);
  line-height: 1.7;
  font-size: 1.05rem;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 7rem 0; }
.section-light { background: var(--light); }

h1, h2 { font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.8rem; margin-bottom: 1.2rem; text-align: center; }
h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--primary); }

p.sub {
  color: var(--gray);
  font-size: 1.15rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.3); /* Gold shadow */
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 24px rgba(109, 40, 217, 0.3); /* Purple shadow */
}

.center-cta { text-align: center; margin-top: 4rem; }

/* Header – reduced but safe height, no cutting off logo/menu */
.header {
  position: sticky;
  top: 0;
  height: 60px;                     /* fixed reduced height */
  background: #4C1D95;              /* deep purple – bold & branded */
  box-shadow: 0 4px 20px rgba(76, 29, 149, 0.3); /* purple-tinted shadow */
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(76, 29, 149, 0.94); /* slightly transparent on scroll */
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 25px rgba(76, 29, 149, 0.4);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: -5.5rem;              /* small left margin from edge – change to 0 for absolute left */
  margin-top: -20px;                /* pushes logo UPWARD – adjust -8px to -15px as needed */
  height: 100%;
  padding: 0;
}

.logo img {
  height: 100px;                     /* large logo – header height stays fixed */
  width: auto;
  max-width: 220px;
  object-fit: contain;
}


/* Menu items – white text, gold on hover with underline + scale */
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}
.nav {
  margin-left: auto;                /* pushes nav to the right */
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-list a {
  position: relative;
  color: white;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: all 0.35s ease;
}

.nav-list a:hover {
  color: #FBBF24;             /* gold on hover */
  transform: scale(1.05);
}

.nav-list a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -6px;
  left: 0;
  background: var(--accent);
  transition: width 0.4s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* Hamburger toggle – white/gold */
.menu-toggle span {
  background: white;
  transition: all 0.3s;
}

.menu-toggle:hover span {
  background: var(--accent);
}

/* Hamburger toggle – centered vertically */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--dark);
  transition: all 0.3s;
}

/* Mobile menu – drops down without affecting header height */
@media (max-width: 1024px) {
  .header {
    height: 70px;                   /* slightly shorter on mobile */
  }

  .logo img {
    height: 50px;                   /* logo scales down a bit */
    max-width: 200px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 1rem 0;
  }

  .nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }
}


@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* Cards & Grids */
.grid-3, .grid-4, .process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  margin-top: 4rem;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(109, 40, 217, 0.25);
  border-color: var(--primary);
}

.card ul { list-style: none; margin: 1.2rem 0; }
.card ul li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.8rem;
}
.card ul li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .btn-primary {
  margin-top: auto;        /* Pushes button to bottom */
  align-self: flex-start;
}

/* ==================== IMPLEMENTATION PROCESS (4-Step) ==================== */
.process-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.process-step {
  text-align: center;
  background: white;
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  height: 100%;
}

.process-step:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  background: var(--purple-light);
}

.step-number {
  width: 78px;
  height: 78px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-size: 1.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.6rem;
  box-shadow: 0 10px 25px rgba(109, 40, 217, 0.3);
}

/* Make sure the process section looks balanced */
#process .section-content {
  padding-bottom: 2rem;
}

/* Small "Learn More" button at bottom of each Zoho card */
.learn-more-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);            /* purple text */
  border: 1px solid var(--primary);
  border-radius: 999px;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s ease;
  opacity: 0.75;
}

.zoho-card:hover .learn-more-btn {
  opacity: 1;
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

/* Optional: arrow icon inside button */
.learn-more-btn::after {
  content: " →";
  margin-left: 0.3rem;
  font-weight: bold;
}

/* Partner badge – fits nicely inside container */
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;                    /* space between image and text */
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  flex-wrap: wrap;              /* allows wrapping on very small screens */
}

/* Badge image – constrained size + responsive */
.partner-badge {
  margin-top: -40px;
  max-height: 20vh;              /* scales with viewport height – fits most screens */
  max-width: 400px;             /* prevents it from getting too wide */
  width: auto;
  height: auto;
  object-fit: contain;          /* keeps proportions */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); /* subtle shadow for depth */
}

/* Responsive adjustments – smaller on mobile/tablet */
@media (max-width: 1024px) {
  .partner {
    font-size: 1.3rem;
    gap: 0.8rem;
  }
  .partner-badge {
    max-height: 7vh;
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  .partner {
    font-size: 1.1rem;
    flex-direction: column;     /* stack image above text on small screens */
    gap: 0.6rem;
  }
  .partner-badge {
    max-height: 6vh;
    max-width: 140px;
  }
}

/* Testimonials */
.testimonial {
  background: var(--light);
  padding: 2.2rem;
  border-radius: var(--radius);
  border-left: 6px solid var(--accent);
  font-style: italic;
}
.testimonial-author { margin-top: 1.5rem; font-weight: 600; font-style: normal; }
.testimonial-company { color: var(--gray); font-size: 0.95rem; }

.badges { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin: 2.5rem 0; }
.badge {
  background: white;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: var(--shadow);
  color: var(--primary);
  border: 1px solid var(--purple-light);
}
.badge i { color: var(--accent); }

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 3rem auto 0;
}
.faq-list details {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-list summary {
  padding: 1.5rem 2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.8rem;
  color: var(--accent);
  transition: 0.3s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list p {
  padding: 0 2rem 1.8rem;
  color: var(--gray);
  margin: 0;
}

/* Contact Form */
form { max-width: 680px; margin: 4rem auto 0; display: grid; gap: 1.4rem; }
input, select, textarea {
  padding: 1.1rem 1.4rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1.05rem;
  width: 100%;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}
.office h4 { color: var(--primary); margin-bottom: 1rem; }

/* Footer */
footer {
background: #2A1F45;
  color: #e5e0ff;
  padding: 6rem 0 3rem;
  text-align: center;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: white; }
.copyright { margin-top: 3rem; font-size: 0.95rem; opacity: 0.8; }


/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.12); }
.whatsapp-float img { width: 40px; height: 40px; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(109, 40, 217, 0.3);
}
.back-to-top:hover { transform: translateY(-4px); }

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.client-logo {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}



.hidden { display: none; }

/* Responsive */
@media (max-width: 1024px) { section { padding: 6rem 0; } #hero { padding: 8rem 0 6rem; } }
@media (max-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  .btn { padding: 0.9rem 1.8rem; width: 100%; text-align: center; }
  .hero-cta { flex-direction: column; gap: 1rem; }
  .grid-3, .grid-4, .process-grid { grid-template-columns: 1fr; }
}

/* Form container – subtle white card differentiation */
.form-container {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--purple-light);
  max-width: 720px;
  margin: 2.5rem auto 0;
}

form {
  display: grid;
  gap: 1.6rem;
}

input, select, textarea {
  padding: 1.25rem 1.4rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1.05rem;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

button.btn-primary {
  padding: 1.2rem;
  font-size: 1.1rem;
  width: 100%;
}

/* Success Message */
#form-success {
  background: #10b981;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 2rem;
}

/* Maps container & items */
.maps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}
/* Section content wrapper – subtle differentiation (light border/shadow/padding) */
.section-content {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--purple-light);
}

/* ==================== HERO SECTION ==================== */
#hero {
  position: relative;
  background-image: url("images/img1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 75vh;                    /* Changed: Full height for better impact */
  display: flex;
  align-items: center;                  /* Changed: Centers content vertically */
  color: white;
  padding-top: 75px;
}

/* Very light purple-tinted overlay – keeps image visible */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(76, 29, 149, 0.48),   /* Stronger purple overlay */
    rgba(109, 40, 217, 0.58)
  );
  z-index: 1;
}

/* Content container */
.hero-content-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: -4.0rem auto 0 auto;                      /* Removed extreme negative margin */
  text-align: center;
  background: rgba(255,255,255,0.09);   /* Better glass effect */
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 3.2rem 2.8rem;
  box-shadow: 0 25px 70px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Strong text contrast for readability */
.hero-content-container h1,
.hero-content-container p.desc,
.hero-content-container .partner,
.hero-content-container .stats,
.hero-content-container .badge {
  color: white;
  text-shadow: 0 4px 15px rgba(0,0,0,0.7);   /* Stronger shadow */
}

/* Badge styling */
.hero-content-container .badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  backdrop-filter: blur(8px);
}

/* Golden icons in badges */
.hero-content-container .badge i {
  color: var(--accent);
}

/* Buttons on transparent/dark overlay */
.hero-content-container .btn-primary {
  background: var(--accent);
  color: white;
}
.hero-content-container .btn-outline {
  border-color: white;
  color: white;
}
.hero-content-container .btn-outline:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content-container {
    padding: 2.6rem 2.2rem;
  }
  #hero {
    min-height: 85vh;
    padding-top: 70px;
  }
}

@media (max-width: 768px) {
  .hero-content-container {
    padding: 2rem 1.6rem;
  }
  #hero {
    min-height: 75vh;
    padding-top: 60px;
    background-attachment: scroll;
  }
}

/* Zoho card logo styling – base state */
.zoho-card {
  text-align: center;
  transition: all 0.3s ease;          /* smooth animation */
  cursor: pointer;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.2rem;
}

/* Hover state – same effect as process / why-us cards */
.zoho-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 20px 40px rgba(109, 40, 217, 0.18); /* purple glow */
  background: var(--purple-light);
}

.zoho-card:hover .card-action {
  opacity: 1;
  text-decoration: underline;
}
i.fas,
i.fab {
  color: var(--accent) !important; /* !important ensures override */
}
.card-action {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.zoho-card:hover .zoho-logo {
  transform: scale(1.08);
}

.zoho-logo {
  max-width: 40px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* WhatsApp on left, Back-to-top on right */
.whatsapp-float {
  left: 30px;          /* changed from right:30px */
  right: auto;
}

/* Ensure no overlap on mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
.map-item {
  text-align: center;
}

.map-item h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Slightly smaller hero on desktop */
#hero {
  padding: 8rem 0 6rem;  /* was 10rem top */
}

@media (max-width: 768px) {
  #hero {
    padding: 6rem 0 4rem;
  }
}
/* Tighter global spacing */
section {
  padding: 4rem 0 3rem; /* significantly reduced */
}

.section-light {
  padding: 3.5rem 0 2.5rem;
}

.section-content {
  padding: 1.5rem; /* reduced internal padding */
  margin-bottom: 0.8rem; /* very minimal between sections */
}

/* Even tighter hero */
#hero {
  padding: 5rem 0 3.5rem;
}

/* Process – hover effect added */
.process-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 2rem 0;
}

.process-step,
.why-card {
  flex: 1 1 23%;
  min-width: 210px;
  text-align: center;
  padding: 1.2rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.process-step:hover,
.why-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 20px 40px rgba(109, 40, 217, 0.18); /* purple glow */
  background: var(--purple-light);
}

@media (max-width: 1024px) {
  .process-row {
    flex-direction: column;
    align-items: center;
  }
  .process-step {
    flex: 1 1 100%;
    max-width: 400px;
  }
}

/* Card & grid spacing reduced */
.grid-3, .grid-4, .process-row {
  gap: 1.5rem; /* tighter */
}

.card {
  padding: 1.6rem; /* reduced from 2.2rem */
}

/* Headings & icons tighter */
h2 {
  margin-bottom: 0.8rem; /* closer to sub/p content */
}

h3 {
  margin-bottom: 0.6rem;
}

/* Nav tighter */
.nav-list {
  gap: 1.8rem; /* reduced from 2.2rem */
}
#why-us .grid-3 .card {
  @apply why-card; /* or just add class="card why-card" in HTML as shown above */
}

/* Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  max-width: 620px;
  width: 92%;
  border-radius: var(--radius);
  padding: 2.2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal:not(.hidden) .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-logo {
  max-width: 30px;
  height: auto;
  margin-bottom: 1rem;
}

.modal-body p {
  margin-bottom: 1.2rem;
  color: var(--dark);
}

.modal-body ul {
  list-style: none;
  padding-left: 0;
}

.modal-body ul li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.8rem;
}

.modal-body ul li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.modal-footer {
  text-align: center;
  margin-top: 2rem;
}

.modal-demo-btn {
  margin-right: 1rem;
}

/* Footer – 1px top margin from the footer start, columns aligned perfectly */
footer {
  background: #0F172A;              /* modern dark slate */
  color: #e2e8f0;                    /* light gray-white text */
  margin-top: 1px;                   /* exactly 1px from the element above */
  padding: 4rem 0 0.5rem;             /* minimal top padding to match margin */
}

/* Grid – all columns start at the same top position */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem 12rem;
  margin: 0;                        /* no extra margin on grid */
  align-items: start;               /* CRITICAL: all items start from top */
  justify-items: start;             /* left-align content */
}

/* Force zero top spacing on direct children */
.footer-grid > div {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Brand column – no extra top space */
.footer-brand {
  margin-top: 0;
  padding-top: 0;
  
}

@media (min-width: 768px) {
  .footer-brand {
    text-align: left;
  }
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
  .footer-logo {
    justify-content: flex-start;
  }
}

.footer-logo .logo-image {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.brand-tag {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.6rem 0;
}

.brand-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

.logo-badge {
  max-height: 20vh;              /* scales with viewport height – fits most screens */
  max-width: 400px;             /* prevents it from getting too wide */
  width: auto;
  height: auto;
  object-fit: contain;          /* keeps proportions */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); /* subtle shadow for depth */
}

/* Middle support column – aligned from top */
.footer-middle,
.footer-support {
  margin-top: 0;
  padding-top: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-middle,
  .footer-support {
    text-align: left;
  }
}

.footer-middle h4,
.footer-support h4 {
  color: white;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

/* Quick contact buttons */
.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 0 0 1.2rem 0;
}

@media (min-width: 768px) {
  .quick-contact {
    justify-content: flex-start;
  }
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quick-btn:hover {
  background: rgba(251,191,36,0.15);
  border-color: #FBBF24;
  transform: translateY(-2px);
}

.whatsapp-btn i { color: #25D366; }
.call-btn i { color: #34d399; }

/* Business hours – compact */
.business-hours {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

.business-hours p {
  margin: 0.3rem 0;
}

.business-hours strong {
  color: #FBBF24;
}

/* Social column – centered, aligned from top */
.footer-social {
  margin-top: 0;
  padding-top: 0;
  text-align: center;
}

.footer-social h4 {
  color: white;
  margin: 0 0 1rem 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin: 0;
}

.social-icons a {
  color: #FBBF24;
  font-size: 2.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #ffd080;
  transform: scale(1.15);
}

/* Copyright */
.copyright {
  text-align: center;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.9rem;
  margin: 2rem 0 0 0;
}
/* Separate locations section – below form */
.locations-section {
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
}

.locations-section h3 {
  color: white;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

/* Two-column grid for locations */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

/* Each location card */
.location-item {
  height: 100%;
}

.location-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
}

/* Header */
.location-header {
  background: #0F172A;
  color: white;
  text-align: center;
  padding: 1rem;
  margin: 0;
  font-size: 1.25rem;
}

/* Map – fills available space */
.map-wrapper {
  flex-grow: 1;
  min-height: 320px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Details below map */
.location-details {
  padding: 1.2rem;
  text-align: center;

}

.location-details p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #6D28D9;
}

.location-details a {
  color: black;
  text-decoration: none;
}

.location-details a:hover {
  color: #FBBF24;
}

/* Responsive */
@media (max-width: 992px) {
  .locations-grid {
    gap: 2rem;
  }
  .locations-section {
    margin-top: 3rem;
  }
}