/* =========================================
   GLOBAL RESET & BASE
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #ffffff;
  color: #1e90ff;
  line-height: 1.6;
}

/* =========================================
   HEADER
========================================= */
.header {
  width: 100%;
  background-color: #1e90ff;
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  padding: 12px 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.header:hover {
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.header .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  height: 50px;
  object-fit: contain;
}

.header nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.header nav ul li a:hover,
.header nav ul li a.active {
  background-color: #ff3b3f;
  color: #ffffff;
}

/* MOBILE NAV */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .header nav ul {
    display: none;
    flex-direction: column;
    background: #1e90ff;
    width: 220px;
    padding: 15px 0;
    position: absolute;
    right: 0;
    top: 65px;
    border-radius: 0 0 10px 10px;
  }
  .menu-toggle.active + nav ul {
    display: flex;
  }
}

/* =========================================
   HERO SECTION
========================================= */
/* =========================================
   HERO SECTION - PRO LEVEL
========================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #ff3b3f, #1e90ff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
  font-family: 'Poppins', sans-serif;
}

/* Hero Canvas for animation (if any) */
#heroCanvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Hero Text Card */
.hero-text-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
  padding: 50px 40px;
  border-radius: 30px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25), 0 10px 30px rgba(255, 59, 63, 0.2);
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

/* Hero Card Hover */
.hero-text-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 35px 80px rgba(0,0,0,0.3), 0 15px 40px rgba(255, 59, 63, 0.3);
}

/* Hero Heading */
.hero-text-card h1 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 25px;
  color: #ff3b3f;
  text-shadow: 0 6px 20px rgba(0,0,0,0.25);
  animation: fadeUp 1.2s ease forwards;
}

/* Hero Paragraph */
.hero-text-card p {
  font-size: 1.25rem;
  color: #1e90ff;
  line-height: 1.6;
  margin-bottom: 35px;
  animation: fadeUp 1.5s ease forwards;
  opacity: 0;
}

/* Hero Button */
.hero-text-card .hero-btn {
  background: linear-gradient(90deg, #ff3b3f, #1e90ff);
  color: #ffffff;
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-text-card .hero-btn:hover {
  background: linear-gradient(90deg, #1e90ff, #ff3b3f);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* Floating Animation for Hero Card */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Fade Up Animation */
@keyframes fadeUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-text-card {
    padding: 40px 30px;
    max-width: 500px;
  }
  .hero-text-card h1 {
    font-size: 2.8rem;
  }
  .hero-text-card p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-text-card {
    width: 90%;
    padding: 30px 25px;
  }
  .hero-text-card h1 {
    font-size: 2.2rem;
  }
  .hero-text-card p {
    font-size: 1rem;
  }
}


/* =========================================
   ABOUT SECTION
========================================= */
.about-preview {
  padding: 100px 20px;
  background: #ffffff;
  text-align: center;
}

.about-preview p {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
  color: #1e90ff;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #ff3b3f;
  color: #ff3b3f;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin-top: 25px;
}

.btn-outline:hover {
  background: #ff3b3f;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
}

/* =========================================
   SERVICES SECTION
========================================= */
.services, .services-preview {
  padding: 80px 20px;
  background: #f5f5f5;
  text-align: center;
}

.services h2, .services-preview h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #ff3b3f;
  font-weight: 800;
}

.services-grid, .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.service-card h3 {
  font-size: 1.5rem;
  color: #ff3b3f;
  margin-bottom: 15px;
}

.service-card p {
  color: #1e90ff;
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================
   TEAM SECTION
========================================= */
.team-section {
  padding: 100px 20px;
  background: #ffffff;
  text-align: center;
}

.team-section h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #1e90ff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.team-member {
  background: #ff3b3f;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.team-member img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-bottom: 2px solid #ffffff;
}

.team-member h3 {
  margin: 15px 0 5px;
  color: #ffffff;
  font-size: 1.4rem;
}

.team-member .title {
  color: #1e90ff;
  margin-bottom: 20px;
}

/* =========================================
   GALLERY
========================================= */
.gallery {
  width: 90%;
  margin: 50px auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: #1e90ff;
  color: #ffffff;
  padding: 50px 20px;
  text-align: center;
}

.footer-links a {
  color: #ffffff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ff3b3f;
}

/* =========================================
   WHATSAPP FLOAT BUTTON
========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #ff3b3f;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 100;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
  .hero-text-card {
    width: 90%;
    padding: 30px 20px;
  }

  .hero-text-card h1 {
    font-size: 2.2rem;
  }

  .hero-text-card p {
    font-size: 1rem;
  }

  .services-grid, .service-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   ABOUT IMAGE
========================================= */
.about-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 50px 0; /* spacing above and below */
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image img {
  width: 100%;
  max-width: 900px; /* optional max width */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* Hover Effect */
.about-image:hover img {
  transform: scale(1.05) rotate(0.5deg);
  filter: brightness(1.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-image {
    margin: 40px 0;
  }
  .about-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .about-image {
    margin: 30px 0;
  }
  .about-image img {
    max-width: 100%;
    border-radius: 15px;
  }
}
/* Reduce team member images by 1/10 */
.team-member img {
  width: 90%;      /* 90% of original width */
  height: auto;    /* maintain aspect ratio */
  display: block;
  margin: 0 auto;  /* center images */
  border-radius: 10px; /* optional: rounded corners */
  transition: 0.3s;    /* smooth resizing if needed */
}

.team-member img:hover {
  transform: scale(1.05); /* optional hover effect */
}
/* ===== FOOTER ===== */
.footer {
  background-color: #1e90ff; /* primary color */
  color: #ffffff;
  padding: 50px 0 20px;
  font-size: 0.95rem;
  position: relative;
}

.footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 90%;
  margin: auto;
  gap: 30px;
}

.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #f0f0f0;
  max-width: 200px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ff3b3f;
}

.footer p.copyright {
  text-align: center;
  margin-top: 25px;
  font-size: 0.85rem;
  color: #e0e0e0;
}

/* ===== BACK TO TOP BUTTON ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ff3b3f;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
}

#backToTop:hover {
  background-color: #1e90ff;
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
/* ===== MISSION & VISION ===== */
.mission-vision {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.mission-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.mission-vision .card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  max-width: 350px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mission-vision .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.mission-vision h3 {
  color: #1e90ff;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.mission-vision p {
  color: #333333;
  line-height: 1.6;
  font-size: 1rem;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
  background-color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.why-choose h2 {
  font-size: 2.5rem;
  color: #ff3b3f;
  margin-bottom: 50px;
}

.choose-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.choose-card {
  background: #1e90ff;
  color: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  max-width: 300px;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.choose-card:hover {
  transform: translateY(-8px) scale(1.05);
  background: #ff3b3f;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.choose-card h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.choose-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .mission-grid, .choose-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .mission-vision h3, .choose-card h4 {
    font-size: 1.3rem;
  }
  .why-choose h2 {
    font-size: 2rem;
  }
}
/* ===== ABOUT TEXT ===== */
.about-text {
  max-width: 600px;
  margin: 0 auto 50px auto;
  text-align: center;
  padding: 20px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #ff3b3f; /* bright heading color */
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 1px 2px 5px rgba(0,0,0,0.1);
}

.about-text p {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Optional subtle hover effect for paragraphs */
.about-text p:hover {
  color: #1e90ff;
  transition: color 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-text h2 {
    font-size: 2rem;
  }
  .about-text p {
    font-size: 1rem;
  }
}
/* ====== SERVICES SECTION ====== */
.services {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1a73e8;
}

/* Grid for cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Individual cards */
.service-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Images inside cards */
.service-card img {
  width: 100%;
  height: 200px; /* fixed height for uniformity */
  object-fit: cover; /* maintain aspect ratio, crop excess */
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Card headings */
.service-card h3 {
  font-size: 1.3rem;
  margin: 10px 0;
  color: #333;
}

/* Card paragraphs */
.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .service-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .services h2 {
    font-size: 2rem;
  }
  .service-card img {
    height: 150px;
  }
}
.responsive-image {
  display: block;        /* ensures no inline spacing issues */
  max-width: 100%;       /* scales down if needed to fit container */
  width: auto;           /* natural width, no forced stretching */
  height: auto;          /* natural height, keeps full aspect ratio */
  margin: 20px auto;     /* centers the image horizontally */
  border-radius: 0;      /* optional: keep sharp edges for full display */
  box-shadow: none;      /* optional: no shadow if you want pure image */
}
