* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}


body {
  font-family: 'Segoe UI', sans-serif;
  background-color:white;
  color:#03042c;
 
}

/* header {
  position: static;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: -1rem;
  background-color:#03042c;
  z-index: 999;
  left: 0;
  top: 0;
   width: 100%;
} */
 
/* Sticky Header */
header {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: #03042c;
  margin-bottom: 10px;
}
.navbar {
  padding: 4px 16px !important;
  min-height: 50px;
}

.navbar-brand {
  padding-left: 8px;
}

/* Logo styling if needed */
.navbar-brand img {
  height: 40x;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
}

/* Navbar link styles */
.navbar-nav .nav-link {
  margin-left: 10px;
  margin-right: 20px;
  padding: 8px 12px;
  color: white !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #00aaff !important;
}

/* This is key: each section scrolls cleanly under the sticky header */
section {
  scroll-margin-top: 120px; /* Adjust depending on header height */
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Hero Section */
/* .hero-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
   padding: 4rem 0;
   margin-top: 20px
} */
 .hero-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2rem 1rem;  /* 🔽 Reduced padding */
  margin-top: 20px;
  align-items: center; /* ✅ Vertically align image and text */
}
 /* .left-section {
  margin-bottom: 2rem;
  
} */
 .left-section {
  flex: 1 1 50%;
  margin-bottom: 1rem;  /* 🔽 Reduced bottom margin */
}
.left-section h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
  margin-left: 10px;
  padding-left: 20px;
}
.left-section h2 {
  margin-left: 10px;
  padding-left: 20px;
}
.left-section p {
  font-size: 1.1rem;
  margin-left: 10px;
  padding-left: 20px;
}
/* .right-section img {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  border-radius: 15px;
  margin-right: 10px;
} */
 .right-section img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-width: 600px;  /* 🔽 Reduced image size slightly */
  border-radius: 15px;
  margin: 0;
  margin-right: 20px;
}
/* HERO SECTION */

.right-section {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 20px;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;     /* Align image and text to the top */
  justify-content: space-between;
  padding: 2rem 1rem;
  gap: 1rem;
  scroll-margin-top: 100px;
}

/* About Image */
.about-image {
  flex: 1 1 300px;
  max-width: 300px;
  max-height: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 15px;
  object-fit: contain;
  margin-left: 20px;
}
.about-text {
  flex: 2 1 500px;
  font-size: 1.05rem;
  text-align: justify;
  margin-right: 50px;
  
}
.about-text h2 {
  margin-top: 20px;   
  column-gap:  0%;
  margin-bottom: 0%;
}
/* Services Section */
.services-section {
  text-align: center;
  scroll-margin-top: 100px;
}
.services-section
.services-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 4.5rem;
}

.service img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}
.service p {
  margin-top: 10px;
  margin-bottom: 0%;
}

.services-grid a.service {
  text-decoration: none;
  color: black;
  text-align: center;
  transition: transform 0.3s ease;
}

.services-grid a.service:hover {
  transform: scale(1.05);
  color: #00aaff;
}
/* Blog Section */
.blog-section {
  background-color:white;
  text-align: center;
  scroll-margin-top: 100px;
}

.blog-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5rem;
  margin-top: 2rem;
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  flex: 0 0 280px;
  background-color:#03042c;
  border: 1px solid hsl(240, 17%, 93%);
  border-radius: 10px;
  padding: 60px;
  text-align: left;
  color: hsl(240, 17%, 94%);
  

}
.blog-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile img:first-child {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profile > div {
  flex: 1;
  margin-left: 10px;
}

.profile h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.profile p {
  margin: 0;
  font-size: 12px;
  color:#03042c;
}

.google-icon {
  width: 20px;
  height: 20px;
}

.stars {
  margin-top: 10px;
  font-size: 16px;
  color: gold;
}

.verified {
  color: #1976d2;
  font-weight: bold;
  margin-left: 5px;
}

.review {
  margin-top: 10px;
  font-size: 14px;
  color:white;
}

/* Contact Section */
.contact-section {
  text-align: center;
  scroll-margin-top: 80px;
}

.contact-container {
  display: flex;
  align-items: center;
   width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  
}
.contact-left {
  flex: 4;

}

.contact-left h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-left p {
  margin: 0.5rem 0 1rem;
  font-size: 1.1rem;
}
.contact-btn {
  padding: 0.8rem 2rem;
  background-color: transparent;
  border: 2px solid #00aaff;
  color: black; /* Changed from white to black */
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: 0.3s ease;
}

.contact-btn:hover {
  background-color: #00aaff;
  color: #021f2a;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  justify-content: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #021f2a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.social-icons a:hover {
  background-color: #00aaff;
  color: white;
}
/* Social Media Icon Colors */
.fa-facebook {
  color: #1877F2 !important;
}

.fa-instagram {
  color: #E4405F !important; 
}

.fa-linkedin {
  color: #0A66C2 !important;
}

.fa-github {
  color: #333333 !important;
}

/* Optional: Add hover effect */
.fa-facebook:hover,
.fa-instagram:hover,
.fa-linkedin:hover,
.fa-github:hover {
  opacity: 0.8;
  transform: scale(1.1);
  transition: 0.2s ease;
}



.contact-right-img {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}
  .fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: whitesmoke;
  color: #0d6efd;
  border: none;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fab-options {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}


.fab-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
  font-size: 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fab-option:hover {
  transform: scale(1.1);
}

/* Base animation styles */
.animate-on-scroll {
  opacity: 0;
  transform: scale(0.8);
  filter: blur(4px);
  transition: all 1.2s ease-out; /* Slower effect */
  will-change: opacity, transform;
}

/* When element is in view */
.animate-on-scroll.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Delay classes for staggered effect */
.animate-delay-1 { transition-delay: 0.3s; }
.animate-delay-2 { transition-delay: 0.6s; }
.animate-delay-3 { transition-delay: 0.9s; }
.animate-delay-4 { transition-delay: 1.2s; }
.animate-delay-5 { transition-delay: 1.5s; }




/* Responsive for Mobile */
  @media (max-width: 768px) {
    .contact-container {
      flex-direction: column;
      text-align: center;
    }
  
    .contact-right {
      order: 2;
    }
  
    .contact-left {
      order: 1;
    }
  }
  @media (max-width: 768px) {
  
.about-image {
    width: 400px;
    
    box-sizing: border-box;
    justify-content: center;
    margin-left: 0%;
    
  }
  about-text h2{
    padding-left: 10px;
  }
  .about-text{
    text-align: justify;
    justify-content: center;
    margin-right: 0%;
   
  }
}
@media (max-width: 768px) {
  .contact-section {
    padding: 1.5rem;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    margin-bottom: 1rem;
  }

  .contact-right-img {
    width: 100%;
    height: auto;
    max-width: 400px;
  }

  /* Don't center the icons */
  .contact-socials {
    display: flex;
    justify-content: center; /* or center/right if you prefer */
    gap: 1rem;
    margin-top: 1rem;
  }
}
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  .hero-section h1,
  .hero-section h2,
  .hero-section p {
    padding: 0 1rem;
  }

  .hero-section .left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-section .right-section img {
    width: 100%;
    max-width: 300px;
    margin-left: 20px;
  }
}
