/* ==========================================================================
   MAX EXPORT (INDIA) - MAIN STYLESHEET
   Pure External CSS - Strictly No Inline CSS Allowed
   Secure & Modern CSS3 Architecture
   ========================================================================== */

/* --- CSS Variables & Theme Tokens --- */
:root {
  --primary-color: #1b75bc;
  --primary-hover: #145b94;
  --primary-dark: #0d3d63;
  --primary-light: #e8f3fc;
  --secondary-color: #0c1a3c;
  --secondary-light: #162a59;
  --accent-color: #e8921e;
  --accent-hover: #cf7e13;
  --accent-light: #fef5e9;

  --color-text-main: #2d3748;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-heading: #0f172a;
  
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0b1329;
  --bg-darker: #070d1e;
  --bg-turquoise: #e6f7f8;
  --bg-pink: #fdf2f4;
  
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max-width: 1240px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture, video {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--primary-hover);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Screen-reader & Accessibility Helpers --- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --- Container & Layout System --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-bg-light {
  background-color: var(--bg-light);
}

.section-bg-turquoise {
  background-color: var(--bg-turquoise);
}

.section-bg-pink {
  background-color: var(--bg-pink);
}

.section-bg-dark {
  background-color: var(--bg-dark);
  color: #e2e8f0;
}

.section-bg-darker {
  background-color: var(--bg-darker);
  color: #cbd5e1;
}

/* --- Section Headings --- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title.text-white {
  color: #ffffff;
}

.section-title.text-primary {
  color: var(--primary-color);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section-intro.text-light {
  color: #94a3b8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(27, 117, 188, 0.25);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 117, 188, 0.35);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--secondary-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(232, 146, 30, 0.25);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 146, 30, 0.35);
}

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

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-outline-white {
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.btn-outline-white:hover, .btn-outline-white:focus {
  background-color: #ffffff;
  color: var(--secondary-color);
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  background-color: var(--secondary-color);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-link {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.social-link:hover, .social-link:focus {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  text-decoration: none;
}

.topbar-contact-item:hover, .topbar-contact-item:focus {
  color: #ffffff;
}

.topbar-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-color);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  max-width: 230px;
  width: 100%;
  height: auto;
  max-height: 32px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.nav-dropdown-icon {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Submenu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1001;
  border: 1px solid var(--border-color);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.dropdown-link:hover, .dropdown-link:focus, .dropdown-link.active {
  color: var(--primary-color);
  background-color: var(--primary-light);
  padding-left: 1.5rem;
}

.has-submenu {
  position: relative;
}

.submenu-arrow {
  float: right;
  margin-top: 5px;
  width: 8px;
  height: 8px;
}

.nav-sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 180px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
}

.has-submenu:hover .nav-sub-dropdown,
.has-submenu:focus-within .nav-sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
}

.toggle-bar {
  width: 22px;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all var(--transition-fast);
}

.mobile-nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   PAGE HERO / BANNER (FOR SUBPAGES)
   ========================================================================== */
.page-hero {
  background-color: var(--secondary-color);
  background-image: linear-gradient(rgba(12, 26, 60, 0.85), rgba(12, 26, 60, 0.92)), url('../images/max-banner-1.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.page-breadcrumb a {
  color: #ffffff;
}

.page-breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb-separator {
  color: var(--accent-color);
}

/* ==========================================================================
   HERO SLIDER (HOME PAGE)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background-color: var(--secondary-color);
  min-height: 580px;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 600px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(12, 26, 60, 0.85) 0%, rgba(12, 26, 60, 0.45) 60%, rgba(12, 26, 60, 0.2) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  color: #ffffff;
  padding: 2rem 0;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slide Specific Backgrounds */
.slide-bg-1 {
  background-image: url('../images/max-banner-2.jpg');
}

.slide-bg-2 {
  background-image: url('../images/max-banner-1.jpg');
}

.slide-bg-3 {
  background-image: url('../images/max-banner-3.jpg');
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover, .slider-arrow:focus {
  background-color: var(--primary-color);
  color: #ffffff;
}

.slider-arrow-prev {
  left: 2rem;
}

.slider-arrow-next {
  right: 2rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
  padding: 0;
}

.slider-dot.active {
  width: 32px;
  border-radius: 6px;
  background-color: var(--accent-color);
}

/* ==========================================================================
   COMPANY PROFILE (HOME & INNER)
   ========================================================================== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout.reversed {
  direction: rtl;
}

.split-layout.reversed > * {
  direction: ltr;
}

.content-block h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.content-block p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.content-block p strong {
  color: var(--color-heading);
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-frame:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   PRODUCTS GRID & GALLERY CARDS
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 26, 60, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-zoom-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

.product-zoom-btn:hover {
  transform: scale(1.1);
  background-color: var(--primary-hover);
}

.product-meta {
  padding: 1rem;
  text-align: center;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
}

/* ==========================================================================
   PILLARS / FEATURE BOXES (3 ITEMS)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background-color: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.pillar-card:nth-child(2) {
  border-top-color: var(--accent-color);
}

.pillar-card:nth-child(3) {
  border-top-color: #10b981;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.pillar-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-card:nth-child(2) .pillar-icon-wrap {
  background-color: var(--accent-light);
  color: var(--accent-color);
}

.pillar-card:nth-child(3) .pillar-icon-wrap {
  background-color: #ecfdf5;
  color: #10b981;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   VALUES & STRATEGIC OBJECTIVES
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  background-color: var(--bg-white);
  padding: 2rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.value-target-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem auto;
  color: #ef4444;
}

.value-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.value-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   OUR TEAM & MEET THE TEAM
   ========================================================================== */
.team-badges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.team-badge-card {
  background-color: var(--bg-white);
  padding: 1.75rem 1rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.team-badge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.team-avatar-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  border: 2px solid #a7f3d0;
}

.team-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.35;
}

/* ==========================================================================
   LADIES WEAR & FABRIC LISTS
   ========================================================================== */
.specialty-list-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.check-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: inherit;
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-color);
  margin-top: 3px;
}

.check-icon.text-green {
  color: #10b981;
}

/* ==========================================================================
   CONTACT FORMS & INQUIRY SECTION
   ========================================================================== */
.inquiry-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-form-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 1.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(27, 117, 188, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-status-alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-status-alert.alert-success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status-alert.alert-error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Anti-Spam Honeypots (Zero display, absolute hidden) */
.antispam-trap {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  z-index: -1 !important;
}

/* Anti-Spam Security Challenge Wrap */
.form-captcha-wrap {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.captcha-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.65rem;
}

.captcha-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  min-width: 55px;
}

.captcha-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e2e8f0;
  color: var(--color-heading);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.captcha-refresh-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: rotate(90deg);
}

.captcha-input-group {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.captcha-input-group .form-control {
  max-width: 140px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.6rem 0.75rem;
}

.captcha-hint {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.btn-submitting {
  opacity: 0.75;
  pointer-events: none;
  cursor: not-allowed;
}

/* ==========================================================================
   SERVICES (PLANT & MACHINERY 13-STEP FLOW)
   ========================================================================== */
.services-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-step-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.service-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-step-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.service-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-step-card:hover .service-step-image img {
  transform: scale(1.06);
}

.service-step-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-step-badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-color);
  background-color: var(--primary-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-step-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   KNITS & WOVEN FABRIC CARDS
   ========================================================================== */
.fabric-category-section {
  margin-bottom: 4rem;
}

.fabric-category-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-heading);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 2rem;
}

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

.fabric-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.fabric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.fabric-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.fabric-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.fabric-card:hover .fabric-card-image img {
  transform: scale(1.05);
}

.fabric-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.fabric-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.fabric-card-text {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT PAGE DETAILS & CARDS
   ========================================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background-color: var(--bg-white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.contact-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.contact-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.contact-card-content {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Contact Showcase Tall Image Frame */
.contact-showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 100%;
  min-height: 600px;
  display: flex;
  background-color: #f1f5f9;
}

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

.contact-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.9) 100%);
  padding: 2.25rem 2rem 2rem;
  color: #ffffff;
}

.contact-showcase-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 0.4rem;
}

.contact-showcase-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.contact-showcase-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* Full Width Map Section */
.section-map {
  padding: 4.5rem 0 5rem;
  background-color: var(--bg-subtle);
}

.full-map-wrapper {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.full-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-darker);
  color: #cbd5e1;
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.4fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-logo {
  max-width: 190px;
  width: 100%;
  height: auto;
  max-height: 28px;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  display: block;
}

.footer-about-text {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #cbd5e1;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: var(--accent-color);
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-map-frame {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL (PURE SECURE JS + CSS)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 19, 41, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  padding: 2rem;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background-color: var(--accent-color);
  color: #ffffff;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}
