/* ==========================================================================
   HAMMAD IQBAL - PORTFOLIO WEBSITE STYLESHEET
   100% Mobile Responsive Design System (320px to 4K screens)
   Zero Horizontal Overflow Safeguard
   ========================================================================== */

:root {
  /* Palette */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  --secondary-600: #0f766e;
  --accent-blue: #0284c7;

  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --bg-card: #ffffff;

  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --success-bg: #f0fdf4;
  --success-text: #166534;
  --success-border: #bbf7d0;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

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

  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s ease-in-out;

  --header-height: 76px;
}

[data-theme="dark"] {
  --bg-main: #0b0f17;
  --bg-surface: #111827;
  --bg-surface-alt: #1f2937;
  --bg-card: #161e2e;

  --border-color: #1f2937;
  --border-hover: #374151;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Strict Box Model Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

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

ul {
  list-style: none;
}

/* Fluid Container Safeguard */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.85rem, 3vw, 1.5rem);
  padding-right: clamp(0.85rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.section-padding {
  padding-top: clamp(3rem, 5vw, 5.5rem);
  padding-bottom: clamp(3rem, 5vw, 5.5rem);
}

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

.bg-surface-alt {
  background-color: var(--bg-surface-alt);
}

/* Typography & Titles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(1.75rem, 3.5vw, 3rem) auto;
  width: 100%;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-200);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

[data-theme="dark"] .badge-tag {
  background-color: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border-color: rgba(37, 99, 235, 0.3);
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--primary-600);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary) !important;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--primary-600) !important;
}

.btn-block {
  width: 100%;
}

.form-submit-wrapper {
  margin-top: 1.5rem;
  width: 100%;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.975rem;
}

/* Sticky Header Navigation */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-fast);
}

[data-theme="dark"] .header-nav {
  background-color: rgba(11, 15, 23, 0.92);
}

.header-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.brand-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  background-color: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-200);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-600);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background-color: var(--bg-surface-alt);
  color: var(--primary-600);
}

/* 1. HERO SECTION */
.hero-section {
  padding-top: calc(var(--header-height) + clamp(1.5rem, 3vw, 3rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  width: 100%;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.15rem;
  max-width: 100%;
  line-height: 1.35;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item i {
  color: var(--primary-600);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Hero Image Card */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--bg-card);
  width: 100%;
}

.hero-profile-img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  object-position: center 20%;
}

.hero-experience-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: calc(100% - 2rem);
}

[data-theme="dark"] .hero-experience-badge {
  background-color: rgba(22, 30, 46, 0.95);
}

.badge-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
}

.badge-text {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

/* 2. ABOUT ME SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
  width: 100%;
}

.about-content p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
  width: 100%;
}

.highlight-card {
  background-color: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.highlight-card i {
  font-size: 1.25rem;
  color: var(--primary-600);
  margin-bottom: 0.4rem;
}

.highlight-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.highlight-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.stat-box {
  background-color: var(--bg-card);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* 3. SERVICES SECTION (SAFE GRID) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

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

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.15rem;
  flex-shrink: 0;
}

[data-theme="dark"] .service-icon-wrapper {
  background-color: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.service-card h3 {
  font-size: 1.175rem;
  margin-bottom: 0.65rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}

.service-features {
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.service-features li i {
  color: var(--primary-600);
  font-size: 0.775rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-600);
  text-decoration: none;
  margin-top: auto;
}

/* 4. SKILLS & TECHNOLOGIES */
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.skill-badge {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  flex-grow: 1;
  min-width: 130px;
}

.skill-badge i {
  font-size: 1.35rem;
  color: var(--primary-600);
  flex-shrink: 0;
}

.skill-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* 5. EXPERIENCE TIMELINE */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background-color: var(--border-color);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 2.25rem;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 18px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary-600);
  border: 3px solid var(--bg-main);
  box-shadow: 0 0 0 2px var(--primary-500);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
  }
}

.timeline-content {
  margin-left: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  width: calc(100% - 40px);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    width: calc(100% - 20px);
    padding-right: 1.5rem;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    width: calc(100% - 20px);
    padding-left: 1.5rem;
  }
}

.timeline-date {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  background-color: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 0.55rem;
}

[data-theme="dark"] .timeline-date {
  background-color: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.timeline-list {
  list-style: none;
}

.timeline-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.timeline-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-600);
  font-weight: bold;
}

/* 6. SELECTED PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.project-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.project-image-wrapper {
  position: relative;
  height: 340px;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
  width: 100%;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.65rem;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.project-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tech-tag {
  padding: 0.18rem 0.5rem;
  background-color: var(--bg-surface-alt);
  color: var(--text-secondary);
  font-size: 0.725rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 5;
}

.project-card:hover .project-overlay {
  opacity: 1;
  visibility: visible;
}

.project-hover-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  background-color: var(--primary-600);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: var(--transition-fast);
  text-decoration: none;
  transform: translateY(12px);
}

.project-card:hover .project-hover-btn {
  transform: translateY(0);
}

.project-hover-btn:hover {
  background-color: var(--primary-700);
  transform: scale(1.05);
}

/* 7. WHY WORK WITH ME */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.why-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

[data-theme="dark"] .why-icon {
  background-color: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 8. INTERNATIONAL REMOTE SUPPORT BANNER */
.intl-banner-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  width: 100%;
  box-sizing: border-box;
}

.intl-banner-content {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.intl-banner-title {
  color: #ffffff;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.intl-banner-desc {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.intl-regions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.95rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

/* 9. CONTACT FORM SECTION */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  width: 100%;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon {
  background-color: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.contact-details h4 {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-details p,
.contact-details a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
}

.availability-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
}

.availability-box h5 {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.availability-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form Styling */
.form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-md);
  width: 100%;
  box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-label .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  min-height: 44px;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background-color: var(--bg-card);
}

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

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%252364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2rem;
}

.form-error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  display: none;
}

.form-group.error .form-control {
  border-color: #ef4444;
}

.form-group.error .form-error-msg {
  display: block;
}

.form-feedback-alert {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
  font-size: 0.875rem;
}

/* 10. FOOTER */
.site-footer {
  background-color: #0b0f17;
  color: #94a3b8;
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-bottom: 1.75rem;
  border-top: 1px solid #1f2937;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  width: 100%;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 1.15rem;
  max-width: 360px;
}

.social-links {
  display: flex;
  gap: 0.55rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background-color: var(--primary-600);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 99;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   STRICT MEDIA QUERIES FOR ALL SCREEN SIZES & BREAKPOINTS
   ========================================================================== */

/* Laptop Screens (992px to 1199px) */
@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Tablet Screens (768px to 991px) */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-grid {
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

/* Mobile Screens (up to 767px) */
@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .services-grid,
  .projects-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-experience-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 0.85rem auto 0 auto;
    width: calc(100% - 1.5rem);
    justify-content: center;
  }
}

/* Small Phones (< 480px) */
@media (max-width: 480px) {
  .hero-trust-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

  .skill-badge {
    min-width: 100%;
  }

  .brand-badge {
    display: none;
  }

  .nav-cta .btn {
    display: none;
  }

  .scroll-top-btn {
    bottom: 1rem;
    right: 1rem;
  }
}

/* Tiny Screens (< 360px) */
@media (max-width: 360px) {
  .about-stats-container {
    grid-template-columns: 1fr;
  }
}

/* FLOATING WHATSAPP CHAT BUTTON (Bottom-Left) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 52px;
  height: 52px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition-normal);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  left: 62px;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 480px) {
  .whatsapp-float-btn {
    bottom: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}