:root {
  --teal: #00cfcf;
  --dark: #0b0b0b;
  --muted: #6c757d;
  
  --font-family: 'Inter', sans-serif;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}
.about-us-section {
  padding: 90px 0;
  background: #f9fbff;
  overflow: hidden;
}

.about-us-section .about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-text {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-text h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: #000;
  line-height: 1.3;
}

.company-name {
  color: #00cfcf;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Desktop spacing between image and text */
@media (min-width: 992px) {
  .about-us-section {
    padding: 100px 0;
    text-align: left;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }

  .about-text p {
    font-size: 1.05rem;
  }

  .about-image img {
    max-height: none;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .about-us-section {
    padding: 70px 0;
    text-align: center;
  }

  .about-image {
    margin-bottom: 8px;
  }

  .about-image img {
    max-width: 520px;
    margin: 0 auto;
    transform: translateY(20px);
  }

  .about-text {
    transform: translateY(20px);
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
  }

  .about-text h2 {
    font-size: clamp(1.6rem, 3vw, 1.9rem);
    text-align: center;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-us-section {
    padding: 56px 0;
  }

  .about-image img {
    max-width: 100%;
    border-radius: 16px;
  }

  .about-text {
    padding: 0 4px;
  }

  .about-text h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.7rem);
    margin-bottom: 18px;
  }

  .about-text p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 14px;
  }
}

@media (max-width: 576px) {
  .about-us-section {
    padding: 48px 0;
  }

  .about-text h2 {
    font-size: 1.35rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }
}

/* Desktop lock for About Us page content */
@media (min-width: 992px) {
  .about-us-section {
    padding: 100px 0;
    text-align: left;
  }

  .about-text {
    text-align: left;
  }

  .about-text h2 {
    font-size: 2.2rem;
    text-align: left;
  }

  .about-text p {
    font-size: 1.05rem;
  }

  .about-image img {
    max-width: 100%;
  }
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Blog Image */
.blog-img-wrapper {
  position: relative;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.blog-img-wrapper:hover .blog-img {
  transform: scale(1.05);
}

/* Overlay button on image */
.blog-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

.blog-img-wrapper:hover .blog-overlay {
  opacity: 1;
}

.btn-readmore-overlay {
  background: #00fefb;
  color: #111;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
}

/* Blog Meta */
.blog-meta {
  font-size: 0.85rem;
  color: #555;
  padding: 12px 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.blog-meta span {
  word-break: break-word;
}

.blog-title {
  font-size: 1.35rem;
  font-weight: 600;
  padding: 10px 20px 0;
  line-height: 1.35;
  color: #111;
}

.blog-desc {
  font-size: 1rem;
  color: #666;
  padding: 10px 20px 20px;
  line-height: 1.65;
  margin: 0;
}

.blogs-section {
  background: #f7f9fc;
}

/* Pagination */
#pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

#pagination button {
  background: none;
  border: 1px solid #00cfcf;
  color: #00cfcf;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  min-width: 42px;
}

#pagination button:hover,
#pagination button.active {
  background: #00cfcf;
  color: #fff;
}

/* Contact / Newsletter Box */
.contact-box {
  background: #ececec;
  position: sticky;
  top: 90px;
}

.contact-box h4,
.contact-box h5 {
  color: #111;
  margin-bottom: 14px;
}

.contact-box .form-control {
  border-radius: 8px;
}

.btn-contact,
.btn-newsletter {
  background: #00cfcf;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-contact:hover,
.btn-newsletter:hover {
  background: #00b3b3;
  color: #fff;
}

/* Fade-in animation for blog cards */
.blog-card.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Blog responsive */
@media (min-width: 992px) {
  .blogs-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .blog-img {
    height: 240px;
  }
}

@media (max-width: 991.98px) {
  .blog-img {
    height: 200px;
  }

  .contact-box {
    position: static;
    margin-top: 8px;
  }

  .blog-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 767.98px) {
  .blogs-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .blog-card:hover {
    transform: none;
  }

  .blog-img {
    height: 180px;
  }

  .blog-overlay {
    opacity: 1;
  }

  .blog-meta {
    font-size: 0.8rem;
    padding: 10px 14px 0;
  }

  .blog-title,
  .blog-desc {
    padding-left: 14px;
    padding-right: 14px;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-desc {
    font-size: 0.95rem;
    padding-bottom: 16px;
  }
}

/* ================= CONTACT PAGE ================= */
.contact-us-section {
  background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.6)),
              url('../pic/hero-bg.png') center/cover no-repeat;
  padding: 130px 0 80px;
  color: #fff;
  min-height: auto;
}

.contact-us-section .contact-info,
.contact-us-section .contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  opacity: 1;
  transform: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.contact-us-section .contact-info.slide-in-left,
.contact-us-section .contact-form.slide-in-right {
  opacity: 1;
  transform: none;
}

.contact-us-section .contact-info h4,
.contact-us-section .contact-form h4 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #00fefb;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.contact-us-section .contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.02rem;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.5;
  word-break: break-word;
}

.contact-us-section .contact-line i {
  color: #00fefb;
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-us-section .footer-social a {
  color: #fff;
  margin-right: 12px;
  font-size: 1.3rem;
  transition: 0.3s;
  display: inline-block;
}

.contact-us-section .footer-social a:hover {
  color: #00fefb;
  transform: translateY(-3px);
}

.contact-us-section .map-wrapper {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.contact-us-section .map-wrapper iframe {
  width: 100%;
  min-height: 240px;
  height: 280px;
  border: 0;
  display: block;
}

.contact-us-section .contact-form input,
.contact-us-section .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1rem;
}

.contact-us-section .contact-form input::placeholder,
.contact-us-section .contact-form textarea::placeholder {
  color: rgba(255,255,255,0.75);
}

.contact-us-section .contact-form input:focus,
.contact-us-section .contact-form textarea:focus {
  background: rgba(255,255,255,0.25);
}

.contact-us-section .contact-form .form-label {
  color: #fff;
  margin-bottom: 10px;
}

.contact-us-section .service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-bottom: 8px;
}

.contact-us-section .service-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  margin-bottom: 0;
  color: #fff;
  cursor: pointer;
}

.contact-us-section .service-options input[type="radio"] {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid #00fefb;
  border-radius: 50%;
  margin: 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
}

.contact-us-section .service-options input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: #00fefb;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease-in-out;
}

.contact-us-section .service-options input[type="radio"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}

.contact-us-section .contact-form button {
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  background: #00fefb;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: auto;
}

.contact-us-section .contact-form button:hover {
  background: #00d3d3;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 254, 251, 0.45);
}

.contact-us-section #formAlert {
  margin-bottom: 14px;
}

.contact-us-section #formAlert.alert-success {
  background: rgba(25, 135, 84, 0.2);
  border: 1px solid rgba(25, 135, 84, 0.55);
  color: #d1f7e3;
}

.contact-us-section #formAlert.alert-danger {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.55);
  color: #ffd6db;
}

/* Contact responsive */
@media (max-width: 991.98px) {
  .contact-us-section {
    padding: 110px 16px 60px;
  }

  .contact-us-section .contact-info,
  .contact-us-section .contact-form {
    padding: 24px;
  }

  .contact-us-section .service-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .contact-us-section {
    padding: 100px 12px 48px;
  }

  .contact-us-section .contact-info,
  .contact-us-section .contact-form {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .contact-us-section .contact-form button {
    width: 100%;
  }

  .contact-us-section .map-wrapper iframe {
    height: 220px;
    min-height: 200px;
  }

  .contact-us-section .contact-line {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .contact-us-section .contact-form input,
  .contact-us-section .contact-form textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
  }
}

/* Legacy generic contact selectors kept for safety */
.contact-info, .contact-form {
  transition: all 0.5s ease;
}

.footer-social a {
  color: #fff;
  margin-right: 12px;
  font-size: 1.3rem;
  transition: 0.3s;
}
.footer-social a:hover {
  color: #00fefb;
  transform: translateY(-3px);
}

/* privacy policies page */
.privacy-section {
  font-family: var(--font-family);
  color: #ffffff;
  background: #000000;
}

.privacy-title {
  color: #00fefb;
  font-weight: 700;
  margin-top: 60px;
}
.privacy-title .text-muted {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #ffffff;
}

.privacy-step {
  background: #656565;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-icon {
  font-size: 1.8rem;
  color: #00fefb;
  margin-top: 3px;
  flex-shrink: 0;
}

.privacy-step h5 {
  color: #00fefb;
  margin-bottom: 8px;
  font-weight: 600;
}

.privacy-step p {
  font-size: 1rem;
  line-height: 1.6;
  
}

.privacy-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.1);
}

.privacy-contact {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  width: 60%;
    margin: 40px auto;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
}

.privacy-contact h5 {
  color: #000000;
  margin-bottom: 10px;
}

.privacy-contact a {
  color: #000000;
  text-decoration: underline;
}

.privacy-contact a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .privacy-section { padding: 40px 20px; }
  .privacy-step { flex-direction: column; }
  .step-icon { margin-bottom: 10px; }
  .privacy-step h5 { font-size: 1.1rem; }
  .privacy-step p { font-size: 0.95rem; }
}

/* ===================== PROJECTS / PORTFOLIO PAGE ===================== */
#portfolio {
  background: #f9f9f9;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#portfolio .portfolio-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  width: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  display: block;
}

.project-info {
  padding: 16px 14px 18px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-info h5 {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #111;
}

.project-info p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* Project modals */
#portfolio ~ .modal .modal-header,
.modal .modal-header {
  border-bottom: none;
  padding: 1rem 1.25rem 0.5rem;
}

.modal .modal-title {
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
  padding-right: 1rem;
}

.modal .modal-body {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.modal .carousel-inner img {
  border-radius: 10px;
  max-height: 400px;
  width: 100%;
  object-fit: cover;
}

.modal .carousel-control-prev-icon,
.modal .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 14px;
  background-size: 60% 60%;
}

/* Desktop lock */
@media (min-width: 1200px) {
  #portfolio {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  #portfolio .portfolio-title {
    font-size: 2.5rem;
  }

  .project-card img {
    height: 210px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  #portfolio {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  #portfolio .portfolio-title {
    font-size: clamp(1.7rem, 3.5vw, 2.1rem);
  }

  .project-card img {
    height: 190px;
  }

  .project-info h5 {
    font-size: 1rem;
  }

  .modal .modal-title {
    font-size: 1.2rem;
  }

  .modal .carousel-inner img {
    max-height: 320px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  #portfolio {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  #portfolio .portfolio-title {
    font-size: clamp(1.45rem, 5.5vw, 1.8rem);
    margin-bottom: 1.25rem !important;
  }

  .project-card {
    border-radius: 10px;
  }

  .project-card:hover {
    transform: none;
  }

  .project-card img {
    height: 200px;
  }

  .project-info {
    padding: 14px 12px 16px;
  }

  .project-info h5 {
    font-size: 1.02rem;
  }

  .project-info p {
    font-size: 0.88rem;
  }

  .modal .modal-dialog {
    margin: 0.6rem;
    max-width: calc(100% - 1.2rem);
  }

  .modal .modal-title {
    font-size: 1.1rem;
  }

  .modal .modal-body {
    font-size: 0.9rem;
    padding: 0.75rem 1rem 1.25rem;
  }

  .modal .carousel-inner img {
    max-height: 240px;
    border-radius: 8px;
  }

  .modal .carousel-control-prev,
  .modal .carousel-control-next {
    width: 12%;
  }
}

@media (max-width: 575.98px) {
  .project-card img {
    height: 180px;
  }

  .modal .carousel-inner img {
    max-height: 200px;
  }
}

/* Legacy .row1 support (service pages) */
.row1 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.row1 > div {
  flex: 1 1 calc(25% - 20px);
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .row1 > div {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .row1 > div {
    flex: 1 1 100%;
  }
}
/* =================== END PROJECTS / PORTFOLIO =================== */

/* Team Section */
.team-section {
  background: #f8f9fb;
  padding: 90px 0;
  text-align: center;
}

.team-section .team-section-title,
.team-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222 !important;
  margin-bottom: 10px;
  display: block;
  position: relative;
}

.team-section .team-section-title::after,
.team-section .section-title::after {
  display: none !important;
  content: none !important;
}

.team-section .section-subtitle {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 48px;
  max-width: 40rem;
  padding: 0 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  justify-content: center;
  align-items: stretch;
}

.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.04);
}

.team-info {
  padding: 18px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-info h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 6px;
  font-weight: 600;
  line-height: 1.3;
}

.team-info p {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.45;
  flex: 1;
}

.team-card .social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
}

.team-card:hover .social-icons {
  opacity: 1;
  transform: translateY(0);
}

.team-card .social-icons a {
  color: #00cfcf;
  font-size: 18px;
  transition: color 0.3s ease;
}

.team-card .social-icons a:hover {
  color: #0097b2;
}

/* Desktop lock */
@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }

  .team-card img {
    max-height: 340px;
  }
}

/* Large tablets */
@media (max-width: 1199.98px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .team-card img {
    max-height: 300px;
  }
}

/* Tablets */
@media (max-width: 991.98px) {
  .team-section {
    padding: 70px 16px;
  }

  .team-section .team-section-title,
  .team-section .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    color: #222 !important;
  }

  .team-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .team-card img {
    max-height: 280px;
    aspect-ratio: 4 / 5;
  }

  .team-info h3 {
    font-size: 1.1rem;
  }

  .team-info p {
    font-size: 0.92rem;
  }

  .team-card .social-icons {
    opacity: 1;
    transform: none;
  }
}

/* Phones */
@media (max-width: 767.98px) {
  .team-section {
    padding: 56px 12px;
  }

  .team-section .team-section-title,
  .team-section .section-title {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
  }

  .team-section .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .team-card {
    border-radius: 12px;
  }

  .team-card:hover {
    transform: none;
  }

  .team-card:hover img {
    transform: none;
  }

  .team-card img {
    max-height: 220px;
    aspect-ratio: 1 / 1.15;
    width: 100%;
  }

  .team-info {
    padding: 12px 10px 14px;
  }

  .team-info h3 {
    font-size: 0.98rem;
  }

  .team-info p {
    font-size: 0.82rem;
    margin-bottom: 8px;
  }

  .team-card .social-icons {
    opacity: 1;
    transform: none;
    gap: 10px;
  }

  .team-card .social-icons a {
    font-size: 15px;
  }
}

/* Small phones: 1 column for better photo readability */
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 16px;
  }

  .team-card img {
    max-height: 280px;
    aspect-ratio: 4 / 5;
  }

  .team-info h3 {
    font-size: 1.08rem;
  }

  .team-info p {
    font-size: 0.9rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .team-card .social-icons {
    opacity: 1;
    transform: none;
  }
}
/* End Team Section */

/* Fixed left-side social bar (legacy) */
.social-bar {
  position: fixed;
  top: 40%;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.social-bar a {
  background: #007bff;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
  transition: all 0.3s ease;
}

.social-bar a:hover {
  background: #0056b3;
}
/* ============================
   GLOBAL RESPONSIVE ENHANCEMENTS
============================ */

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .blog-card {
    margin: 0 auto;
  }
}

/* Small tablets / large phones (≤768px) */
@media (max-width: 768px) {
  /* Blog section */
  .blog-img {
    height: 160px;
  }
  .blog-title {
    font-size: 1.15rem;
  }
  .blog-desc {
    font-size: 0.95rem;
  }

  .social-bar {
    display: none;
  }

  /* Privacy page */
  .privacy-contact {
    width: 90%;
    padding: 15px;
  }
}

/* Small phones (≤576px) */
@media (max-width: 576px) {
  body {
    font-size: 0.9rem;
  }

  .blog-img {
    height: 150px;
  }
  .privacy-section {
    padding: 30px 15px;
  }
  .privacy-contact {
    width: 100%;
    margin: 24px 0;
    padding: 16px;
  }
  .project-card img {
    height: 180px;
  }
  .modal .carousel-inner img {
    max-height: 240px;
  }
}

/* Very small phones (≤400px) */
@media (max-width: 400px) {
  .contact-us-section .contact-form button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
/* End of GLOBAL RESPONSIVE ENHANCEMENTS */