/* Reset & basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* --- Brand Colors --- */
  --color-primary: #ef233c; /* Vibrant red for primary buttons and CTAs */
  --color-primary-dark: #d90429; /* Darker red for hover states */
  --color-primary-light: #ff4d6d; /* Lighter red for subtle accents */

  --color-secondary: #8d99ae; /* Gray for secondary elements */
  --color-secondary-dark: #6c757d; /* Darker gray for hover states */

  --color-accent: #1e3a8a; /* Navy blue for text and important elements */

  /* --- Neutral Colors --- */
  --color-text-dark: #1f2937;   /* Much darker for main headings and important text */
  --color-text-medium: #111827; /* Very dark for body text */
  --color-text-light: #374151;  /* Darker gray for secondary text */

  /* --- Background Colors --- */
  --color-bg-body: #f8fafc;   /* Very light gray background */
  --color-bg-card: #ffffff;   /* Pure white for cards */
  --color-bg-section: #f1f5f9; /* Slightly darker for section backgrounds */

  /* --- Utility Colors --- */
  --color-border: #e5e7eb; /* Light gray borders */

  /* --- Button Colors --- */
  --color-btn-primary: #ef233c; /* Bright red for primary buttons */
  --color-btn-primary-hover: #d90429; /* Darker red on hover */
  --color-btn-secondary: #8d99ae; /* Gray for secondary buttons */
  --color-btn-secondary-hover: #6c757d; /* Darker gray on hover */

  /* --- Shadows (Keep as is, they are good!) --- */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* --- Mobile Viewport Height Fix (Keep as is) --- */
  --vh: 1vh;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-body);
  overflow-x: hidden;
  /* Mobile-specific improvements */
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  /* Mobile touch improvements */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-btn-primary), var(--color-btn-primary-hover));
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--color-btn-primary);
  box-shadow: 0 4px 15px rgba(239, 35, 60, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(239, 35, 60, 0.4);
  color: white;
  background: linear-gradient(135deg, var(--color-btn-primary-hover), var(--color-btn-primary));
}

.btn-secondary {
  background: white;
  color: var(--color-text-dark);
  border: 2px solid var(--color-btn-secondary);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--color-btn-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--color-text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.5rem 1.25rem;
  border-radius: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.logo img {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.logo i {
  font-size: 1.8rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  color: var(--color-text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: var(--color-bg-body);
}

/* Hero Section */
.hero {
  background: url('advancedwebworks background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: white;
}

.highlight {
  color: #ef233c;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  color: white;
}

.intro-tagline {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  color: white;
}

.hero-cta {
  margin-top: 2rem;
}

.hero-visual {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
  width: 200px;
}

.floating-card:nth-child(2) {
  animation-delay: 0.5s;
  margin-left: 2rem;
}

.floating-card:nth-child(3) {
  animation-delay: 1s;
  margin-left: 4rem;
}

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Sections */
.content-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.expertise-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.expertise-item i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.expertise-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.profile-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: sticky;
  top: 100px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.profile-avatar i {
  font-size: 2.5rem;
  color: white;
}

.profile-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.profile-card p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 1rem;
  border: 1px solid var(--color-border);
}

.tech-tag {
  background: linear-gradient(135deg, var(--color-accent) 0%, #1e40af 100%);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.tech-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.3);
}

.tech-tag:hover::before {
  left: 100%;
}

/* Services Section */
.services-section {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

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

.service-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.service-features i {
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.service-price {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.delivery {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.contact-details h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--color-text-light);
  margin: 0;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.1);
}

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

.form-info {
  text-align: center;
  margin-bottom: 2rem;
}

.form-info p {
  font-size: 1.1rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}

.email-link {
  display: block;
  text-align: center;
  margin: 2rem 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.email-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(239, 35, 60, 0.4);
}

.contact-alternative {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--color-bg-section);
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
}

.contact-alternative p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact-alternative strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--color-text-dark);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: var(--color-primary);
}

.footer-section p {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

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

.scroll-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Loading animation */
body:not(.loaded) {
  overflow: hidden;
}

body:not(.loaded)::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 0.5rem 1rem;
  }
  .logo {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
  }
  .navbar > a[ href*="facebook.com" ] {
    margin-left: 0;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    align-self: flex-start;
  }
  .logo img {
    height: 60px !important;
  }
  .hero {
    min-height: 115vh;
    flex-direction: column;
    padding-top: 120px;
    padding-bottom: 48px;
  }
  .hero-content {
    margin-top: 32px;
  }

  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

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

  .nav-toggle {
    display: block;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-cta {
    margin-top: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .content-section {
    padding: 3rem 1rem;
  }

  .contact-form iframe {
    height: 700px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.25rem 0.5rem;
  }
  .logo img {
    height: 40px !important;
  }
  .logo {
    margin-bottom: 0.25rem;
  }
  .navbar > a[ href*="facebook.com" ] {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  .hero {
    min-height: 120vh;
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: 36px;
  }
  .hero-content {
    margin-top: 24px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .service-card {
    margin: 0 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
  .btn-primary, .btn-secondary {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .nav-links li a {
    padding: 1rem;
    width: 100%;
    text-align: center;
  }

  .social-link {
    width: 35px;
    height: 35px;
  }

  .hero {
    min-height: 100vh;
  }

  .content-section {
    padding: 2rem 1rem;
  }

  .service-card {
    margin: 0;
  }

  .contact-form {
    margin: 0;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .expertise-grid {
    gap: 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .floating-card {
    width: 150px;
    padding: 0.75rem;
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary, .btn-secondary {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .content-section {
    padding: 1.5rem 0.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1rem;
  }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 1rem 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .content-section {
    padding: 2rem 1rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grain" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="100" cy="100" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23grain)"/></svg>');
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-card {
    animation: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --color-text-dark: #f8f9fa;
    --color-text-light: #adb5bd;
    --color-bg-body: #212529;
    --color-bg-card: #343a40;
    --color-border: #495057;
  }

  body {
    background-color: var(--color-bg-body);
  }

  .navbar {
    background: rgba(52, 58, 64, 0.95);
  }

  .service-card,
  .contact-form,
  .contact-item {
    background: var(--color-bg-card);
  }
}

/* Animation classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.contact-form iframe {
  width: 100%;
  height: 800px;
  border: none;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  background: white;
}

@media (max-width: 768px) {
  .contact-form iframe {
    height: 700px;
  }
}

.professional-form {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.form-header h3 {
  color: var(--color-text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-header p {
  color: var(--color-text-light);
  font-size: 1rem;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid var(--color-border);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--color-text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(239, 35, 60, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 1rem;
}

.form-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-secondary);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.form-group:focus-within .form-icon {
  color: var(--color-primary);
}

.form-group textarea + .form-icon {
  top: 2rem;
  transform: none;
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 8px 25px rgba(239, 35, 60, 0.3);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(239, 35, 60, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .professional-form {
    padding: 1.5rem;
  }
  
  .form-header h3 {
    font-size: 1.3rem;
  }
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.1);
}

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