:root {
  --brand1: #060f1a; /* Deep blue */
  --brand2: #56a66f; /* Green */
  --brand3: #899CA4; /* Neutral gray */
  --brand-gradient: linear-gradient(135deg, var(--brand1), var(--brand2));
  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: #222;
  background: #fff;
  margin: 0;
}

/* Navbar styling */
.navbar {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding: 0.5rem 0;
}

/* Brand logo */
.navbar-logo {
     width: auto;
    height: 100px;
  object-fit: contain;
  max-height: 80px;   /* Prevent overflow */
  transition: width 0.3s; /* Smooth resizing */
}

/* Navbar links */
.nav-link {
  color: var(--brand1);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand2);
}

/* Button styling */
.btn-outline-primary {
  border-color: var(--brand1);
  color: var(--brand1);
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
}

/* Responsive adjustments */
/* Tablet */
@media (max-width: 991px) {
  .navbar-logo {
    width: 90px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .navbar-logo {
    width: 250px;
  }
  .btn-outline-primary {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
  .navbar-nav {
    text-align: center;
  }
}

/* Hero */
.hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(120deg, rgba(44,94,151,.1), rgba(86,166,111,.08));
}
.hero h1 { 
  color: var(--brand1);
  font-size: clamp(1.75rem, 4vw, 3rem);
}
.hero p.lead { 
  color: var(--brand3); 
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-top: 1rem;
}

/* Buttons */
.btn-primary {
  background: var(--brand-gradient);
  border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44,94,151,.3);
}
.btn-light {
  background: #fff;
  color: var(--brand1);
  border: none;
}
.btn-light:hover {
  background: var(--brand2);
  color: #fff;
}

/* Features */
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(44,94,151,.08);
  color: var(--brand1);
  font-size: 1.2rem;
}

/* Cards */
.card {
  border: none;
  border-radius: .75rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.card h3 { 
  color: var(--brand1);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Services section */
#services {
  background: linear-gradient(135deg, rgba(44,94,151,.03), rgba(86,166,111,.03));
  padding: 4rem 1rem;
}
#services h2 {
  color: var(--brand1);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 2rem;
}
#services a.small {
  color: var(--brand2);
  font-weight: 500;
  text-decoration: none;
  transition: color .3s;
}
#services a.small:hover {
  color: var(--brand1);
  text-decoration: underline;
}
#services .card {
  border-radius: 1rem;
  transition: all .35s ease;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
#services .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(44,94,151,.15);
}
#services .card-body {
  padding: 1.5rem;
}
#services h3 {
  font-weight: 600;
  color: var(--brand1);
}
#services p {
  color: var(--brand3);
  font-size: 0.9rem;
}

/* Projects / Success Stories */
#projects {
  background: linear-gradient(135deg, rgba(44,94,151,.02), rgba(86,166,111,.02));
  padding: 4rem 1rem;
}
#projects h2 {
  color: var(--brand1);
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}
#projects .card {
  border-radius: 1rem;
  transition: all .35s ease;
  margin-bottom: 1.5rem;
}
#projects .card-illu {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}
#projects .card:hover .card-illu {
  transform: scale(1.05);
}
#projects figcaption {
  padding: 1rem;
  color: var(--brand3);
  font-size: 0.9rem;
}

/* Contact section */
#contact {
  background: var(--brand-gradient);
  padding: 4rem 1rem;
  text-align: center;
}
#contact h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
#contact p { color: rgba(255,255,255,.8); }
#contact form {
  border: 2px solid rgba(44,94,151,.1);
  background: #fff;
  border-radius: .75rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 1.5rem;
  text-align: center;
}
footer a {
  color: var(--brand1);
  text-decoration: none;
}
footer a:hover { color: var(--brand2); }

/* --- Responsive Tweaks --- */
@media (min-width: 768px) {
  .hero { min-height: 75vh; padding: 4rem 2rem; }
  #services, #projects, #contact { padding: 5rem 2rem; }
}

@media (min-width: 992px) {
  .hero { min-height: 80vh; }
  #services .card-body { padding: 2rem; }
  #projects .card-illu { height: 250px; }
}
.stretched-link {
  display: inline-block;
  padding: 0.6rem 1.6rem;      
  border-radius: 50px;          /* pill shape */
  background: var(--brand-gradient);
  color: #fff;                  /* text color */
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(44,94,151,0.2);
}

.stretched-link:hover,
.stretched-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(44,94,151,0.3);
  text-decoration: none;
}



 /* ABOUTUS PAGE */

    /* Hero Section */
    .AboutPage .hero-section {
       background: linear-gradient(rgba(6,15,26,0.8), rgba(86,166,111,0.8)),
                  url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1920&q=80')
                  center/cover no-repeat;
      color: #fff;
      padding: 130px 20px;
      text-align: center;
    }
    .AboutPage .hero-section h1 {
      font-size: 3rem;
      font-weight: 800;
    }
    .AboutPage .hero-section p {
      font-size: 1.2rem;
      margin-top: 15px;
      max-width: 750px;
      margin-left: auto;
      margin-right: auto;
    }

    /* About Section */
    .AboutPage .about-section {
      padding: 80px 0;
    }
    .AboutPage .about-section h2 {
      font-weight: 700;
      color: var(--brand1);
      margin-bottom: 20px;
    }
    .AboutPage .about-section p {
      font-size: 1.05rem;
      color: #555;
      line-height: 1.7;
    }

    /* Mission & Vision */
    .AboutPage .mission-vision {
      background: #f9f9f9;
      padding: 80px 0;
    }
    .AboutPage .mv-card {
      background: #fff;
      padding: 30px;
      border-radius: 16px;
      border: 1px solid #eee;
      text-align: center;
      transition: 0.3s;
    }
    .AboutPage .mv-card:hover {
      box-shadow: 0 12px 28px rgba(0,0,0,0.08);
      transform: translateY(-6px);
    }
    .AboutPage .mv-card i {
      font-size: 2.4rem;
      color: var(--brand2);
      margin-bottom: 15px;
    }
    .AboutPage .mv-card h5 {
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--brand1);
    }

    /* Values */
    .AboutPage .values {
      padding: 80px 0;
    }
    .AboutPage .value-card {
      text-align: center;
      padding: 25px;
    }
    .AboutPage .value-card i {
      font-size: 2.2rem;
      color: var(--brand2);
      margin-bottom: 12px;
    }
    .AboutPage .value-card h6 {
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--brand1);
    }
    .AboutPage .value-card p {
      font-size: 0.95rem;
      color: #555;
    }




    /* ServicesPage */
      .ServicesPage body {
      font-family: var(--font);
      color: #222;
      background: #fff;
      margin: 0;
    }

    /* Hero Section */
    .ServicesPage .hero-section {
      background: linear-gradient(rgba(6,15,26,0.8), rgba(86,166,111,0.8)),
                  url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1920&q=80')
                  center/cover no-repeat;
      color: #fff;
      padding: 120px 20px;
      text-align: center;
    }
    .ServicesPage .hero-section h1 {
      font-weight: 800;
      font-size: 2.8rem;
    }
    .ServicesPage .hero-section p {
      max-width: 700px;
      margin: 15px auto 0;
      font-size: 1.15rem;
    }

    /* Services Section */
    .ServicesPage .services-page {
      padding: 80px 0;
    }
    .ServicesPage .service-card {
      background: #fff;
      border-radius: 16px;
      padding: 30px;
      border: 1px solid #eee;
      transition: all 0.3s ease;
      text-align: center;
    }
    .ServicesPage .service-card:hover {
      transform: translateY(-10px);
      border-color: var(--brand2);
      box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    }
    .ServicesPage .service-card .icon {
      font-size: 2.6rem;
      margin-bottom: 20px;
      background: var(--brand-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .ServicesPage .service-card h5 {
      font-weight: 700;
      margin-bottom: 14px;
      color: var(--brand1);
    }
    .ServicesPage .service-card p {
      font-size: 0.95rem;
      margin-bottom: 18px;
      color: #555;
      line-height: 1.6;
    }
    .ServicesPage .service-card ul {
      text-align: left;
      padding: 0;
      margin: 0 0 20px;
      list-style: none;
      font-size: 0.9rem;
      color: #444;
    }
    .ServicesPage .service-card ul li {
      margin-bottom: 6px;
      padding-left: 18px;
      position: relative;
    }
    .ServicesPage .service-card ul li::before {
      content: "\f00c";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      left: 0;
      color: var(--brand2);
    }

    /* Brand Buttons */
    .ServicesPage .btn {
      font-weight: 600;
      padding: 8px 20px;
      border: none;
      transition: all 0.3s ease;
    }
    .ServicesPage .btn-primary {
      background: var(--brand-gradient);
      color: #fff;
    }
    .ServicesPage .btn-primary:hover {
      background: var(--brand2);
      color: #fff;
    }
    .ServicesPage .btn-success {
      background: var(--brand2);
      border: none;
    }
    .ServicesPage .btn-success:hover {
      background: #44945c;
    }
    .ServicesPage .btn-dark {
      background: var(--brand1);
      color: #fff;
    }
    .ServicesPage .btn-dark:hover {
      background: #0d1c2d;
    }


/* ProJectsPage */
/* Hero Section */
   .ProjectPage .hero {
  background: linear-gradient(rgba(6,15,26,0.8), rgba(86,166,111,0.8)),
              url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1920&q=80') 
              center/cover no-repeat;
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
    .ProjectPage .hero h1 { font-weight: 800; font-size: 3rem ; color: #fff }
    .ProjectPage .hero p { max-width: 700px; margin: 1rem auto 0; font-size: 1.2rem; color: #eaeaea; }

    /* Projects Carousel */
    .ProjectPage .projects { padding: 4rem 0; }
    .ProjectPage .projects h2 { text-align: center; margin-bottom: 3rem; font-weight: 700; color: var(--brand1); }

    /* Project Card */
    .ProjectPage .project-card { border: none; border-radius: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; background: #fff; }
    .ProjectPage .project-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
    .ProjectPage .project-card img { height: 180px; object-fit: cover; width: 100%; }
    .ProjectPage .card-body { padding: 1.25rem; }
    .ProjectPage .card-title { font-size: 1.2rem; font-weight: 700; color: var(--brand1); }
    .ProjectPage .card-text { font-size: 0.9rem; color: var(--brand3); margin-bottom: 0.8rem; }
    .ProjectPage .badge { background: var(--brand2); font-size: 0.7rem; padding: 0.3em 0.6em; border-radius: 0.5rem; }
    .ProjectPage .btn-brand { background: var(--brand1); color: #fff; border-radius: 50px; padding: 0.5rem 1rem; font-size: 0.85rem; transition: 0.3s; }
    .ProjectPage .btn-brand:hover { background: var(--brand2); color: #fff; }
    .ProjectPage .project-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--brand3); margin-top: 0.5rem; margin-bottom: 0.8rem; }
    .ProjectPage .reviews { font-size: 0.85rem; color: #444; margin-top: 0.5rem; }
    .ProjectPage .reviews i { color: #fbc02d; margin-right: 2px; }
    .ProjectPage .carousel-control-prev-icon,
    .ProjectPage .carousel-control-next-icon { background-size: 100%, 100%; border-radius: 50%; padding: 1rem; background-color: rgba(0,0,0,0.5); }




    /* ContactUsPage */


.contactpage .hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: linear-gradient(rgba(6,15,26,0.8), rgba(86,166,111,0.8)),
              url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1920&q=80')
              center/cover no-repeat;
  color: #fff;
  padding: 6rem 2rem;
  min-height: 400px;
  text-align: center; /* Center-align text */
}

.contactpage .hero-content {
  flex: 1 1 500px;
  max-width: 600px;
  margin: 1rem;
  color: #fff; /* Ensure text is white */
}

.contactpage .hero-content h1 {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contactpage .hero-content p {
  font-size: 1.2rem;
  color: #fff;
}

.contactpage .hero-image {
  flex: 1 1 400px;
  max-width: 450px;
  margin: 1rem;
}

.contactpage .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .contactpage .hero {
    flex-direction: column;
    text-align: center; /* Center-align for mobile */
  }
  
  .contactpage .hero-content, 
  .contactpage .hero-image {
    max-width: 100%;
    margin: 0.5rem 0;
  }
  
  .contactpage .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .contactpage .hero-content p {
    font-size: 1rem;
  }
}


    /* Contact Info Cards */
    .contactpage .contact-info {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 3rem;
    }
    .contactpage .contact-card {
      background: #fff;
      border-radius: 1rem;
      padding: 2rem;
      flex: 1 1 250px;
      text-align: center;
      box-shadow: 0 6px 18px rgba(0,0,0,0.08);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .contactpage .contact-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }
    .contactpage .contact-card i {
      font-size: 2rem;
      color: var(--brand2);
      margin-bottom: 1rem;
    }
    .contactpage .contact-card h5 {
      font-weight: 700;
      margin-bottom: 0.5rem;
    }
    .contactpage .contact-card p {
      font-size: 0.9rem;
      color: var(--brand3);
      margin-bottom: 0;
    }


    /* Map */
    .contactpage .map iframe {
      width: 100%;
      border-radius: 1rem;
      height: 400px;
      border: none;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .contactpage .contact-info {
        flex-direction: column;
      }
    }





/* Floating buttons */

/* Floating Container */
.social-float {
  position: fixed;
  bottom: 59px;
  right: 49px;
  width: 60px;
  height: 60px;
  z-index: 9999;
}

/* Main Button */
.social-main-btn {
  background: var(--brand-gradient);
  border: none;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.social-main-btn:hover {
  transform: scale(1.1) rotate(45deg);
}

/* Social Buttons Container */
.social-buttons {
  position: absolute;
  top: 11%;
  left: 5%;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Individual buttons */
.social-buttons a {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--brand1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  pointer-events: auto;
}

.social-buttons a:hover {
  background: var(--brand2);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Active state - consistent circular layout for all devices */
.social-float.active .social-buttons a:nth-child(1) { transform: translate(0, -60px) scale(1); }
.social-float.active .social-buttons a:nth-child(2) { transform: translate(52px, -30px) scale(1); }
.social-float.active .social-buttons a:nth-child(3) { transform: translate(52px, 30px) scale(1); }
.social-float.active .social-buttons a:nth-child(4) { transform: translate(0, 60px) scale(1); }
.social-float.active .social-buttons a:nth-child(5) { transform: translate(-52px, 30px) scale(1); }
.social-float.active .social-buttons a:nth-child(6) { transform: translate(-52px, -30px) scale(1); }

/* ✅ Keep same layout for mobile & tablet */
@media (max-width: 1024px) {
  .social-float { bottom: 40px; right: 25px; }
  .social-main-btn { width: 55px; height: 55px; font-size: 22px; }
  .social-buttons a { width: 45px; height: 45px; font-size: 18px; }

  /* same circular spread (no layout change) */
  .social-float.active .social-buttons a:nth-child(1) { transform: translate(0, -60px) scale(1); }
  .social-float.active .social-buttons a:nth-child(2) { transform: translate(52px, -30px) scale(1); }
  .social-float.active .social-buttons a:nth-child(3) { transform: translate(52px, 30px) scale(1); }
  .social-float.active .social-buttons a:nth-child(4) { transform: translate(0, 60px) scale(1); }
  .social-float.active .social-buttons a:nth-child(5) { transform: translate(-52px, 30px) scale(1); }
  .social-float.active .social-buttons a:nth-child(6) { transform: translate(-52px, -30px) scale(1); }
}

