:root {
  /* Main Theme */
  --primary: #10b981; /* Emerald Green */
  --primary-dark: #059669; /* Deep Forest Green */

  /* Secondary & accent */
  --secondary: #f59e0b; /* Lime Green */
  --accent: #8b5cf6; /* Teal-Green Accent */
  --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);

  /* Core Black + Neutral Support */
  --light: #f8fafc; /* Near White */
  --gray-50: #f9fafb;
              --dark-light: #1e293b;
            --dark: #0f172a;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-600: #475569;
            --gray-700: #334155;
  --white: #ffffff;
  --box-shadow-primary:0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  padding-top: 80px; /* prevents navbar from covering hero */
}

.font-serif {
  font-family: "Crimson Text", serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* Navigation */
.navbar {
  backdrop-filter: blur(20px);
  padding: 0.75rem 1rem; /* tighter padding for better mobile fit */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9); /* ensures contrast on hero */
}

/* Brand */
.navbar-brand {
  font-weight: 800;
  font-size: 1.25rem; /* slightly smaller for mobile */
  color: var(--dark) !important;
  transition: all 0.3s ease;
  white-space: nowrap; /* prevents brand text from breaking */
}
.navbar-brand i {
  color: var(--primary-dark);
}

/* Nav Links */
.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  margin: 0 0.5rem; /* reduced margin so links don’t overflow */
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
  width: 100%;
}

/* Responsive fixes */
@media (max-width: 992px) {
  .navbar-nav {
    text-align: center; /* center nav links in mobile menu */
    padding: 1rem 0;
  }
  .navbar-nav .nav-link {
    margin: 0.5rem 0; /* vertical spacing for collapsed menu */
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1rem; /* smaller on tablets */
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 0.9rem !important; /* even smaller on phones */
  }
}


@media (max-width: 576px) {
  .navbar-brand {
    white-space: normal; /* allow wrapping */
    font-size: 0.85rem;  /* smaller text */
  }
}



/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light) 0%, rgba(16, 185, 129, 0.05) 50%, var(--gray-100) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.6;
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: black;
  
}

.hero-badge {
  background:var(--gradient-primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2rem;
  animation: slideInUp 1s ease-out 0.3s both;
  
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: slideInUp 1s ease-out 0.5s both;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0.9;
  animation: slideInUp 1s ease-out 0.7s both;
  color: var(--gray-600);
}

.hero-description {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 3rem;
  max-width: 600px;
  animation: slideInUp 1s ease-out 0.9s both;
  color: var(--gray-600);
}

.hero-cta {
  animation: slideInUp 1s ease-out 1.1s both;
  display: flex;
}

.hero-visual {
  position: relative;
  animation: slideInUp 1s ease-out 0.3s both;
}

.hero-circle {
  width: 500px;
  height: 500px;
  
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;

  position: relative;
}

.hero-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;  /* makes sure the image fills the circle without distortion */
}


.hero-circle::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  
  border-radius: 50%;
  
}



@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-description {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
}


/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--box-shadow-primary);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

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

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-primary);
  color: white;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary);
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  color: var(--primary);
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  margin-left: 1rem;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-primary);
}


@media (max-width: 571px) {
  .btn-primary-custom {
    padding: 1rem 2rem !important; 
  }
}

/* Sections */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dark);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--gray-600);
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: var(--gray-50);
}

.about-content {
  background: white;
  border-radius: 30px;
  padding: 5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.about-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
  transform: translate(50px, -50px);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.content-text p {
  color: var(--gray-600) !important;
}

.profile-image {
  width: 200px;
  height: 200px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;   /* ensures the image fully covers the circle */
}


.profile-image::before {
  content: "";
  position: absolute;
  width: 110%;
  height: 110%;
  border: 3px solid var(--primary);
  border-radius: 50%;
    animation: slideInUp 1s ease-out 0.3s both;
}

.certification-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow-primary);
}



/* Services Section */
.services-section {
  background: white;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  gap: 3rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}


.service-card {
  background: var(--gray-50);
  border-radius: 25px;
  padding: 2rem 2.5rem 2rem 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  min-height: 100px; /* makes it rectangular, not square */
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  transform: translateX(-100%);
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  background: white;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .service-grid {
    grid-template-columns: 1fr; /* stack cards on mobile */
    gap: 1.5rem;
  }
}
@media (max-width: 992px) {
  .service-card {
    padding: 1.5rem 2rem;
  }
  .service-icon {
    width: 70px;
    height: 70px;
  }
  .service-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .service-card {
    padding: 1rem 1.5rem;
  }
  .service-icon {
    width: 60px;
    height: 60px;
  }
  .service-title {
    font-size: 1.25rem;
  }
}



/* Contact Section */
.contact-section {
  background: white;
}

.contact-content {
  background: var(--gray-50);
  border-radius: 30px;
  padding: 0 5rem 2rem 5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-item {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border-top: 4px solid var(--primary);
}

.contact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.social-link {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 3rem 0;
}

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-circle {
    width: 300px;
    height: 300px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about-content,
  .contact-content {
    padding: 3rem 2rem;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .service-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .btn-outline-custom {
    margin-left: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-circle {
    width: 250px;
    height: 250px;
  }

  .about-content,
  .contact-content {
    padding: 2rem 1.5rem;
  }

  .service-card {
    padding: 2rem;
  }
}

/** social media **/

/* Social Media - Professional Style */
/* Social Media - Professional Style */
.social-media {
  background: white;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.social-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.social-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.social-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-followers {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 0.5rem;
}

.social-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .social-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  .social-followers {
    font-size: 2rem;
  }
  .social-title {
    font-size: 1.1rem;
  }
}


/* Awards / Features Section */
.features-section {
  background: var(--gray-50);
  padding: 4rem 0;
}

/* Carousel container styling */
#carCarousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.carousel-img {
  width: 100%;
  height: 450px; /* default for desktop */
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  transition: all 0.3s ease;
}


/* Feature points styling */
.feature-point {
  padding: 1.5rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-point:hover {
  transform: translateY(-8px);
}

.feature-point i {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
   background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-point h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.feature-point p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}


@media (max-width: 992px) {
  .carousel-img {
    height: 350px; /* tablets */
  }
}

@media (max-width: 576px) {
  .carousel-img {
    height: 250px; /* mobile */
  }
}