/* =========================================
   Global Styles
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #ffffff;
  color: #0d2538;
  overflow-x: hidden;
}

/* Container width */
.content-wrapper{
  width: 85%;
  margin: 0 auto;
}
.content-wrapper-about,
.content-wrapper-services {
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
}
#services{
  padding-top: 4px;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease;
}
.section-heading h2 {
  font-size: 2.5rem;
  color: #0d2538;
  position: relative;
}
.section-heading h2 span {
  color: #0abf53;
}
.section-heading p {
  color: #555;
  margin-top: 20px;
  margin-bottom: 35px;
}

/* Glow-line under heading */
.section-heading h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #0abf53;
  margin: 8px auto 0;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 10px #0abf53;
}

/* =========================================
   BUTTONS (Improved Modern Design)
========================================= */

.btn-primary,
.btn-secondary {
  padding: 16px 34px;
  border-radius: 50px;
  font-size: 1.32rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* Shine animation overlay */
.btn-primary::after,
.btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: all 0.4s ease;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: #0abf53;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(10, 191, 83, 0.5);
  margin-top: 30px;
  width: 280px; 
  height: 57px;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 0 20px rgba(10, 191, 83, 0.9);
}

.btn-primary:hover::after {
  left: 100%;
  
}

/* SECONDARY BUTTON (Glass Style) */
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #0abf53;
  color: #0abf53;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 8px rgba(10, 191, 83, 0.25);
}

.btn-secondary:hover {
  background: #0abf53;
  color: #ffffff;
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 0 20px rgba(10, 191, 83, 0.8);
}

.btn-secondary:hover::after {
  left: 100%;
}


/* =========================================
   ABOUT SECTION
========================================= */


.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text .lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  animation: fadeInLeft 1s ease;
}

/* Image Frame */
.about-image-frame {
  width: 330px;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(13, 37, 56, 0.2);
  transition: 0.3s ease;
  animation: fadeInRight 1s ease;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-frame:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(10, 191, 83, 0.6);
}

/* =========================================
   SERVICES SECTION
========================================= */
.services {
  padding: 80px 0;
  background-color: #fbdd94;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Base service card */
.service-card {
  height: 260px;                     /* 🔥 Increased card height */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s ease;
  animation: fadeInUp 0.9s ease;

  position: relative;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Dim overlay for readability */
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:  #030b128e;
  backdrop-filter: blur(2px);
  z-index: 0;
}

/* Ensure text stays above overlay */
.service-card * {
  position: relative;
  z-index: 2;
}

.service-card i {
  font-size: 2.5rem;
  color: #0abf53;
  margin-bottom: 15px;
  transition: 0.3s ease;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 40px;
}

.service-card p {
  color: #ffffff;
  
}

/* Hover effects */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(10, 191, 83, 0.4);
}
.service-card:hover i {
  transform: scale(1.2);
}
.service-card:nth-child(1) {
  background-image: url("/images/webdev.jpg");
}

.service-card:nth-child(2) {
  background-image: url("/images/mob.jpg");
}

.service-card:nth-child(3) {
  background-image: url("/images/digimarket.jpg");
}
/* =========================================
   CTA SECTION
========================================= */
.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #0d2538, #0abf53);
  color: #ffffff;
  animation: fadeIn 1.2s ease;
}

.cta h2 {
  font-size: 2.2rem;
}
.cta p {
  margin: 15px 0 25px;
  color: #e8e8e8;
}

/* Visitor Counter Wrapper */

.visit-container {
    display: flex;
    justify-content: center;
}

.visit-count {
    
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(6px);
    font-size: 0.95rem;
    color: #e8f0f5;
    letter-spacing: 0.5px;
    animation: fadeInCounter 1s ease-in-out;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}


/* Number Styling */
.visit-count span {
    color: #0abf53;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 12px rgba(10, 191, 83, 0.8);
}

/* Optional Icon */
.visit-count i {
    font-size: 1.1rem;
    color: #fbdd94;
    filter: drop-shadow(0 0 4px rgba(251,221,148,0.6));
}

/* Animation */
@keyframes fadeInCounter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* =========================================
   Animations
========================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

