/* =============================
   Global Styles
============================= */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #212529;
  margin: 0;
  padding: 0;
}

/* =============================
   Header & Logo
============================= */
header {
  background: linear-gradient(135deg, #0b0b0b, #1a1a1a);
  text-align: center;
  padding: 4rem 1rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 255, 204, 0.15), transparent 60%);
  pointer-events: none;
}

.logo {
  width: 420px;              /* Default size for large screens */
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.3));
  transition: all 0.3s ease-in-out;
}

/* Tablet (medium) */
@media (max-width: 992px) {
  .logo {
    width: 1500px;
  }
}

/* Mobile (small) */
@media (max-width: 576px) {
  .logo {
    width: 120px;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .logo {
    width: 100px;
  }
}

header h1 {
  font-size: 2.2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #00ffc4;
}

header p {
  font-size: 1rem;
  color: #ffffff;
}

/* =============================
   Custom "Designed By" line
============================= */
.designed-by {
  color: #ffffff !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
  margin-top: 0.5rem;
}


/* =============================
   Project Cards
============================= */
.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.project-card img {
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  height: 220px;
  width: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* =============================
   Buttons
============================= */
.btn-primary {
  background-color: #00c896;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #009e77;
  transform: scale(1.05);
}

.btn-light {
  color: #00ffc4;
  font-weight: 600;
}

.btn-light:hover {
  color: #00c896;
  background-color: #f8f9fa;
}

/* =============================
   CTA Section
============================= */
.cta-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  text-align: center;
  padding: 3rem 1rem;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* =============================
   Footer
============================= */
footer {
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 20px 0;
  font-size: 0.9rem;
  text-align: center;
}

/* =============================
   Responsive Adjustments
============================= */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }
  .cta-section h2 {
    font-size: 1.6rem;
  }
  .cta-section p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  header {
    padding: 3rem 1rem;
  }
  .project-card img {
    height: 200px;
  }
  .cta-section {
    padding: 2rem 1rem;
  }
}

/* =============================
   Project Logos
============================= */
.project-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.project-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(0,255,204,0.5));
}


/* =============================
   Project Thumbnails & Logos
============================= */
.project-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
  color: #fff;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 255, 204, 0.2);
}

.project-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-mini-logo {
  display: block;
  width: auto;              /* allows custom control */
  height: auto;             /* keeps proportions */
  max-width: none;          /* removes Bootstrap limit */
  max-height: none;         /* no height restriction */
  object-fit: contain;
  background-color: #fff;
  border-radius: 10px;
  padding: 5px;
  margin: 0 auto 10px;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.project-mini-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.6);
}



.card-title {
  color: #000000;
}

.card-text {
  color: #ccc;
}

/* 🔹 Responsive adjustments */
@media (max-width: 992px) {
  .project-mini-logo {
    width: 80px;
  }
}

@media (max-width: 768px) {
  .project-mini-logo {
    width: 70px;
  }
}

@media (max-width: 576px) {
  .project-mini-logo {
    width: 60px;
  }
}
