/* Global Styles */
body,
html {
  font-family: "Inter", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #cccccc;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
  /* background-color: #10151c; */
}

h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  color: #f0f0f0;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 34px;
  color: #00c6ff;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #f0f0f0;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  color: #f0f0f0;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
  color: #999;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: #bbb;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #00c6ff;
  font-weight: 500;
}

a:hover,
a:focus {
  text-decoration: underline;
  color: #4e26ff;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  background: #00c6ff;
  margin-bottom: 20px;
  border: 0;
}

/* Navbar -- Blackbox AI */

/* Navbar Styles */
#menu {
  padding: 1.2rem;
  background-color: #5784ed;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  border: none;
}

#menu .navbar-brand {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 750;
  color: #ffffff;
  text-transform: uppercase;
}

#menu .navbar-nav .nav-link {
  font-family: "Inter", sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
  color: #0b0b0b;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

#menu .navbar-nav .nav-link:hover {
  background-color: #511bf2;
  color: white;
}

#menu .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #00c6ff;
  transition: width 0.3s ease-in-out;
  font-size: 1.45rem;
}

#menu .navbar-nav .nav-link:hover::after {
  width: 80%;
}

.dropdown-menu {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  border: 1px solid #e0e0e0;
}

.dropdown-item {
  color: #0b0b0b;
  font-weight: 500;
  font-size: 1.5rem;
}

.dropdown-item:hover {
  background-color: #d6e0ff;
  color: #000;
}

/* Mobile navbar */
.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0, 0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22' /%3e%3c/svg%3e");
}


/* Section Title */
.section-title {
  margin-bottom: 70px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: #00c6ff;
  height: .4rem;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

.section-title p {
  font-size: 17px;
  color: #aaa;
}

/* Custom Button */
.btn-custom {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  border: none;
}

.btn-custom:hover {
  background: #0072ff;
  color: #fff;
}

/* Header Section */
.intro {
  margin-top: -20rem;
  display: table;
  width: 100%;
  padding: 10;
  /* background: url(../img/intro-bg.jpg) center center no-repeat; */
  background-color: #dde0e6;
  background-size: contain;
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.5);
}

.intro h1 {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  font-size: 72px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.intro h1 span {
  font-weight: 900;
  color: #00c6ff;
}

.intro p {
  color: #dddddd;
  font-size: 20px;
  font-weight: 300;
  justify-content: justify;
}

header .intro-text {
  padding-top: 10rem;
  padding-bottom: 6rem;
  text-align: left;
}

/* Features Section */
#features {
  background: #171d25;
  padding: 80px 0;
}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #ffffff;
  width: 90px;
  height: 90px;
  padding: 28px 0;
  border-radius: 50%;
  background: #00c6ff;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.2);
}

/* About Section */
#about {
  padding: 100px 0;
  background: #10151c;
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
  color: #ffffff;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#about h2::after {
  position: absolute;
  content: "";
  background: #00c6ff;
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}

#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
  color: #ccc;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #00c6ff;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

#about img {
  width: 520px;
  margin-top: 10px;
  background: #1c1f2b;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 198, 255, 0.1);
}

#about p {
  line-height: 24px;
  margin: 30px 0;
  color: #bbb;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}
/* Services Section */
#services {
  padding: 100px 0;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #f0f0f0;
}
#services .service-desc {
  margin: 10px 10px 20px;
}
#services h2 {
  color: #ffffff;
}
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.5);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: #ffffff10;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
#services h3 {
  font-weight: 600;
  padding: 5px 0;
  color: #fefefe;
}
#services p {
  color: #e1e1e1;
}
#services .service-desc {
  margin-bottom: 40px;
}

/* Portfolio Section */
/* #portfolio {
  padding: 100px 0;
  background: #ffffff;
}
.portfolio-item {
  margin: 10px 15px 0 14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
} */
 
/* Gallery Section */
#portfolio {
  padding: 10px 0;
  background: #ffffff;
}

/* Grid layout for thumbnails */
.portfolio-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.portfolio-item {
  flex: 1 1 calc(33.333% - 40px); /* 3 columns with gap accounted */
  max-width: calc(33.333% - 40px);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .portfolio-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .portfolio-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Thumbnail Wrapper */
.hover-bg {
  width: 100%;
  height: 230px; /* Consistent thumbnail height */
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Thumbnail Image Styling */
.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Smart cropping */
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

/* Lightbox Modal Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain; /* Maintain aspect ratio in modal */
  border-radius: 8px;
  box-shadow: 0 0 10px #00000080;
}

.lightbox-caption {
  margin-top: 15px;
  color: #fff;
  font-size: 1.2rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 15px;
  border-radius: 4px;
  transition: background 0.2s;
}

.lightbox-close {
  top: 10px;
  right: 20px;
}

.lightbox-prev {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #ffffff;
  background: rgba(32, 58, 67, 0.85);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s ease;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  transform: translateY(100%);
  transition: all 0.3s ease;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}
.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  transform: translateY(0);
}
.hover-bg:hover .hover-text {
  opacity: 1;
}

/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f2f2f2;
}
#testimonials i {
  color: #ddd;
  font-size: 32px;
  margin-bottom: 20px;
}
.testimonial {
  position: relative;
  padding: 20px;
}
.testimonial-image {
  float: left;
  margin-right: 15px;
}
.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.testimonial-content {
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 15px;
  font-style: italic;
  color: #444;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

/* Team Section */
#team {
  padding: 100px 0;
  background: #ffffff;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #555;
}

/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right, #1c1c1c, #343434);
  color: #e0e0e0;
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.2);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: #ffffff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #ff4444;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
#contact .btn-custom:hover {
  background: #fff;
  color: #1c1c1c;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
}
#contact .form-control:focus {
  border-color: #5ca9fb;
  outline: 0;
}
.form-control::placeholder {
  color: #888;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: #fff;
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 15px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}
#contact .social i.fa:hover {
  background: #fff;
  color: #2c5364;
}

/* Footer Section */
#footer {
  background: #eeeeee;
  padding: 30px 0;
  text-align: center;
}
#footer p {
  color: #555;
  font-size: 14px;
  margin: 0;
}
#footer a {
  color: #2c5364;
  text-decoration: none;
}
#footer a:hover {
  border-bottom: 2px solid #2c5364;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}
@media (max-width: 992px) {
  #menu.navbar-default .navbar-nav > li > a {
    margin: 10px 5px 0;
  }
}


/* About section additional css */

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}
.about-section .container {
  position: relative;
  z-index: 2;
}

/* === About Section Styles === */
.about-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 80px 20px;
}

.about-section .overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #6d36e3;
  z-index: 1;
}

.about-section .content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.section-heading {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #ffdd57;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
}

.about-paragraph {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.carousel-container {
  margin-top: -1.6rem;
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.carousel-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.typewriter-container {
  position: absolute;
  top: 15rem;
  left: 5rem;
  z-index: 10;
  color: #00e0ff;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.typewriter-text {
  border-right: 2px solid #fff;
  white-space: wrap;
  overflow: hidden;
  animation: blinkCursor 0.7s step-end infinite;
}

@keyframes blinkCursor {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

@media (max-width: 768px) {
  .typewriter-container {
    top: 10%;
    left: 5%;
    font-size: 0.5rem;
    width: 90%;
  }

  .carousel-img {
    height: 60vh;
  }
}

/* Splash Page css */
.fade-in {
  animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.donate{
  padding: .1rem;
  background-color: #8ae522;
  border-radius: 5%;
}

/* Additional home page content */
/* Extra Section Styles */
.extra-section h2,
.core-values-section h2,
.commitment-section h2 {
  font-family: 'Segoe UI', sans-serif;
  color: #2c3e50;
}

.extra-section p,
.core-values-section p,
.commitment-section p {
  font-size: 1rem;
  line-height: 1.6;
}

.subtitle{
  font-size: 4rem;
}

.card h4,
.card h5 {
  color: #34495e;
}

.blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
}

.value-card {
  background: #fff;
  border-left: 5px solid #3498db;
  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: #2ecc71;
}

.commitment-section ul li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.commitment-section .card {
  background-color: #fefefe;
}

