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

:root {
  --primary-color: #0F172A; /* Deep Blue / Slate */
  --secondary-color: #2563EB; /* Trust Blue */
  --accent-color: #25D366; /* WhatsApp Green for CTA */
  --accent-hover: #128C7E;
  --bg-color: #F8FAFC; /* Light gray for sections */
  --text-main: #334155;
  --text-light: #64748B;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  --max-width: 1200px;
  
  --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);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.875rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  min-height: 48px; /* Mobile minimum touch target */
  min-width: 48px;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1D4ED8;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover svg {
  transform: rotate(-10deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Services Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-trigger .arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 10px 0;
  border: 1px solid var(--border-color);
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-main) !important;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: var(--bg-color);
  color: var(--secondary-color) !important;
}

/* Desktop Hover Interaction */
@media (min-width: 768px) {
  .nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: slideDown 0.2s ease-out;
  }
  
  .nav-dropdown:hover .dropdown-trigger .arrow {
    transform: rotate(180deg);
  }
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-color) 0%, #E2E8F0 100%);
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 30px 0;
}

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

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

/* Cards Grid */
.grid {
  display: grid;
  gap: 30px;
}

.grid-4 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bg-color);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--secondary-color);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
  border-top: 1px solid var(--border-color);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 15px 0;
  background: var(--bg-color);
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--secondary-color);
}

.breadcrumbs span {
  color: var(--text-light);
  margin: 0 5px;
}

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

.form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #CBD5E1;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #94A3B8;
  font-size: 0.875rem;
}

/* Media Queries (Desktop Enhancements) */
@media (min-width: 768px) {
  .hero h1 { font-size: 3.5rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  
  .nav-links {
    display: flex;
  }
}

@media (max-width: 767px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-dropdown {
    width: 100%;
  }
  
  .dropdown-menu {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 5px 0 5px 15px;
    background: transparent;
    min-width: unset;
  }
  
  .dropdown-menu a {
    padding: 8px 0;
    font-size: 1rem;
  }
  
  .dropdown-trigger .arrow {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .trust-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
