/* 
   Open Door IT Staffing & Recruitment
   Design System & Styling Foundation
*/

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

:root {
  /* Color Palette */
  --primary-dark: #07162c;       /* Deep Navy Blue */
  --primary-blue: #0b3c5d;       /* Brand Royal Blue */
  --accent-blue: #007bff;        /* Tech Blue Accent */
  --accent-gold: #d9a74a;        /* Gold Highlight Color */
  --accent-gold-hover: #c59335;  /* Darker Gold Accent */
  --bg-light: #f8f9fa;           /* Off-white Background */
  --bg-gray: #f1f3f5;            /* Cool Light Gray */
  --text-dark: #212529;          /* Dark Body Text */
  --text-muted: #6c757d;         /* Gray Subtext */
  --text-light: #ffffff;        /* White text */
  --border-color: #dee2e6;       /* Clean borders */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --max-width: 1200px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

section {
  scroll-margin-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}

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

button, input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--accent-gold);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Common Layout Components */
.section {
  padding: 100px 0;
}

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

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

.section-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Common Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(217, 167, 74, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

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

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

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

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

/* Form Styling */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-blue);
  background-color: var(--text-light);
  box-shadow: 0 0 0 4px rgba(11, 60, 93, 0.1);
}

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

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background-color: rgba(7, 22, 44, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 8px 0;
}

.header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
}

.nav-phone i, .nav-phone svg {
  color: var(--accent-gold);
}

.nav-phone:hover {
  color: var(--accent-gold);
}

.nav-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 3px;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #07162c 0%, #0b3c5d 100%);
  color: var(--text-light);
  padding: 180px 0 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--text-light), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-subtitle {
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.hero-badge-icon {
  background-color: rgba(217, 167, 74, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.hero-badge-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-img-container {
  position: relative;
}

.hero-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

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

.hero-decor-circle {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 167, 74, 0.3) 0%, transparent 70%);
  z-index: 1;
}

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

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-left {
  position: relative;
}

.about-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: var(--text-light);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.about-card-title {
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.about-card-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-subheading {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.about-text {
  color: var(--text-muted);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pillar {
  padding: 24px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-gold);
  transition: var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.pillar-title i, .pillar-title svg {
  color: var(--primary-blue);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Why Choose Us Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--text-light);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(11, 60, 93, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.service-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: rgba(217, 167, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.service-name {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Dual split section (Employers vs Candidates) */
.dual-section {
  padding: 100px 0;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.dual-card {
  background-color: var(--text-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.dual-img-container {
  height: 280px;
  width: 100%;
  overflow: hidden;
}

.dual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.dual-content {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.dual-tag {
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.dual-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.dual-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.dual-list {
  list-style: none;
  margin-bottom: 30px;
}

.dual-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.dual-list-item svg, .dual-list-item i {
  color: #28a745;
}

.dual-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Stats Section */
.stats-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--text-light);
  padding: 60px 0;
}

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

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -15px;
  width: 1px;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section */
.testimonials {
  position: relative;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-container {
  overflow: hidden;
  position: relative;
  height: 250px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateX(50px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: rgba(217, 167, 74, 0.2);
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.testimonial-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-dark);
  transition: var(--transition);
}

.testimonial-btn:hover {
  background-color: var(--primary-blue);
  color: var(--text-light);
  border-color: var(--primary-blue);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--accent-gold);
  width: 24px;
  border-radius: 4px;
}

/* Trusted By Section */
.trusted-by {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trusted-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.logos-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.client-logo {
  max-height: 35px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.cta-banner-title {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* Footer Styles */
.footer {
  background-color: #030a14;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-img {
  height: 50px;
  object-fit: contain;
  align-self: flex-start;
}

.footer-desc {
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  background-color: rgba(255, 255, 255, 0.05);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-col-title {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 0.95rem;
}

.footer-link-item a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact-item svg, .footer-contact-item i {
  color: var(--accent-gold);
  margin-top: 4px;
  flex-shrink: 0;
}

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

.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: 20px;
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-link:hover {
  color: var(--accent-gold);
}

/* Modals styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 22, 44, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  padding: 20px;
}

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

.modal-container {
  background-color: var(--text-light);
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--text-light);
  padding: 24px 30px;
  position: relative;
}

.modal-title {
  color: var(--text-light);
  font-size: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-light);
  transform: scale(1.1);
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background-color: var(--bg-light);
}

/* File Upload input custom styling */
.file-upload-wrapper {
  position: relative;
  border: 2px dashed var(--border-color);
  padding: 24px;
  text-align: center;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.file-upload-wrapper:hover {
  border-color: var(--accent-blue);
  background-color: rgba(0, 123, 255, 0.02);
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.file-upload-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.file-upload-name {
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-blue);
}

/* Success Form Alert style */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background-color: #28a745;
  color: var(--text-light);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease-out forwards, fadeOut 0.5s ease-out 3.5s forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .section {
    padding: 70px 0;
  }
  
  .hero {
    padding: 140px 0 80px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-desc {
    margin: 0 auto 30px auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-img-container {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dual-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  
  .stat-item:nth-child(even)::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  .nav-actions {
    display: none; /* In mobile we hide actions or merge them */
  }
  
  .header.scrolled {
    padding: 16px 0;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item::after {
    display: none !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-quote {
    font-size: 1.15rem;
  }
  
  .testimonial-container {
    height: 320px;
  }
}
