main {
  padding-top: var(--header-height);
  color: var(--title-color);
  background-color: var(--section-color);
}

/* Mobile fix */
@media (max-width: 768px) {
  main {
    padding-top: calc(var(--header-height) - 1rem);
  }
}

/* ================================== 
Search Engine Optimization
================================== */

/* ================= HERO SECTION ================= */
.hero {
  /* padding: 100px 5%;*/
  padding: 100px 5% 50px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--section-color);
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

/* Left Content */
.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-content h1 {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--title-color);
}

.hero-content h1 span {
  color: var(--first-color);
}

.hero-content p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 30px;
}

/*
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  
}*/

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.9rem 1.6rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

/* PRIMARY BUTTON */
.btn.primary {
  background: #1DC9A9;
  color: #000;
}

/*
.btn.primary:hover {
  background: #17a88d;
} */

/* SECONDARY BUTTON */
.btn.secondary {
  border: 1px solid #1DC9A9;
  color: #fff;
}

.btn.secondary:hover {
  background: #1DC9A9;
  color: var(--title-color);
}

/* Hero Visual */
.hero-visual {
  /* position: relative;
  max-width: 600px;
  margin: auto; */

  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dashboard Image */
.dashboard-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: block;

}


/* Floating Stats */
.floating-stat {
  position: absolute;
  background: var(--first-color);
  color: #fff;
  padding: 10px 15px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  font-size: 0.95rem;
}

/* Positions */
.stat-1 {
  top: 20px;
  left: -10px;
}

.stat-2 {
  bottom: 50px;
  right: 10px;
}

.stat-3 {
  bottom: 20px;
  left: 40%;
}

/* Animate stats in */
.hero-visual:hover .floating-stat {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger each stat */
.hero-visual.loaded .stat-1 {
  transition-delay: 0.2s;
}

.hero-visual.loaded .stat-2 {
  transition-delay: 0.4s;
}

.hero-visual.loaded .stat-3 {
  transition-delay: 0.6s;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-visual {
    margin-bottom: 40px;
  }

  .floating-stat {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-container {
    gap: 2rem;
    flex-direction: row;
    /* keep horizontal layout */
  }

  .hero-buttons {

    display: flex;
    flex-direction: row;
    /* horizontal buttons */
    justify-content: center;
    /* center horizontally */
    align-items: center;
    gap: 0.8rem;

  }

  .btn {
    width: auto;
    /* auto width */
    padding: 0.7rem 1rem;
    font-size: 0.90rem;
    font-weight: 800;
    /* slightly bold */
    border-radius: 30px;
    transition: all 0.3s ease;

  }
}

@media (max-width: 768px) {
  .hero-content h1 {
     font-size: 30px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .dashboard-img {
    width: 90%;
  }

  .floating-stat {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .floating-stat {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .stat-2 {
    bottom: 40px;
    right: 5px;
  }

  .stat-3 {
    bottom: 10px;
    left: 30%;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: row;
    /* horizontal */
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .btn {
    width: auto;
    /* auto width */
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 13px; 
  }

  .dashboard-img {
    width: 90%;
  }

  .hero {
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-container {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    padding: 0.8rem 1rem;
    /* slightly smaller padding */
    font-size: 0.95rem;
    /* text adjust */
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 20px; /* final reduction */
  }

  .hero-content p {
    font-size: 12px; /* compact but readable */
  }
}

/* ================= SEO SERVICES ================= */

.seo-services {
  padding: 20px 1rem 30px 1rem;
  background: var(--section-color);
  color: var(--title-color);
}

.service-container{
padding-left: 80px;
padding-right: 80px;
}

/* Titles */
.section-title {
  font-size: 46px;
  font-weight: 700;
  font-weight: 1.7;
  color: var(--title-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-color);
  max-width: 700px;
  margin: 10px auto 0;
  font-size: 16px;
  line-height: 1.7;

}

/* Cards */
.service-card {

  backdrop-filter: blur(10px);
  background: var(--card-color);
  border: 1px solid rgba(255, 255, 255, 0.08);

 
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  /* transition: all 0.35s ease;*/
  position: relative;
  overflow: hidden;
  height: 100%;

  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.35s ease;
}

.service-card.show {
  transition-delay: 0.05s;
  opacity: 1;
  transform: translateY(0) scale(1);

}

/* Icon */
.service-card i {
  font-size: 2.2rem;
  color: var(--first-color);
  /* margin-bottom: 10px; */
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Title */
.service-card .custom-h1 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  margin-bottom: 10px;
  
}

/* Text */
.service-card p {
  
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Hover Effect */
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--first-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Icon animation on hover */
.service-card:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Glow effect */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* ================= RESPONSIVE ================= */

/* ---------- Tablets (≤1024px) ---------- */
@media (max-width: 1024px) {
  .service-container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  /* Container padding */
  .service-container {
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Section Titles */
  .section-title {
    font-size: 34px;  /* slightly smaller than desktop */
    text-align: center;
  }

  .section-subtitle {
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto 1rem;
    text-align: center;
  }

  /* Cards */
  .service-card {
    padding: 25px 20px;
  }

  .service-card .custom-h1 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  /* Icon */
  .service-card i {
    font-size: 2rem;
  }
}

/* ---------- Large Mobile (≤768px) ---------- */
@media (max-width: 768px) {
  .seo-services {
    padding: 10px 1rem;
  }

  .service-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-title {
    font-size: 28px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 14px;
    text-align: center;
  }

  .service-card {
    padding: 25px 20px;
  }

  .service-card i {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  /* Section padding */
  .seo-services {
    padding: 6px 0.8rem 30px 0.8rem;
  }

  /* Container padding */
  .service-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section Titles */
  .section-title {
    font-size: 24px;
    line-height: 1.3;
    text-align: center;
  }

  .section-subtitle {
    font-size: 13px;
    line-height: 1.5;
    max-width: 100%;
    text-align: center;
  }

  /* Service Cards */
  .service-card {
    padding: 18px 12px;
    border-radius: 15px;
  }

  .service-card .custom-h1 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  /* Icon */
  .service-card i {
    font-size: 1.8rem;
  }
}

/* ---------- Small Mobile (≤480px) ---------- */
@media (max-width: 480px) {
  .seo-services {
    padding: 5px 0.8rem;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .section-subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .service-card {
    padding: 20px 15px;
    border-radius: 15px;
  }

  .service-card .custom-h1 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }
}

/* ---------- Extra Small Devices (≤360px) ---------- */
@media (max-width: 360px) {
  .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 12px;
  }

  .service-card {
    padding: 18px 12px;
  }

  .service-card i {
    font-size: 1.8rem;
  }
}

/* ================= FAQ SECTION ================= */

.faq-section {
  padding: 20px 5% 80px 5%;
  background: var(--section-color);
}

/* Container */
.faq-container {
  max-width: 900px;
  margin: auto;
}

/* Item */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Question */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--title-color);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  padding: 20px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Plus icon */
.faq-question span {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-answer p {
  padding: 0 10px 15px;
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Active */
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* Hover */
.faq-question:hover {
  color: var(--first-color);
}

/* ================= TABLETS (≤ 991px) ================= */
@media (max-width: 991px) {

  .faq-section {
    padding: 20px 4% 60px 4%;
  }

  .faq-container {
    max-width: 100%;
  }

  .faq-question {
    font-size: 1rem;
    padding: 18px 8px;
  }

  .faq-question span {
    font-size: 1.3rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}


/* ================= MOBILE (≤ 768px) ================= */
@media (max-width: 768px) {

  .faq-section {
    padding: 20px 3% 50px 3%;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 16px 5px;
    gap: 10px; /* spacing between text & icon */
  }

  .faq-question span {
    font-size: 1.2rem;
  }

  .faq-answer p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}


/* ================= SMALL MOBILE (≤ 576px) ================= */
@media (max-width: 576px) {

  .faq-section {
    padding: 15px 10px 40px 10px;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 14px 5px;
  }

  .faq-question span {
    font-size: 1.1rem;
  }

  .faq-answer p {
    font-size: 0.8rem;
    padding: 0 5px 12px;
  }
}


/* ================= EXTRA SMALL DEVICES (≤ 400px) ================= */
@media (max-width: 400px) {

  .faq-question {
    font-size: 0.85rem;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.75rem;
  }
}


/* ================= CONTACT CTA ================= */
.seo-contact-cta {
  /*  padding: 1.5rem 5%; */
  padding: 1.5rem 5% 5% 5%;
  text-align: center;
  border-radius: 20px;
  margin: 0.5rem auto;
  max-width: 1000px;
}

/* TITLE */
.seo-contact-cta h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  font-weight: 700;
}

/* TEXT */
.seo-contact-cta p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

/* BUTTON */
.seo-contact-cta .btn {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 30px;
  transition: 0.3s ease;
  background: #1DC9A9;
  color: var(--title-color);
}


/* HOVER */
.seo-contact-cta .btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 20px rgba(29, 201, 169, 0.5);
  color: var(--title-color);
}

/* ================= TABLETS (≤ 991px) ================= */
@media (max-width: 991px) {

  .seo-contact-cta {
    padding: 1.5rem 4% 4% 4%;
    max-width: 90%;
  }

  .seo-contact-cta h4 {
    font-size: 1.6rem;
  }

  .seo-contact-cta p {
    font-size: 0.95rem;
  }

  .seo-contact-cta .btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}


/* ================= MOBILE (≤ 768px) ================= */
@media (max-width: 768px) {

  .seo-contact-cta {
    padding: 1.5rem 3% 3% 3%;
    border-radius: 15px;
  }

  .seo-contact-cta h4 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .seo-contact-cta p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .seo-contact-cta .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}


/* ================= SMALL MOBILE (≤ 576px) ================= */
@media (max-width: 576px) {

  .seo-contact-cta {
    padding: 1.2rem 2%;
    margin: 0.5rem 10px;
  }

  .seo-contact-cta h4 {
    font-size: 1.2rem;
  }

  .seo-contact-cta p {
    font-size: 0.85rem;
  }

  .seo-contact-cta .btn {
    width: 80%; /* full width button */
    padding: 12px;
    font-size: 0.9rem;
  }
}


/* ================= EXTRA SMALL DEVICES (≤ 400px) ================= */
@media (max-width: 400px) {

  .seo-contact-cta h4 {
    font-size: 1.1rem;
  }

  .seo-contact-cta p {
    font-size: 0.8rem;
  }

  .seo-contact-cta .btn {
    font-size: 0.85rem;
    padding: 10px;
  }
}

/* === Same SEO CSS Code For === 

    Social Media Marketing
    Search Engine Marketing
    Google Ads
    Social Media   */

/* === Same SEO CSS Code For === 

    Machine Learning
    Natural Language Processing
    Ai Automation  */


/* === Same SEO CSS Code For === 

    Web Development
    Mobile Apps
    Custom Software
    UI / UX Design */

/* ================= TECHNOLOGIES SECTION ================= */


/* TECHNOLOGY MARQUEE */

.tech-marquee {
  /* padding: 80px 5%;
  background:#f7f7f7; 
  padding: 10px 5% 80px 5%; 
  margin-right: 20px;*/
  padding: 20px 5% 20px 5%;
  overflow: hidden;
  align-items: center;
}

.technology-container{
padding-left: 80px;
padding-right: 80px;
}

.tech-title {
  display: block;
  text-align: center;
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--title-color);
}

/* Marquee container */
.marquee {
  overflow: hidden;
  width: 100%;
  padding: 40px 5%;

}

/* Marquee content */
.marquee-content {
  display: flex;
  /*gap:80px;*/
  gap:80px;
  animation: scroll 25s linear infinite;
  width: max-content; /* ensures smooth infinite scroll */

  
  
}

/* Single skill */
.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  

}

.skill i {
  font-size: 60px;
  transition: 0.3s;
  opacity: 0.8;
}

.skill span {
  margin-top: 8px;
  font-size: 16px;
}

.skill i:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ================= RESPONSIVE ================= */

/* Large tablets */

@media (max-width: 1024px) {
  .tech-title {
    font-size: 2.5rem;
  }

  .marquee-content {
    gap: 60px;
  }

  .skill i {
    font-size: 50px;
  }

  .skill span {
    font-size: 15px;
  }
}


/* ================= TABLETS (≤ 991px) ================= */
@media (max-width: 991px) {
  .technology-container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .tech-title {
    font-size: 32px;
  }
  .marquee {
    padding: 30px 3%;
  }
  .marquee-content {
    gap: 50px;
    animation: scroll 20s linear infinite;
  }
  .skill i {
    font-size: 45px;
  }
  .skill span {
    font-size: 14px;
  }
}

/* ================= MOBILE (≤ 768px) ================= */
@media (max-width: 768px) {
  .tech-marquee {
    padding: 15px 3%;
  }
  .technology-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .tech-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .marquee {
    padding: 20px 2%;
  }
  .marquee-content {
    gap: 35px;
    animation: scroll 18s linear infinite;
  }
  .skill i {
    font-size: 38px;
  }
  .skill span {
    font-size: 13px;
  }
}

/* ================= SMALL MOBILE (≤ 576px) ================= */
@media (max-width: 576px) {
  .tech-title {
    font-size: 22px;
  }
  .marquee-content {
    gap: 25px;
    animation: scroll 15s linear infinite;
  }
  .skill i {
    font-size: 32px;
  }
  .skill span {
    font-size: 12px;
  }
}


/* ================= EXTRA SMALL DEVICES (≤ 400px) ================= */
@media (max-width: 400px) {
  .technology-container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .tech-title {
    font-size: 20px;
  }
  .marquee-content {
    gap: 20px;
    animation: scroll 12s linear infinite;
  }
  .skill i {
    font-size: 28px;
  }
  .skill span {
    font-size: 11px;
  }
}

/* Very small / extra small phones */
@media (max-width: 360px) {
  .tech-title {
    font-size: 1.4rem;
  }

  .marquee-content {
    gap: 25px;
  }

  .skill i {
    font-size: 30px;
  }

  .skill span {
    font-size: 11px;
  }
}




/* ===================== Chat Button ========================== */

#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1DC9A9;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
}

/* Chat Box */
#chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Header */
.chat-header {
  background: #1DC9A9;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

.chat-header button {

  border: none;
  background: none;

  color: white;
}

/* Body */
.chat-body {
  padding: 10px;
  height: 250px;
  overflow-y: auto;
}

.bot-message {
  background: #f1f1f1;
  padding: 8px;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 5px;
}

.user-message {
  background: #1DC9A9;
  color: #fff;
  padding: 8px;
  font-size: 16px;
  border-radius: 6px;
  margin-bottom: 5px;
  text-align: right;
}

/* Footer */
.chat-footer {
  display: flex;
}

.chat-footer input {
  flex: 1;
  border: none;
  padding: 10px;
}

.chat-footer button {
  background: #1DC9A9;
  color: #fff;
  border: none;
  padding: 10px;
}