/* Move all the CSS from the <style> tags into this file */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Professional Typography */
* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Modern Color Palette */
:root {
  --primary-color: #f59e0b;      /* Gold instead of blue */
  --primary-dark: #d97706;       /* Dark gold instead of dark blue */
  --secondary-color: #64748b;
  --accent-color: #fbbf24;       /* Light gold instead of light blue */
  --success-color: #059669;
  --background-light: #f8fafc;
  --background-white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
}

body {
  line-height: 1.6;
  color: var(--text-dark);
}

/* Professional Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 45px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Sophisticated Hero Section */
.hero-section {
  background: linear-gradient(135deg, #6b7280 0%, #374151 30%, #1f2937 70%, #111827 100%);
  /* Light Gray → Medium Gray → Charcoal → Dark Charcoal */
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
  opacity: 0.1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Modern Service Cards */
.services-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--background-white), var(--background-light));
}

.service-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  background: var(--background-white);
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card .card-body {
  padding: 2.5rem 2rem;
}

.service-card .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-card .card-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Professional Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  color: white !important;
  text-decoration: none;
}

.btn-primary-custom::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-primary-custom:hover::before {
  left: 100%;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white !important;
  text-decoration: none;
}

.btn-primary-custom:focus {
  color: white !important;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.btn-primary-custom:active {
  color: white !important;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Hero Section Button Fix - Force White Text */
.hero-section .btn-primary-custom {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  /* Warm accent that pops against gray */
}

.hero-section .btn-primary-custom:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
}

/* Additional fix for any Bootstrap overrides */
.hero-section a.btn-primary-custom,
.hero-section a.btn-primary-custom:link,
.hero-section a.btn-primary-custom:visited,
.hero-section a.btn-primary-custom:hover,
.hero-section a.btn-primary-custom:active,
.hero-section a.btn-primary-custom:focus {
  color: white !important;
  text-decoration: none !important;
}

/* Modern About Section */
.about-section {
  padding: 100px 0;
  background: var(--background-white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Professional Contact Section */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
  position: relative;
}

.contact-form {
  background: var(--background-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--background-white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

/* Professional Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, var(--text-dark) 0%, #374151 100%);
  color: white;
  padding: 80px 0;
  position: relative;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.05"><path d="M20 20.5V18H18v2.5h-2.5V23H18v2.5h2V23h2.5v-2.5H20zm0-18V0h-2v2.5h-2.5V5H18v2.5h2V5h2.5V2.5H20z"/></g></svg>') repeat;
}

.input-group .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.input-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.input-group .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.btn-light {
  background: white;
  border: none;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background: var(--background-light);
  transform: translateY(-1px);
}

/* Professional Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 40px;
  position: relative;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

/* Alert Styles */
.alert-success {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  color: var(--success-color);
  border-radius: 8px;
  padding: 1rem;
}

.alert-danger {
  background: linear-gradient(135deg, #fef2f2, #fecaca);
  border: 1px solid #fca5a5;
  color: #dc2626;
  border-radius: 8px;
  padding: 1rem;
}

/* Additional Styles for Other Pages */
.content-section {
  padding: 80px 0;
  background: var(--background-white);
}

.feature-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  background: var(--background-white);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--background-light), var(--background-white));
}

/* Hero Image Styling */
.hero-image-container {
  position: relative;
  padding: 2rem 0;
}

.hero-image {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.hero-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Overlapping Card Effect */
.hero-image-container::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 2rem;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
  border-radius: 16px;
  z-index: -1;
  transform: rotate(-3deg);
}

/* Text alignment adjustments */
.hero-section .col-lg-6:first-child {
  text-align: left;
}

.hero-section .col-lg-6:last-child {
  text-align: left;
}

@media (max-width: 991px) {
  .hero-section .container {
    text-align: center;
  }
  
  .hero-image-container::before {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .service-card .card-body {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Utility Classes */
.honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Smooth Animations */
* {
  scroll-behavior: smooth;
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}