* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* WRAPPER */
.header-wrapper {
  position: relative;
  padding-left: 240px;
}

/* LEFT LOGO FIXED */
.left-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.left-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TOP BAR */
.top-bar {
  background: #1f1f23;
  color: #fff;
  padding: 12px 40px;
  height: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* RIGHT SIDE */
.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.red-icon {
  color: #e71228;
  margin-right: 5px;
}

/* NAV BAR */
.nav-bar {
  background: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* CENTER MENU */
.menu-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

/* GLOBAL NAV ITEMS */
.menu li {
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}
.menu li:hover {
  color: #e71228;
}

/* Underline animation (GLOBAL — EXCEPT DROPDOWN) */
.menu li::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e71228;
  transition: width 0.3s ease;
}
.menu li:hover::after {
  width: 100%;
}

/* REMOVE UNDERLINE ONLY FOR DROPDOWN */
.menu > li.home-dropdown::after,
.menu > li.home-dropdown:hover::after {
  content: none !important;
  width: 0 !important;
}

/* REMOVE GAP FOR DROPDOWN */
.menu > li.home-dropdown {
  padding: 0 !important;
  margin: 0 !important;
}

/* REMOVE ALL UNDERLINES & BLUE COLOR */
.menu a,
.menu li a,
.dropdown-menu li a {
  text-decoration: none !important;
  color: inherit !important;   /* keeps text same color */
}

/* REMOVE THE RED UNDERLINE ANIMATION */
.menu li::after {
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* REMOVE HOVER COLOR CHANGE TO BLUE */
.menu li:hover a,
.menu li:hover {
  color: #e71228 !important;   /* your red hover color */
}
    

/* DROPDOWN WRAPPER */
.home-dropdown {
  position: relative;
}

/* HOME LINK — ALIGNED PERFECTLY */
.home-dropdown > a {
  text-decoration: none !important;
  color: #000 !important;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0 !important;
  margin: 0;
  line-height: normal;
}

/* Hover color */
.home-dropdown:hover > a {
  color: #e71228 !important;
}

/* Caret arrow alignment */
.home-dropdown > a .fa-caret-down {
  font-size: 10px;
  margin-top: 2px;
  transition: 0.3s;
}
.home-dropdown:hover > a .fa-caret-down {
  color: #e71228;
}

/* DROPDOWN MENU */
.home-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  background: #fff;
  padding: 5px 0;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}
.home-dropdown:hover .dropdown-menu {
  display: block;
}

/* DROPDOWN ITEMS */
.home-dropdown .dropdown-menu li a {
  padding: 8px 12px;
  display: block;
  color: #333;
  font-size: 14px;
}
.home-dropdown .dropdown-menu li a:hover {
  background: #e71228;
  color: #fff;
}

/* BUTTONS */
.nav-buttons {
  display: flex;
  gap: 15px;
}
.login-btn {
  padding: 10px 20px;
  border: 2px solid #000;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}
.login-btn:hover {
  background: #000;
  color: #fff;
}
.open-btn {
  padding: 10px 25px;
  background: #e71228;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.open-btn:hover {
  background: #c10f21;
  transform: translateY(-2px);
}

/* Remove bullets for dropdown list */
.home-dropdown .dropdown-menu {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

/* Remove bullets for dropdown li */
.home-dropdown .dropdown-menu li {
  list-style: none !important;
}

/* Remove underline from dropdown links */
.home-dropdown .dropdown-menu li a {
  text-decoration: none !important;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #000;
}



/* Mobile Menu Hidden */
#mobile-menu {
  display: flex;
}

@media (max-width: 768px) {
  #mobile-menu {
    display: none !important;
  }

  #mobile-menu.active {
    display: block !important;
  }
}

.home-dropdown a .fa-caret-down {
  font-size: 18px !important;   /* bigger arrow */
  transition: .3s;
}

.rotate {
  transform: rotate(180deg);
}

@media (max-width: 768px) {

  /* Center whole mobile menu */
  .menu {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Center HOME itself */
 /* --- MOBILE HOME DROPDOWN FIX (NO OVERLAY) --- */

.home-dropdown {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important; /* important: vertical layout */
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Home title centered */
.home-dropdown > a {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px;
  padding: 12px 0;
}

/* Dropdown list acts like normal block */
.home-dropdown .dropdown-menu {
  display: none !important;
  width: 100% !important;
  margin-top: 5px !important;  /* space below Home */
  position: relative !important; /* remove absolute */
  left: 0 !important;
  text-align: center !important;
  background: #fff !important;
  padding: 10px 0 !important;
  box-shadow: none !important;
}

/* Show dropdown */
.dropdown-menu.show {
  display: block !important;
}

/* Dropdown item full width */
/* Dropdown item styling */
.dropdown-menu li a {
  display: block !important;
  width: 100% !important;
  padding: 6px 0 !important;   /* reduced top & bottom padding */
  font-size: 17px !important;  /* increased text size */
  text-align: center !important;
  background: #fff !important;
}

/* Arrow rotation */
.home-dropdown .fa-caret-down {
  font-size: 18px !important;
  transition: .3s;
}

.home-dropdown .rotate {
  transform: rotate(180deg);
}

}




/* ===============================================
   RESPONSIVE STYLING FOR ALL DEVICES
   1024px → 768px → 576px → 480px → 360px
================================================ */

  /* ============= 1024px (small laptops / tablets) ============= */
  @media (max-width: 1024px) {

    .header-wrapper {
      padding-left: 0 !important;
    }

    .left-logo {
      position: relative !important;
      width: 240px;
      height: auto;
      margin: 10px auto;
    }

    .nav-bar {
      padding: 15px 20px;
    }

    .menu {
      gap: 20px;
    }
  }

  /* ============= 768px (tablets & large mobiles) ============= */
  @media (max-width: 768px) {

    /* --- LOGO FIX --- */
    .left-logo {
      width: 180px;
      margin-left: 0px;
    }

      .left-logo  img{
      width: 180px;
    }

    /* --- TOP BAR FIX --- */
    .top-right {
      flex-direction: column;
      font-size: 14px;
      gap: 6px;
    }

    /* --- NAVBAR BACKGROUND BLACK --- */
    .nav-bar {
      width: 100%;
      flex-direction: column;
      align-items: flex-start;
      padding: 15px 20px;
    }

    /* --- HAMBURGER SHOW --- */
    .hamburger {
      display: block;
      color: #000000 !important;
      margin-bottom: 12px;
    }

    /* --- MENU HIDE INITIALLY --- */
    .menu-container {
      width: 100%;
      display: none;
      background: #fff;
      padding: 12px 0;
    }

    .menu-container.active {
      display: block !important;
    }

    /* --- MENU STACKED --- */
    .menu {
      flex-direction: column !important;
      gap: 15px;
      width: 100%;
      padding-left: 10px;
    }

    .menu li {
      width: 100%;
      font-size: 16px;
    }

    /* --- BUTTONS FULL WIDTH --- */
    .nav-buttons {
      flex-direction: column;
      width: 100%;
      margin-top: 10px;
      gap: 12px;
    }

    .login-btn,
    .open-btn {
      width: 100%;
      text-align: center;
    }
  }

  /* ============= 576px (normal phones) ============= */
  @media (max-width: 576px) {

    .left-logo {
      width: 160px;
    }

    .top-right {
      font-size: 13px;
    }

    .menu li {
      font-size: 15px;
    }

    .home-dropdown > a {
      font-size: 16px;
    }
  }

  /* ============= 480px (small phones) ============= */
  @media (max-width: 480px) {

    .top-bar {
      padding: 10px;
      text-align: center;
      height: auto;
    }

    .nav-bar {
      padding: 12px 15px;
    }

    .login-btn,
    .open-btn {
      padding: 10px;
      font-size: 14px;
    }
  }

  /* ============= 360px (mini phones) ============= */
  @media (max-width: 360px) {

    .left-logo {
      width: 140px;
    }

    .top-right {
      font-size: 12px;
    }

    .menu li {
      font-size: 14px;
    }

    .login-btn,
    .open-btn {
      font-size: 13px;
    }
  }


  @media (max-width: 768px) {

    /* Make top-bar normal container */
    .top-bar {
      position: relative;
      padding-top: 60px;   /* space for logo overlay */
      text-align: center;
    }

    /* Logo overlays top bar */
    .left-logo {
      position: absolute !important;
      top: -30px !important;      /* adjust overlay amount */
      left: 50% !important;
      transform: translateX(-50%); /* center logo */
      z-index: 999 !important;
      width: 160px !important;
      height: auto;
      margin: 0 !important;
    }

    .left-logo img {
      width: 100% !important;
    }

    /* Contact info below logo */
    .top-right {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 14px;
      color: #fff;
    }

  }


  @media (max-width: 768px) {

    /* Remove desktop offset */
    .header-wrapper {
      padding-left: 0 !important;
    }

    /* TOP BAR becomes container for contact only */
  .top-right {
      display: flex !important;
      flex-direction: row !important;   /* ← side by side */
      align-items: center !important;
      justify-content: center !important; 
      gap: 8px !important;             /* space between email & phone */
      text-align: center !important;
      font-size: 12px !important;
      color: #fff !important;
    }


    /* LOGO overlays top bar + navbar */
    .left-logo {
    position: absolute !important;
    top: 0px !important;      /* vertical positioning */
    left: 70px !important;      /* THIS moves logo to left side */
    z-index: 999 !important;
    width: 160px !important;
    height: auto;
  }

    .top-bar {
      padding-top: 20px !important;   /* reduced from 60px/70px */
      padding-bottom: 5px !important;
    }

    .left-logo img {
      width: 100% !important;
      height: auto;
    }

    /* CONTACT stays BELOW logo */
    .top-right {
      display: flex !important;
      flex-direction: column;
      align-items: center !important;
      gap: 5px;
      font-size: 14px;
      color: #fff !important;
    }

    /* NAVBAR BELOW top bar */
    .nav-bar {
      width: 100%;
      background: #fff;
      padding: 15px;
      display: flex;
      justify-content: space-between !important;
      align-items: center !important;
    }

    /* Hamburger goes RIGHT */
    .hamburger {
      display: block !important;
      font-size: 28px;
      color: #000 !important;
    }

    /* MENU hidden initially */
    .menu-container {
      display: none;
      width: 100%;
    }

    .menu-container.active {
      display: block !important;
    }

    /* MENU stacks vertically */
    .menu {
      flex-direction: column !important;
      width: 100%;
      gap: 15px;
      padding-left: 10px;
    }

    .menu li {
      width: 100%;
      font-size: 16px;
    }

    /* BUTTONS full width */
    .nav-buttons {
      flex-direction: column !important;
      width: 100%;
      margin-top: 10px;
      gap: 10px;
    }

    .login-btn,
    .open-btn {
      width: 100% !important;
      text-align: center;
    }
  }


  /* DESKTOP DROPDOWN MENU (RED) */
.home-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100px;
  list-style: none;
  padding: 0;
  background: #e71228;  /* RED */
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
}

.home-dropdown .dropdown-menu li a {
  color: #fff !important;     /* WHITE TEXT */
  display: block;
  padding: 10px 14px;
  font-size: 15px;
}

.home-dropdown .dropdown-menu li a:hover {
  background: #fff !important;
  color: #e71228 !important;  /* RED TEXT */
}

/* Desktop hover open */
@media (min-width: 769px) {
  .home-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* NAV LINKS COLOR RESET */
.menu a {
  color: #000 !important;
  text-decoration: none !important;
  display: inline-block;
}

/* MOBILE MODE */
@media (max-width: 768px) {

  .menu-container {
    display: none;
    width: 100%;
  }

  .menu-container.active {
    display: block !important;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    text-align: center;
  }

  .home-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .home-dropdown .dropdown-menu {
    position: relative !important;
    width: 100%;
    display: none;
    box-shadow: none!important;
    background: #fff !important;
  }

  .home-dropdown .dropdown-menu li a {
    color: #000 !important;
    padding: 8px 0 !important;
    background: #fff;
  }

  /* Show dropdown when toggled */
  .dropdown-menu.show {
    display: block !important;
  }

  /* Rotate arrow */
  .dropdown-arrow.rotate {
    transform: rotate(180deg);
  }
}

/* MAKE HOME TEXT SAME STYLE AS OTHER NAV LINKS */
.menu a,
.home-link {
  font-size: 18px !important;
  font-weight: normal !important;
  color: #000 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 0;      /* SAME AS OTHER LINKS */
  margin: 0;
}

/* Hover color same as others */
.home-link:hover {
  color: #e71228 !important;
}

/* Arrow style same */
.dropdown-arrow {
  font-size: 14px !important;
  margin-left: 4px;
  transition: .3s;
}


@media (max-width: 768px) {
    .nav-bar {
        width: 100%;
        display: flex;
        justify-content: space-between !important;  /* keeps logo left + hamburger right */
        align-items: center !important;
    }

    .hamburger {
        display: block !important;
        margin-left: auto !important;  /* pushes hamburger to the right */
        margin-right: 10px;            /* little right spacing */
    }
}

@media (max-width: 768px) {
    .home-dropdown .dropdown-menu li a {
        background: #e71228 !important;  /* red hover */
        color: #fff !important;          /* white text */
    }
}

.left-logo a {
    display: block;        /* makes <a> behave like the old <img> */
    width: 100%;
    height: 100%;
}

/* MAIN BANNER */
.inner-banner {
    position: relative;
    margin-top: 7px;
    width: 100%;
    height: 350px;
    background: url("Images/bg.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

/* RED OVERLAY */
.inner-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(120, 0, 0, 0.85);   /* deep red overlay */
    z-index: 1;
}

/* CONTENT CONTAINER */
.inner-banner .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 0 80px;
}

/* PAGE TITLE */
.page-title1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.breadcrumb span {
    font-size: 22px;
    opacity: 0.8;
}

.breadcrumb p {
    margin: 0;
    font-weight: 400;
    opacity: 1;
}

@media (max-width: 768px) {

    /* Banner height reduce */
    .inner-banner {
        height: 240px;
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }

    /* Container padding reduce */
    .inner-banner .container {
        padding: 0 20px;
    }

    /* Title smaller */
    .page-title1 {
        font-size: 34px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    /* Breadcrumb center */
    .breadcrumb {
        justify-content: center;
        font-size: 16px;
        gap: 6px;
    }

    .breadcrumb a {
        font-size: 16px;
    }

    .breadcrumb span {
        font-size: 18px;
    }

    .breadcrumb p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    .inner-banner {
        height: 200px;
        padding: 0 12px;
    }

    .inner-banner .container {
        padding: 0 12px;
    }

    .page-title1 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .breadcrumb {
        font-size: 14px;
        gap: 5px;
    }

    .breadcrumb span {
        font-size: 16px;
    }
}



.services-area {
    margin: 60px auto;
    padding: 0 30px;
    text-align: center;
}

/* LABEL */
.top-label {
    color: #d1001f;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* MAIN TITLE */
.main-heading {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 45px;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* CARD */
.service-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}

/* INNER CONTENT */
.card-inner {
    padding: 20px 20px 0 20px;
    text-align: left;
}

.card-inner h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.card-inner p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

/* IMAGE */
.image-box {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

/* IMAGE ZOOM */
.service-card:hover .image-box img {
    transform: scale(1.08);
}

/* READ MORE AREA */
.readmore-wrapper {
    display: flex;
    align-items: center;
}

.readmore-icon {
    background: #e7001d;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
}

.readmore-btn {
    background: #f0f0f0;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    margin-left: 5px;
    transition: 0.3s;
}

/* READ MORE HOVER EFFECT */
.service-card:hover .readmore-btn {
    background: #e7001d;
    color: #fff;
}

/* ================================
   TABLET - 2 COLUMN LAYOUT
   ================================ */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .main-heading {
        font-size: 34px;
        margin-bottom: 35px;
    }

    .card-inner {
        padding: 18px;
    }

    .image-box {
        height: 190px;
    }
}

/* ================================
   MOBILE - 1 COLUMN LAYOUT
   ================================ */
@media (max-width: 768px) {
    .services-area {
        padding: 0 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .main-heading {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .top-label {
        font-size: 13px;
    }

    .image-box {
        height: 180px;
    }

    .readmore-btn {
        padding: 9px 20px;
        font-size: 14px;
    }

    .readmore-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}

/* ================================
   SMALL MOBILE - TIGHT SPACING
   ================================ */
@media (max-width: 480px) {
    .main-heading {
        font-size: 26px;
    }

    .card-inner h3 {
        font-size: 18px;
    }

    .card-inner p {
        font-size: 14px;
    }

    .image-box {
        height: 160px;
    }

    .readmore-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .readmore-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* ================================
   EXTRA SMALL DEVICES (360px)
   ================================ */
@media (max-width: 360px) {
    .main-heading {
        font-size: 22px;
    }

    .image-box {
        height: 150px;
    }

    .readmore-btn {
        padding: 7px 15px;
        font-size: 12px;
    }

    .readmore-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}


/* SECTION BACKGROUND */
.stackly-card-section {
    background: #f7f7f7;
    padding: 20px 0 0 0;   /* REDUCED SECTION SIZE */
    border-radius: 10px;
    overflow: hidden;
}

/* MAIN CONTAINER */
.stackly-container {
    padding: 30px 20px 0 20px;  /* LESS TOP SPACE */
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    margin-top: -60px;
    align-items: center;
    gap: 20px;  /* Reduced */
}

/* LEFT CONTENT */
.stackly-left h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 12px;
    margin-top: -80px;
}

.stackly-left p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 520px;
}

/* FEATURES */
.stackly-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
}

.feature-item {
    font-size: 16px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    background: #000;
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    font-size: 12px;
}

/* RIGHT SIDE */
.stackly-right {
    position: relative;
    padding-top: 20px;  /* LESS SPACE */
}

/* UPDATED BIGGER & CENTERED RED CIRCLE */
.circle-bg {
    width: 480px;          /* Bigger circle */
    height: 470px;
    background: radial-gradient(circle, #ffecec 15%, #ffc7c7 55%, #ffb4b4 70%, #ff86862d 95%);
    border-radius: 50%;
    position: absolute;
    top: 10px;           /* moved upward for better look */
    right: -10px;
    z-index: 1;
    opacity: 0.85;
}

/* UPDATED CARD IMAGE SIZE */
.stackly-card-img {
    width: 520px;          /* Larger card */
    max-width: 100%;
    transform: rotate(-12deg);
    position: relative;
    z-index: 3;
    transition: 0.4s ease;
}

/* CARD HOVER */
.stackly-card-img:hover {
    transform: rotate(-6deg) scale(1.07);
}

/* BOTTOM BAR */
.stackly-bottom-bar {
  margin-top: -120px;
    background: linear-gradient(to right, #8b0000, #b30000);
    color: #fff;
    display: flex;
    width: 60%;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    margin-bottom: 40px;
}

/* LEFT TEXT */
.bottom-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BUTTON */
.stackly-enquire-btn  { 
    background: #ef5d5d;
    padding: 12px 20px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;   /* Forces text to stay in one line */
}

/* HOVER EFFECT */
.stackly-enquire-btn:hover {
    background: #ff7a7a;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}


/* ================================
   MOBILE RESPONSIVE (MAX 768PX)
   ================================ */
@media (max-width: 768px) {

    /* MAIN GRID BECOMES SINGLE COLUMN */
    .stackly-container {
        grid-template-columns: 1fr;
        margin-top: -20px;
        padding: 20px;
        text-align: center;
    }

    /* LEFT COLUMN TEXT */
    .stackly-left h2 {
        font-size: 28px;
        margin-top: 0;
    }

    .stackly-left p {
        font-size: 14px;
        margin: 0 auto 20px auto;
    }

    /* FEATURES GRID -> SINGLE COLUMN */
    .stackly-features {
        grid-template-columns: 1fr;
        gap: 10px;
        justify-items: center;
    }

    .feature-item {
        font-size: 14px;
        justify-content: center;
    }

    .feature-item i {
        padding: 5px;
        font-size: 10px;
    }

    /* RIGHT SIDE CIRCLE */
    .circle-bg {
        width: 300px;
        height: 270px;
        top: -10px;
        right: 50%;
        transform: translateX(50%);
        opacity: 0.95;
    }

    /* CARD IMAGE */
    .stackly-card-img {
        width: 80%;
        transform: rotate(-8deg);
        margin-top: -50px
    }

    .stackly-card-img:hover {
        transform: rotate(-4deg) scale(1.03);
    }

    /* BOTTOM BAR */
    .stackly-bottom-bar {
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px;
        margin-top: -40px;
    }

    /* BUTTON */
    .stackly-enquire-btn {
        font-size: 14px;
        padding: 12px 24px;
        white-space: nowrap;
    }
}


.credit-section {
    padding: 50px;
    overflow: hidden;
}

.credit-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.left-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 4px solid #900000;   /* red left highlight */
    line-height: 1.3;
    letter-spacing: 0.3px;
}


/* Sidebar */
.card-type-list {
    list-style: none;
    padding: 0;
}

.card-type-list li {
    padding: 12px 15px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.card-type-list li.active,
.card-type-list li:hover {
    background: #900000;
    color: #fff;
    border-color: #900000;
}

/* Card Box */
.credit-card-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 10px;
}

/* Title */
.card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Layout: left card + right desc */
.card-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
}

/* Card Image */
.card-image {
    width: 100%;
    border-radius: 10px;
}

/* BUTTONS BELOW IMAGE */
.buttons-under-image {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.apply-btn {
    padding: 10px 20px;
    border: 1px solid #000;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    color: #000;
    border-radius: 5px;
}

.read-btn {
    padding: 10px 20px;
    background: #700000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
}

.apply-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transition: 0.3s ease;
}

.read-btn:hover {
    background: #900000;
    transition: 0.3s ease;
}

/* RIGHT DESCRIPTION */
.card-description p {
    color: #666;
    margin-bottom: 20px;
}

.features-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.features-list {
    padding-left: 20px;
}

.features-list li {
    margin-bottom: 8px;
}


/* ================================
   MOBILE RESPONSIVE (MAX 768PX)
   ================================ */
@media (max-width: 768px) {

    /* Reduce page padding */
    .credit-section {
        padding: 20px;
    }

    /* Main layout becomes single column */
    .credit-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Sidebar heading */
    .left-sidebar h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    /* Card type list items */
    .card-type-list li {
        font-size: 14px;
        padding: 10px 12px;
    }

    /* Card details box */
    .credit-card-box {
        padding: 20px;
    }

    /* Title */
    .card-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 16px;
    }

    /* Layout inside card → STACKED */
    .card-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Full width card image */
    .card-image {
        width: 100%;
    }

    /* Center buttons */
    .buttons-under-image {
        justify-content: center;
        flex-wrap: wrap;
    }

    .apply-btn,
    .read-btn {
        width: 48%;
        text-align: center;
    }

    /* Description */
    .card-description p {
        font-size: 14px;
        text-align: center;
    }

    .features-title {
        font-size: 16px;
        text-align: center;
    }

    /* Features list center */
    .features-list {
        padding-left: 0;
        text-align: center;
        list-style-position: inside;
    }
}

.service-container {
    padding: 30px 30px;
    overflow: hidden;
}

.top-badge {
    font-size: 13px;
    color: #b00000;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 25px;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 35px;
}

/* ACCORDION CORE */
.accordion-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: .3s;
}

.left-part {
    display: flex;
    align-items: center;
    gap: 12px;
}

.acc-icon {
    font-size: 22px;
    color: #b00000;
}

.accordion-header:hover .acc-arrow {
    color: #b00000;
}

/* ACTIVE */
.accordion-item.open .accordion-header {
    background: #f7efef;
    border-left: 4px solid #b00000;
}

.accordion-item.open .acc-arrow {
    color: #b00000;
}

.acc-arrow {
    font-size: 18px;
    color: #444;
    transition: .3s;
}

/* CONTENT */
.accordion-content {
    display: none;
    padding: 20px;
    background: #fafafa;
}
.accordion-content.show {
    display: block;
}

/* ====== TILES ====== */
.service-box {
    display: flex;
    gap: 20px;
}

/* TILE AS LINK */
.tile {
    flex: 1;
    display: flex;
    flex-direction: column;     /* Fix alignment */
    justify-content: center;
    align-items: center;

    background: #fff;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    cursor: pointer;

    text-decoration: none;
    color: inherit;
}

.tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* TILE ICON */
.tile-icon {
    font-size: 22px;
    color: #666;
    margin-bottom: 12px;
    transition: .3s;
}

/* ICON RED ON HOVER */
.tile:hover .tile-icon {
    color: #b00000 !important;
}

/* SUPPORT BOX */
.support-box {
    background: #730000;
    color: #fff;
    padding: 18px;
    border-radius: 10px;
}

.support-img-area {
    position: relative;
}

.support-img {
    width: 80%;
    border-radius: 6px;
}

.support-text-vertical {
    position: absolute;
    top: 110px;
    writing-mode: vertical-rl;
    opacity: 0.2;
    font-size: 24px;
    font-weight: 700;
}

.support-info {
    font-size: 16px;
    margin-top: 15px;
}

.support-btn {
    display: block;
    background: #d82323;
    text-align: center;
    padding: 14px 16px;
    margin-top: 15px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: .3s;
}

.support-btn:hover {
    background: red;
}

/* =========================================================
   MOBILE RESPONSIVE (MAX WIDTH: 768px)
   ========================================================= */
@media (max-width: 768px) {

    /* Outer container */
    .service-container {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Layout becomes single column */
    .service-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Accordion Header */
    .accordion-header {
        padding: 14px 14px;
    }

    .left-part span {
        font-size: 15px;
    }

    .acc-icon {
        font-size: 20px;
    }

    /* Accordion content padding */
    .accordion-content {
        padding: 16px;
    }

    /* Tiles stack vertically */
    .service-box {
        flex-direction: column;
        gap: 15px;
    }

    .tile {
        width: 100%;
        padding: 16px;
    }

    .tile-icon {
        font-size: 20px;
        margin-bottom: 10px;
    }

    /* Support box full width */
    .support-box {
        width: 100%;
    }

    .support-img {
        width: 100%;
    }

    .support-text-vertical {
        right: -18px;
        font-size: 18px;
    }

    .support-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}

/* ======================
   SUBSCRIBE SECTION
   ====================== */
.subscribe-section {
    background: #e82d2d;
    color: #fff;
    padding: 50px 80px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscribe-left h2 {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.4;
}

.subscribe-right {
    display: flex;
    gap: 10px;
}

.subscribe-right input {
    width: 300px;
    padding: 14px;
    background: rgba(255,255,255,0.3);
    border: none;
    color: #fff;
}

.subscribe-right button {
    padding: 14px 25px;
    background: #0c1121;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* ============================================
   📱 SUBSCRIBE SECTION – FULL RESPONSIVE CSS
============================================ */

/* ---------- Tablets (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
  .subscribe-section {
    padding: 40px 50px;
  }

  .subscribe-left h2 {
    font-size: 32px;
  }

  .subscribe-right input {
    width: 260px;
  }
}

/* ---------- Tablets & Large Mobiles (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .subscribe-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 40px 30px;
  }

  .subscribe-left h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .subscribe-right {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    align-items: center;
  }

  .subscribe-right input {
    width: 100%;
    padding: 14px;
    text-align: center;
  }

  .subscribe-right button {
    width: 100%;
    padding: 14px;
  }
}

/* ---------- Mobiles (max-width: 576px) ---------- */
@media (max-width: 576px) {
  .subscribe-section {
    padding: 35px 20px;
  }

  .subscribe-left h2 {
    font-size: 24px;
  }

  .subscribe-right input {
    font-size: 14px;
  }

  .subscribe-right button {
    font-size: 14px;
  }
}

/* ---------- Small Phones (max-width: 480px) ---------- */
@media (max-width: 480px) {
  .subscribe-left h2 {
    font-size: 22px;
  }

  .subscribe-right input {
    padding: 12px;
  }

  .subscribe-right button {
    padding: 12px;
  }
}

/* ---------- Mini Phones (max-width: 360px) ---------- */
@media (max-width: 360px) {
  .subscribe-left h2 {
    font-size: 20px;
  }

  .subscribe-right input {
    font-size: 13px;
  }

  .subscribe-right button {
    font-size: 13px;
  }
}

.input-error {
    border: 2px solid #fff !important;
    background: rgba(255,0,0,0.3) !important;
}



/* ======================
   FOOTER
   ====================== */
.footer {
    background: #0c1121;
    color: #ccc;
    overflow: hidden;
    padding: 20px 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

/* LOGO */
.footer-logo {
    margin-bottom: 15px;
}
.footer-logo img {
    width: 200px;
}
    

.logo-icon {
    width: 45px;
}

/* DESCRIPTION */
.bank-desc {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social {
    width: 40px;
    height: 40px;
    background: #1d2236;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: 0.3s;
    font-size: 16px;
}

/* Hover Effects */
.social:hover {
    background: #e82d2d;
    transform: translateY(-4px);
}

/* FOOTER COLUMNS */
.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col ul li {
    list-style: none;
    margin-bottom: 10px;
    cursor: pointer;
}

.footer-col ul li:hover {
    color: #fff;
}

/* BRANCH SELECT */
.footer-select {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    margin-bottom: 15px;
}

.footer-select option {
    color: #000;
}

/* BUTTON */
.map-btn {
    width: 150px;
    background: #e82d2d;
    color: #fff;
    padding: 12px;
    border: none;
    cursor: pointer;
}

/* ADDRESS OUTPUT */
.branch-output {
    margin-top: 15px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

/* COPYRIGHT */
.copyright {
    background: #090c18;
    text-align: center;
    padding: 18px;
    color: #aaa;
}

.copyright span {
    color: #e82d2d;
    font-weight: bold;
}

.social-icons a {
    text-decoration: none;   /* remove underline */
    color: inherit;          /* keep default icon color */
}

/* ============================================================
   📱 FOOTER SECTION – FULL RESPONSIVE MEDIA QUERIES
============================================================ */

/* ---------- Tablets (max-width: 1024px) ---------- */
@media (max-width: 1024px) {

  .footer {
    padding: 30px 50px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-logo img {
    width: 180px;
  }
}

/* ---------- Tablets & Large Mobiles (max-width: 768px) ---------- */
@media (max-width: 768px) {

  .footer {
    padding: 30px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;  /* Single column */
    text-align: center;
    gap: 35px;
  }

  .footer-logo img {
    width: 160px;
    margin: 0 auto;
  }

  .bank-desc {
    font-size: 15px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-col h3 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .footer-col ul li {
    font-size: 15px;
  }

  .footer-select {
    width: 100%;
  }

  .map-btn {
    width: 100%;
    margin-top: 10px;
  }

  .branch-output {
    text-align: center;
  }
}

/* ---------- Mobiles (max-width: 576px) ---------- */
@media (max-width: 576px) {

  .footer {
    padding: 25px 20px;
  }

  .footer-logo img {
    width: 150px;
  }

  .social-icons {
    gap: 10px;
  }

  .social {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .footer-col ul li {
    font-size: 14px;
  }

  .bank-desc {
    font-size: 14px;
  }
}

/* ---------- Small Phones (max-width: 480px) ---------- */
@media (max-width: 480px) {

  .footer {
    padding: 20px 15px;
  }

  .footer-logo img {
    width: 140px;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col ul li {
    font-size: 13px;
  }

  .map-btn {
    padding: 10px;
  }
}

/* ---------- Mini Phones (max-width: 360px) ---------- */
@media (max-width: 360px) {

  .footer-logo img {
    width: 120px;
  }

  .footer-col ul li {
    font-size: 12px;
  }

  .social {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .map-btn {
    font-size: 14px;
  }
}

.footer-col ul li a {
    text-decoration: none;     /* remove underline */
    color: #ccc;               /* normal color */
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;               /* hover color */
}

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* When visible */
[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

/* 🔹 Bounce Animations */
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@keyframes bounceInUp {
  0% { opacity: 0; transform: translateY(100px); }
  60% { opacity: 1; transform: translateY(-20px); }
  80% { transform: translateY(10px); }
  100% { transform: translateY(0); }
}
@keyframes bounceInDown {
  0% { opacity: 0; transform: translateY(-100px); }
  60% { opacity: 1; transform: translateY(20px); }
  80% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
@keyframes bounceInLeft {
  0% { opacity: 0; transform: translateX(-120px); }
  60% { opacity: 1; transform: translateX(25px); }
  80% { transform: translateX(-10px); }
  100% { transform: translateX(0); }
}
@keyframes bounceInRight {
  0% { opacity: 0; transform: translateX(120px); }
  60% { opacity: 1; transform: translateX(-25px); }
  80% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

/* Animation class applied dynamically */
.animate.bounceIn     { animation: bounceIn 1.5s ease both; }
.animate.bounceInUp   { animation: bounceInUp 1.5s ease both; }
.animate.bounceInDown { animation: bounceInDown 1.5s ease both; }
.animate.bounceInLeft { animation: bounceInLeft 1.5s ease both; }
.animate.bounceInRight{ animation: bounceInRight 1.5s ease both; }
