/* 
   EliteWebTech - Premium Tech Theme
   Color Palette: Light Mint/Cyan & Teal (BizCorpo Style)
*/

:root {
  /* Colors - LIGHT MODE - Updated to match reference (Mint/Teal) */
  --bg-primary: #E0F7FA;
  /* Light Cyan/Mint */
  --bg-secondary: #ffffff;
  /* White */
  --bg-tertiary: #F0FDFF;
  /* Very Light Cyan */
  --text-primary: #2C3E50;
  /* Dark Blue-Gray */
  --text-secondary: #546E7A;
  /* Medium Gray */
  --accent-primary: #17A2B8;
  /* Teal */
  --accent-secondary: #00838F;
  /* Dark Teal */
  --accent-light: #4DD0E1;
  /* Light Teal */
  --accent-glow: rgba(23, 162, 184, 0.2);
  --border-color: #B2EBF2;
  /* Light Teal Border */

  /* Gradients */
  --gradient-main: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  --gradient-text: linear-gradient(135deg, #17A2B8, #00838F);

  /* Spacing */
  --section-padding: 6rem 1rem;
  --container-width: 1240px;

  /* Transitions */
  --transition-fast: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: #0f172a;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilities */
.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.15rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), url('about_hero_bg_new.png');
  background-size: cover;
  background-position: center;
  padding: 8rem 0 4rem;
  /* Increased padding for hero feel */
  text-align: center;
  margin-top: 80px;
  /* Offset for fixed header */
}

.page-header h1 {
  font-size: 3.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #102a0f;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links>li {
  position: relative;
  padding: 15px 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
}

/* Mega Menu Enhanced (V6) */
.nav-links>li {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1001;
  display: flex;
  gap: 2rem;
  cursor: default;
}

/* Fix overflow for last nav items (Services, Contact) */
.nav-links>li:nth-last-child(-n+2) .mega-menu {
  left: auto;
  right: 0;
  transform: none;
}

.nav-links>li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-column {
  flex: 1;
  min-width: 0;
  /* Flexbox fix */
}

.mega-category-header {
  font-size: 0.9rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mega-item {
  display: flex;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
  text-decoration: none;
  align-items: flex-start;
  /* Align icon to top of text */
}

.mega-item:hover {
  background: var(--bg-secondary);
  transform: translateX(5px);
}

.mega-item-icon {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-primary);
  flex-shrink: 0;
  overflow: hidden;
  /* Ensure images stay inside */
}

/* Support for custom images in mega menu */
.mega-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* or cover, depending on preference */
}

.mega-item-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.mega-item-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin: 0;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 8rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 900px;
  margin: 0;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary);
}

.hero h1 span {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-buttons .btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 10px 30px var(--accent-glow);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--accent-glow);
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.hero-buttons .btn-secondary:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

/* About Section */
.about {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent-primary);
  font-weight: 700;
}

.stat-item p {
  font-size: 1rem;
  margin: 0;
  color: var(--text-primary);
  font-weight: 500;
}

.about-image {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 20px;
  height: 450px;
  position: relative;
  border: 1px solid #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  /* Better shadow */
  overflow: hidden;
}

/* Card & Services */
.services,
.products {
  padding: var(--section-padding);
  background: var(--bg-tertiary);
}

.services {
  background: var(--bg-tertiary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 25px 50px -12px rgba(23, 162, 184, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1.8rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Review Section */
.reviews {
  padding: var(--section-padding);
  background: #fff;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.review-text {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: #ccc;
  border-radius: 50%;
  background-size: cover;
}

.reviewer-info h5 {
  font-size: 1rem;
  margin-bottom: 0px;
}

.reviewer-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stars {
  color: #fbbf24;
  /* Amber 400 */
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Service Detail Extras - FAQ & Team */
/* Accordion */
.faq-section {
  padding: var(--section-padding);
  background: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
}

.accordion-header i {
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-right: 1rem;
}

.accordion-body p {
  padding-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-secondary);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 2.5rem;
  border: 3px solid var(--accent-glow);
}

.team-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Detailed Service Page */
.service-detail {
  padding: var(--section-padding);
}

.service-hero {
  background: var(--bg-secondary);
  padding: 100px 0;
  text-align: center;
}

/* Contact Styles Enhanced */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  background: #fff;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-panel {
  background: #0f172a;
  /* Dark panel */
  color: #fff;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--accent-primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.contact-info-panel h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-panel p {
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.contact-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-highlight i {
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-top: 5px;
}

.contact-form-panel {
  padding: 4rem;
  background: #fff;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}


/* Footer Enhanced V4 */
footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 5rem 0 0;
  border-top: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #334155;
  margin-bottom: 2rem;
}

.footer-brand h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #1e293b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--accent-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-bottom {
  padding: 2rem 0;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 3rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
  }

  .nav-links.active {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .mega-menu {
    display: none;
    width: 100%;
    position: static;
    box-shadow: none;
    padding: 1rem;
    transform: none;
    visibility: visible;
  }

  .nav-links li:hover .mega-menu {
    display: grid;
    opacity: 1;
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto 1.5rem;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

/* --- V5 Enhanced Components --- */

/* 1. Tech Stack Marquee */
.tech-stack-section {
  padding: 3rem 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.tech-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 4rem;
}

.tech-track {
  display: flex;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 4rem;
  min-width: 100%;
  animation: marquee 30s linear infinite;
}

/* Tech Logos as text/icons for now */
.tech-item {
  font-size: 2rem;
  color: #cbd5e1;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.tech-item:hover {
  color: var(--accent-primary);
  transform: scale(1.1);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 4rem));
  }

  /* gap */
}

/* 2. Interactive Tabbed Services */
.tabbed-section {
  padding: var(--section-padding);
  background: #fff;
}

.tabs-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.tab-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-right: 1px solid var(--border-color);
  padding-right: 2rem;
}

.tab-btn {
  text-align: left;
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
  position: relative;
}

.tab-btn:hover {
  color: var(--accent-primary);
  background: var(--bg-secondary);
}

.tab-btn.active {
  color: var(--accent-primary);
  background: #eff6ff;
  padding-left: 1.5rem;
}

.tab-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--accent-primary);
  border-radius: 4px;
}

.tab-content-container {
  position: relative;
  min-height: 400px;
  /* Prevent layout jump */
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.tab-pane p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.tab-list {
  margin-bottom: 2rem;
}

.tab-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* 3. Review Carousel (Modification of existing reviews) */
/* 3. Infinite Review Scroll */
.carousel-container {
  overflow: hidden;
  position: relative;
  padding: 1rem 0 3rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1rem));
    /* -50% of total width (which is 2 sets + gaps). -1rem accounts for half-gap offset correction if needed, but -50% is usually enough if gap is uniform */
  }
}

.carousel-card {
  width: 400px;
  flex-shrink: 0;
  /* Fixed width for smooth scrolling */
}

@media (max-width: 768px) {
  .carousel-card {
    width: 300px;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--accent-primary);
  width: 25px;
  border-radius: 10px;
}

/* Reference-inspired image card */
.feature-img-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-img-card img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.feature-img-card:hover img {
  transform: scale(1.05);
}

/* Responsiveness for new sections */
@media (max-width: 900px) {
  .tabs-wrapper {
    grid-template-columns: 1fr;
  }

  .tab-nav {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
  }

  .tab-btn.active::before {
    display: none;
    /* remove side bar on mobile */
  }

  .tab-btn.active {
    padding-left: 1rem;
    border-bottom: 3px solid var(--accent-primary);
    border-radius: 0;
    background: none;
  }
}

/* ============================================
   V7: Enhanced Visual Sections
   ============================================ */

/* Feature Cards Section */
.feature-cards-section {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--accent-primary);
}

.feature-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.feature-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-card .btn {
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
}

/* Enhanced Stats Section */
.stats-enhanced {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  color: #fff;
  margin: 4rem 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.stats-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.2;
}

.stats-enhanced .container {
  position: relative;
  z-index: 1;
}

.stats-enhanced h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.stats-enhanced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-enhanced-item {
  padding: 2rem;
}

.stat-enhanced-item h3 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-enhanced-item p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 5rem 0;
  text-align: center;
  border-radius: 20px;
  margin: 4rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   ABOUT US PAGE REDESIGN
   ============================================ */

/* 1. Introduction & Vision Cards */
.intro-section {
  padding: var(--section-padding);
  background: #fff;
}

.intro-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.intro-header-grid h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.intro-header-grid p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.vision-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.vision-card {
  background: #fff;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  /* Soft shadow like reference */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
  margin: 0 auto;
  /* Center in grid cell */
}

.vision-card:hover {
  transform: translateY(-5px) scale(1.05);
  background: #f0fdfe;
  /* Light mint hover */
  border-color: var(--accent-primary);
}

.vision-icon-box {
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  /* Teal brand color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.vision-card-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.vision-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Prevent spillover */
}

/* 2. Team Collaboration Image Section */
.team-collab-section {
  padding: var(--section-padding);
  background: var(--bg-tertiary);
  /* Light Mint/Cyan */
  text-align: center;
}

.team-image-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.team-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3. Founder Grid Section */
.founders-section {
  padding: var(--section-padding);
  background: #fff;
  text-align: center;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  /* Increased gap */
  margin-top: 4rem;
}

.founder-card {
  position: relative;
  margin-bottom: 2rem;
  /* Space for the floating badge */
}

.founder-img-box {
  width: 100%;
  height: 350px;
  /* Taller rectangle */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.founder-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.founder-card:hover .founder-img-box img {
  transform: scale(1.05);
}

/* Floating Name Badge - Style Match */
.founder-info-badge {
  position: absolute;
  bottom: -20px;
  /* Float overlapping bottom */
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  /* Teal */
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  width: 85%;
  box-shadow: 0 10px 20px rgba(23, 162, 184, 0.3);
  text-align: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.founder-card:hover .founder-info-badge {
  background: #0f172a;
  /* Dark background on hover */
  transform: translateX(-50%) translateY(-5px);
}

.founder-info-badge h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #fff;
}

.founder-info-badge span {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founder-socials {
  margin-top: 3.5rem;
  /* Space below overlapped badge */
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
}

.founder-card:hover .founder-socials {
  opacity: 1;
  transform: translateY(0);
}

.founder-socials a {
  width: 35px;
  height: 35px;
  background: var(--bg-primary);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: 0.3s;
}

.founder-socials a:hover {
  background: var(--accent-primary);
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .intro-header-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-header-grid h2 {
    font-size: 2.5rem;
  }

  .founders-grid {}
}

/* ============================================
   NEW RESPONSIVE SYSTEM (V8)
   ============================================ */

/* 1. New Grid Classes (Replacing inline styles) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.sdlc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

/* 2. Consolidated Responsive Rules */

/* Tablet & Smaller Laptops (1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Tablets & Mobile Major Breakpoint (900px) */
@media (max-width: 900px) {

  /* Stack all main grids */
  .hero-grid,
  .about-grid,
  .showcase-grid,
  .sdlc-grid,
  .intro-header-grid,
  .contact-wrapper {
    grid-template-columns: 1fr !important;
    /* Force stack */
    gap: 3rem;
  }

  /* Hero Adjustments */
  .hero {
    padding: 6rem 0 4rem;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }

  .hero-grid>div:nth-child(2) {
    /* Image on top for Hero */
    order: -1;
    max-width: 80%;
    margin: 0 auto 2rem;
  }

  /* Showcase & SDLC Order */
  .showcase-grid>div:nth-child(1),
  .sdlc-grid>div:nth-child(1) {
    order: -1;
    /* Image first */
    max-width: 80%;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Stats */
  .hero-stats-grid {
    margin-top: 2rem;
    padding-top: 2rem;
    justify-content: center;
  }
}

/* Mobile Devices (600px) */
@media (max-width: 600px) {
  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Stack stats */
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-stats-grid>div {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }

  .hero-stats-grid>div:last-child {
    border-bottom: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    margin-bottom: 2rem;
  }
}

/* 3. School ERP Page Specific Grids */
.tri-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  font-size: 1.05rem;
  line-height: 2;
}

@media (max-width: 900px) {

  .tri-column-grid,
  .stats-grid,
  .list-grid {
    grid-template-columns: 1fr !important;
    /* Force stack */
    gap: 1.5rem;
  }

  /* Stats specific adjustment if needed */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    /* 2x2 on tablets */
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
    /* Full stack on mobile */
  }
}

/* ============================================
   V8: About Us Leaf/Modern Design
   ============================================ */

/* New Modern Hero (Synced with Home) */
.hero-modern {
  position: relative;
  background: var(--bg-primary);
  padding: 8rem 0 12rem;
  color: var(--text-primary);
  overflow: visible;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

.hero-modern-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-modern-img-overlay {
  display: none;
  /* Removed to match clean home background */
}

/* Stats Overlay (Curved/Leaf Shape) */
.hero-stats-overlay {
  position: absolute;
  bottom: -60px;
  right: 0;
  background: #0f172a;
  /* Dark Blue */
  color: white;
  padding: 3rem 4rem;
  border-radius: 100px 0 0 100px;
  /* Stats leaf shape */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 4rem;
  z-index: 10;
  width: auto;
  max-width: 90%;
}

.hero-stats-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100px 0 0 100px;
  background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-stat-item {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-stat-item h3 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.hero-stat-item p {
  color: #94a3b8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Leaf Shapes */
.leaf-shape-right {
  border-radius: 0 60px 0 60px;
}

.leaf-shape-left {
  border-radius: 60px 0 60px 0;
}

/* Split Layout About Section (Reference: Lady/Gentleman working) */
.about-split-section {
  padding: 10rem 0 6rem;
  /* Extra top padding for floating stats comp */
  background: white;
  overflow: hidden;
}

.leaf-image-container {
  position: relative;
  border-radius: 0 160px 0 0;
  /* Specialized large curve */
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 500px;
  background: #f1f5f9;
}

.leaf-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content-right {
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accent-line-heading-small {
  font-size: 0.9rem;
  color: #FF6B35;
  /* Using orange accent from reference for emphasis if compatible, else var(--accent-primary) */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.accent-line-heading-small::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #FF6B35;
  margin-top: 5px;
}

/* Consulting/Services Grid with Leaf Cards */
.consulting-grid-section {
  padding: 6rem 0;
  background: #f8fafc;
  position: relative;
}

.leaf-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Leaf Card: Default White */
.feature-leaf-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 0 40px 0 40px;
  /* Reference shape */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-leaf-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-leaf-card .icon-box {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #FF6B35;
  /* Orange accent */
  border: 1px solid #ffe4d6;
  border-radius: 12px;
  transition: 0.3s;
}

/* Orange/Active Variation */
.feature-leaf-card.active {
  background: #FF6B35;
  /* Use the orange from reference for standout */
  color: white;
  border: none;
  border-radius: 40px 0 40px 0;
  /* Inverted leaf for variety or same */
}

.feature-leaf-card.active .icon-box {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.feature-leaf-card.active h3,
.feature-leaf-card.active p {
  color: white;
}

.feature-leaf-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #0f172a;
  font-weight: 700;
}

.feature-leaf-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive Adjustments for About */
@media (max-width: 900px) {
  .hero-modern {
    padding: 6rem 0 4rem;
    /* Reduce padding */
  }

  .hero-stats-overlay {
    position: relative;
    bottom: 0;
    right: auto;
    border-radius: 20px;
    /* Reset curvature */
    width: 100%;
    max-width: 100%;
    margin-top: 3rem;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .hero-stat-item::after {
    display: none;
  }

  .about-split-section {
    padding: 4rem 0;
  }

  .about-content-right {
    padding-left: 0;
    margin-top: 3rem;
  }

  .leaf-image-container {
    border-radius: 20px;
    /* Simple rounds on mobile */
    min-height: 300px;
  }

  .feature-leaf-card {
    border-radius: 20px;
  }
}

/* ============================================
   MODERN CONTACT FORM STYLES
   ============================================ */

.contact-modern-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  /* Light background matching hero */
  position: relative;
  overflow: hidden;
}

/* Background Leaf decorations */
.contact-bg-leaf-1 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--accent-primary);
  opacity: 0.1;
  border-radius: 0 100px 0 100px;
  z-index: 0;
}

.contact-bg-leaf-2 {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: var(--text-primary);
  opacity: 0.05;
  border-radius: 100px 0 100px 0;
  z-index: 0;
}

.contact-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

/* Left Side: Info Card */
.contact-info-modern {
  background: var(--text-primary);
  color: white;
  padding: 3rem;
  border-radius: 30px;
  border-bottom-left-radius: 0;
  /* Leaf motif */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-modern h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.contact-info-modern p {
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-item-modern {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-item-text h5 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: white;
}

.contact-item-text p {
  font-size: 0.95rem;
  margin: 0;
  color: #94a3b8;
}

/* Right Side: Form Card */
.modern-form-card {
  background: white;
  padding: 3rem;
  border-radius: 30px;
  border-top-right-radius: 0;
  /* Leaf motif reverse */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  /* Soft diffuse shadow */
}

.form-group-modern {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group-modern label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-input-modern {
  width: 100%;
  padding: 1rem 1.2rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input-modern:focus {
  background: white;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
  /* Mint glow */
  outline: none;
}

.form-input-modern::placeholder {
  color: #94a3b8;
}

/* Submit Button */
.btn-submit-modern {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #0f172a;
  /* Dark text for contrast on mint */
  font-weight: 700;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(45, 212, 191, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-modern {
    border-radius: 20px;
    padding: 2rem;
  }

  .modern-form-card {
    border-radius: 20px;
    padding: 2rem;
  }
}

/* ============================================
   CONTACT OVERLAP STYLE (REF: KASSAPAY)
   ============================================ */

/* 1. Deep Hero Section */
.contact-hero-overlap {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1557426272-fc759fdf7a8d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding-top: 140px;
  /* Header space */
  padding-bottom: 200px;
  /* Space for overlap */
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  /* Slight angle at bottom like modern designs */
}

/* 2. Floating Card Container */
.floating-contact-container {
  margin-top: -150px;
  /* THE OVERLAP */
  margin-bottom: 100px;
  position: relative;
  z-index: 10;
  padding: 0 15px;
}

/* 3. The Card Itself */
.floating-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left Panel (Info) */
.floating-card-left {
  width: 35%;
  background: #f8fafc;
  /* Light gray background */
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid #e2e8f0;
}

.floating-card-heading {
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 1rem;
  font-weight: 700;
}

.floating-card-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.floating-info-item {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.floating-icon-circle {
  width: 48px;
  height: 48px;
  background: var(--accent-primary);
  /* Teal Brand Color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Right Panel (Form) */
.floating-card-right {
  width: 65%;
  padding: 3rem 4rem;
  background: white;
}

.floating-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.floating-input-box {
  width: 100%;
  padding: 1rem 1.2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #334155;
  transition: all 0.3s;
}

.floating-input-box:focus {
  background: white;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
  outline: none;
}

.floating-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .floating-card {
    flex-direction: column;
  }

  .floating-card-left,
  .floating-card-right {
    width: 100%;
    padding: 2rem;
  }

  .contact-hero-overlap {
    padding-bottom: 100px;
  }

  .floating-contact-container {
    margin-top: -80px;
  }

  .floating-form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}