/* ==========================================================================
   1. GLOBAL STYLES & VARIABLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #111827;
  overflow-x: hidden;
}

img {
  width: 100%;
}

/* ==========================================================================
   2. NAVIGATION HEADER
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-section img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 12px;
}

.logo-section h2 {
  color: #2563eb;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #2563eb;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #111827;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2563eb;
}

.nav-links a.active {
  font-weight: 700;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding: 150px 8% 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 60px;
  background: linear-gradient(to bottom right, #ffffff, #eff6ff, #dbeafe);
}

.hero-left {
  width: 100%;
  will-change: transform;
}

.hero-left h1 span {
  color: #2563eb;
}

.hero-title {
  font-size: 82px;
  line-height: 1.05;
  font-weight: 800;
  color: #111827;
}

.hero-title span {
  color: #00b7ff;
}

.hero-left p {
  margin-top: 30px;
  font-size: 18px;
  color: #6b7280;
  line-height: 1.8;
}

.tag {
  background: #dbeafe;
  color: #2563eb;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 25px;
  font-weight: 600;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-right {
  will-change: transform;
  animation: float 4s ease-in-out infinite;
}

.hero-right img {
  max-width: 500px;
  margin: auto;
  display: block;
}

/* ==========================================================================
   4. COMPONENT BUTTONS
   ========================================================================== */
button {
  padding: 16px 34px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

button.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-btn {
  background: #2563eb;
  color: white;
  padding: 14px 28px;
}

.contact-btn:hover {
  background: #1d4ed8;
}

.primary-btn {
  background: #00b7ff;
  color: white;
}

.primary-btn:hover {
  background: #009ee0;
}

.secondary-btn {
  background: transparent;
  border: 2px solid #2563eb !important;
  color: #2563eb;
}

.secondary-btn:hover {
  background: #2563eb;
  color: white;
}

.consult-btn {
  background: transparent;
  border: 1px solid #d1d5db !important;
  color: #111827;
}

.consult-btn:hover {
  background: #111827;
  color: white;
}

/* ==========================================================================
   5. SECTIONS (GENERAL, SERVICES, ABOUT)
   ========================================================================== */
.section {
  padding: 120px 8%;
  text-align: center;
  transition: all 0.4s ease;
  will-change: transform;
}

.section h2 {
  font-size: 56px;
  margin-bottom: 20px;
}

.section p {
  color: #6b7280;
  font-size: 18px;
}

.blue-bg {
  background: #eff6ff;
}

/* --- SERVICES --- */
.services {
  padding: 120px 8%;
  background: linear-gradient(to bottom, #ffffff, #f8fbff);
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 56px;
  color: #111827;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 18px;
  color: #6b7280;
}

.services-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: stretch;
}

.services-tabs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-tab {
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.service-tab i {
  font-size: 20px;
  color: #2563eb;
}

.service-tab:hover {
  transform: translateX(8px);
  border-color: #2563eb;
}

.service-tab.active {
  background: linear-gradient(135deg, #2563eb, #00b7ff);
  color: white;
  border-color: transparent;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.service-tab.active i {
  color: white;
}

.services-content {
  background: white;
  border-radius: 32px;
  padding: 60px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  min-height: 500px;
  display: flex;
  align-items: center;
}

.service-display {
  width: 100%;
}

.service-display h3 {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #111827;
}

.service-display p {
  font-size: 18px;
  line-height: 1.9;
  color: #6b7280;
  max-width: 720px;
  margin-bottom: 45px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}

.feature-item i {
  color: #00b7ff;
  font-size: 18px;
}

.service-display .primary-btn {
  background: linear-gradient(135deg, #2563eb, #00b7ff);
  color: white;
  padding: 16px 34px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: none;
}

/* --- ABOUT --- */
.about {
  background: #f5f7fb;
  padding: 120px 8%;
  position: relative;
  overflow: hidden;
}

.about-container {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h3 {
  font-size: 2.8rem;
  color: #0f172a;
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.9;
  margin-bottom: 22px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-box {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 180px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease;
}

.stat-box:hover {
  transform: translateY(-8px);
}

.stat-box h4 {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 12px;
}

.stat-box p {
  margin: 0;
  color: #64748b;
  font-weight: 500;
  text-align: center;
}

.about-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.about-card {
  background: white;
  padding: 35px 28px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.4s ease;
}

.about-card:hover {
  transform: translateY(-10px);
}

.about-card i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 20px;
}

.about-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #0f172a;
}

.about-card p {
  color: #64748b;
  line-height: 1.7;
}

.why-business-heading {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 10px;
}

.why-business-heading h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #0f172a;
  margin-bottom: 15px;
}

.why-business-heading p {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/* ==========================================================================
   6. TECHNOLOGIES ECOSYSTEM
   ========================================================================== */
.technologies-section {
  padding: 120px 8%;
  background: #f5f7fb;
  text-align: center;
  overflow: hidden;
}

.tech-header h2 {
  font-size: 56px;
  color: #111827;
  margin-bottom: 20px;
}

.tech-header p {
  color: #64748b;
  font-size: 18px;
}

.tech-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
}

.tech-tab {
  padding: 14px 30px;
  border-radius: 50px;
  border: 1px solid #2563eb;
  background: white;
  color: #2563eb;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tech-tab:hover {
  transform: translateY(-3px);
  border-color: #1d4ed8;
}

.tech-tab.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.tech-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.tech-card {
  position: relative;
  overflow: hidden;
  background: white;
  padding: 35px 28px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.35s ease;
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.15);
}

.tech-card i {
  font-size: 60px;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.tech-card:hover i {
  transform: scale(1.08);
}

.tech-card h3 {
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.tech-card p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.8;
}

/* --- DEV-ICONS COLOR CODES --- */
.devicon-react-original { color: #61dafb; }
.devicon-angularjs-plain { color: #dd0031; }
.devicon-html5-plain { color: #e34f26; }
.devicon-css3-plain { color: #1572b6; }
.devicon-javascript-plain { color: #f7df1e; }
.devicon-nodejs-plain { color: #339933; }
.devicon-express-original { color: #444444; }
.devicon-python-plain { color: #3776ab; }
.devicon-nextjs-original { color: #111827; }
.devicon-flutter-plain { color: #02569b; }
.devicon-android-plain { color: #3ddc84; }
.devicon-apple-original { color: #555555; }
.devicon-amazonwebservices-original { color: #ff9900; }
.devicon-docker-plain { color: #2496ed; }
.devicon-kubernetes-plain { color: #326ce5; }
.devicon-mongodb-plain { color: #47a248; }
.devicon-mysql-plain { color: #4479a1; }
.devicon-postgresql-plain { color: #336791; }
.devicon-tensorflow-original { color: #ff6f00; }

/* ==========================================================================
   7. TECH DEEP-DIVE INNER LAYOUTS
   ========================================================================== */
.tech-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 8%;
  background: linear-gradient(to right, #031224, #071c35, #0a2545);
}

.tech-hero-content {
  max-width: 850px;
}

.tech-icon i {
  font-size: 120px;
  color: #00d9ff;
  margin-bottom: 30px;
}

.tech-hero h1 {
  font-size: 72px;
  color: white;
  margin-bottom: 25px;
}

.tech-hero p {
  font-size: 20px;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 40px;
}

.tech-about,
.tech-features,
.react-services,
.development-process {
  padding: 110px 8%;
}

.tech-container {
  max-width: 1200px;
  margin: auto;
}

.tech-about-text h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #0f172a;
}

.tech-about-text p {
  font-size: 18px;
  line-height: 1.9;
  color: #475569;
}

.feature-grid,
.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-card,
.service-box,
.process-card {
  padding: 40px 30px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.feature-card:hover,
.service-box:hover,
.process-card:hover {
  transform: translateY(-8px);
}

.feature-card i {
  font-size: 42px;
  color: #2563eb;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

.process-card span {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 15px;
}

.tech-cta {
  padding: 120px 8%;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #00b7ff);
  color: white;
}

.tech-cta h2 {
  font-size: 54px;
  margin-bottom: 20px;
}

.tech-cta p {
  font-size: 20px;
  margin-bottom: 35px;
}

.tech-cta .primary-btn {
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  background: white;
  color: #2563eb;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

/* ==========================================================================
   8. CAREERS PORTAL & GLASSMORPHIC FORM SYSTEM
   ========================================================================== */
.careers {
  padding: 120px 8%;
  background: linear-gradient(to bottom right, #2563eb, #1e3a8a);
  color: white;
  text-align: center;
  transition: all 0.4s ease;
}

.careers h2 {
  font-size: 56px;
  margin-bottom: 25px;
  font-weight: 700;
}

.career-form,
.modal-content .contact-form {
  background: rgba(255, 255, 255, 0.98);
  max-width: 700px;
  margin: auto;
  padding: 40px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(37, 99, 235, 0.08);
  transition: all 0.3s ease;
  animation: formFade 0.6s ease;
}

.career-form:hover {
  transform: translateY(-4px);
}

.career-form-header {
  text-align: center;
  margin-bottom: 12px;
}

.career-form-header h3 {
  font-size: 2rem;
  color: #111827;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.career-form-header p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

/* --- STANDARDIZED INPUT FIELDS --- */
.career-form input,
.career-form textarea,
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid #dbe3f0;
  background: #f9fafb;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.career-form textarea,
.modal-content textarea {
  min-height: 140px;
  resize: none;
}

.career-form input:focus,
.career-form textarea:focus,
.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: white;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12), 0 10px 25px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

/* --- PREMIUM RESUME UPLOAD --- */
#careerResume {
  display: none; /* File field hidden; targeted via visual label container box */
}

.resume-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 35px;
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.resume-upload-box:hover,
.resume-upload-box.drag-over {
  border-color: #2563eb;
  background: #eff6ff;
  transform: scale(1.01) translateY(-2px);
}

.resume-upload-box i {
  font-size: 36px;
  color: #2563eb;
}

.resume-upload-box span {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.resume-upload-box small {
  color: #64748b;
  font-size: 13px;
}

.resume-file-name {
  margin-top: 10px;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}


/* File selected state for drop zones */
.resume-upload-box.file-selected,
.upload-box.file-selected {
  border-color: #22c55e;
  background: #f0fdf4;
}

.resume-upload-box.file-selected i,
.upload-box.file-selected i {
  color: #16a34a;
}

.resume-upload-box.file-selected .drop-zone-label,
.upload-box.file-selected .drop-zone-label {
  color: #166534;
  font-weight: 600;
}

.required-label {
  text-align: left;
  font-weight: 600;
  color: #111827;
  margin-top: 6px;
}

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

/* --- CLIENT SIDE VALIDATION ENGINE --- */
.error-message {
  color: #ef4444;
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 8px;
  display: block;
  text-align: left;
}

.input-error {
  border-color: #ef4444 !important;
}

.input-success {
  border-color: #22c55e !important;
}

.success-message {
  display: none;
  background: #dcfce7;
  color: #166534;
  padding: 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
  animation: fadeIn 0.4s ease;
}

/* --- PORTAL FORM SUBMIT BUTTONS --- */
.career-form button[type='submit'],
.modal-content .contact-form button[type='submit'] {
  background: linear-gradient(135deg, #2563eb, #00b7ff);
  color: white;
  border: none;
  padding: 18px;
  height: 58px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.career-form button[type='submit']:hover,
.modal-content .contact-form button[type='submit']:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.25);
}

/* --- INTERNATIONAL PHONE OVERRIDES (intl-tel-input) --- */
.iti, 
.iti--separate-dial-code,
.iti--separate-dial-code .iti__tel-input {
  width: 100%;
}

.iti__selected-country {
  background: #f8fafc !important;
  border-right: 1px solid #e2e8f0;
  border-radius: 14px 0 0 14px;
  padding-left: 16px;
  transition: 0.3s ease;
}

.iti--separate-dial-code .iti__selected-dial-code {
  color: #2563eb;
  font-weight: 600;
}

.iti__country-list {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
  max-height: 320px;
  background: white;
  color: #111827;
}

.iti__country {
  padding: 12px 14px;
  transition: 0.2s ease;
  color: #111827;
  font-size: 15px;
}

.iti__country:hover {
  background: #eff6ff;
}

.iti__search-input {
  border-radius: 10px;
  padding: 10px;
  font-family: 'Poppins', sans-serif;
  background: white;
  color: #111827;
}

.iti__country-name { color: #111827 !important; }
.iti__dial-code { color: #6b7280 !important; }

/* ==========================================================================
   9. INTERACTION MODALS & PRIVACY POPUPS
   ========================================================================== */
/* ==========================================================================
   CONTACT MODAL OVERLAY
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 760px;
  border-radius: 30px;
  padding: 50px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalFade 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 22px;
  background: #f1f5f9;
  border: none !important;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: none !important;
  box-shadow: none !important;
}

.modal-header {
  text-align: center;
  margin-bottom: 36px;
}

.modal-header .tag {
  margin-bottom: 16px;
}

.modal-header h2 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-header p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

/* --- PRIVACY POLICY TERMS POPUP --- */
.policy-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
  padding: 40px 20px;
}

.policy-modal-content {
  background: #fff;
  max-width: 900px;
  margin: auto;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  animation: modalFade 0.3s ease;
}

.close-policy-modal {
  position: absolute;
  right: 25px;
  top: 20px;
  font-size: 32px;
  cursor: pointer;
  color: #111827;
}

.policy-modal-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #111827;
}

.policy-modal-content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #111827;
}

.policy-modal-content p,
.policy-modal-content li {
  color: #4b5563;
  line-height: 1.8;
  font-size: 16px;
}

.policy-modal-content ul {
  padding-left: 20px;
}

/* ==========================================================================
   10. FOOTER CONTENT SYSTEM
   ========================================================================== */
footer {
  background: #030712;
  color: white;
  padding: 100px 8%;
  transition: all 0.4s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-grid > div {
  will-change: transform;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 20px;
}

.footer-grid p,
.footer-grid a {
  color: #9ca3af;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-grid a:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 20px;
  font-size: 24px;
}

.social-icons i {
  cursor: pointer;
  transition: 0.3s ease;
}

.social-icons i:hover {
  transform: translateY(-5px);
  color: #3b82f6;
}

/* ==========================================================================
   11. ANIMATION CORE RUNTIMES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-18px); }
  100% { transform: translateY(0px); }
}

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

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

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

/* ==========================================================================
   12. MEDIA QUERY BREAKPOINTS & RESPONSIVENESS
   ========================================================================== */

/* --- TABLETS AND MEDIUM LAPTOPS --- */
@media (max-width: 992px) {
  .navbar {
    padding: 18px 5%;
  }

  .logo-section h2 {
    font-size: 24px;
  }

  .logo-section img {
    width: 55px;
    height: 55px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 90px;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    left: 0;
  }

  .contact-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 140px 5% 80px;
    gap: 50px;
  }

  .hero-title {
    font-size: 52px;
    line-height: 1.1;
  }

  .hero-left p {
    font-size: 16px;
  }

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

  .hero-right img {
    max-width: 320px;
  }

  .services {
    padding: 90px 5%;
  }

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

  .services-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .services-tabs::-webkit-scrollbar {
    height: 6px;
  }

  .services-tabs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
  }

  .service-tab {
    min-width: 260px;
    justify-content: center;
  }

  .services-content {
    padding: 45px;
  }

  .service-display h3 {
    font-size: 42px;
  }

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

  .about-content h3 {
    font-size: 2.2rem;
  }

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

  .social-icons {
    justify-content: center;
  }
}

/* --- MOBILE DEVICES (Portrait/Landscape Layouts) --- */
@media (max-width: 768px) {
  .section {
    padding: 90px 5%;
  }

  .section h2,
  .section-header h2,
  .tech-header h2,
  .careers h2,
  .tech-about-text h2,
  .tech-cta h2 {
    font-size: 38px;
  }

  .tech-hero h1 {
    font-size: 46px;
  }

  .tech-hero p {
    font-size: 17px;
  }

  .tech-icon i {
    font-size: 90px;
  }

  .tech-about,
  .tech-features,
  .react-services,
  .development-process,
  .tech-cta,
  .careers {
    padding: 80px 5%;
  }

  .career-form {
    padding: 25px 20px;
    border-radius: 24px;
  }

  .career-form-header h3 {
    font-size: 1.6rem;
  }

  .career-form input,
  .career-form textarea {
    padding: 16px 18px;
  }

  .tech-categories {
    gap: 14px;
  }

  .tech-tab {
    padding: 12px 20px;
    font-size: 14px;
  }

  .tech-grid {
    margin-top: 50px;
    grid-template-columns: 1fr;
  }

  .tech-card {
    padding: 30px 22px;
  }

  .tech-card i {
    font-size: 52px;
  }

  .tech-card h3 {
    font-size: 1.25rem;
  }

  .services-content {
    padding: 35px 25px;
  }

  .service-display h3 {
    font-size: 34px;
  }

  .service-display p {
    font-size: 16px;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .policy-modal-content {
    padding: 25px 20px;
  }

  .policy-modal-content h2 {
    font-size: 24px;
  }

  .policy-modal-content p,
  .policy-modal-content li {
    font-size: 15px;
  }

  .close-policy-modal {
    font-size: 28px;
    right: 18px;
    top: 15px;
  }
}

/* --- SMALL MOBILE PHONES --- */
@media (max-width: 576px) {
  .navbar {
    padding: 16px 4%;
  }

  .logo-section h2 {
    font-size: 18px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-buttons button {
    width: 100%;
  }

  .service-tab {
    min-width: 220px;
    padding: 18px;
  }

  .service-display h3 {
    font-size: 30px;
  }

  .about {
    padding: 90px 6%;
  }

  .about-content h3 {
    font-size: 1.9rem;
  }

  .modal-content {
    padding: 25px 18px;
    border-radius: 20px;
  }
}
/* ==========================================================================
   CONTACT FORM & PREMIUM COMPONENTS
   ========================================================================== */
.contact-form {
  background: rgba(255, 255, 255, 0.98);
  max-width: 800px;
  margin: 40px auto 0;
  padding: 50px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.03), 0 8px 20px rgba(37, 99, 235, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(37, 99, 235, 0.03);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  width: 100%;
}

.form-group label,
.form-label {
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  letter-spacing: -0.1px;
}

.required-label span {
  color: #ef4444;
  margin-left: 2px;
}

/* Standarized Fields Styling */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #dbe3f0;
  background: #f9fafb;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  color: #111827;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Focus and Interactive Interactions */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Custom Drag and Drop System */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.upload-container {
  width: 100%;
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 35px 20px;
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.upload-box:hover,
.upload-box:focus-within {
  border-color: #2563eb;
  background: #eff6ff;
  outline: none;
}

.upload-box.drag-over {
  border-color: #22c55e;
  background: #f0fdf4;
  transform: scale(0.99);
}

.upload-box i {
  font-size: 38px;
  color: #2563eb;
  transition: transform 0.2s ease;
}

.upload-box:hover i {
  transform: translateY(-2px);
}

.upload-box span {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}

.upload-box span mark {
  background: transparent;
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
}

.upload-box small {
  color: #64748b;
  font-size: 13px;
}

/* Attached File Feedback Layout */
.file-feedback {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  margin-top: 12px;
  animation: fadeIn 0.3s ease;
}

.file-feedback.hidden {
  display: none !important;
}

.file-icon {
  font-size: 20px;
  color: #16a34a;
}

.file-name {
  font-size: 14px;
  font-weight: 500;
  color: #14532d;
  flex-grow: 1;
  word-break: break-all;
}

.remove-file-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px !important;
  width: auto !important;
  height: auto !important;
  color: #dc2626 !important;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease !important;
}

.remove-file-btn:hover {
  transform: scale(1.15) !important;
}

/* Engine Form Validation Elements */
.error-message {
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  min-height: 18px;
  margin-top: 2px;
}

.input-error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}

.input-error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

.input-success {
  border-color: #22c55e !important;
}

.success-message {
  display: none;
  background: #dcfce7;
  color: #166534;
  padding: 16px 24px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid #bbf7d0;
  margin-top: 15px;
  animation: fadeIn 0.4s ease;
}

/* Submit Infrastructure Actions */
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.contact-form button[type="submit"] {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.btn-text.hidden {
  opacity: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* Disable hover lift on contact form inside modal */
.modal-content .contact-form:hover {
  transform: none;
  box-shadow: none;
}

.modal-content .contact-form {
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS ENGINE
   ========================================================================== */
@media (max-width: 992px) {
  .contact-form {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .contact-form {
    padding: 30px 20px;
    gap: 24px;
    border-radius: 24px;
  }
}