/* ==========================================================================
   WEB DEVELOPMENT SERVICES PAGE STYLESHEET
   nmirshad.com/web-development-services-in-kerala/
   ========================================================================== */

/* Top Header (Visible immediately on inner page) */
.site-sticky-header.webdev-page-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 180, 0, 0.2) !important;
  z-index: 9990 !important;
  padding: 15px 0 !important;
}

/* ==========================================================================
   1. HERO SECTION (NO SCROLLING COLOR ANIMATION)
   ========================================================================== */

.webdev-hero-section {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #000000;
  text-align: center;
  box-sizing: border-box;
  padding: 60px 0;
}

.webdev-hero-inner {
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
}

.webdev-hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #ffb400;
  text-transform: capitalize !important;
  letter-spacing: 1px;
  margin-bottom: 24px;
  display: inline-block;
}

/* Solid clean color: #f0eee9 with #ffb400 dot */
.webdev-hero-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  color: #f0eee9 !important;
  letter-spacing: -2px;
  margin-bottom: 35px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.webdev-hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.btn-consult-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #ffb400;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #ffb400;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-consult-primary:hover {
  background: #000000;
  color: #ffb400;
  border-color: #ffb400;
}

.btn-consult-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: transparent;
  color: #f0eee9;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(240, 238, 233, 0.3);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-consult-secondary:hover {
  border-color: #ffb400;
  color: #ffb400;
}

/* ==========================================================================
   2. WHY YOUR WEBSITE MATTERS (LAPTOP SHOWCASE IMAGE)
   ========================================================================== */

.webdev-matters-section {
  padding: 90px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.webdev-matters-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.webdev-section-title-32 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  color: #f0eee9;
  margin-bottom: 24px;
}

.webdev-text-p {
  font-size: 16px;
  color: rgba(240, 238, 233, 0.85);
  line-height: 1.75;
  margin-bottom: 20px;
}

.webdev-quote-highlight {
  margin: 25px 0;
  padding: 18px 24px;
  background: #0f0f0f;
  border-left: 3px solid #ffb400;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #ffb400;
  font-style: italic;
  border-radius: 0;
}

.webdev-matters-img-box {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webdev-matters-img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   3. SERVICES SECTION (NO RADIUS, SUITABLE ICONS, POPUP OPEN)
   ========================================================================== */

.webdev-services-section {
  padding: 100px 0;
  background-color: #000000;
}

.webdev-section-title-80 {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  color: #f0eee9;
  letter-spacing: -2px;
  text-align: center;
  margin-bottom: 60px;
}

.webdev-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.webdev-service-card {
  background: #0a0a0a;
  border: 1px solid #222222;
  border-radius: 6px !important;
  padding: 35px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.webdev-service-card:hover {
  border-color: #ffb400;
  transform: translateY(-4px);
}

/* Glass-style Yellowish Icon like Performance Marketing page */
.service-card-icon-wrap {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 180, 0, 0.2) 0%, rgba(255, 180, 0, 0.04) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 180, 0, 0.4);
  border-radius: 14px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb400;
  font-size: 30px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px -4px rgba(255, 180, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-icon-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: left 0.6s ease;
}

.webdev-service-card:hover .service-card-icon-wrap {
  transform: scale(1.08) rotate(-2deg);
  border-color: rgba(255, 180, 0, 0.85);
  box-shadow: 0 14px 35px rgba(255, 180, 0, 0.45), inset 0 1px 3px rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 180, 0, 0.35) 0%, rgba(255, 180, 0, 0.12) 100%);
}

.webdev-service-card:hover .service-card-icon-wrap::before {
  left: 100%;
}

.service-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #f0eee9;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 14px;
  color: rgba(240, 238, 233, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 44px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.service-features-list li {
  font-size: 14px;
  color: #f0eee9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features-list li i {
  color: #ffb400;
  font-size: 13px;
}

.btn-service-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #000000;
  color: #ffb400;
  border: 1px solid #ffb400;
  border-radius: 0 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-service-quote:hover {
  background: #ffb400;
  color: #000000;
}

/* ==========================================================================
   4. HOW I BUILD WEBSITES (3 APPROACHES)
   ========================================================================== */

.webdev-how-build-section {
  padding: 100px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.webdev-section-sub-18 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(240, 238, 233, 0.75);
  text-align: center;
  margin-top: -45px;
  margin-bottom: 60px;
}

.approaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.approach-card {
  background: #0a0a0a;
  border: 1px solid #222222;
  border-radius: 0 !important;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.approach-card:hover {
  border-color: rgba(255, 180, 0, 0.6);
}

.approach-badge-num {
  font-size: 13px;
  font-weight: 600;
  color: #ffb400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.approach-title-32 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: #f0eee9;
  margin-bottom: 22px;
  min-height: 80px;
}

.approach-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #1f1f1f;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #111111;
  border: 1px solid #282828;
  border-radius: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #f0eee9;
  letter-spacing: 0.3px;
}

.tech-badge i {
  color: #ffb400;
  font-size: 13px;
}

.approach-body-text p {
  font-size: 15px;
  color: rgba(240, 238, 233, 0.85);
  line-height: 1.7;
  margin-bottom: 16px;
}

.approach-body-text p:last-child {
  margin-bottom: 0;
}

/* Global / Utility Small Label (18px, Center Aligned, #ffb400, Capitalized) */
.webdev-label-18 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #ffb400;
  text-align: center;
  text-transform: capitalize !important;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}

.projects-disclaimer {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #f0eee9;
  opacity: 0.60;
  text-align: center;
  margin: 0 auto 40px auto;
  max-width: 900px;
  line-height: 1.6;
}

/* ==========================================================================
   5. PROJECTS COVERFLOW SECTION (ARROWS AT THE END OF BOTH SIDES)
   ========================================================================== */

.webdev-projects-section {
  padding: 100px 0;
  background-color: #000000;
  position: relative;
}

.coverflow-carousel-wrapper {
  position: relative;
  max-width: 1350px;
  margin: 0 auto;
}

/* Position arrows at the extreme ends of both sides */
.coverflow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #ffb400;
  color: #ffb400;
  font-size: 20px;
  cursor: pointer;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.coverflow-nav-btn:hover {
  background: #ffb400;
  color: #000000;
  transform: translateY(-50%) scale(1.1);
}

.coverflow-nav-btn.prev-btn {
  left: 0 !important;
}

.coverflow-nav-btn.next-btn {
  right: 0 !important;
}

@media (min-width: 1280px) {
  .coverflow-nav-btn.prev-btn {
    left: -25px !important;
  }
  .coverflow-nav-btn.next-btn {
    right: -25px !important;
  }
}

/* ==========================================================================
   6. WORK PROCESS SECTION (ATTRACTIVE TIMELINE + MOVING ARROW ANIMATION)
   ========================================================================== */

.how-i-work-section {
  padding: 110px 0 130px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
  overflow: hidden;
}

.how-intro {
  text-align: center;
  margin-bottom: 85px;
}

.how-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #ffb400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.how-title {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  color: #f0eee9;
  letter-spacing: -2px;
}

.how-timeline {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 760px;
}

.how-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.how-path {
  fill: none;
  stroke: rgba(255, 180, 0, 0.45);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
}

.how-arrow {
  position: absolute;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.how-arrow-inner {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffb400;
  box-shadow: 0 0 0 6px rgba(255, 180, 0, 0.18), 0 5px 25px rgba(255, 180, 0, 0.45);
}

.how-arrow svg {
  width: 20px;
  height: 20px;
}

.how-arrow svg path {
  stroke: #000000;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-card {
  position: absolute;
  width: 44%;
  min-height: 175px;
  padding: 28px 30px 28px 78px;
  background: #f0eee9;
  color: #000000;
  z-index: 3;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.how-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(255, 180, 0, 0.15);
}

.how-number {
  position: absolute;
  top: 15px;
  left: 15px;
  bottom: 15px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffb400;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
}

.how-card-title {
  margin: 0 0 6px;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.how-card-subtitle {
  margin: 0 0 12px;
  color: #ffb400;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}

.how-card-description {
  margin: 0;
  color: #333333;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.how-card-1 {
  left: 0;
  top: 0;
}

.how-card-2 {
  right: 0;
  top: 185px;
}

.how-card-3 {
  left: 2%;
  top: 385px;
}

.how-card-4 {
  right: 0;
  top: 575px;
}

/* ==========================================================================
   7. WHAT YOU GAIN FROM A WELL BUILT WEBSITE (32PX)
   ========================================================================== */

.webdev-gains-section {
  padding: 100px 0;
  background-color: #000000;
}

.gains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.gain-card {
  background: #080808;
  border: 1px solid #1f1f1f;
  border-radius: 0;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
}

.gain-card:hover {
  border-color: #ffb400;
  transform: translateX(4px);
}

.gain-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255, 180, 0, 0.2) 0%, rgba(255, 180, 0, 0.04) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 180, 0, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb400;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px -2px rgba(255, 180, 0, 0.2);
  transition: all 0.3s ease;
}

.gain-item:hover .gain-icon {
  transform: scale(1.08) rotate(-2deg);
  border-color: rgba(255, 180, 0, 0.85);
  box-shadow: 0 8px 24px rgba(255, 180, 0, 0.35);
  color: #ffffff;
}

.gain-text {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #f0eee9;
}

/* ==========================================================================
   8. TESTIMONIALS (80PX HEADING, YELLOW QUESTION MARK)
   ========================================================================== */

.webdev-testimonials-section {
  padding: 100px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

/* ==========================================================================
   9. FAQS (ALL ACCORDIONS CLOSED BY DEFAULT)
   ========================================================================== */

.webdev-faq-section {
  padding: 100px 0;
  background-color: #000000;
}

/* ==========================================================================
   10. HI, I'M IRSHAD (32PX)
   ========================================================================== */

.webdev-about-snippet-section {
  padding: 100px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.webdev-about-snippet-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.webdev-about-img-box {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
  max-width: 440px;
  margin: 0 auto;
}

.webdev-about-img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.btn-know-more-box {
  margin-top: 25px;
}

/* ==========================================================================
   11. READY TO BUILD A WEBSITE ? (80PX)
   ========================================================================== */

.webdev-cta-banner-section {
  padding: 100px 0;
  background-color: #000000;
}

.webdev-cta-box {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 50px 20px;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
}

.cta-say-hello {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: #ffb400;
  font-weight: 500;
  margin-bottom: 14px;
}

.webdev-cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: #ffb400;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #ffb400;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  margin-top: 25px;
  transition: all 0.3s ease;
}

.webdev-cta-phone-btn:hover {
  background: #000000;
  color: #ffb400;
}

/* ==========================================================================
   12. BLOGS AND ARTICLES (32PX, 3 COLUMNS, "MORE BLOGS" BUTTON BELOW IT)
   ========================================================================== */

.webdev-blogs-section {
  padding: 100px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.webdev-blogs-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.blog-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
}

.webdev-blogs-footer {
  text-align: center;
  margin-top: 50px;
}

.btn-more-blogs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  background: #000000;
  color: #ffb400;
  border: 1px solid #ffb400;
  border-radius: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-more-blogs:hover {
  background: #ffb400;
  color: #000000;
}

/* ==========================================================================
   CONSULTATION POPUP MODAL (NAME, CONTACT NUMBER, E-MAIL, SERVICE, ENQUIRE NOW)
   ========================================================================== */

.consultation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.consultation-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.consultation-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.consultation-modal-dialog {
  position: relative;
  z-index: 2;
  background: #0d0d0d;
  border: 1px solid #ffb400;
  border-radius: 0;
  padding: 40px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
  animation: modalSlideUp 0.3s ease forwards;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consultation-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: rgba(255, 180, 0, 0.1);
  border: 1px solid rgba(255, 180, 0, 0.4);
  border-radius: 50%;
  color: #ffb400;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  z-index: 10;
}

.consultation-modal-close:hover {
  background: #ffb400;
  color: #000000;
  border-color: #ffb400;
  transform: rotate(90deg);
}

.consultation-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #ffb400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.consultation-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #f0eee9;
  margin-bottom: 6px;
}

.consultation-modal-subtitle {
  font-size: 14px;
  color: rgba(240, 238, 233, 0.7);
  margin-bottom: 25px;
}

.consultation-form .form-group {
  margin-bottom: 18px;
}

.consultation-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #f0eee9;
  margin-bottom: 6px;
}

.consultation-form input,
.consultation-form select {
  width: 100%;
  padding: 12px 14px;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  color: #f0eee9;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.consultation-form input:focus,
.consultation-form select:focus {
  border-color: #ffb400;
}

.consultation-form select option {
  background: #141414;
  color: #f0eee9;
}

.btn-consult-submit {
  width: 100%;
  padding: 14px;
  background: #ffb400;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #ffb400;
  border-radius: 0;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-consult-submit:hover {
  background: #000000;
  color: #ffb400;
}

.consult-form-success {
  margin-top: 15px;
  padding: 32px 24px 28px 24px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.4);
  text-align: center;
  color: #f0eee9;
  font-size: 15px;
  position: relative;
  border-radius: 6px;
}

.consult-success-corner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 180, 0, 0.3);
  border-radius: 50%;
  color: #ffb400;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.consult-success-corner-close:hover {
  background: #ffb400;
  color: #000000;
  border-color: #ffb400;
  transform: rotate(90deg);
}

.consult-form-success a.consult-phone-link {
  color: #ffb400 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  margin-top: 4px;
  transition: color 0.2s, transform 0.2s;
}

.consult-form-success a.consult-phone-link:hover {
  color: #ffffff !important;
  transform: scale(1.03);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
  .webdev-hero-heading {
    font-size: 56px;
    line-height: 60px;
  }

  .webdev-section-title-80 {
    font-size: 56px;
    line-height: 60px;
  }

  .how-title {
    font-size: 56px;
    line-height: 60px;
  }

  .webdev-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gains-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .webdev-matters-grid,
  .webdev-about-snippet-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-card {
    width: 46%;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .webdev-hero-section {
    padding: 50px 0 60px 0;
    min-height: auto;
  }

  .webdev-hero-heading {
    font-size: clamp(34px, 8.5vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 25px;
  }

  .webdev-hero-tagline {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .webdev-hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-consult-primary,
  .btn-consult-secondary {
    width: 100%;
    justify-content: center;
  }

  .webdev-section-title-80,
  .how-title {
    font-size: 32px !important;
    line-height: 1.25 !important;
    letter-spacing: -1px !important;
    margin-bottom: 30px !important;
  }

  .webdev-section-title-32 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .approach-title-32 {
    font-size: 24px;
    min-height: auto;
  }

  .webdev-cards-grid {
    grid-template-columns: 1fr;
  }

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

  /* Blogs section: stacked 1 in a column */
  .blog-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  /* Process Timeline on Mobile */
  .how-timeline {
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-left: 20px;
  }

  .how-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    min-height: auto;
    padding: 24px 20px 24px 68px;
  }

  .how-number {
    width: 38px;
    font-size: 16px;
  }

  /* Image first on mobile for Why It Matters and Hi Irshad */
  .webdev-matters-img-box {
    order: -1;
    margin-bottom: 15px;
  }

  .webdev-about-img-box {
    order: -1;
    margin-bottom: 15px;
  }

  /* FAQ Section on Mobile: Image first, then heading, and FAQs */
  .webdev-faq-section {
    display: flex !important;
    flex-direction: column !important;
  }

  .webdev-faq-section > .container.faq-exact-grid {
    display: contents !important;
  }

  .webdev-faq-section .faq-image-side {
    order: 1 !important;
    margin-bottom: 25px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .webdev-faq-section .faq-image-side img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .webdev-faq-section > .container.text-center {
    order: 2 !important;
    margin-bottom: 25px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  .webdev-faq-section .faq-content-side {
    order: 3 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  .consultation-modal-dialog {
    padding: 30px 20px;
  }
}
