/* ===== VIBRANT GLOBAL STYLES ===== */
:root {
  /* Vibrant Color Palette */
  --primary-color: #4361ee;       /* Electric blue */
  --secondary-color: #3a0ca3;     /* Deep purple */
  --accent-color: #f72585;        /* Hot pink */
  --vibrant-orange: #ff7b00;
  --vibrant-teal: #00b4d8;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
  --text-light: #ffffff;
  
  /* Gradients */
  --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(90deg, var(--accent-color), var(--vibrant-orange));
  
  /* Effects */
  --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

[data-aos] {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

/* ===== REUSABLE COMPONENTS ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(247, 37, 133, 0.5);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--vibrant-orange), var(--accent-color));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* ===== HEADER & NAVBAR ===== */
header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
  color: var(--accent-color);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-highlight {
  color: var(--vibrant-orange);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--secondary-color);
  cursor: pointer;
  transition: transform 0.3s;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* ===== HERO SECTIONS ===== */
.hero,
.page-hero {
  background: var(--gradient-bg), 
              url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: white;
  text-align: center;
  padding: 10rem 1rem;
  position: relative;
  overflow: hidden;
}

.page-hero {
  padding: 8rem 1rem;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(transparent, rgba(255,255,255,1));
  z-index: 1;
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p,
.page-hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero span {
  color: var(--vibrant-teal);
  display: inline-block;
  transform: rotate(-3deg);
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--gradient-accent);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.stats-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
}

.stat-item {
  padding: 0 1.5rem;
}

.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-item p {
  font-weight: 600;
  opacity: 0.9;
}

/* ===== SERVICES (Original Style) ===== */
.services-preview {
  padding: 5rem 0;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card:nth-child(1) .service-icon {
  color: var(--vibrant-teal);
}
.service-card:nth-child(2) .service-icon {
  color: var(--vibrant-orange);
}
.service-card:nth-child(3) .service-icon {
  color: var(--accent-color);
}

.service-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.btn-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: color 0.3s;
}

.btn-link:hover {
  color: var(--accent-color);
}

/* Services Detailed Page */
.service-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.service-text {
  flex: 1;
}

.service-text h2 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.service-text ul {
  list-style: none;
  margin-top: 1rem;
}

.service-text li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-text i {
  color: var(--primary-color);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 6rem 0;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/testimonial-bg.jpg') center/cover;
  opacity: 0.05;
  z-index: -1;
}

.testimonial-slider {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.testimonial-card {
  min-width: 350px;
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  scroll-snap-align: start;
  position: relative;
  border-left: 4px solid var(--vibrant-orange);
}

.testimonial-card::before {
  content: """;
  font-family: Georgia;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: 20px;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.testimonial-author span {
  color: #6c757d;
  font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta {
  text-align: center;
  padding: 5rem 1rem;
  background: var(--light-bg);
}

.cta h2 {
  margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== CONTACT PAGE ===== */
.contact {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form h2 {
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-info {
  padding: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* ===== MAP SECTION ===== */
.map {
  padding: 4rem 0;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 450px;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    box-shadow: var(--box-shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    flex-direction: column;
  }

  .service-item:nth-child(even) {
    flex-direction: column;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }