/* =========================================
   VARIABLES & DESIGN SYSTEM
========================================= */
:root {
  /* Colors */
  --primary-blue: #1e3a8a;       /* Deep rich blue */
  --primary-blue-light: #2563eb;
  --secondary-yellow: #f59e0b;   /* Warm attention yellow */
  --secondary-yellow-light: #fbbf24;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  
  /* Utilities */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --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);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* =========================================
   RESET & TYPOGRAPHY
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.title-underline {
  height: 4px;
  width: 60px;
  background: var(--secondary-yellow);
  margin: 15px auto 25px;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--primary-blue-light);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 5px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--text-dark);
}

.bg-light {
  background-color: #f1f5f9;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary-yellow);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  background-color: var(--secondary-yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background-color: #25D366; /* WhatsApp Green */
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-secondary:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

.w-100 {
  width: 100%;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}

.logo-text h1 {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: -2px;
  letter-spacing: -0.5px;
}

.logo-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) {
  color: var(--primary-blue-light);
}

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

/* =========================================
   HERO SECTION
========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding-top: 80px;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30,58,138,0.95) 0%, rgba(37,99,235,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-category {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 25px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-category:hover::before {
  transform: scaleX(1);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.category-header i {
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-category:hover .category-header i {
  background: var(--primary-blue);
  color: white;
}

.category-header h4 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin: 0;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.service-list li i {
  color: #22c55e;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* =========================================
   WHY CHOOSE US
========================================= */
.why-us-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.why-us-text {
  flex: 1;
}

.why-us-text p {
  margin-bottom: 30px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.features-list i {
  color: var(--secondary-yellow);
  font-size: 1.8rem;
  margin-top: 3px;
}

.features-list strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.features-list span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.why-us-image {
  flex: 1;
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--primary-blue);
  color: white;
  padding: 20px 30px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-light);
}

.experience-badge i {
  font-size: 2.5rem;
  color: var(--secondary-yellow);
}

/* =========================================
   CONTACT & INQUIRY FORM
========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-box {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-box h3, .contact-info-box h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.contact-form-box p, .contact-info-box p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group .required {
  color: #ef4444;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: #f8fafc;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-message {
  margin-top: 15px;
  font-weight: 500;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-message.success {
  display: block;
  background: #dcfce7;
  color: #166534;
}

.contact-methods {
  margin-bottom: 30px;
}

.method-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.method-icon {
  width: 45px;
  height: 45px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.method-details h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.method-details p {
  margin: 0;
  line-height: 1.5;
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 5px;
}

.footer-logo p {
  color: var(--secondary-yellow);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.developer-credit {
  background: rgba(0,0,0,0.2);
  padding: 15px 30px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 0 auto;
}

.jayvik-labs {
  color: var(--secondary-yellow);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* =========================================
   FLOATING WIDGET
========================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  color: white;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-15px);}
  60% {transform: translateY(-7px);}
}

/* =========================================
   TOP NOTICE BAR
========================================= */
.top-notice-bar {
  background-color: var(--secondary-color);
  color: var(--dark-text);
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid #e0e0e0;
}
.notice-content {
  white-space: nowrap;
  animation: scrollText 25s linear infinite;
  display: inline-block;
  padding-left: 100%;
}
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* =========================================
   FAQS SECTION
========================================= */
.faq-box {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}
.faq-box:hover {
  box-shadow: var(--shadow-md);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark-text);
}
.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}
.faq-box.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  margin-top: 15px;
  color: var(--text-color);
  font-size: 0.95rem;
  display: none;
  border-top: 1px solid #eee;
  padding-top: 15px;
  line-height: 1.6;
}
.faq-box.active .faq-answer {
  display: block;
}

/* =========================================
   TESTIMONIALS SECTION
========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.testimonial-icon {
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.6;
}
.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
}
.testimonial-author span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-color);
  font-weight: 400;
  margin-top: 5px;
}

/* =========================================
   GALLERY SECTION
========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* =========================================
   ANIMATIONS
========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .why-us-content {
    flex-direction: column;
  }
  
  .experience-badge {
    left: 20px;
    bottom: 20px;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem !important;
  }
}
