@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --primary: #00b4d8;
  --primary-light: #90e0ef;
  --primary-dark: #0077b6;
  --primary-rgb: 0, 180, 216;
  
  --secondary: #fb8500;
  --secondary-light: #ffb703;
  --secondary-dark: #e07a5f;
  --secondary-rgb: 251, 133, 0;

  --navy-dark: #0a1128;
  --navy-medium: #101f42;
  --navy-light: #1e293b;
  --navy-accent: #0f172a;
  
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 180, 216, 0.1), 0 8px 10px -6px rgba(0, 180, 216, 0.05);
  --shadow-lg: 0 20px 30px -10px rgba(10, 17, 40, 0.15), 0 10px 15px -3px rgba(10, 17, 40, 0.05);
  --shadow-orange: 0 10px 20px -5px rgba(251, 133, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(0, 180, 216, 0.35);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --gradient-hero: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

/* --- RESET & GENERAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--navy-dark);
  color: var(--text-white);
}

.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .subtitle {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-medium);
}

.section-dark .section-header p {
  color: var(--text-light);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-orange);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(251, 133, 0, 0.35);
  filter: brightness(1.1);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: var(--text-white);
  color: var(--text-white);
}

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

/* --- TEXT GRADIENT --- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- NAVBAR / HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-slow);
  padding: 20px 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-dark.scrolled {
  background-color: rgba(10, 17, 40, 0.85);
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img, .logo svg {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-white); /* Default to white for transparent dark hero overlay */
  position: relative;
  padding: 6px 0;
}

.header-dark .nav-link {
  color: var(--text-white);
}

.header.scrolled .nav-link {
  color: var(--text-dark); /* Becomes dark when scrolled on white header */
}

.header-dark.scrolled .nav-link {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-white); /* Default to white for transparent header */
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.header-dark .mobile-nav-toggle span {
  background-color: var(--text-white);
}

.header.scrolled .mobile-nav-toggle span {
  background-color: var(--text-dark); /* Becomes dark on scrolled header */
}

.header-dark.scrolled .mobile-nav-toggle span {
  background-color: var(--text-white);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  overflow: hidden;
  color: var(--text-white);
}

/* Decorative Orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 133, 0, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 54px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-illustration {
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

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

/* --- STATS SECTION --- */
.stats {
  padding: 60px 0;
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

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

.stat-card {
  background-color: var(--bg-white);
  padding: 30px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-bottom: 4px solid transparent;
  transition: var(--transition);
}

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

.stat-card.blue {
  border-bottom-color: var(--primary);
}

.stat-card.orange {
  border-bottom-color: var(--secondary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-glow);
}

.service-card.secondary-accent .service-icon {
  background-color: rgba(251, 133, 0, 0.08);
  color: var(--secondary);
}

.service-card.secondary-accent:hover .service-icon {
  background-color: var(--secondary);
  color: var(--bg-white);
  box-shadow: 0 0 20px rgba(251, 133, 0, 0.35);
}

.service-card.secondary-accent::before {
  background: var(--gradient-secondary);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-medium);
  font-size: 15px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card.secondary-accent .service-link {
  color: var(--secondary);
}

.service-card:hover .service-link {
  gap: 12px;
}

/* --- ABOUT SECTION (HOME PAGE PREVIEW) --- */
.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.about-graphics {
  position: relative;
}

.about-card-overlap {
  position: relative;
  z-index: 2;
}

.about-card-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--gradient-secondary);
  color: var(--text-white);
  padding: 24px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 35px rgba(251, 133, 0, 0.3);
  text-align: center;
  z-index: 3;
  animation: float 5s ease-in-out infinite alternate;
}

.about-card-badge .num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-card-badge .lbl {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .feature-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-icon-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(0, 180, 216, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 12px;
}

.feature-item h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-medium);
}

/* --- WORKFLOW / PROCESS --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 60px;
}

.process-timeline::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  width: 80%;
  height: 4px;
  background-color: var(--border-light);
  z-index: 1;
}

.process-timeline-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 60px;
}

.process-timeline-6::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 8%;
  width: 84%;
  height: 4px;
  background-color: var(--border-light);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-num {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step:hover .process-num {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.process-step:nth-child(2n):hover .process-num {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 20px rgba(251, 133, 0, 0.35);
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-medium);
  padding: 0 5px;
}

/* --- SPECIALTIES GRIDS --- */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.specialty-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.specialty-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.specialty-icon-mini {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(0, 180, 216, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.specialty-item:hover .specialty-icon-mini {
  background-color: var(--primary);
  color: var(--bg-white);
}

.specialty-item h4 {
  font-size: 16px;
  font-weight: 600;
}

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

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--secondary-light);
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
  font-size: 14px;
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 24px;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.client-name {
  font-size: 16px;
  font-weight: 700;
}

.client-title {
  font-size: 12px;
  color: var(--text-light);
}

/* --- FAQ ACCORDION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
}

.faq-question.open .faq-icon {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-medium);
  font-size: 15px;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
  border-radius: var(--border-radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 133, 0, 0.08) 0%, transparent 70%);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-banner-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CONTACT FORM PAGE & INTERACTIVES --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-method-list {
  margin-bottom: 40px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-method-details h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-method-details p {
  font-size: 14px;
  color: var(--text-medium);
}

.contact-map-placeholder {
  height: 200px;
  background-color: var(--border-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--text-light);
  font-size: 14px;
}

.contact-form-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-panel h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
}

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

/* --- FOOTER --- */
.footer {
  background-color: var(--navy-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  margin-bottom: 24px;
  height: 50px;
  width: auto;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 16px;
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.footer-title {
  color: var(--text-white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-info svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 16px;
}

.footer-newsletter p {
  font-size: 14px;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 14px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* --- PAGE HERO (FOR SUBPAGES) --- */
.page-hero {
  background: var(--gradient-hero);
  padding: 160px 0 100px;
  color: var(--text-white);
  position: relative;
  text-align: center;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--primary-light);
}

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

.breadcrumbs span {
  color: var(--text-light);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content p {
    margin: 0 auto 30px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-graphics {
    order: 2;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition-slow);
    z-index: 1050;
    gap: 24px;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .header-dark .nav-menu {
    background-color: var(--navy-dark);
  }
  
  .nav-link {
    color: var(--text-dark) !important;
    font-size: 18px;
    width: 100%;
  }
  
  .header-dark .nav-link {
    color: var(--text-white) !important;
  }
  
  .nav-cta {
    width: 100%;
    margin-top: 20px;
  }
  
  .nav-cta .btn {
    width: 100%;
  }
  
  .process-timeline,
  .process-timeline-6 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-timeline::after,
  .process-timeline-6::after {
    display: none;
  }
  
  .cta-banner {
    padding: 50px 30px;
  }
  
  .cta-banner-content h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    width: 100%;
  }
}

/* --- PREMIUM BRAND IMAGE & FLOATING GLASSMORPHIC BADGE STYLES --- */
.brand-image-card {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-slow);
  display: block;
}

.brand-image-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.05);
}

/* Floating Badges for Hero/Dashboard Mockup */
.hero-brand-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.floating-badge {
  position: absolute;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.badge-top {
  top: 30px;
  left: -20px;
  animation-delay: 0s;
}

.badge-bottom {
  bottom: 30px;
  right: -20px;
  animation-delay: 3s;
}

.floating-badge i {
  font-size: 20px;
}

.floating-badge .text-success {
  color: #22c55e;
}

.floating-badge .text-primary {
  color: var(--primary);
}

.floating-badge .badge-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--text-white);
  line-height: 1.2;
}

.floating-badge .badge-label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Specific styling for badges in services / subpages if needed */
.service-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.9);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  z-index: 5;
}

/* --- BUTTON HOVER ENHANCEMENTS --- */
.btn {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* --- TEXT VISIBILITY / CONTRAST OVERRIDES --- */
.section-dark .feature-item p {
  color: var(--text-light) !important;
}

.section-dark .process-step p {
  color: var(--text-light) !important;
}

/* Subtle glow transitions on interactive elements */
.logo img, .footer-logo img {
  transition: var(--transition);
}

.logo img:hover, .footer-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.5));
}

/* --- CUSTOM MODERN MODAL STYLES --- */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 40, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.custom-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal-content {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-modal-overlay.active .custom-modal-content {
  transform: translateY(0);
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #22c55e;
  font-size: 36px;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.custom-modal-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.custom-modal-content p {
  color: var(--text-medium);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.custom-modal-content .btn {
  width: 100%;
}

/* --- FORM ERROR STYLING --- */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-control.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
  background-color: rgba(239, 68, 68, 0.02) !important;
}

.invalid-feedback {
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- PRIMARY SPECIALTY SOLUTIONS --- */
.primary-specialties {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.specialty-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.specialty-row:last-child {
  margin-bottom: 0;
}

.specialty-row.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.specialty-row-content h3 {
  font-size: 32px;
  color: var(--navy-dark);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.specialty-row-content p {
  color: var(--text-medium);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.specialty-bullet-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
}

.specialty-bullet-list li {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.specialty-bullet-list li i {
  color: var(--primary);
  font-size: 16px;
}

.specialty-row-image img {
  width: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.specialty-row-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 40px -15px rgba(0, 180, 216, 0.25);
}

@media (max-width: 991px) {
  .specialty-row, .specialty-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .specialty-row.reverse .specialty-row-image {
    grid-row: 1;
  }
  .specialty-row-content h3 {
    font-size: 26px;
  }
}

.specialties-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .specialties-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .specialties-card-grid {
    grid-template-columns: 1fr;
  }
  
  .about-card-badge {
    bottom: -15px !important;
    right: 15px !important;
    padding: 12px 20px !important;
    box-shadow: 0 10px 25px rgba(251, 133, 0, 0.25) !important;
  }
  
  .about-card-badge .num {
    font-size: 24px !important;
  }
  
  .about-card-badge .lbl {
    font-size: 10px !important;
  }
  
  .hero-brand-image {
    height: 240px !important;
  }
  
  /* Specialty Row mobile spacing */
  .primary-specialties {
    padding: 60px 0 !important;
  }
  
  .specialty-row {
    margin-bottom: 50px !important;
    gap: 24px !important;
  }
  
  .specialty-row-content h3 {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .specialty-bullet-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  /* Page Hero spacing */
  .page-hero {
    padding: 120px 0 60px !important;
  }
  
  .page-hero h1 {
    font-size: 32px !important;
  }
}


