:root{
  --primary: #2D3748; /* Darker, more modern primary */
  --secondary: #BFC1C2; /* Secondary (Aluminum Silver) */
  --accent: #005BBB; /* Accent (Royal Blue) */
  --accent-dark: #004a94; /* slightly darker accent for hover */
  --accent-light: #0066CC; /* Lighter accent for gradients */
  --highlight: #A5D8FF; /* Highlight (Light Sky) */
  /* Modern, clean backgrounds */
  --background: #F7FAFC; /* Softer, more modern background */
  --surface: #FFFFFF; /* Pure white surface for cards */
  --card-surface: #FFFFFF; /* Pure white card background */
  --border-light: #E2E8F0; /* Light border color */
  --border-hover: #CBD5E0; /* Border color on hover */
  --footer-bg-1: #1A202C;
  --footer-bg-2: #2D3748;
  --cta-1: #1e90ff;
  --cta-2: #2fb0ff;
  /* Modern shadow system */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* Modern gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 91, 187, 0.95) 0%, rgba(0, 106, 204, 0.9) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

/* Comfort (dim) theme removed per request */

/* Global background + typography */
/* Modern design with clean backgrounds and smooth animations */
html, body { 
  height: 100%; 
  scroll-behavior: smooth;
}

/* Improve font loading performance */
@font-face {
  font-family: 'Inter';
  font-display: swap; /* Fallback to system font while loading */
}

@font-face {
  font-family: 'Poppins'; 
  font-display: swap;
}

/* Modern animations and transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Base animations for modern feel */
.animate-fade-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-scale {
  animation: fadeInScale 0.5s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Modern card effects */
.modern-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

/* Glassmorphism effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Modern spacing system */
.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}
body{
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f5 40%, #e9edf2 100%);
  color: var(--primary);
  font-family: "Inter", "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

 



/* Button loading spinner */
.btn-loading{ position:relative }
.btn-loading::after{
  content: '';
  width:16px; height:16px; border:2px solid rgba(255,255,255,0.28); border-top-color: #fff; border-radius:50%;
  position:absolute; right:10px; top:50%; transform:translateY(-50%); animation: spin .9s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

 

/* Form status visible styles */
.form-status{ display:block; margin-bottom:12px; font-weight:600 }
.form-status.success{ color: #059669 } /* green-600 */
.form-status.error{ color: #dc2626 } /* red-600 */

/* Additional modern utility classes */
.rounded-12 {
  border-radius: 12px;
}

.rounded-16 {
  border-radius: 16px;
}

.rounded-20 {
  border-radius: 20px;
}

.bg-clip-text {
  background-clip: text;
  -webkit-background-clip: text;
}

.text-transparent {
  color: transparent;
}

/* Modern spacing utilities */
.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

/* Enhanced button loading state */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

/* Hero responsive fallback */
section#hero img, section#main-content img{width:100%;height:600px;object-fit:cover;display:block}
@media (max-width:768px){
  section#hero img, section#main-content img{height:420px}
  section#hero h1, section#main-content h1{font-size:28px}
}

/* Enhanced gallery grid with modern styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width:768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.gallery-grid figure {
  background: transparent;
  margin: 0;
}

.gallery-grid figcaption {
  color: #1f2937;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}

/* Enhanced testimonials */
.testimonial {
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial p {
  font-style: normal;
  line-height: 1.6;
}

/* Enhanced services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

@media (max-width:768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Sections and cards for clearer separation */
 

/* Modern footer with enhanced gradients and glassmorphism */
.site-footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #2b6cb0 100%);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #e6eef6;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.site-footer .footer-inner { 
  max-width:1200px; 
  margin:0 auto; 
  padding: 60px 24px 40px; 
  position: relative;
  z-index: 10;
}

.site-footer .footer-brand {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-brand p { 
  color: #cbd5e0; 
  margin-top: 16px;
  line-height: 1.6;
}

.site-footer .footer-contact,
.site-footer .footer-links {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-contact p,
.site-footer .footer-links a { 
  color: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
}

.site-footer .footer-contact h4,
.site-footer .footer-links h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

/* Enhanced CTA in footer */
.site-footer .btn-cta {
  background: var(--gradient-primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin-top: 16px;
}

.site-footer .btn-cta:hover,
.site-footer .btn-cta:focus {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
  outline: none;
}

/* Global CTA button - Modern design with gradients and micro-interactions */
.btn-cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.btn-cta::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;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover,
.btn-cta:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 91, 187, 0.25);
  filter: brightness(1.05);
  outline: none;
}

.btn-cta:active { 
  transform: translateY(-1px) scale(1.01); 
  transition: all 0.1s ease;
}

/* Small / compact CTA with modern styling */
.btn-cta-sm { 
  padding: 10px 20px; 
  border-radius: 10px; 
  font-size: 14px;
  box-shadow: var(--shadow-md);
}

/* Soft variant for secondary CTAs */
.btn-cta-soft {
  background: linear-gradient(135deg, var(--highlight), rgba(165,216,255,0.8));
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-cta-soft:hover {
  background: linear-gradient(135deg, rgba(165,216,255,0.9), var(--highlight));
  color: var(--accent);
}

/* Focus ring for accessibility */
.btn-cta:focus { 
  outline: 3px solid rgba(0,91,187,0.3); 
  outline-offset: 4px;
}

/* Secondary button - Modern outline style */
.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-color);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--accent-color);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  backdrop-filter: blur(10px);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover::before {
  width: 100%;
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  outline: none;
}

.btn-secondary:active {
  transform: translateY(0) scale(1.01);
  transition: all 0.1s ease;
}

/* Enhanced glassmorphism button variant */
.btn-glass {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.btn-glass::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;
}

.btn-glass:hover::before {
  left: 100%;
}

.btn-glass:hover,
.btn-glass:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.15);
  outline: none;
}

.btn-glass:active {
  transform: translateY(0) scale(1.01);
  transition: all 0.1s ease;
}

/* Enhanced newsletter form styling */
.site-footer .newsletter-form {
  margin-top: 20px;
}

.site-footer .newsletter-form input {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.site-footer .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.site-footer .newsletter-form button {
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.site-footer .newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Enhanced links and social icons */
.site-footer .footer-links a {
  transition: all 0.3s ease;
  padding: 8px 0;
  display: block;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus { 
  color: #3b82f6; 
  transform: translateX(8px); 
  outline:none; 
}

.site-footer .social a {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  width: 44px; 
  height: 44px; 
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #cbd5e0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .social a:hover,
.site-footer .social a:focus { 
  background: rgba(59, 130, 246, 0.2); 
  transform: translateY(-3px); 
  color: #60a5fa; 
  outline: none;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Enhanced footer bottom */
.site-footer .footer-bottom { 
  border-top: 1px solid rgba(255,255,255,0.1); 
  margin-top: 40px;
  padding-top: 30px;
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive footer adjustments */
@media (max-width:768px){
  .site-footer .footer-inner { 
    grid-template-columns: 1fr; 
    gap: 30px; 
    padding: 40px 20px; 
  }
  .site-footer .btn-cta{ 
    width: 100%; 
    text-align: center;
    margin-top: 20px;
  }
  .site-footer .newsletter-form .flex {
    flex-direction: column;
    gap: 12px;
  }
}

/* Services page specific */
.service-hero .hero-image img{object-fit:cover}
.service-card img{object-fit:cover}
.service-card .btn-cta{display:inline-block;margin-top:8px}

/* Focus styles for accessibility */
a:focus, button:focus, .btn-cta:focus{outline:3px solid rgba(47,144,255,0.25);outline-offset:3px}

/* Smaller screens adjustments */
@media (max-width:640px){
  .service-hero .hero-image{order:-1}
  .service-hero .hero-image img{height:260px}
  .service-hero h1{font-size:24px}
}

/* skip-link visible when focused */
.sr-only.focus:not-sr-only{position:absolute;left:12px;top:12px;background:var(--card-surface);padding:8px 12px;border-radius:6px;color:var(--color-primary);z-index:1000}

/* Nav link hover/pill effect */
nav a {
  position: relative;
  padding: 6px 8px;
  border-radius: 9999px;
  transition: transform .12s ease, background-color .12s ease, color .12s ease;
}
nav a:hover, nav a:focus {
  background: rgba(0,91,187,0.08);
  color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}
/* Active state for current page link */
nav a.active, nav a[aria-current="page"]{
  background: rgba(0,91,187,0.10);
  color: var(--accent);
}
 

/* Trust row under hero */
.trust-row{max-width:1100px;margin:16px auto 28px;display:flex;gap:18px;align-items:center;justify-content:center}
.trust-row .trust-item{display:flex;align-items:center;gap:10px;color:var(--primary);background:rgba(255,255,255,0.6);padding:8px 12px;border-radius:8px}

/* How it works simple steps */
.how-works{max-width:1100px;margin:0 auto 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:0 16px}
.how-works .step{background:var(--background);border-radius:8px;padding:16px;text-align:center;box-shadow:0 6px 20px rgba(17,24,39,0.04)}
.how-works .step h4{margin-top:8px;color:var(--accent);font-size:1.05rem}

@media (max-width:768px){.how-works{grid-template-columns:1fr}}

/* Navbar backdrop: subtle translucent/blurred surface when the header sits over imagery (hero)
   - Keeps layout unchanged (no absolute positioning) and adds a soft blur + tonal gradient.
   - Add the .solid modifier on inner pages or after scroll to switch to a solid header.
*/
/* Modern navbar with glassmorphism effect */
header.surface{
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky; /* keep header visible */
  top: 0;
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced solid header for interior pages */
header.surface.solid{
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Modern header/nav layout with improved spacing */
.nav-container{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:8px 24px;
}

.brand{
  font-weight:700;
  color:var(--primary);
  text-decoration:none;
  font-size:1.25rem;
  transition: opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.8;
}

.hamburger{
  display:none;
  font-size:28px;
  cursor:pointer;
  padding:10px;
  border-radius:12px;
  transition: all 0.3s ease;
  background: rgba(0, 91, 187, 0.1);
  color: var(--accent);
}

.hamburger:hover {
  background: rgba(0, 91, 187, 0.2);
  transform: scale(1.1);
}

.hamburger:focus{
  outline:3px solid rgba(0,91,187,0.3);
  outline-offset: 4px;
}

/* Enhanced desktop nav menu */
.nav-menu{
  display:flex;
  gap:8px;
  align-items:center;
}

/* Enhanced mobile behavior with modern animations */
@media (max-width:768px){
  .hamburger{display:block}
  /* Modern slide/fade-in mobile menu with glassmorphism */
  .nav-menu{
    display:none;
    flex-direction:column;
    position:absolute;
    top:60px;
    right:20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding:20px;
    border-radius:20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index:9999;
    transform: translateY(-15px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 200px;
  }
  .nav-menu.open{
    display:flex;
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  .nav-menu a{
    padding:14px 20px;
    display:block;
    margin: 4px 0;
    border-radius: 12px;
    text-align: center;
  }
}

/* Modern nav link styling with enhanced hover effects */
.nav-menu a {
  position: relative;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  background: transparent;
  overflow: hidden;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-menu a:hover, .nav-menu a:focus {
  color: white;
  transform: translateY(-2px);
  outline: none;
  box-shadow: var(--shadow-lg);
}

.nav-menu a:hover::before, .nav-menu a:focus::before {
  opacity: 1;
}

/* Section spacing and light cards for separation */
.site-section{ padding: 28px 16px; }
@media (min-width:768px){ .site-section{ padding: 40px 16px; } }
.card{ background: var(--card-surface); border-radius: 12px; box-shadow: 0 6px 20px rgba(17,24,39,0.06); }
.card .card-body{ padding: 16px; }

/* Hero edge-to-edge: remove padding so no background shows around image */
section#main-content.site-section{ padding: 0; }

 



/* Enhanced Form Styling */
.form-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
  border-radius: 16px;
  padding: 0;
  box-shadow: var(--shadow-glass);
  border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.9);
  color: #334155;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(255,255,255,1);
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: #94a3b8;
  font-style: italic;
}

.form-input-file {
  width: 100%;
  padding: 12px 16px;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: rgba(248,250,252,0.8);
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-input-file:hover {
  border-color: var(--accent-color);
  background: rgba(239,246,255,0.8);
}

.form-submit-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(203,213,225,0.3);
}

/* Animation for form elements */
@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  animation: formFadeIn 0.6s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
.form-group:nth-child(7) { animation-delay: 0.7s; }

/* Back to top button enhanced styling */
#back-to-top {
  will-change: transform, opacity;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#back-to-top:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

#back-to-top:focus {
  outline: 3px solid rgba(59, 130, 246, 0.4);
  outline-offset: 4px;
}

/* Improve image loading experience */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
  opacity: 1;
}

/* Performance optimization for animations */
.animate-float,
.animate-fade-up,
.animate-fade-scale {
  will-change: transform, opacity;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-float {
    animation: none;
  }
}
