/* ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                          BODY SECTION                                              ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

:root {
  --footer-bg: linear-gradient(180deg, #061016 0%, #062026 60%);
  --accent: #37c6b2;
  --accent-2: #3ea18f;
  --muted: #a8b5b3;
  --phase-accent: #cc990f;
  --phase-accent-2: #3ea18f;
  --phase-card-bg: rgba(255, 255, 255, 0.3);
}

/* ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                     HEADINGS AND TITLES                                            ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2e7d32;
}

.section-divider {
  width: 60px;
  border-top: 4px solid #66bb6a;
  margin: 1rem auto;
}

.section-dividerWhite {
  width: 60px;
  border-top: 4px solid #fff;
  margin: 1rem auto;
}

.section-subtitle {
  font-size: 1rem;
  color: #4a4a4a;
  max-width: 600px;
  margin: 0 auto;
}

.section-title.section-title-white {
  color: #fff;
}

.section-divider.section-divider-white {
  border-top: 4px solid #fff;
}

.section-subtitle.section-subtitle-white {
  color: #fff;
}

/* ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                     HEADER SECTION                                                 ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

.header-container {
  position: relative;
  width: 100%;
  height: 70vh;
  background: url("../utilities/images/about/smc_ab.jpg") no-repeat center
    center/cover;
}

.header-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Large Tablets & Small Laptops (1024px and below) */
@media screen and (max-width: 1024px) {
  .header-container {
    height: 60vh;
    background-position: center;
  }
}

/* Tablets (768px and below) */
@media screen and (max-width: 768px) {
  .header-container {
    height: 60vh;
    background-size: cover;
  }
}

/* Small Mobile (360px and below) */
@media screen and (max-width: 660px) {
  .header-container {
    height: 65vh;
    background-size: cover;
  }
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding-bottom: 0.5rem;
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 5rem;
  position: relative;
}

.logo {
  flex-grow: 1;
}

.logo img {
  width: 28rem;
  transition: transform 0.3s ease-in-out;
}

.logo img:hover {
  transform: scale(1.05);
}

.social-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

/* Common base style for all links */
.social-links a {
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  padding: 0.2rem 0.3rem;
}

/* Hover animation for all */
.social-links a:hover {
  transform: translateY(-2px);
}

/* WhatsApp (first child) */
.social-links a:first-child {
  color: #25d366;
}

/* LinkedIn (middle child) */
.social-links a:nth-child(2) {
  color: #0077b5;
}

/* Instagram (last child) */
.social-links a:last-child {
  color: #e4405f;
}

/* Optional hover color tweaks for subtle effect */
.social-links a:first-child:hover {
  color: #1ebe5d;
}

.social-links a:nth-child(2):hover {
  color: #0a66c2;
}

.social-links a:last-child:hover {
  color: #f56073;
}

.header-labels {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 0.4rem;
}

.header-labels label {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.2rem 0.3rem;
  transition: color 0.4s ease-in-out;
}

.header-labels label:hover {
  color: #28b7e7;
  transform: translateY(-2px);
}

.flash-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff9800, #ffc107);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.7);
  animation: flashGlow 1.5s infinite alternate;
}

@keyframes flashGlow {
  0% {
    box-shadow: 0 0 6px rgba(255, 193, 7, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px rgba(255, 193, 7, 1);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 6px rgba(255, 193, 7, 0.5);
    transform: scale(1);
  }
}

.header-line {
  width: calc(100% - 10rem);
  margin: 0 auto;
}

.header-line hr {
  border: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0;
}

/* Navbar */
.navbar {
  background: transparent !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.7rem 0;
}

.navbar-collapse {
  display: flex;
  justify-content: center;
}

.navbar-nav .nav-link {
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 1.2rem;
  transition: color 0.5s, transform 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #28b7e7;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: #28b7e7;
  text-decoration-thickness: 3px;
  transform: translateY(-2px);
}

.navbar-nav .dropdown-toggle::after {
  display: none;
}

.navbar-nav .dropdown-menu {
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(40, 183, 231, 0.08);
  border: none;
  margin-top: 0.7rem;
  background: #fff;
  padding: 0.5rem 0;
  transition: all 0.2s;
}

.navbar-nav .dropdown-item {
  color: #333;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
  transition: background 0.2s, color 0.2s;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: #e6f7fd;
  color: #28b7e7;
}

.navbar-nav .nav-link .fa-chevron-down {
  font-size: 0.8em;
  margin-left: 0.3em;
  transition: transform 0.3s;
}

.navbar-nav .dropdown.show .nav-link .fa-chevron-down {
  transform: rotate(180deg);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding-bottom: 0.3rem;
  transition: all 0.3s ease-in-out;
}

.heading-container {
  position: absolute;
  top: 54%;
  left: 30%;
  transform: translate(-50%, -50%);
  text-align: left;
  max-width: 700px;
}

.heading-container span {
  color: #74ffe6;
}

.heading-container h3 {
  color: white;
  font-size: 2.9rem;
  border-bottom: 1px solid #333;
  padding: 10px 0px;
}

.heading-container p {
  color: white;
}

.heading-container button {
  background: linear-gradient(135deg, #59c2ae, #34a598);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  outline: none;
  position: relative;
  overflow: hidden;
}

.heading-container button:hover {
  background: linear-gradient(135deg, #34a598, #218374);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.heading-container button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.heading-container button::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.heading-container button:hover::after {
  opacity: 1;
}

/* ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                     BREADCRUMB SECTION                                             ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

.breadcrumb-label {
  margin-left: 14%;
  font-size: 1rem;
  color: #59c2ae;
  margin-top: 2rem;
  font-weight: 500;
}

.breadcrumb-label span {
  color: grey;
}

/* ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                     OUR STORY SECTION                                              ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

.feature-section {
  padding: 20px 0;
}

.feature-text p {
  font-size: 0.9rem;
  color: #555;
  text-align: justify;
}

.image-stack {
  position: relative;
  width: 300px;
  height: 320px;
  margin: 0 auto;
}

.image-stack img {
  width: 200px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  position: absolute;
}

.image-stack img:first-child {
  top: 0;
  left: 0;
  z-index: 1;
}

.image-stack img:last-child {
  top: 120px;
  left: 120px;
  z-index: 2;
}

.image-stack img:hover {
  transform: scale(1.05);
  z-index: 3;
}

/* ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                     WHAT MAKES SMC SECTION                                         ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

.parallax-section {
  position: relative;
  background: url("/utilities/images/about/1.jpg") no-repeat center center fixed;
  background-size: cover;
  padding: 50px 0;
  color: #fff;
  overflow: hidden;
  z-index: 1;
  margin-top: 70px;
}

.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-front img {
  width: 100%;
  height: 70%;
  object-fit: cover;
}

.flip-card-front .card-label {
  font-weight: bold;
  font-size: 0.9rem;
  padding: 20px;
  color: #333;
  text-align: center;
}

.flip-card-back {
  background: linear-gradient(135deg, #019ade, #00424e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transform: rotateY(180deg);
  text-align: center;
}

.flip-card-back p {
  font-size: 0.7rem;
  line-height: 1.5;
}

/* ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                     OUR CORE VALUES SECTION                                        ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

.three-column-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.column {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.column:hover {
  transform: scale(1.02);
}

.content {
  display: flex;
  align-items: center;
  padding: 5px;
  margin-bottom: 5px;
  transition: background 0.3s ease-in-out;
}

.content:hover {
  background: rgba(255, 255, 255, 0.3);
}

.left-column-b .text {
  text-align: right;
  flex-grow: 1;
}

.text h4 {
  font-size: 1.3rem;
}

.text p {
  font-size: 0.9rem;
}

.right-column-b .text {
  text-align: left;
  flex-grow: 1;
}

.content i {
  font-size: 2rem;
  color: #28b7e7;
  margin: 0 15px;
}

.middle-column img {
  width: 100%;
}

/* ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ */
/* ║                                                     FOOTER SECTION                                                 ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

.smc-footer {
  background: var(--footer-bg);
  color: #e9f6f4;
  padding: 60px 0 20px;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.35);
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}

.footer-col h5 {
  font-size: 1rem;
  color: #dff6f2;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-logo {
  width: 80px;
  max-width: 100%;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}
.footer-logo:hover {
  transform: scale(1.05);
}

.footerAbout {
  color: #cde7e2;
  font-weight: 500;
  line-height: 1.6;
  font-size: 0.95rem;
  text-align: justify;
  margin: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #cfeeea;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}
.footer-col ul li a:hover {
  color: var(--accent);
  margin-left: 4px;
}

.contact-block h6 {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #dff6f2;
}
.contact-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #dff6f2;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-5px);
  color: #fff;
}
.social-btn.whatsapp:hover {
  background: linear-gradient(135deg, #25d366, #1fae54);
}
.social-btn.instagram:hover {
  background: #f56073;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom .copyright {
  font-size: 0.9rem;
  color: #bfeee6;
}
.policy-links a {
  color: var(--muted);
  margin-left: 16px;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.policy-links a:hover {
  color: var(--accent);
}
/* ------------------------------------------------------------ */
