/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
}

/* ===== HEADER ===== */
header {
  background: #ffffff !important;
  border-bottom: 0px solid #eee;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
}

/* Hide theme switcher completely */
.switcher__area {
  display: none !important;
}

/* Prevent horizontal scroll and fix double scrolling */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  scroll-behavior: auto !important;
}

/* On desktop where smooth scroll is active, hide native scrollbars to prevent double scrolling */
@media screen and (min-width: 1025px) {
  html.has-smooth {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
  }

  html.has-smooth::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }
}

/* Ensure custom cursors don't block scrolling/clicks */
.cursor1,
.cursor2,
.cursor {
  pointer-events: none !important;
}

#smooth-wrapper {
  margin-top: 0 !important;
  overflow: hidden !important;
}

#smooth-content {
  padding-top: 120px;
  /* Spacer for fixed header on desktop */
}

@media(max-width: 767px) {
  #smooth-content {
    padding-top: 100px !important;
  }
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #0a3d62;
}

/* ===== NAV ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  /* Reduced from 100px to prevent overlap */
}

@media(max-width: 1200px) {
  nav ul {
    gap: 20px;
  }
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: #1c639a;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 5px 0;
  position: relative;
}

nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1c639a;
  transition: width 0.3s ease;
}

nav ul li a:hover::before,
nav ul li a.active::before {
  width: 100%;
}

nav ul li a.active {
  color: #000 !important;
}

/* ===== DROPDOWN MENU (Desktop) ===== */
nav ul li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  min-width: 480px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 12px 0;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(10px);
  border-top: 3px solid #1c639a;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

nav ul li:hover .dropdown-menu {
  display: grid;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

nav ul li .dropdown-menu li {
  display: block;
  padding: 0;
}

nav ul li .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  border-left: 3px solid transparent;
}

nav ul li .dropdown-menu li a:hover {
  background: #f0f7ff;
  color: #1c639a;
  padding-left: 26px;
  border-left-color: #1c639a;
}

/* Arrow indicator for dropdown parent 
nav ul li.has-dropdown>a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
}*/

nav ul li.has-dropdown:hover>a::after {
  transform: rotate(180deg);
}

/* ===== OFFCANVAS DROPDOWN (Mobile) ===== */
.offcanvas__menu ul li.has-dropdown .dropdown-toggle-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  padding: 5px 10px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

#open_offcanvas {
  display: none;
  /* Hidden by default on desktop */
  background: none;
  border: none;
  cursor: pointer;
}

.offcanvas__menu ul li.has-dropdown .dropdown-toggle-btn.active {
  transform: rotate(180deg);
}

/* Fix mobile menu: remove stray icons (+ or desktop arrows) from links */
.offcanvas__menu li.has-dropdown>a::after,
.offcanvas__menu li.has-dropdown>a::before {
  display: none !important;
}

/* Ensure the chevron is correctly positioned */
.offcanvas__menu .dropdown-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.offcanvas__menu ul li .mobile-dropdown {
  display: none;
  padding-left: 0;
  margin-top: 10px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
}

.offcanvas__menu ul li .mobile-dropdown.open {
  display: grid;
}

.offcanvas__menu ul li .mobile-dropdown li {
  margin-bottom: 0;
}

.offcanvas__menu ul li .mobile-dropdown li a {
  font-size: 13px !important;
  font-weight: 400;
  opacity: 0.85;
  padding: 8px 10px;
  display: block;
  white-space: nowrap;
  border-left: 2px solid transparent;
  transition: border-color 0.2s ease, padding-left 0.2s ease;
}

.offcanvas__menu ul li .mobile-dropdown li a:hover {
  border-left-color: #1c639a;
  padding-left: 14px;
}

@media (max-width: 400px) {
  .offcanvas__menu ul li .mobile-dropdown {
    grid-template-columns: 1fr;
  }

  .offcanvas__menu ul li .mobile-dropdown li a {
    font-size: 14px !important;
  }
}

/* ===== RIGHT ACTIONS ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  /* Reduced from 100px to prevent overlap */
  margin-right: 2%;
}

@media(max-width: 1200px) {
  .header-actions {
    gap: 15px;
  }
}

.icon-btn {
  font-size: 18px;
  cursor: pointer;
}

/* ===== CALL INFO ===== */
.call-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.call-info i {
  color: #1c639a;
}

/* ===== REQUEST BUTTON ===== */
.request-btn {
  background: #1c639a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

/* ===== POPUP COMMON ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

/* ===== REQUEST FORM ===== */
.modal-box {
  background: #fff;
  padding: 30px;
  width: 400px;
  border-radius: 6px;
  position: relative;
}

.modal-box h2 {
  margin-bottom: 20px;
  text-align: center;
}

.modal-box input,
.modal-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
}

.modal-box button {
  width: 100%;
  padding: 12px;
  background: #1C86D6;
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

/* ===== SEARCH ===== */
.search-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
}

/* ===== CLOSE ===== */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 1150px) {

  nav ul,
  .call-info,
  .request-btn {
    display: none !important;
    /* Force hide navigation on medium-small screens */
  }

  #open_offcanvas {
    display: block !important;
    /* Show hamburger menu */
  }
}

@media(max-width: 600px) {
  .header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0 10px;
    /* Added padding for edges */
  }

  .logo-dark img {
    width: 80px !important;
    height: 80px !important;
    display: block;
    left: 0 !important;
    /* Reset left position */
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Increased gap for better spacing */
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .request-btn {
    display: inline-block;
    /* Show it back on mobile if desired, or keep it hidden */
    padding: 6px 12px;
    font-size: 11px;
    white-space: nowrap;
    border-radius: 4px;
  }

  .call-info {
    display: none;
  }

  #open_offcanvas {
    padding: 0;
    margin: 0;
    display: flex !important;
    align-items: center;
    margin-left: 10px;
    /* Added spacing from request-btn */
  }

  #open_offcanvas img {
    width: 25px;
    /* Slightly larger for touch targets */
    height: auto;
  }
}

/* Additional layout styles */
img {
  max-width: 100%;
  height: auto;
}

.column {
  float: left;
  width: 12.5%;
  /* Set the width to distribute 8 columns equally */
  padding: 15px;
  box-sizing: border-box;
}

/* ===== SERVICE AREA RESPONSIVE FIXES ===== */
.service__items-7 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
}

@media only screen and (max-width: 1200px) {
  .service__items-7 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media only screen and (max-width: 767px) {
  .service__items-7 {
    grid-template-columns: 1fr !important;
  }
}

.service__img-7 {
  margin-bottom: 20px !important;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;

  /* Removed fixed height to let images fit naturally */
}

.service__img-7 img {
  width: 90% !important;
  height: auto !important;
  display: block;
  border-radius: 13px;
}



.service__item-7 {
  padding-bottom: 40px !important;
}

.service__item-7::after {
  display: none !important;
  /* Remove legacy border lines if they interfere */
}

.service__title-7 {
  font-size: 32px !important;
  padding-bottom: 15px !important;
  margin-top: 0 !important;
}

.service__title-7 span {
  padding-left: 45px !important;
}

.service__title-7 span::before {
  width: 35px !important;
  top: 22px !important;
  /* Adjusted dash position */
}

/* ===== CLIENTS AREA ===== */
.clients__area {
  padding: 156px 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  margin: 0 auto;
}

.client-logo {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 30px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.client-logo img {
  max-width: 100%;
  max-height: 70px;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== MAIN DROPDOWN STYLES ===== */
.main-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  width: 500px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  border-radius: 12px;
  border-top: 4px solid #1c639a;
}

nav ul li:hover .main-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.main-dropdown li a {
  padding: 12px 15px !important;
  display: block;
  color: #333 !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.main-dropdown li a:hover {
  background: #f0f7ff;
  color: #1c639a !important;
  padding-left: 20px !important;
}

/* Fix for mobile 2-column display in MeanMenu */
.mean-container .mean-nav ul li ul {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 10px 0 !important;
}

/* Force grid layout when MeanMenu opens the submenu */
.mean-container .mean-nav ul li ul[style*="display: block"] {
  display: grid !important;
}

.mean-container .mean-nav ul li ul li {
  width: 100% !important;
  border-top: none !important;
}

.mean-container .mean-nav ul li ul li a {
  width: 100% !important;
  padding: 10px 15px !important;
  font-size: 13px !important;
}

/* ===== VIDEO GRID STYLES ===== */
.video-grid-container {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.video-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.video-grid-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-grid-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video-grid-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ===== SEO HERO TITLE STYLES ===== */
.hero__about-content {
  padding-top: 80px;
  padding-bottom: 30px;
}

.hero__about-content .hero-title {
  text-align: center;
  font-size: 60px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1.2;
}

/* HERO TITLES RESPONSIVE */
.mobile-title {
  display: none !important;
}

@media(max-width: 767px) {
  .desktop-title {
    display: none !important;
  }

  .mobile-title {
    display: block !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    color: #000 !important;
    margin-bottom: 20px !important;
    padding: 0 10px !important;
  }

  .hero__about {
    padding: 1px 0 20px !important;
    height: auto !important;
    min-height: auto !important;
  }

  .hero__about-content {
    padding: 40px 0 20px !important;
    width: 100% !important;
    text-align: center !important;
  }

  .hero__about-content .hero-title,
  .hero-title {
    font-size: 30px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    padding: 0 15px !important;
    margin-top: 0 !important;
    display: block !important;
    width: 100% !important;
  }

  .hero__about-row {
    margin: 20px 0 0 0 !important;
    padding: 0 15px !important;
  }

  .hero__about-photo {
    padding-top: 0 !important;
    margin-bottom: 20px !important;
  }
}

.hero__about-photo img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== SEO SERVICE CARDS ===== */
.seo-cards-section {
  background-color: #ffffff;
}

.seo-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
}

@media(max-width: 1199px) {
  .seo-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media(max-width: 767px) {
  .seo-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

.seo-card {
  background: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.seo-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
  transform: translateY(-5px);
}

.seo-card img {
  height: 229px;
  object-fit: contain;
  margin-bottom: 25px;
}

.seo-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #33334d;
  margin-bottom: 15px;
  line-height: 1.4;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.seo-card .read-more-btn {
  background-color: #1c639a;
  color: #fff;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 140px;
}

.seo-card .read-more-btn:hover {
  background-color: #0b5ed7;
}

/* ===== SERVICE ITEM BUTTONS ===== */
.service__item-footer {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}


.btn-enquire,
.btn-view {
  flex: 1;
  text-align: center;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.btn-enquire {
  background: transparent;
  color: #1c639a !important;
  border: 1.5px solid #1c639a;
}

.btn-enquire:hover {
  background: #1c639a;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(28, 99, 154, 0.2);
}

.btn-view {
  background: #1c639a;
  color: #fff !important;
  border: 1.5px solid #1c639a;
}

.btn-view:hover {
  background: #0d3d62;
  border-color: #0d3d62;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(28, 99, 154, 0.3);
}

@media (max-width: 480px) {
  .service__item-footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== WELCOME MODAL STYLES ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-overlay.active {
  display: flex;
}

.half-screen-modal {
  display: flex;
  flex-direction: column;
  width: 90vw;
  max-width: 500px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(0);
  animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.half-screen-modal .modal-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
}

.half-screen-modal .modal-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
}

.modal-logo {
  width: 100px;
  height: auto;
  margin-top: -27px;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  z-index: 2;
}

.half-screen-modal h2 {
  font-size: 26px;
  color: #1c639a;
  margin-bottom: 12px;
  font-weight: 800;
}

.half-screen-modal p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 25px;
}

.visitor-box {
  background: #f8fafc;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  width: 100%;
  transition: all 0.3s ease;
}

.visitor-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.visitor-box h4 {
  margin-bottom: 12px;
  color: #475569;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
  background: #1c639a;
  color: #fff;
  transform: rotate(90deg);
}

.modal-close-footer {
  align-self: flex-end;
  margin-top: 25px;
  background: #1c639a;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.modal-close-footer:hover {
  background: #0b5ed7;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.3);
}

@media (max-width: 768px) {
  .half-screen-modal {
    width: 92vw;
    max-width: 400px;
    border-radius: 18px;
  }

  .half-screen-modal .modal-img {
    max-height: 180px;
  }

  .modal-logo {
    width: 85px;
    margin-top: -22px;
  }

  .half-screen-modal h2 {
    font-size: 22px;
  }

  .half-screen-modal p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .visitor-box {
    padding: 15px;
  }
}

.card-img-wrapper {
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.card-img-wrapper img {
  transition: transform 0.3s ease;
}

.card-img-wrapper:hover img {
  transform: scale(1.05);
}


/* ===== PRODUCT QUICK-VIEW POPUP ===== */
.product-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: popupFadeIn 0.3s ease;
}

.product-popup-overlay.active {
  display: flex;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popupSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-popup-card {
  background: #fff;
  border-radius: 24px;
  width: 90%;
  max-width: 450px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  animation: popupSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.product-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c639a;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-popup-close:hover {
  background: #1c639a;
  color: #fff;
  transform: rotate(90deg);
}

.product-popup-header {
  position: relative;
  width: 100%;
  height: 280px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.product-popup-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 30px;
  transition: transform 0.5s ease;
}

.product-popup-card:hover .product-popup-img {
  transform: scale(1.05);
}

.product-popup-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.product-popup-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

.product-popup-visitors {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 99, 154, 0.9);
  color: #fff;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(28, 99, 154, 0.3);
  pointer-events: auto;
  backdrop-filter: blur(4px);
}

.product-popup-visitors i {
  font-size: 14px;
  animation: pulse-eye 2s infinite;
}

@keyframes pulse-eye {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.product-popup-body {
  padding: 30px;
  text-align: center;
}

.product-popup-title {
  font-size: 26px;
  font-weight: 700;
  color: #1c639a;
  margin-bottom: 5px;
  line-height: 1.2;
}

/* ===== VISITOR BADGE / POPUP STYLES ===== */

.visitor-text {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 25px;
  font-weight: 500;
}

.product-popup-actions {
  display: flex;
  gap: 15px;
}

.product-popup-actions .btn-enquire,
.product-popup-actions .btn-view {
  flex: 1;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 14px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .product-popup-card {
    width: 92%;
  }

  .product-popup-header {
    height: 220px;
  }

  .product-popup-title {
    font-size: 22px;
  }

  /* ===== FINAL RESPONSIVE OVERRIDES ===== */
  @media (max-width: 767px) {
    .card-container {
      grid-template-columns: repeat(2, 1fr) !important;
      display: grid !important;
      gap: 15px !important;
      padding: 0 10px !important;
    }

    .card-container .card {
      width: 100% !important;
      max-width: none !important;
    }
  }

  .product-popup-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== PRODUCT PAGES SHARED STYLES ===== */

/* Scoped variables for different product pages */
.billing-software-page {
  --theme-primary: #2ecc71;
  --theme-secondary: #27ae60;
  --theme-light: #e8f8f5;
}

.chit-funds-page {
  --theme-primary: #f39c12;
  --theme-secondary: #e67e22;
  --theme-light: #fef5e7;
}

.erp-software-page {
  --theme-primary: #f39c12;
  --theme-secondary: #e67e22;
  --theme-light: #fef5e7;
}

.erp-software-page .feature-icon {
  color: #022c6c;
}

.erp-software-page .cta-section {
  background: #022c6c;
  padding: 157px 0;
}

.school-management-page {
  --theme-primary: #1c639a;
  --theme-secondary: #0d4a7a;
  --theme-light: #eaf2f8;
  --theme-accent: #ff6b6b;
}

/* Common Hero Sections */
.billing-hero {
  background: linear-gradient(135deg, var(--theme-primary), #1abc9c);
  padding: 180px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.billing-hero::after {
  content: '';
  position: absolute;
  top: -30px;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../imgs/home-7/2.png') no-repeat center center;
  background-size: contain;
  opacity: 0.15;
  z-index: 0;
}

.billing-hero-content {
  position: relative;
  z-index: 1;
}

.billing-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.chit-hero {
  background: linear-gradient(135deg, var(--theme-primary), #d35400);
  padding: 180px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.chit-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../imgs/home-7/3.png') no-repeat center center;
  background-size: contain;
  opacity: 0.15;
  z-index: 0;
}

.chit-hero-content {
  position: relative;
  z-index: 1;
}

.chit-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.erp-hero {
  background: linear-gradient(135deg, #022c6c, #092d65);
  padding: 180px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.erp-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../imgs/home-7/4.png') no-repeat center center;
  background-size: contain;
  opacity: 0.15;
  z-index: 0;
}

.erp-hero-content {
  position: relative;
  z-index: 1;
}

.erp-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.sms-hero {
  background: linear-gradient(135deg, var(--theme-primary), #2c3e50);
  padding: 180px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sms-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../imgs/home-7/1.png') no-repeat center center;
  background-size: contain;
  opacity: 0.1;
  z-index: 0;
}

.sms-hero-content {
  position: relative;
  z-index: 1;
}

.sms-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.sms-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  color: #d1d1d1;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--theme-primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--theme-light);
  color: var(--theme-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  transition: 0.3s;
}

.feature-card:hover .feature-icon {
  background: var(--theme-primary);
  color: #fff;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #1c639a;
  margin-bottom: 20px;
}

.benefit-section {
  background: var(--theme-light);
  padding: 100px 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

.benefit-item i {
  font-size: 24px;
  color: var(--theme-primary);
  margin-right: 20px;
  margin-top: 5px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-text h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--theme-primary);
}

.cta-section {
  background: linear-gradient(to right, var(--theme-primary), var(--theme-secondary));
  padding: 140px 0;
  color: #fff;
  text-align: center;
}

.cta-btn {
  background: #fff;
  color: var(--theme-primary);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  margin-top: 30px;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  background: #1c639a;
  color: #fff;
  transform: scale(1.05);
}

.school-management-page .cta-btn:hover {
  background: var(--theme-accent);
}

/* Benefit Image Slider */
.benefit-img-container {
  position: relative;
  width: 100%;
  min-height: 450px;
}

.benefit-img-container .benefit-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.benefit-img-container .benefit-img.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.benefit-img-container .benefit-img:not(.active) {
  pointer-events: none;
}

/* ===== SCHOOL MANAGEMENT SYSTEM PAGE ===== */
.school-management-page {
  --primary-blue: #1c639a;
  --secondary-blue: #0d4a7a;
  --light-blue: #eaf2f8;
  --accent-color: #ff6b6b;
  --text-dark: #333;
  --glass-bg: rgba(255, 255, 255, 0.1);
}

.school-management-page .sms-hero {
  background: linear-gradient(135deg, var(--primary-blue), #2c3e50);
  padding: 180px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.school-management-page .sms-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../imgs/home-7/1.png') no-repeat center center;
  background-size: contain;
  opacity: 0.1;
  z-index: 0;
}

.school-management-page .sms-hero-content {
  position: relative;
  z-index: 1;
}

.school-management-page .sms-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.school-management-page .sms-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  color: #d1d1d1;
}

.school-management-page .feature-card,
.billing-software-page .feature-card,
.chit-funds-page .feature-card,
.erp-software-page .feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.school-management-page .feature-card:hover,
.billing-software-page .feature-card:hover,
.chit-funds-page .feature-card:hover,
.erp-software-page .feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(28, 99, 154, 0.15);
  border-color: var(--primary-blue);
}

.school-management-page .feature-icon,
.billing-software-page .feature-icon,
.chit-funds-page .feature-icon,
.erp-software-page .feature-icon {
  width: 80px;
  height: 80px;
  background: var(--light-blue);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  transition: 0.3s;
}

.school-management-page .feature-card:hover .feature-icon,
.billing-software-page .feature-card:hover .feature-icon,
.chit-funds-page .feature-card:hover .feature-icon,
.erp-software-page .feature-card:hover .feature-icon {
  background: var(--primary-blue);
  color: #fff;
}

.school-management-page .feature-card h3,
.billing-software-page .feature-card h3,
.chit-funds-page .feature-card h3,
.erp-software-page .feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.school-management-page .feature-card p,
.billing-software-page .feature-card p,
.chit-funds-page .feature-card p,
.erp-software-page .feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.school-management-page .section-header,
.billing-software-page .section-header,
.chit-funds-page .section-header,
.erp-software-page .section-header {
  text-align: center;
  margin-bottom: 80px;
  margin-top: 70px;
}

.school-management-page .section-header h2,
.billing-software-page .section-header h2,
.chit-funds-page .section-header h2,
.erp-software-page .section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.school-management-page .section-header p,
.billing-software-page .section-header p,
.chit-funds-page .section-header p,
.erp-software-page .section-header p {
  color: #777;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.school-management-page .benefit-section,
.billing-software-page .benefit-section,
.chit-funds-page .benefit-section,
.erp-software-page .benefit-section {
  background: var(--light-blue);
  padding: 100px 0;
}

.school-management-page .benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

.school-management-page .benefit-item i {
  font-size: 24px;
  color: var(--primary-blue);
  margin-right: 20px;
  margin-top: 5px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.school-management-page .benefit-text h4,
.billing-software-page .benefit-text h4,
.chit-funds-page .benefit-text h4,
.erp-software-page .benefit-text h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.school-management-page .cta-section,
.billing-software-page .cta-section,
.chit-funds-page .cta-section,
.erp-software-page .cta-section {
  background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
  padding: 157px 0;
  color: #fff;
  text-align: center;
}

.school-management-page .cta-btn,
.billing-software-page .cta-btn,
.chit-funds-page .cta-btn,
.erp-software-page .cta-btn {
  background: #fff;
  color: var(--primary-blue);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  margin-top: 30px;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.school-management-page .cta-btn:hover,
.billing-software-page .cta-btn:hover,
.chit-funds-page .cta-btn:hover,
.erp-software-page .cta-btn:hover {
  background: var(--accent-color);
  color: #fff;
  transform: scale(1.05);
}

@media (max-width: 768px) {

  .school-management-page .sms-hero h1,
  .billing-software-page .billing-hero h1,
  .chit-funds-page .chit-hero h1,
  .erp-software-page .erp-hero h1 {
    font-size: 2.5rem;
  }

  .school-management-page .section-header h2,
  .billing-software-page .section-header h2,
  .chit-funds-page .section-header h2,
  .erp-software-page .section-header h2 {
    font-size: 2rem;
  }
}

/* Benefit Slider Styles */
.benefit-slider {
  position: relative;
  width: 100%;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.benefit-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.05);
}

.benefit-img.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

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

@media (max-width: 1200px) {
  .benefit-slider {
    min-height: 450px;
  }

  .school-management-page .benefit-content {
    padding-left: 20px !important;
  }
}

@media (max-width: 991px) {
  .benefit-slider {
    min-height: 350px;
    margin-bottom: 40px;
  }

  .school-management-page .benefit-section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .benefit-slider {
    min-height: 300px;
  }
}

.school-management-page .cta-section .container {
  margin-top: -81px;
}


@media (max-width: 1400px) {
  .school-management-page .benefit-section {
    padding: 80px 0;
  }
}

/* Pricing Section Styles */
.school-management-page .pricing-section,
.billing-software-page .pricing-section,
.chit-funds-page .pricing-section,
.erp-software-page .pricing-section {
  padding: 100px 0;
  background-color: #fff;
}

.school-management-page .pricing-card,
.billing-software-page .pricing-card,
.chit-funds-page .pricing-card,
.erp-software-page .pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.school-management-page .pricing-card.featured,
.billing-software-page .pricing-card.featured,
.chit-funds-page .pricing-card.featured,
.erp-software-page .pricing-card.featured {
  background: var(--primary-blue);
  color: #fff;
  transform: scale(1.05);
  border: none;
  box-shadow: 0 20px 40px rgba(28, 99, 154, 0.2);
}

.school-management-page .pricing-card:hover,
.billing-software-page .pricing-card:hover,
.chit-funds-page .pricing-card:hover,
.erp-software-page .pricing-card:hover {
  transform: translateY(-10px);
}

.school-management-page .pricing-card.featured:hover,
.billing-software-page .pricing-card.featured:hover,
.chit-funds-page .pricing-card.featured:hover,
.erp-software-page .pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.school-management-page .pricing-header h3,
.billing-software-page .pricing-header h3,
.chit-funds-page .pricing-header h3,
.erp-software-page .pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.school-management-page .price,
.billing-software-page .price,
.chit-funds-page .price,
.erp-software-page .price {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-management-page .price span,
.billing-software-page .price span,
.chit-funds-page .price span,
.erp-software-page .price span {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.8;
}

.school-management-page .pricing-features,
.billing-software-page .pricing-features,
.chit-funds-page .pricing-features,
.erp-software-page .pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  text-align: left;
  flex-grow: 1;
}

.school-management-page .pricing-features li,
.billing-software-page .pricing-features li,
.chit-funds-page .pricing-features li,
.erp-software-page .pricing-features li {
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.school-management-page .pricing-features li i,
.billing-software-page .pricing-features li i,
.chit-funds-page .pricing-features li i,
.erp-software-page .pricing-features li i {
  margin-right: 12px;
  color: var(--primary-blue);
}

.school-management-page .pricing-card.featured .pricing-features li i,
.billing-software-page .pricing-card.featured .pricing-features li i,
.chit-funds-page .pricing-card.featured .pricing-features li i,
.erp-software-page .pricing-card.featured .pricing-features li i {
  color: #fff;
}

.school-management-page .pricing-btn,
.billing-software-page .pricing-btn,
.chit-funds-page .pricing-btn,
.erp-software-page .pricing-btn {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.school-management-page .pricing-btn.btn-outline,
.billing-software-page .pricing-btn.btn-outline,
.chit-funds-page .pricing-btn.btn-outline,
.erp-software-page .pricing-btn.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.school-management-page .pricing-btn.btn-outline:hover,
.billing-software-page .pricing-btn.btn-outline:hover,
.chit-funds-page .pricing-btn.btn-outline:hover,
.erp-software-page .pricing-btn.btn-outline:hover {
  background: var(--primary-blue);
  color: #fff;
}

.school-management-page .pricing-btn.btn-white,
.billing-software-page .pricing-btn.btn-white,
.chit-funds-page .pricing-btn.btn-white,
.erp-software-page .pricing-btn.btn-white {
  background: #fff;
  color: var(--primary-blue);
}

.school-management-page .pricing-btn.btn-white:hover,
.billing-software-page .pricing-btn.btn-white:hover,
.chit-funds-page .pricing-btn.btn-white:hover,
.erp-software-page .pricing-btn.btn-white:hover {
  background: var(--accent-color);
  color: #fff;
}

@media (max-width: 991px) {

  .school-management-page .pricing-card.featured,
  .billing-software-page .pricing-card.featured,
  .chit-funds-page .pricing-card.featured,
  .erp-software-page .pricing-card.featured {
    transform: scale(1);
    margin: 30px 0;
  }

  .school-management-page .pricing-card.featured:hover,
  .billing-software-page .pricing-card.featured:hover,
  .chit-funds-page .pricing-card.featured:hover,
  .erp-software-page .pricing-card.featured:hover {
    transform: translateY(-10px) scale(1);
  }
}

/* ===== PROFESSIONAL PROFILE SECTION ===== */
.profile-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.profile-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.profile-image-wrap {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.profile-image-wrap img {
  border-radius: 12px;
  width: 100%;
  max-width: 355px;
  height: auto;
  aspect-ratio: 355 / 455;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.profile-details {
  flex: 1.5;
  min-width: 300px;
}

.profile-details h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #111;
  font-weight: 700;
}

.profile-details h4 {
  color: #1c639a;
  margin-bottom: 30px;
  font-weight: 500;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-details p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.profile-details p strong {
  color: #111;
  width: 160px;
  display: inline-block;
}

.profile-details a.profile-contact-btn {
  display: inline-block;
  margin-top: 30px;
  background: #1c639a;
  color: #fff;
  padding: 15px 35px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.profile-details a.profile-contact-btn:hover {
  background: #144d7a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(28, 99, 154, 0.3);
}

@media (max-width: 991px) {
  .profile-container {
    gap: 30px;
  }

  .profile-details h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .profile-section {
    padding: 60px 15px;
  }

  .profile-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .profile-details p strong {
    width: auto;
    display: block;
    margin-bottom: 5px;
  }

  .profile-details a.profile-contact-btn {
    width: 100%;
    max-width: 250px;
  }
}