/* style.css - Professional Revamp with Glassmorphism & Animations */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary: #ff7a00;
  --primary-dark: #e56e00;
  --secondary: #0b1c2d;
  --secondary-light: #1a2f47;
  --light: #f7f9fc;
  --white: #ffffff;
  --gray: #555;
  --dark: #222;
  --success: #25d366;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.3);
  --transition: all 0.3s ease;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Glassmorphism Base */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
  background: var(--white);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

header img {
  height: 50px;
  transition: var(--transition);
}

.brand-text {
  font-weight: 700;
  font-size: 22px;
  color: var(--secondary);
}

.brand-text span {
  color: var(--primary);
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  left: 0;
  bottom: 0;
  transition: var(--transition);
}

nav a:hover:after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--secondary);
  background: none;
  border: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.overlay.active {
  display: block;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11, 28, 45, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
  animation: fadeIn 1s;
}

.slide-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.slide-content h1 span {
  color: var(--primary);
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Side Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
  font-size: 24px;
}

.slider-arrow:hover {
  background: rgba(255, 122, 0, 0.9);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--secondary);
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 4px;
  background: var(--primary);
  bottom: -10px;
  left: 20%;
  border-radius: 2px;
}

.section-header p {
  color: var(--gray);
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 18px;
}

/* Services */
section {
  padding: 80px 40px;
}

.services {
  background: transparent;
}

.service-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--primary);
}

.card-icon {
  background: rgba(255, 122, 0, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(360deg);
}

.card-icon i {
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.card:hover .card-icon i {
  color: var(--white);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--secondary);
  font-size: 22px;
}

.card p {
  color: var(--gray);
  font-weight: normal;
  margin-top: 10px;
  line-height: 1.5;
}

.btn-learn-more {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 30px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-learn-more:hover {
  background: var(--primary);
  color: var(--white);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  max-width: 500px;
  width: 90%;
  padding: 40px;
  border-radius: 12px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary);
}

/* Pricing Plans */
.plans {
  background: linear-gradient(135deg, #f1f4f9 0%, #e8edf5 100%);
  position: relative;
  overflow: hidden;
}

.plan-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.plan {
  background: var(--white);
  border-radius: 15px;
  padding: 35px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.plan:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
}

.plan.highlight:before {
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, #ffb74d 100%);
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.plan.highlight {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.03);
  z-index: 3;
}

.plan.highlight:hover {
  transform: scale(1.03) translateY(-10px);
}

.plan h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: var(--secondary);
}

.plan.highlight h3 {
  color: var(--white);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.plan ul {
  list-style: none;
  margin: 20px 0;
  flex-grow: 1;
  font-size: 0.95rem;
}

.plan ul li {
  margin: 8px 0;
  padding-left: 25px;
  position: relative;
}

.plan ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.plan.highlight ul li:before {
  color: #ffd27d;
}

.price {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary);
  margin: 15px 0;
}

.plan.highlight .price {
  color: #ffd27d;
}

.price-period {
  font-size: 14px;
  color: var(--gray);
  font-weight: normal;
}

.plan.highlight .price-period {
  color: #ccc;
}

.plan-button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition: var(--transition);
  width: 100%;
  margin-top: 10px;
}

.plan-button:hover {
  background: var(--primary-dark);
}

.plan.highlight .plan-button {
  background: #ffd27d;
  color: var(--secondary);
}

.plan.highlight .plan-button:hover {
  background: #ffc55c;
}

/* About */
.about {
  background: var(--white);
  text-align: center;
  position: relative;
}

.about-content {
  max-width: 900px;
  margin: auto;
}

.about p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 120px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  color: var(--secondary);
  font-weight: 600;
  font-size: 16px;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--white);
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 20px;
}

.testimonial-card.glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.testimonial-content {
  padding: 30px;
  text-align: center;
}

.testimonial-content i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.testimonial-content h4 {
  font-size: 20px;
  margin-bottom: 5px;
}

.testimonial-content .company {
  font-size: 14px;
  opacity: 0.8;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.carousel-controls button {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-controls button:hover {
  background: var(--primary);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dots .dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* FAQ */
.faq {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 122, 0, 0.1);
}

.faq-question i {
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 20px;
}

.faq-answer p {
  color: var(--gray);
}

/* Blog */
.blog {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  overflow: hidden;
  border-radius: 12px;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--secondary);
}

.blog-content p {
  color: var(--gray);
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.read-more:hover {
  gap: 12px;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
}

.contact .section-header h2 {
  color: var(--white);
}

.contact .section-header p {
  color: #ccc;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 20px;
  color: var(--primary);
}

.contact-details h4 {
  margin-bottom: 5px;
  font-size: 18px;
}

.contact form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 15px;
  margin: 12px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition);
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.2);
}

.contact button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  width: 100%;
  margin-top: 10px;
}

.contact button:hover {
  background: var(--primary-dark);
}

.form-status {
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 50px 40px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--primary);
  bottom: 0;
  left: 0;
}

.footer-column p,
.footer-column a {
  color: #ccc;
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 14px;
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--success);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 999;
}

.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
  .plan-box { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 500px; }
  .slide-content h1 { font-size: 40px; }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 20px; }
  .section-header h2 { font-size: 30px; }
  .section-header p { font-size: 16px; }

  .service-box { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .plan-box { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 450px; }
  .slide-content h1 { font-size: 32px; }
  .slide-content p { font-size: 16px; }
  .slide { padding: 0 5%; }

  .contact-container { grid-template-columns: 1fr; gap: 30px; }
  .contact form { padding: 30px; }

  .mobile-toggle { display: block; }
  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  nav.active { left: 0; }
  nav a {
    margin: 15px 0;
    font-size: 18px;
    width: 100%;
    padding: 10px 0;
  }
  .overlay.active { display: block; }

  /* Adjust side arrows for mobile */
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
}

@media (max-width: 480px) {
  header { padding: 10px 20px; }
  .brand-text { font-size: 18px; }
  header img { height: 40px; }

  .hero-slider { height: 400px; }
  .slide-content h1 { font-size: 28px; }
  .slide-content p { font-size: 15px; }
  .slide-content button { padding: 10px 20px; font-size: 14px; }

  .service-box { grid-template-columns: 1fr; }

  .about-stats { gap: 20px; }
  .stat-number { font-size: 32px; }
  .stat-label { font-size: 14px; }

  .contact form { padding: 20px; }
  .contact input, .contact textarea { padding: 12px; }

  .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .footer-column { text-align: center; }
  .footer-column h3:after { left: 50%; transform: translateX(-50%); }
  .social-links { justify-content: center; }

  .whatsapp { width: 50px; height: 50px; font-size: 24px; right: 15px; bottom: 15px; }
}