/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed header */
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: white;
  line-height: 1.6;
}

/* ===== Accessibility ===== */
a:focus,
button:focus {
  outline: 2px solid #03D1FF;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  color: #ccc;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

/* ===== Header ===== */
.header {
  background-color: #1f1f1f;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-size: 16px;
  color: white;
}

/* ===== Navigation ===== */
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #03D1FF;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: white;
}

.navbar .nav-links a.active {
  border-bottom: 2px solid #03D1FF;
}

.email-id p {
  font-size: 14px;
  color: white;
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero-section {
  background: linear-gradient(135deg, #0e0e0e, #1a1a1a);
  padding: 120px 0 100px;
  margin-top: 80px; /* Offset fixed header */
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-text h1 span {
  color: #03D1FF;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-subtext {
  font-weight: 500;
  color: #aaa;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  margin-top: 25px;
}

.whatsapp-inline-button {
  display: inline-block;
  background-color: #25D366;
  color: white !important;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.whatsapp-inline-button:hover {
  background-color: #1ebe5d;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px; /* Reduced from 60px */
  height: 50px; /* Reduced from 60px */
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp img {
  width: 24px; /* Reduced from 32px */
  height: 24px; /* Reduced from 32px */
}

/* Sticky Social Bar Adjustments */
.sticky-social-bar {
  position: fixed;
  bottom: 90px; /* Adjusted from 150px to reduce gap */
  right: 25px; /* Matches WhatsApp button position */
  display: flex;
  flex-direction: column;
  gap: 10px; /* Reduced from 12px */
  z-index: 999;
}

.sticky-social-bar a {
  width: 50px; /* Matches WhatsApp button size */
  height: 50px; /* Matches WhatsApp button size */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  border-radius: 50%;
  font-size: 20px; /* Adjusted for better proportion */
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .floating-whatsapp img {
    width: 55px;
    height: 55px;
  }

  .sticky-social-bar {
    bottom: 40px;
    right: 20px;
  }

  .sticky-social-bar a {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

/* ===== About Section ===== */
.about-section {
  background-color: #0d0d0d;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-left {
  flex: 1;
  min-width: 250px;
}

.about-left h2 {
  font-size: 2.25rem;
  color: #ccc;
}

.about-right {
  flex: 2;
  min-width: 280px;
}

.about-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-left: 5px solid #00ffd1;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 255, 209, 0.1);
}

.about-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* ===== Services Section ===== */
.services-section {
  background-color: #111;
  text-align: center;
}

.section-title {
  font-size: 2.375rem;
  color: #03D1FF;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #1a1a1a;
  padding: 30px 20px;
  border-radius: 12px;
  border-top: 4px solid #03D1FF;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0, 255, 209, 0.15);
}

.service-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #03D1FF;
}

.service-card p {
  font-size: 0.9rem;
}

/* ===== Why Choose Me ===== */
.why-choose-me {
  background-color: #0d0d0d;
}

.choose-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.choose-text {
  flex: 1;
  min-width: 300px;
}

.choose-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.features-list li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.features-list li:hover {
  transform: translateX(5px);
}

.features-list li i {
  color: #03D1FF;
  font-size: 1.3rem;
}

/* ===== Testimonials ===== */
.testimonials {
  background-color: #1a1a1a;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 50px;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  background-color: #f9f9f9;
  padding: 25px 20px;
  border-radius: 15px;
  max-width: 320px;
  transition: transform 0.3s ease;
  text-align: left;
  color: #333;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #007bff;
}

.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}

.testimonial-card .stars {
  color: #f5a623;
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.testimonial-card h4 {
  font-size: 0.9375rem;
  color: #007bff;
  font-weight: 600;
}

/* ===== Case Studies ===== */
.case-studies {
  background-color: #000;
  text-align: center;
}

.case-studies h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}

.case-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 300px;
  background-color: #fff;
  border: 2px solid #03D1FF;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
  color: #333;
}

.case-card:hover {
  transform: translateY(-8px);
}

.case-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.case-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #03D1FF;
}

/* ===== Contact Section ===== */
.contact-section {
  background: #0d0d0d;
}

.contact-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-left {
  flex: 1;
  min-width: 300px;
}

.contact-left h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-info {
  margin-top: 20px;
}

.info-box {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: scale(1.05);
}

.contact-right {
  flex: 1;
  min-width: 300px;
}

/* ===== Form Styles ===== */
.floating-label {
  position: relative;
  margin-bottom: 25px;
}

.floating-label input,
.floating-label textarea {
  width: 100%;
  padding: 12px 14px;
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  outline: none;
}

.floating-label label {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #aaa;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.75rem;
  background: #000;
  padding: 0 5px;
  color: #03D1FF;
}

.btn-animated {
  background: #03D1FF;
  color: #000;
  padding: 12px 24px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-animated:hover {
  background: #00b5e2;
  transform: translateY(-3px);
}

/* ===== Brands Section ===== */
.brands-section {
  background-color: #000;
  text-align: center;
}

.brands-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.brand-logo {
  background-color: #000;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #03D1FF;
  transition: transform 0.3s ease;
}

.brand-logo img {
  max-width: 100%;
  height: auto;
}

.brand-logo:hover {
  transform: scale(1.05);
}

/* ===== FAQ Section ===== */
.faq-section {
  background-color: #1a1a1a;
  text-align: center;
}

.faq-container {
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.faq-item {
  border: 1px solid #03D1FF;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  background-color: #fff;
  color: #333;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  font-size: 1.5rem;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  background-color: #fff;
  padding: 0 20px 20px;
  display: none;
  font-size: 1rem;
  color: #555;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== Footer ===== */
.footer {
  background-color: #000;
  padding: 50px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h2,
.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
  color: #bbb;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 10px;
}

.quick-links li i {
  margin-right: 8px;
  color: #00bcd4;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  color: #ccc;
  font-size: 1.125rem;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #00bcd4;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid #333;
  font-size: 0.875rem;
  color: #aaa;
}

/* ===== Sticky Social Bar ===== */
.sticky-social-bar {
  position: fixed;
  bottom: 150px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.sticky-social-bar a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.sticky-social-bar a:hover {
  transform: scale(1.1);
}

.facebook {
  background-color: #1877f2;
}

.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.linkedin {
  background-color: #0a66c2;
}

/* ===== Scroll to Top Button - Bottom Center ===== */
#scrollTopBtn {
  position: fixed;
  bottom: 30px; /* Position at bottom */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.9;
}

#scrollTopBtn:hover {
  background-color: #1ebe5d;
  transform: translateX(-50%) scale(1.1);
  opacity: 1;
}

#scrollTopBtn i {
  font-size: 20px;
  margin-top: 2px; /* Adjust icon position */
}
#scrollTopBtn {
  transition: all 0.3s ease, opacity 0.5s ease;
}
/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.sticky-social-bar a {
  animation: fadeInBounce 0.8s ease-out;
}

.sticky-social-bar a:nth-child(1) {
  animation-delay: 0.1s;
}
.sticky-social-bar a:nth-child(2) {
  animation-delay: 0.25s;
}
.sticky-social-bar a:nth-child(3) {
  animation-delay: 0.4s;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  .hero-container,
  .about-container,
  .choose-container,
  .footer-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .hero-text,
  .hero-image,
  .about-left,
  .about-right,
  .choose-text {
    width: 100%;
    text-align: center;
  }

  .navbar .nav-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }

  .about-left h2,
  .choose-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1f1f1f;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .navbar.active .nav-links {
    display: flex;
  }

  .email-id {
    display: none;
  }

  section {
    padding: 60px 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-card h3,
  .choose-text p,
  .about-card p {
    font-size: 1rem;
  }

  .testimonial-card p,
  .faq-question,
  .faq-answer,
  .case-card p {
    font-size: 0.875rem;
  }

  .brand-logo img {
    max-width: 80px;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp img {
    width: 28px;
    height: 28px;
  }

  .sticky-social-bar {
    bottom: 120px;
    right: 15px;
  }

  .sticky-social-bar a {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .whatsapp-inline-button {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .footer-section {
    min-width: 100%;
  }
}
/* ===== Section Alignment Fixes ===== */

/* Hero Section */
.hero-section {
  padding: 120px 20px 100px;
}

.hero-container {
  padding: 0 20px;
}

/* About Section */
.about-section {
  padding: 80px 20px;
}

.about-container {
  padding: 0 20px;
}

/* Services Section */
.services-section {
  padding: 80px 20px;
}

.services-container {
  padding: 0 20px;
}

/* Why Choose Me Section */
.why-choose-me {
  padding: 80px 20px;
}

.choose-container {
  padding: 0 20px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 20px;
}

/* Case Studies Section */
.case-studies {
  padding: 80px 20px;
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
}

/* Brands Section */
.brands-section {
  padding: 80px 20px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
}

/* Footer */
.footer {
  padding: 60px 20px 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  section {
    padding: 60px 15px !important;
  }
  
  .hero-section {
    padding: 100px 15px 60px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 10px !important;
  }
  
  .hero-section {
    padding: 90px 10px 50px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
}