:root {
  /* SUPPLYBLIZ Brand Colors */
  --primary: #005a9c;
  --primary-dark: #003e6e;
  --primary-light: #1e7bb8;
  --accent: #0a84ff;
  --accent-hover: #0066cc;
  --bg-light: #f2f7ff;
  --bg-lighter: #f8fafc;
  --white: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-light: #e5e7eb;
  --border-medium: #d1d5db;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Enhanced Shadows */
  --shadow: 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);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Bootstrap Integration */
  --bs-primary: var(--primary);
  --bs-primary-rgb: 0, 90, 156;
  --bs-secondary: var(--accent);
  --bs-secondary-rgb: 10, 132, 255;
  --bs-success: var(--success);
  --bs-warning: var(--warning);
  --bs-danger: var(--error);
}
* { 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
  -webkit-text-size-adjust: 100%; 
  -ms-text-size-adjust: 100%; 
}

body { 
  margin: 0; 
  padding: 0; 
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
  color: var(--text-dark); 
  line-height: 1.6; 
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

.container { 
  width: min(1200px, 95%); 
  margin: 0 auto; 
  padding: 0 1rem; 
}

.skip-link { 
  position: absolute; 
  left: -9999px; 
  top: 0;
  z-index: 1000;
}

.skip-link:focus { 
  left: 1rem; 
  top: 1rem; 
  background: var(--white); 
  padding: 0.5rem 1rem; 
  border: 2px solid var(--primary); 
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

/* Header */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  background: var(--white); 
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0.75rem 0; 
  min-height: 70px;
}

.brand { 
  display: flex; 
  align-items: center; 
  text-decoration: none; 
  transition: var(--transition);
}

.brand:hover { 
  transform: scale(1.02); 
}

.brand img { 
  height: 75px; 
  width: auto; 
  max-width: 250px; 
  object-fit: contain;
  transition: var(--transition);
}

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

.nav-toggle:hover { 
  background: var(--bg-light); 
  color: var(--primary-dark); 
}

.nav ul { 
  list-style: none; 
  display: flex; 
  gap: 0.5rem; 
  margin: 0; 
  padding: 0; 
  align-items: center;
}

.nav a { 
  display: block; 
  padding: 0.75rem 1rem; 
  color: var(--text-dark); 
  text-decoration: none; 
  border-radius: var(--radius-md); 
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav a::after { 
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 50%; 
  width: 0; 
  height: 2px; 
  background: var(--accent); 
  transition: var(--transition); 
  transform: translateX(-50%); 
}

.nav a:hover::after, 
.nav a.active::after { 
  width: 80%; 
}

.nav a.active, .nav a:hover { 
  background: var(--bg-light); 
  color: var(--primary-dark); 
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7rem;
  transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.dropdown-menu a:hover {
  background: var(--bg-lighter);
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.dropdown-menu a::after {
  display: none;
}

/***** Hero *****/
.hero { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-light) 100%); 
  color: var(--white); 
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-inner { 
  padding: clamp(4rem, 8vw, 8rem) 0; 
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  line-height: 1.1; 
  margin: 0 0 1.5rem; 
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.hero p { 
  font-size: clamp(1.125rem, 2.5vw, 1.375rem); 
  opacity: 0.95; 
  max-width: 65ch; 
  margin: 0 auto 2.5rem;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.highlight { 
  color: var(--accent); 
  font-weight: 700;
  text-shadow: 0 0 20px rgba(10, 132, 255, 0.3);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(10, 132, 255, 0.5));
  border-radius: 2px;
  animation: highlightGlow 2s ease-in-out infinite alternate;
}

.hero-cta { 
  margin-top: 3rem; 
  display: flex; 
  gap: 1.5rem; 
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

@keyframes highlightGlow {
  from {
    box-shadow: 0 0 5px var(--accent);
  }
  to {
    box-shadow: 0 0 15px var(--accent), 0 0 25px rgba(10, 132, 255, 0.3);
  }
}

/* Buttons */
.btn { 
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem; 
  border-radius: var(--radius-lg); 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  min-width: 160px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

.btn::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:hover::before {
  left: 100%;
}

.btn-primary { 
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%); 
  color: var(--white); 
  box-shadow: 0 4px 15px rgba(10, 132, 255, 0.3);
}

.btn-primary:hover { 
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%); 
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 132, 255, 0.4);
}

.btn-outline { 
  border: 2px solid var(--white); 
  color: var(--white); 
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover { 
  background: rgba(255, 255, 255, 0.2); 
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-light { 
  background: var(--white); 
  color: var(--primary-dark); 
  box-shadow: var(--shadow);
}

.btn-light:hover { 
  background: var(--bg-lighter); 
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

/* Sections */
.features { 
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-lighter) 100%); 
  padding: clamp(4rem, 8vw, 6rem) 0; 
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,90,156,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.grid-3 { 
  display: grid; 
  gap: 2.5rem; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  position: relative;
  z-index: 2;
}

.grid-3 article { 
  background: var(--white); 
  padding: 2.5rem; 
  border-radius: var(--radius-xl); 
  border: 1px solid var(--border-light);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.grid-3 article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transition: var(--transition);
}

.grid-3 article:hover::before {
  transform: scaleX(1);
}

.grid-3 article:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.grid-3 h3 { 
  margin: 0 0 1.5rem; 
  color: var(--primary-dark); 
  font-size: 1.375rem;
  font-weight: 700;
  position: relative;
}

.grid-3 h3::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 2px;
}

.grid-3 p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.cta-banner { 
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); 
  color: var(--white); 
  padding: clamp(4rem, 8vw, 6rem) 0; 
  text-align: center; 
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q25,0 50,10 T100,10 V20 H0 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.cta-banner h2 { 
  margin: 0 0 2rem; 
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

/* Page layout */
.page-hero { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-light) 100%); 
  color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0; 
  border-bottom: none; 
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.page-hero h1 { 
  margin: 0 0 1.5rem; 
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero p { 
  font-size: clamp(1.125rem, 2.5vw, 1.375rem); 
  color: rgba(255, 255, 255, 0.95);
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.page-hero a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.page-hero a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-shadow: 0 0 10px rgba(10, 132, 255, 0.5);
}

.page { 
  padding-bottom: 4rem; 
  background: var(--white);
}

.two-col { 
  display: grid; 
  gap: 4rem; 
  grid-template-columns: 1.2fr 1fr; 
  padding: 4rem 0; 
  align-items: start;
}

.two-col h2 {
  color: var(--primary-dark);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  position: relative;
}

.two-col h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
}

.service-cards { 
  display: grid; 
  gap: 2.5rem; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  padding: 4rem 0; 
}

.card { 
  background: var(--white); 
  border: 1px solid var(--border-light); 
  border-radius: var(--radius-xl); 
  padding: 2.5rem; 
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transition: var(--transition);
}

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

.card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.card h3 { 
  margin: 0 0 1.5rem; 
  color: var(--primary-dark); 
  font-size: 1.375rem;
  font-weight: 700;
  position: relative;
}

.card h3::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 2px;
}

.card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Contact */
.contact-grid { 
  display: grid; 
  gap: 4rem; 
  grid-template-columns: 1fr 1fr; 
  padding: 4rem 0; 
  align-items: start;
}

.contact-grid h2 {
  color: var(--primary-dark);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 2rem;
  position: relative;
}

.contact-grid h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
}

.contact-form { 
  display: grid; 
  gap: 1.5rem; 
}

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

.field input, .field textarea { 
  width: 100%; 
  padding: 1rem 1.25rem; 
  border: 2px solid var(--border-light); 
  border-radius: var(--radius-lg); 
  font: inherit; 
  transition: var(--transition);
  background: var(--white);
  font-size: 1rem;
}

.field input:focus, .field textarea:focus { 
  outline: none; 
  border-color: var(--accent); 
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.1);
  transform: translateY(-1px);
}

.with-icons { 
  display: flex; 
  flex-direction: column; 
  gap: 1.5rem; 
}

.with-icons li { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  padding: 1rem;
  background: var(--bg-lighter);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.with-icons li:hover {
  background: var(--bg-light);
  transform: translateX(4px);
}

.icon { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 32px; 
  height: 32px; 
  flex-shrink: 0;
  background: var(--accent);
  border-radius: var(--radius-md);
  color: var(--white);
}

.with-icons a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.with-icons a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(10, 132, 255, 0.5);
}

.gform-embed { 
  border-radius: var(--radius-xl); 
  overflow: hidden; 
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.gform-embed iframe { 
  border: none; 
  border-radius: var(--radius-xl); 
  min-height: 600px;
  width: 100%;
}

/* Footer */
.site-footer { 
  background: linear-gradient(135deg, #0b1d33 0%, #1a2b3d 50%, #0b1d33 100%); 
  color: #cbd5e1; 
  margin-top: 6rem; 
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.site-footer h4 { 
  color: var(--white); 
  margin: 0 0 1.5rem; 
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.footer-grid { 
  display: grid; 
  gap: 3rem; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  padding: 4rem 0; 
  position: relative;
  z-index: 2;
}

.footer-grid a { 
  color: #93c5fd; 
  text-decoration: none; 
  transition: var(--transition);
  padding: 0.25rem 0;
  border-radius: var(--radius-sm);
}

.footer-grid a:hover { 
  color: var(--white); 
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  margin: 0 -0.5rem;
}

.copyright { 
  border-top: 1px solid rgba(255, 255, 255, 0.1); 
  padding: 2rem 0; 
  text-align: center; 
  font-size: 0.9rem; 
  color: #9ca3af;
  position: relative;
  z-index: 2;
}

/* WhatsApp FAB */
.whatsapp-fab { 
  position: fixed; 
  bottom: 2rem; 
  right: 2rem; 
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); 
  color: var(--white); 
  padding: 1.25rem 1.75rem; 
  border-radius: 50px; 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 0.95rem; 
  box-shadow: var(--shadow-xl); 
  z-index: 1000; 
  transition: var(--transition-slow);
  display: flex; 
  align-items: center; 
  gap: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.whatsapp-fab:hover { 
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%); 
  transform: translateY(-4px) scale(1.05); 
  box-shadow: 0 25px 50px -12px rgba(37, 211, 102, 0.4);
  color: var(--white);
  text-decoration: none;
}

.whatsapp-fab::before { 
  content: "💬"; 
  font-size: 1.4rem; 
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 90, 156, 0.3);
  color: var(--white);
  text-decoration: none;
}

/* Loading Animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-light);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* Smooth Page Transitions */
body {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Bootstrap Integration & Custom Utilities */
.list-unstyled { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
}
.muted { 
  color: var(--text-muted); 
}
.small { 
  font-size: 0.875rem; 
}

/* Bootstrap Overrides & Enhancements */
.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-hover);
  --bs-btn-hover-border-color: var(--accent-hover);
  --bs-btn-active-bg: var(--accent-hover);
  --bs-btn-active-border-color: var(--accent-hover);
  --bs-btn-disabled-bg: var(--accent);
  --bs-btn-disabled-border-color: var(--accent);
}

.btn-outline-primary {
  --bs-btn-color: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent);
  --bs-btn-active-bg: var(--accent);
  --bs-btn-active-border-color: var(--accent);
}

.btn-secondary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
}

/* Custom Bootstrap Utility Classes */
.text-primary-custom {
  color: var(--primary) !important;
}

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

.bg-primary-custom {
  background-color: var(--primary) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.bg-light-custom {
  background-color: var(--bg-light) !important;
}

.border-primary-custom {
  border-color: var(--primary) !important;
}

.border-accent {
  border-color: var(--accent) !important;
}

.shadow-custom {
  box-shadow: var(--shadow) !important;
}

.shadow-lg-custom {
  box-shadow: var(--shadow-lg) !important;
}

.shadow-xl-custom {
  box-shadow: var(--shadow-xl) !important;
}

.rounded-custom {
  border-radius: var(--radius-lg) !important;
}

.rounded-xl-custom {
  border-radius: var(--radius-xl) !important;
}

/* Enhanced Bootstrap Components */
.card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.hover-lift:hover .text-accent {
  color: var(--primary-dark) !important;
}

/* Service Card Image Gradients */
.bg-gradient-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
}

.bg-gradient-primary-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.bg-gradient-success {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.navbar {
  background-color: var(--white) !important;
  box-shadow: var(--shadow);
}

.navbar-brand img {
  height: 80px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-dark) !important;
  background-color: var(--bg-light);
}

/* Bootstrap Grid Enhancements */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Form Enhancements */
.form-control {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(10, 132, 255, 0.25);
}

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

/* Alert Enhancements */
.alert-primary {
  background-color: var(--bg-light);
  border-color: var(--accent);
  color: var(--primary-dark);
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: var(--success);
  color: var(--success);
}

/* Modal Enhancements */
.modal-content {
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-lighter);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-footer {
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-lighter);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container { 
    padding: 0 1rem; 
  }
  
  /* Header */
  .header-inner { 
    padding: 0.75rem 0; 
    min-height: 60px;
  }
  .brand img { 
    height: 65px; 
    max-width: 220px;
  }
  .nav-toggle { 
    display: block; 
  }
  .nav ul { 
    display: none; 
    position: absolute; 
    right: 1rem; 
    top: 90px; 
    background: var(--white); 
    border: 1px solid var(--border-light); 
    border-radius: var(--radius-xl); 
    padding: 1.5rem; 
    width: 280px; 
    box-shadow: var(--shadow-xl); 
    flex-direction: column;
    gap: 0.75rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav ul.show { 
    display: flex; 
    animation: slideDown 0.3s ease-out;
  }
  .nav a { 
    padding: 1rem 1.25rem; 
    border-radius: var(--radius-lg); 
    font-size: 1.05rem;
  }
  
  /* Mobile Dropdown Styles */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-lighter);
    margin-top: 0.5rem;
    border-radius: var(--radius-lg);
    padding: 0.5rem 0;
  }
  
  .dropdown-menu a {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .dropdown-toggle::after {
    display: none;
  }
  
  /* Hero */
  .hero {
    min-height: 70vh;
  }
  .hero-cta { 
    flex-direction: column; 
    align-items: center; 
    gap: 1.25rem;
  }
  .btn { 
    width: 100%; 
    max-width: 300px; 
    padding: 1.125rem 2rem;
  }
  
  /* Page Hero */
  .page-hero {
    min-height: 40vh;
    padding: clamp(3rem, 6vw, 4rem) 0;
  }
  
  /* Grids */
  .grid-3 { 
    grid-template-columns: 1fr; 
    gap: 2rem; 
  }
  .two-col, .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 3rem; 
  }
  .service-cards { 
    grid-template-columns: 1fr; 
    gap: 2rem; 
  }
  
  /* Contact */
  .gform-embed iframe { 
    min-height: 500px; 
  }
  
  /* WhatsApp FAB */
  .whatsapp-fab { 
    bottom: 1.5rem; 
    right: 1.5rem; 
    padding: 1rem 1.5rem; 
    font-size: 0.9rem; 
  }
  
  /* Remove decorative elements on mobile for better performance */
  .grid-3 h3::before,
  .card h3::before {
    display: none;
  }
}

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

@media (max-width: 480px) {
  .container { 
    padding: 0 0.75rem; 
  }
  
  .hero h1 { 
    font-size: 2rem; 
  }
  
  .page-hero h1 { 
    font-size: 2rem; 
  }
  
  .grid-3 article, .card { 
    padding: 2rem; 
  }
  
  .whatsapp-fab { 
    padding: 1rem 1.25rem; 
    font-size: 0.85rem; 
    bottom: 1rem;
    right: 1rem;
  }
  .whatsapp-fab::before { 
    font-size: 1.2rem; 
  }
  
  /* Reduce animations on very small screens for performance */
  .hero h1, .hero p, .hero-cta {
    animation: none;
  }
  
  .highlight::after {
    animation: none;
  }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
  }
  .service-cards { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
  }
  
  .hero {
    min-height: 75vh;
  }
  
  .page-hero {
    min-height: 45vh;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .container { 
    width: 1200px; 
  }
  
  .hero {
    min-height: 85vh;
  }
  
  .page-hero {
    min-height: 50vh;
  }
  
  .grid-3 {
    gap: 3rem;
  }
  
  .service-cards {
    gap: 3rem;
  }
}

/* Thank you page specific styles */
@media (max-width: 768px) {
  .btn-outline {
    margin-left: 0 !important;
    margin-top: 1rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-light: #000000;
    --text-muted: #000000;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero h1, .hero p, .hero-cta {
    animation: none;
  }
  
  .highlight::after {
    animation: none;
  }
  
  .whatsapp-fab::before {
    animation: none;
  }
}

/* Print styles */
@media print {
  .site-header,
  .whatsapp-fab,
  .nav-toggle {
    display: none !important;
  }
  
  .hero {
    background: none !important;
    color: #000 !important;
    min-height: auto !important;
  }
  
  .btn {
    border: 1px solid #000 !important;
    background: none !important;
    color: #000 !important;
  }
}
