/* ================================
   Global Theme Variables
================================ */
:root {
  --primary-1: #0a6799ff;
  --primary-2: #0d81c5ff;
  --accent-green: #A8C820;
  --white: #ffffff;
  --brand-font: "Quicksand", sans-serif;
  --primary-3:#3e6cb5;
  --primary-4:#3e6cb5;
}

/* ================================
   NAVBAR BASE
================================ */
.navbar {
  /* background: linear-gradient(to right, var(--primary-1), var(--primary-2)); */
  background-color:#0d4092;
  padding: 0.9rem 1.2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  height: 80px;
  transition: transform 0.25s ease;
}

.navbar-brand img:hover {
  transform: scale(1.03);
}

.navbar-center-heading {
  font-family: var(--brand-font);
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ================================
   NAV LINKS
================================ */
.navbar-nav .nav-link {
  font-family: var(--brand-font);
  font-weight: 500;
  color: var(--white) !important;
  font-size: 17px;
  padding: 8px 12px;
  transition: all 0.25s ease;
  border-radius: 5px;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-green) !important;
  /* background: rgba(255, 255, 255, 0.12); */
}

.navbar-nav .nav-link.active {
  color: var(--accent-green) !important;
  font-weight: 600;
  /* background: rgba(255, 255, 255, 0.15); */
}

/* ================================
   CALL BUTTON
================================ */
.btn-success {
  background: linear-gradient(90deg, #f33b0e, #e9370b);
  border: none;
  padding: 8px 22px;
  font-family: var(--brand-font);
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.btn-success:hover {
  background: linear-gradient(90deg, #8fbf1f, #7ea316);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* ================================
   RESPONSIVE — MOBILE (≤ 991px)
================================ */
@media (max-width: 991px) {
  .navbar {
    padding: 1rem;
  }

  .navbar-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .navbar-brand img {
    height: 60px;
  }

  .navbar-center-heading {
    margin-left: 0;
    font-size: 1.25rem;
    white-space: normal;
    line-height: 1.3;
  }

  .navbar-collapse {
    background: linear-gradient(to bottom, var(--primary-1), var(--primary-2));
    padding: 15px 12px;
    border-radius: 10px;
    margin-top: 10px;
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
    font-size: 16px;
  }

  .btn-success {
    width: 100%;
    margin-top: 8px;
  }
}

body {
    background: linear-gradient(to bottom, #cfdaec, #cfdaec) !important;
}


/* home page */
    .service-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: white;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}
.service-card:hover {
  border-color: #7AC142;
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.service-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,123,255,0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover .service-img::after {
  opacity: 1;
}
.service-content {
  padding: 20px;
  text-align: center;
}
.service-content h5 {
  font-weight: 700;
  color: #007BFF;
  margin-bottom: 10px;
}
.service-content p {
  font-size: 15px;
  color: #555;
  min-height: 60px;
}
.btn-service {
  display: inline-block;
  padding: 8px 18px;
  background: #7AC142;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  
}
.btn-service:hover {
  background: #007BFF;
}



/* ✅ Fix uneven client box height on mobile */
@media (max-width: 768px) {
  .client-card {
    height: 200px !important;               /* equal height for mobile */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
  }

}


.client-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  height: 250px; /* Fixed uniform height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.client-card img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.client-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
}







/* about section */
.lead{
background: linear-gradient(to right, var(--primary-3), var(--primary-4)) !important;  
/* color: #0A2A43; */
}

.missionvision{
    background: linear-gradient(90deg, #7AC142, #00B4D8); 
    color:white;
}

.missvis2{
    background: rgba(255,255,255,0.15); 
    backdrop-filter: blur(5px);
}


.core {
  background: #0d4092;       /* ✅ Solid Tech Blue */
  border-radius: 18px;
  padding: 25px 15px;
  height: 170px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.18);
}

.corehead {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.corehead i {
  margin-right: 6px;
  color: #fff;
}

.corefont {
  font-size: 0.95rem;
  opacity: 0.95;
}

/* Mobile Fix */
@media (max-width: 768px) {
  .core {
    height: auto;
    padding: 20px 15px;
  }
}


/*  Responsive fix for small screens */
@media (max-width: 768px) {
  .core {
    height: auto; /* allow text to expand */
    padding: 20px 10px;
  }

  .corehead {
    font-size: 18px;
  }

  .corefont {
    font-size: 15px;
  }
}

.call{
    /* background: linear-gradient(90deg, #007BFF, #000000); */
}



.card2{
    font-size: 22px;
    font-weight: 400 !important;
}

.card2head{
    font-size: 30px;
}

.card1{
    font-size: 22px;
    font-weight: 400 !important;
}

.call2 {
    background: linear-gradient(135deg, #007BFF, #0056D2);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    padding: 12px 28px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
}

.call2:hover {
    background: linear-gradient(135deg, #0056D2, #003E99);
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.6);
    transform: translateY(-3px);
}

section.cta-section {
    background: linear-gradient(135deg, #F8FAFF, #ECF2FF);
}






/* service page */

.hero{
    background: linear-gradient(to right, var(--primary-3), var(--primary-4)); 
    color:#0A2A43;
}

.servicegrid{
    background-color:#f9fafc;
}


.service-card2:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-img2 {
  height: 220px;
  background-size: cover;
  background-position: center;
  border: 3px solid #08eb8cff; 
  border-radius: 12px;
  margin: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}




.btn-service {
  margin-top: auto !important;      /* Push to bottom */
    margin-bottom: 10px !important;
  color: white;
  background-color: #7AC142;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-service:hover {
  background-color: #007BFF;
  color: white;
}




/* Equal height card */
.service-card2 {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e6e6e6;
    transition: 0.3s;
    height: 650px;               /* FIXED HEIGHT */
    
}


/* Content pushes button to bottom */
.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}


/* Fixed height description area */
.service-desc {
    height: 230px;               /* Adjust as needed */
    overflow: hidden;
    /* text-align: left;  */
}






/* contact page */
.contact{
    background-color:#f9fafc;
    color:#0A2A43;
}






/* blog page */
.blog{
    background: linear-gradient(to right, var(--primary-3), var(--primary-4));  
    color: #0A2A43;
}

.blogcontent{
    background:#f9fafc;
}

.blog-card img {
  max-height: 180px;
  object-fit: cover;
  width: 100%;
}

.card-text {
  max-height: 100px;
  overflow: hidden;
}

.sidebar {
  position: sticky;
  top: 20px;
}

 
 .btn-readmoreblog {
    width: 100px;
    padding: 6px 12px;
    font-size: 0.9rem;
}


.other-blog-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.other-blog-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e6e6e6;
}

.other-blog-list li:last-child {
  border-bottom: none;
}

.other-blog-list a {
  color: #007bff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: block;
  transition: 0.2s ease;
  text-decoration: underline !important;
}

.other-blog-list a:hover {
  text-decoration: underline !important;
  color: #0056b3;
  cursor: pointer;
}





/* Gallery page */
.galleryhero{
    background: linear-gradient(to right, var(--primary-3), var(--primary-4)); 
    color: #0A2A43;
}







/* event page */



.heroevent{
  background: linear-gradient(to right, var(--primary-3), var(--primary-4)); 
  color: #0A2A43;
}



.event-hero h1 {
  font-weight: 700;
  font-size: 2.5rem;
}

.event-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* 🟦 Section Headers */
.section-header {
  margin-top: 60px;
  margin-bottom: 30px;
}

.section-header h2 {
  font-weight: 700;
  margin-bottom: 8px;
}

.section-header p {
  color: #00030e !important;
  font-size: 0.95rem;
}

/* 📸 Event Cards */
.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ✍️ Card Content */
.blog-card .p-3 {
  flex-grow: 1;
}

.blog-card h5 {
  font-size: 1.1rem;
  color: #333;
  
}

.blog-card .text-muted {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 🗓️ Footer Details */
.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* 🎟️ Buttons */
.btn-primary,
.btn-success,
.btn-outline-secondary {
  border-radius: 20px;
  font-size: 0.85rem;
  padding: 5px 14px;
  transition: all 0.3s ease;
  background-color: #007ad1;
  color: #fcfcfc;
}

.btn-primary:hover {
  background-color: #007ad1;
}

.btn-success:hover {
  background-color: #078a50;
}

.btn-outline-secondary:hover {
  background-color: #A8C820 !important;
  color: rgb(0, 5, 4) !important;
}

/* 🧭 Modal Styling */
.modal-content {
  border-radius: 10px;
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
  padding: 1rem 1.5rem;
}

.modal-header h5 {
  font-weight: 600;
}

.modal-body {
  padding: 1.5rem;
}

.modal-body img {
  border-radius: 8px;
  margin-bottom: 15px;
}

.modal-body p strong {
  color: #33028f;
}

/* 📱 Responsive Tweaks */
@media (max-width: 767px) {
  .event-hero {
    padding: 60px 0;
  }

  .event-hero h1 {
    font-size: 2rem;
  }

  .blog-img {
    height: 180px;
  }

  .btn {
    font-size: 0.8rem;
  }
}















/* footer section  */
.footer {
  background: linear-gradient(135deg, #074485ff, #084383ff);
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
}

.footer h5, .footer h4 {
  color: #fff;
}

.footer p, .footer a {
  color: #f1f1f1;
  /* font-size: 14px; */
}

.footer .footer-link {
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer .footer-link:hover {
  color: #A8C820;
}

.footer .social-icons a {
  color: white;
  /* font-size: 18px; */
  transition: all 0.3s ease;
}

.footer .social-icons a:hover {
  color: #A8C820;
  transform: scale(1.2);
}

.footer hr {
  opacity: 0.3;
}


/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 130px;
  right: 85px;
  display: none;
  background: #A8C820;;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 15px 18px;
  /* font-size: 22px; */
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}
#scrollTopBtn:hover {
  transform: scale(1.1);
  background: #A8C820;;
}


/* ✅ Scroll to Top Button - mobile adjustment */
@media (max-width: 768px) {
  #scrollTopBtn {
    bottom: 25px;   /* closer to bottom */
    right: 20px;    /* stick to right side */
    padding: 12px 14px;
    font-size: 20px;
  }
}



/* ✅ Mobile view */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  /* Force left alignment only for address and quick links */
  .footer .col-md-4 {
    text-align: left !important;
  }

  /* Optional: Add some left padding for better readability */
  .footer .col-md-4 p,
  .footer .col-md-4 ul {
    padding-left: 10px;
  }
}

/* Footer typography scaling */


.footer h4,
.footer h5 {
    font-size: 23px;
}

.footer i {
    font-size: 22px;
}





/* Reviews  */
/* STAR RATING */
.star-rating input { display: none; }
.star-rating label {
    font-size: 32px;
    color: #d0d0d0;
    cursor: pointer;
    transition: 0.2s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f5b301;
}

/* FORM CARD */
.review-form-card {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* REVIEW CARD */
.review-card {
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}