*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}
    body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333}
    h1,h2,h3,h4,h5 { font-weight: 600; color: #0a1f44; }
    .accent-color { color: #0a1f44; }
    a { text-decoration: none; color: inherit; }
    
    :root{
        --primary:#0f172a;
        --accent:#b68c4c;
        --light:#f4f6f9;
        --text:#334155;
    }
    
section {
  padding: 80px 8%;
}

@media (max-width: 768px) {
section {
    padding: 50px 0;
  }
}
    
/* ===============================
   HEADER BASE
================================= */

.site-header {
  width: 100%;
  z-index: 999;
  padding: 10px 0;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

/* LOGO */
.header-logo img {
  max-height: 70px;
}

.site-header .container-fluid {
  max-width: 1400px;
}

/* ===============================
   DESKTOP AREA
================================= */

.header-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 25px;
  min-width: 0;
}

@media (max-width: 767px) {
  .top-contact-bar {
    display: none;
  }
}

/* ===============================
   NAVIGATION
================================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
  font-size: 1.05rem;
}

/* underline animation */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2.5px;
  background: #0a1f44;
  transition: 0.3s;
  border-radius: 3px;
}

.main-nav a:hover {
  color: #0a1f44;
}

.main-nav a:hover::after {
  width: 100%;
}

/* ===============================
   DROPDOWN
================================= */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
}

.nav-dropdown-menu a:hover {
  background: #f5f7fa;
}

/* ===============================
   MOBILE TOGGLE
================================= */

.mobile-toggle {
  display: none;
  font-size: 22px;
  border: none;
  background: transparent;
}

/* ===============================
   TABLET FIX (MOST IMPORTANT)
================================= */

@media (max-width: 1280px) {

  .header-contact .email {
    max-width: 220px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 15px;
    font-weight: 550;
  }
  
  .nav-dropdown-menu a{
      font-size: 13px;
  }
}

@media (max-width: 1150px) {
  .header-contact .email {
    display: none;
  }
}

/* ===============================
   MOBILE
================================= */

@media (max-width: 991px) {

  .header-desktop {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* ===== Overlay Background ===== */
#mobileOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 1040;
}

#mobileOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Mobile Nav Panel ===== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  padding: 90px 25px 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.4s ease;
  z-index: 1050;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.mobile-nav.active {
  right: 0;
}

/* Links */
.mobile-nav a {
  padding: 14px 0;
  font-size: 1.05rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: #0a1f44;
  color: #fff;
  padding-left: 22px;
  border-radius: 6px;
}

/* ===== Dropdown ===== */
.mobile-dropdown-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-left: 15px;
  transition: max-height 0.35s ease;
}

/* open state */
.mobile-dropdown.active .mobile-dropdown-menu {
  max-height: 300px;
}

.mobile-dropdown.active i {
  transform: rotate(360deg);
  transition: 0.3s;
}

/* Prevent desktop nav */
@media (max-width: 767px) {
  .d-md-flex {
    display: none !important;
  }
}

/* ================= TOP CONTACT BAR ================= */

.top-contact-bar {
  background: #0a1f44;
  color: #fff;
  font-size: 14px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  position: relative; 
  z-index: 1100;
}

.top-contact-bar i {
  color: #d4af37;
}

.top-contact-bar .container-fluid {
  max-width: 1400px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

/* When visible */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

#backToTop {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #0a1f44;
  color: white;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#backToTop:hover {
  background-color: #555;
}

/* Hero Section */

.hero{
    height:85vh;
    /*background:url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') center/cover no-repeat;*/
    background:url('/images/buy1.jpg') center/cover no-repeat;
    display:flex;
    align-items:center;
    color:white;
    position: relative;
}

.hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
    animation:fadeUp 1.2s ease forwards;
}

.hero h1{
    font-size:38px;
    color:white;
    margin-bottom:20px; 
}

.hero h5{
    color:white;
    margin-bottom:20px; 
}

.hero p{
    color:#e2e8f0;
    max-width:700px; 
    margin-bottom:30px;
}

.btn{
    padding:14px 30px;
    border-radius:40px;
    border:none;
    cursor:pointer;
    margin-right:15px;
    transition:all 0.3s ease;
    font-weight:500;
}

.btn-accent{
    background:var(--accent);
    color:white;
    border:none;
}

.btn-accent:hover{
    background:#a57c3f;
    color:white;
}

.btn-outline{
    background:transparent;
    border:1px solid white;
    color:white;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

@keyframes fadeUp{
    from{opacity:0; transform:translateY(40px);}
    to{opacity:1; transform:translateY(0);}
}

/* ------------------------------
   RESPONSIVE HERO
------------------------------*/

/* Large tablets / small laptops */
@media(max-width:900px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero h5 {
        font-size: 16px;
    }
}

/* Tablets */
@media(max-width:768px) {
    .hero {
        height: 60vh;
        padding: 0 20px;
        text-align: center;
        flex-direction: column;
        justify-content: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero h5 {
        font-size: 14px;
    }

    .hero p {
        max-width: 100%;
        font-size: 15px;
        margin: 20px auto;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 12px;
        padding: 12px 0;
    }
}

/* Mobile phones */
@media(max-width:480px) {
    .hero {
        height: 55vh;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero h5 {
        font-size: 13px;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero .btn {
        font-size: 14px;
        padding: 10px 0;
        margin-right: 0;
    }
}

/* @media(max-width:768px){
    .buyer-card,
    .legal-card,
    .why-card,
    .loan-item,
    .brokerage-container {
        padding: 20px;
    }
    .loan-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .why-card h5,
    .loan-item h4 {
        font-size: 18px;
    }
}
@media(max-width:480px){
    .loan-grid,
    .brokerage-points {
        grid-template-columns: 1fr;
    }
} */

@media (min-width: 768px) and (max-width:1000px){
      .legal-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .legal-section .section-title {
        font-size: 22px;
    }

    .legal-section .section-subtitle {
        font-size: 14px;
    }

    .flip-front, .flip-back {
        padding: 15px;
    }

    .flip-front h4{
        font-size: 15px;
    }

    .flip-front p{
        font-size: 14px;
    }

    .flip-back h5{
      font-size: 14px;
    }

    .flip-back ul {
        padding-left: 12px;
        font-size: 13px;
    }

    /* Make hover flip accessible on touch devices: tap to flip */
    .flip-card:hover .flip-inner,
    .flip-card:active .flip-inner {
        transform: rotateY(180deg);
    }
}

/* Mobile Phones */
@media(max-width:768px){
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .legal-section .section-title {
        font-size: 22px;
    }

    .legal-section .section-subtitle {
        font-size: 14px;
    }

    .flip-front, .flip-back {
        padding: 15px;
    }

    .flip-front h4, .flip-back h5 {
        font-size: 16px;
    }

    .flip-back ul {
        padding-left: 12px;
    }

    /* Make hover flip accessible on touch devices: tap to flip */
    .flip-card:hover .flip-inner,
    .flip-card:active .flip-inner {
        transform: rotateY(180deg);
    }
}

/* Extra small mobile */
@media(max-width:480px){
    .legal-section {
        padding: 50px 15px 40px 15px;
    }

    .flip-front, .flip-back {
        padding: 12px;
    }

    .flip-front h4, .flip-back h5 {
        font-size: 14px;
    }

    .flip-back ul {
        font-size: 13px;
    }
}
/* ===============================
   RESPONSIVE
=================================*/

/* Large tablets / small laptops */
@media(max-width:900px) {
    .property-deals-section .deal-card {
        width: 85%;
    }

    .property-deals-section .deal-content h3 {
        font-size: 26px;
    }

    .property-deals-section .deal-content p {
        font-size: 15px;
    }
}

/* Tablets */
@media(max-width:768px) {
    .property-deals-section {
        padding: 80px 20px;
    }

    .property-deals-section .deal-card {
        width: 90%;
    }

    .property-deals-section .deal-card img {
        height: 260px;
    }

    .property-deals-section .deal-content h3 {
        font-size: 22px;
    }

    .property-deals-section .deal-content p {
        font-size: 14px;
    }

    .property-deals-section .btn {
        width: 100%;
        margin-bottom: 12px;
        padding: 12px 0;
    }
}

/* Mobile phones */
@media(max-width:480px) {
    .property-deals-section {
        padding: 60px 15px;
    }

    .property-deals-section .deal-card {
        width: 95%;
    }

    .property-deals-section .deal-card img {
        height: 220px;
    }

    .property-deals-section .deal-content h3 {
        font-size: 20px;
    }

    .property-deals-section .deal-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .property-deals-section .btn {
        font-size: 14px;
        padding: 10px 0;
        margin-right: 0;
    }
}

/* market */
.market-marquee {
   /*background: #f0f6ff; */
  background: linear-gradient(180deg,#ffffff,#d9ecff) !important;
  overflow: hidden;
}

/* Wrapper */
.marquee-wrapper {
  width: 100%;
  /* overflow: hidden; */
  margin-top: 30px;
}

/* Moving Track */
.marquee-track {
  display: flex;
  gap: 30px;
  animation: scrollCities 20s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* City Card */
.city-card {
  min-width: 180px;
  text-align: center;
}

.city-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.city-card span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #0d1b3d;
}

/* Hover */
.city-card:hover img {
  transform: scale(1.08);
}

/* Animation */
@keyframes scrollCities {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}


/* ===============================
   RESPONSIVE
=================================*/

/* Tablets */
@media(max-width:768px){
    .market-marquee .section-title {
        font-size: 28px;
    }

    .market-marquee .section-subtitle {
        font-size: 14px;
    }

    .marquee-track {
        gap: 30px;
    }

    .city-card img {
        width: 100px;
        height: 100px;
    }

    .city-card span {
        font-size: 12px;
    }
}

/* Mobile phones */
@media(max-width:480px){
    .market-marquee .section-title {
        font-size: 22px;
    }

    .market-marquee .section-subtitle {
        font-size: 12px;
    }

    .marquee-track {
        gap: 20px;
    }

    .city-card img {
        width: 100px;
        height: 100px;
    }

    .city-card span {
        font-size: 11px;
    }
}

.market-section{
    padding:120px 8%;
    background:linear-gradient(180deg,#d9ecff 0%,#ffffff 100%);
    position:relative;
    overflow:hidden;
}

/* HEADER */
.market-header{
    max-width:850px;
    margin:auto;
    text-align:center;
    margin-bottom:80px;
    animation:fadeUp 1s ease forwards;
}

.market-section .section-title{
    font-family:'Playfair Display',serif;
    font-size:40px;
    color:#0f172a;
}

.divider{
    width:70px;
    height:3px;
    background:#b68c4c;
    margin:20px auto;
    transition:0.4s;
}

.market-header:hover .divider{
    width:120px;
}

.section-subtitle{
    font-size:17px;
    color:#475569;
    line-height:1.8;
}

/* GRID */
.buyer-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

/* CARD */
.buyer-card{
    background:white;
    padding:50px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,0.06);
    position:relative;
    transition:all 0.5s ease;
    transform:translateY(40px);
    opacity:0;
}

/* Reveal Animation */
.buyer-card.active{
    transform:translateY(0);
    opacity:1;
}

/* Hover Premium Effect */
.buyer-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(0,0,0,0.08);
}

.buyer-card h3{
    font-family:'Playfair Display',serif;
    font-size:28px;
    margin-bottom:25px;
    color:#0f172a;
}

.buyer-card ul{
    list-style:none;
    padding:0;
}

.buyer-card ul li{
    margin-bottom:15px;
    position:relative;
    padding-left:25px;
    color:#475569;
}

/* Elegant bullet */
.buyer-card ul li::before{
    content:"";
    width:8px;
    height:8px;
    background:#b68c4c;
    border-radius:50%;
    position:absolute;
    left:0;
    top:10px;
}

/* Animation */
@keyframes fadeUp{
    from{opacity:0; transform:translateY(30px);}
    to{opacity:1; transform:translateY(0);}
}

/* Large screens - smaller laptops (1366px) */
@media(max-width:1366px){
    .market-section {
        padding: 100px 6%;
    }
    .market-section .section-title {
        font-size: 36px;
    }
    .section-subtitle {
        font-size: 16px;
    }
    .buyer-card {
        padding: 40px;
    }
}

/* Medium screens - tablets */
@media(max-width:1024px){
    .market-section {
        padding: 80px 5%;
    }
    .market-section .section-title {
        font-size: 32px;
    }
    .section-subtitle {
        font-size: 15px;
    }
    .buyer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .buyer-card {
        padding: 35px;
    }
    .buyer-card h3 {
        font-size: 24px;
    }
}

/* Small screens - mobile */
@media(max-width:768px){
    .market-section {
        padding: 60px 4%;
    }
    .market-section .section-title {
        font-size: 26px;
    }
    .section-subtitle {
        font-size: 14px;
    }
    .buyer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .buyer-card {
        padding: 25px;
    }
    .buyer-card h3 {
        font-size: 20px;
    }
    .buyer-card ul li {
        font-size: 14px;
    }
}

/* Extra small phones */
@media(max-width:480px){
    .market-section {
        padding: 50px 2%;
    }
    .market-section .section-title {
        font-size: 20px;
    }
    .section-subtitle {
        font-size: 13px;
    }
    .buyer-card {
        padding: 20px;
    }
    .buyer-card h3 {
        font-size: 18px;
    }
    .buyer-card ul li {
        font-size: 13px;
    }
}

/* ---------------------------
   PROCESS CARD LAYOUT FIX
----------------------------*/

.acquisition-section {
  background: #e8f4ff;
}

.process-card {
  background: #ffffff;
  /* padding: 25px; */
  height: 100%;
  border-left: 4px solid #0d1b3d;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: flex;              
  align-items: center;        
  gap: 10px;
  transition: all 0.8s ease;
  opacity: 0;
}

/* IMAGE — NO PADDING */
.process-image {
  flex: 0 0 110px;
  height: 120px;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXT WRAPPER */
.process-content {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
}

/* NUMBER STYLE */
.process-card span {
  font-size: 18px;
  font-weight: bold;
  color: #0d1b3d;
  margin-bottom: 4px;
}

/* ANIMATION POSITIONS */
.process-card.left {
  transform: translateX(-80px);
}

.process-card.right {
  transform: translateX(80px);
}

.process-card.active {
  opacity: 1;
  transform: translateX(0);
}

/* Hover */
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* =========================== 
   RESPONSIVE ACQUISITION FRAMEWORK - Adjusted
=========================== */

/* Large laptops - <1366px */
@media(max-width:1366px){
  .acquisition-section {
    padding: 60px 4%;
  }
  .process-card.left {
    transform: translateX(-40px); /* move left slightly inside */
  }
  .process-card.right {
    transform: translateX(40px);
  }
  .process-card {
    padding: 20px 20px;
  }
  .process-image {
    flex: 0 0 100px; /* keep image size stable */
    height: 100px;
  }
  .process-content {
    flex: 1 1 65%; /* reduce right content width */
    padding: 20px 20px;
  }
  .process-content h5 {
    font-size: 17px;
  }
}

/* Tablets - <1024px */
@media(max-width:1024px){
  .process-card {
    flex-direction: row;
    text-align: left;
    gap: 12px;
    padding: 15px 15px;
    margin-left: 10px; /* shift whole card slightly inside */
  }
  .process-card.left {
    transform: translateX(-30px);
  }
  .process-card.right {
    transform: translateX(30px);
  }
  .process-image {
    flex: 0 0 80px;
    height: 80px;
  }
  .process-content {
    flex: 1 1 65%; /* narrower content on right */
    padding: 15px 15px;
  }
  .process-content h5 {
    font-size: 16px;
  }
  .process-card span {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width:1100px){

  .process-card{
    flex-direction:row;
    text-align:center;
    padding:10px;
    width: 300px;
  }

  .process-card.left {
    transform: translateX(-30px);
  }
  .process-card.right {
    transform: translateX(30px);
  }

  .process-image{
    flex:0 0 auto;
    width:90px;
    height:90px;
    margin-bottom:15px;
  }

  .process-content{
    padding:0;
    align-items:center;
  }

}

/* Small screens - mobile <768px */
@media(max-width:768px){
  .process-card {
    flex-direction: row;
    text-align: left;
    gap: 10px;
    padding: 12px 12px;
    margin-left: 5px;
  }
  .process-card.left {
    transform: translateX(-25px);
  }
  .process-card.right {
    transform: translateX(25px);
  }
  .process-image {
    flex: 0 0 70px;
    height: 70px;
  }
  .process-content {
    flex: 1 1 65%;
  }
  .process-content h5 {
    font-size: 15px;
  }
  .process-card span {
    font-size: 15px;
  }
}

/* Extra small mobile <480px */
@media(max-width:480px){
  .process-card {
    flex-direction: row;
    gap: 8px;
    padding: 10px 10px;
    margin-left: 3px;
  }
  .process-card.left {
    transform: translateX(-20px);
  }
  .process-card.right {
    transform: translateX(20px);
  }
  .process-image {
    flex: 0 0 60px;
    height: 60px;
  }
  .process-content {
    flex: 1 1 65%;
  }
  .process-content h5 {
    font-size: 14px;
  }
  .process-card span {
    font-size: 14px;
  }
}
/* ===============================
   PROPERTY DEAL SECTION
=================================*/

.property-deals-section{
    background:#0b1f3a;
    padding:120px 0;
    overflow:hidden;
}

/* TITLE */
.property-deals-section .section-title{
    font-family:'Playfair Display',serif;
    font-size:44px;
    color:#fff;
    margin-bottom:80px;
    text-align:center;
    position:relative;
}

/* GOLD UNDERLINE */
.property-deals-section .section-title::after{
    content:"";
    width:90px;
    height:3px;
    background:#caa85a;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-18px;
    border-radius:3px;
}

/* ===============================
   CARD DESIGN
=================================*/

.deal-card{
    width:68%;
    margin:auto;
    border-radius:18px;
    overflow:hidden;
    background:#ffffff;
    box-shadow:0 30px 80px rgba(0,0,0,0.45);
    transition:all .7s ease;
}

/* IMAGE */
.deal-card img{
    width:100%;
    height:300px;
    object-fit:cover;
    display:block;
}

/* CONTENT */
.deal-content{
    padding:35px 40px;
    text-align:center;
}

.deal-content h3{
    font-family:'Playfair Display',serif;
    font-size:30px;
    color:#0b2545;
    margin-bottom:12px;
}

.deal-content p{
    color:#475569;
    font-size:16px;
    line-height:1.7;
}

/* ===============================
   PREMIUM CENTER FOCUS EFFECT
=================================*/

/* inactive cards */
.carousel-item .deal-card{
    transform:scale(0.85);
    opacity:0.55;
}

/* active card */
.carousel-item.active .deal-card{
    transform:scale(1);
    opacity:1;
}

/* smoother slide */
.carousel-item{
    transition:transform 1s ease, opacity 1s ease;
}

/* ===============================
   NAVIGATION BUTTONS
=================================*/

.carousel-control-prev-icon,
.carousel-control-next-icon{
    background-color:#caa85a;
    border-radius:50%;
    padding:22px;
    background-size:60%;
}

/* ===============================
   MOBILE RESPONSIVE
=================================*/

@media(max-width:768px){

    .deal-card{
        width:92%;
    }

    .deal-card img{
        height:260px;
    }

    .section-title{
        font-size:32px;
    }

    .deal-content h3{
        font-size:22px;
    }
}

.legal-section{
  padding:80px 0 60px 0;
  background:#ffffff;
  text-align:center;
}

.legal-section .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-section .section-subtitle{
  max-width:750px;
  margin:20px auto 5px;
  color:#64748b;
  font-size: 18px;
}

/* GRID */
.legal-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
}

/* CARD */
.legal-card{
  background:#e8f4ff;
  padding:40px;
  border-radius:16px;
  transition:0.4s;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.legal-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

.legal-icon{
  font-size:32px;
  margin-bottom:15px;
}

@media(max-width:768px){
  .legal-grid{
    grid-template-columns:1fr;
  }
}

.flip-card {
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 260px;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 25px;
}

.flip-front {
  background: #fff;
}

.flip-back {
  background: #0f172a;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: center;      
  text-align: left; 
}

.flip-back h5 {
  color: white;
  margin-bottom: 15px;
}

.flip-back ul {
  padding-left: 18px;
  line-height: 1.8;
  margin: 0;
}

.loan-support{
    background:linear-gradient(135deg,#0a1f44,#081a36);
    color:white;
    padding:110px 8%;
}

.loan-support .section-title{
    color:white;
}

.loan-subtitle{
    max-width:700px;
    margin:15px auto 60px;
    color:#cbd5e1;
}

.loan-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.loan-item{
    padding:35px 20px;
    border-radius:14px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(6px);
    transition:0.4s;
}

.loan-item h4{
  color: white;
}

.loan-item i{
    font-size:34px;
    color:#caa85a;
    margin-bottom:15px;
}

.loan-item:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,0.1);
}

/* CTA BELOW LOAN SECTION */
.loan-cta{
    padding:50px 40px;
    border-radius:18px;
    background:linear-gradient(135deg,#ffffff,#d9ecff);
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.loan-cta-content h3{
    font-family:'Playfair Display',serif;
    font-size:30px;
    color:#0a1f44;
    margin-bottom:15px;
}

.loan-cta-content p{
    max-width:650px;
    margin:0 auto 25px;
    color:#475569;
    line-height:1.7;
}

/* CTA Button */
.loan-cta-btn{
    display:inline-block;
    background:#0a1f44;
    color:#fff;
    padding:14px 28px;
    border-radius:40px;
    font-weight:500;
    transition:0.3s;
}

.loan-cta-btn i{
    margin-left:8px;
}

.loan-cta-btn:hover{
    background:#caa85a;
    color:#fff;
    transform:translateY(-3px);
}

/* ===============================
   RESPONSIVE BREAKPOINTS
================================= */

/* Large Laptops <1366px */
@media(max-width:1366px){
  .loan-support {
    padding: 90px 6%;
  }
  .loan-grid {
    gap: 25px;
  }
  .loan-item i {
    font-size: 30px;
  }
  .loan-item h4 {
    font-size: 17px;
  }
}

/* Tablets <1024px */
@media(max-width:1024px){
  .loan-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
  }
  .loan-support .section-title {
    font-size: 28px;
  }
  .loan-subtitle {
    font-size: 16px;
  }
  .loan-item i {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .loan-item h4 {
    font-size: 16px;
  }
  .loan-cta-content h3 {
    font-size: 26px;
  }
  .loan-cta-content p {
    font-size: 15px;
  }
  .loan-cta-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* Mobile <768px */
@media(max-width:768px){
  .loan-support {
    padding: 60px 4%;
  }
  .loan-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .loan-item {
    padding: 25px 15px;
  }
  .loan-item i {
    font-size: 26px;
  }
  .loan-item h4 {
    font-size: 15px;
  }
  .loan-cta {
    padding: 40px 20px;
  }
  .loan-cta-content h3 {
    font-size: 24px;
  }
  .loan-cta-content p {
    font-size: 14px;
  }
  .loan-cta-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Extra Small Mobile <480px */
@media(max-width:480px){
  .loan-support {
    padding: 50px 3%;
  }
  .loan-item i {
    font-size: 24px;
  }
  .loan-item h4 {
    font-size: 14px;
  }
  .loan-cta-content h3 {
    font-size: 22px;
  }
  .loan-cta-content p {
    font-size: 13px;
  }
  .loan-cta-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}

.brokerage-highlight {
  background: #f8fafc;
  padding: 40px;
  border-left: 5px solid #0f766e;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* BROKERAGE SECTION */

.brokerage-section {
  background: linear-gradient(135deg, #e8f4ff, #ffffff);
  padding: 70px 20px;
  display: flex;
  justify-content: center;
}

.brokerage-container {
  max-width: 900px;
  background: #ffffff;
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  border-left: 6px solid #0f766e;
  text-align: center;
}

.brokerage-container h2 {
  font-size: 28px;
  margin-bottom: 18px;
  color: #0f172a;
  font-weight: 600;
}

.brokerage-container h2 i {
  color: #0f766e;
  margin-right: 10px;
}

.brokerage-description {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 30px;
}

.brokerage-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  text-align: left;
}

.point {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e8f4ff;
  padding: 14px 16px;
  border-radius: 8px;
  transition: 0.3s ease;
}

.point:hover {
  transform: translateY(-3px);
  background: #ecfeff;
}

.point i {
  color: #0f766e;
  font-size: 18px;
  min-width: 22px;
}

.point span {
  color: #334155;
  font-size: 15px;
}

/* ===========================
   BROKERAGE SECTION RESPONSIVE
=========================== */

/* Large laptops - <1366px */
@media (max-width: 1366px) {
  .brokerage-section {
    padding: 60px 15px;
  }
  .brokerage-container {
    padding: 35px;
  }
  .brokerage-container h2 {
    font-size: 26px;
  }
  .brokerage-description {
    font-size: 15px;
  }
  .brokerage-points {
    gap: 15px;
  }
}

/* Tablets - <1024px */
@media (max-width: 1024px) {
  .brokerage-section {
    padding: 50px 10px;
  }
  .brokerage-container {
    padding: 30px;
  }
  .brokerage-container h2 {
    font-size: 24px;
  }
  .brokerage-description {
    font-size: 14px;
  }
  .brokerage-points {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .point {
    font-size: 14px;
    padding: 12px 14px;
  }
  .point i {
    font-size: 16px;
    min-width: 20px;
  }
}

/* Small screens - mobile <768px */
@media (max-width: 768px) {
  .brokerage-section {
    padding: 40px 8px;
  }
  .brokerage-container {
    padding: 25px;
  }
  .brokerage-container h2 {
    font-size: 22px;
  }
  .brokerage-description {
    font-size: 13px;
    margin-bottom: 25px;
  }
  .brokerage-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .point {
    font-size: 13px;
    padding: 10px 12px;
  }
  .point i {
    font-size: 15px;
    min-width: 18px;
  }
}

/* Extra small mobile <480px */
@media (max-width: 480px) {
  .brokerage-section {
    padding: 30px 5px;
  }
  .brokerage-container {
    padding: 20px;
  }
  .brokerage-container h2 {
    font-size: 20px;
  }
  .brokerage-description {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .brokerage-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .point {
    font-size: 12px;
    padding: 8px 10px;
  }
  .point i {
    font-size: 14px;
    min-width: 18px;
  }
}

/* WHY SECTION */

.why-section {
  background: #e8f4ff;
}

.section-title {
  font-weight: 600;
  color: #1e293b;
}

/* CARD */
.why-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 12px;
  height: 100%;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.why-card h5 {
  margin-top: 15px;
  font-weight: 600;
  color: #0f172a;
}

.why-card p {
  font-size: 14px;
  color: #64748b;
}

/* ICON STYLE */
.icon {
  font-size: 40px;
  margin-bottom: 10px;
}

/* ICON COLORS */
.blue { color: #2563eb; }
.green { color: #16a34a; }
.orange { color: #ea580c; }
.purple { color: #7c3aed; }
.teal { color: #0d9488; }
.red { color: #dc2626; }

/* ===========================
   WHY CLIENTS CHOOSE US - RESPONSIVE
=========================== */

/* Large laptops - <1366px */
@media(max-width:1366px){
  .why-section {
    padding: 80px 6%;
  }
  .why-card {
    padding: 30px 20px;
  }
  .why-card h5 {
    font-size: 17px;
  }
  .why-card p {
    font-size: 13px;
  }
  .icon {
    font-size: 36px;
  }
}

/* Tablets - <1024px */
@media(max-width:1024px){
  .why-section {
    padding: 60px 5%;
  }
  .row.g-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .why-card {
    padding: 25px 20px;
  }
  .why-card h5 {
    font-size: 16px;
  }
  .why-card p {
    font-size: 13px;
  }
  .icon {
    font-size: 34px;
  }
}

@media(min-width:768px) and (max-width:1024px){
  .why-section {
    padding: 60px 5%;
  }
  .row.g-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .why-card {
    padding: 20px 15px;
    width: 300px;
  }
  .why-card h5 {
    font-size: 16px;
  }
  .why-card p {
    font-size: 13px;
  }
  .icon {
    font-size: 34px;
  }
}

/* Small screens - mobile <768px */
@media(max-width:767px){
  .why-section {
    padding: 50px 4%;
  }
  .row.g-4 {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .why-card {
    padding: 20px 15px;
  }
  .why-card h5 {
    font-size: 15px;
  }
  .why-card p {
    font-size: 12px;
  }
  .icon {
    font-size: 30px;
  }
}

/* Extra small mobile <480px */
@media(max-width:480px){
  .why-section {
    padding: 40px 3%;
  }
  .why-card {
    padding: 15px 12px;
  }
  .why-card h5 {
    font-size: 14px;
  }
  .why-card p {
    font-size: 12px;
  }
  .icon {
    font-size: 28px;
  }
}

.faq-section{
  background:#e8f4ff;
  padding:100px 0;
}

.faq-subtitle{
  max-width:750px;
  margin:15px auto 5px;
  color:#64748b;
}

.faq-wrapper{
  max-width:850px;
  margin:auto;
}

/* ITEM */
.faq-item{
  background:#fff;
  border-radius:12px;
  margin-bottom:18px;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
  overflow:hidden;
}

/* QUESTION */
.faq-question{
  width:100%;
  padding:22px 25px;
  background:none;
  border:none;
  text-align:left;
  font-weight:600;
  font-size:17px;
  color:#0a1f44;
  cursor:pointer;
  position:relative;
}

/* plus icon */
.faq-question::after{
  content:"+";
  position:absolute;
  right:25px;
  font-size:22px;
  transition:.3s;
}

/* ANSWER */
.faq-answer{
  max-height:0;
  overflow:hidden;
  padding:0 25px;
  color:#475569;
  line-height:1.7;
  transition:max-height .4s ease, padding .4s ease;
}

/* ACTIVE */
.faq-item.active .faq-answer{
  max-height:200px;
  padding:0 25px 20px;
}

.faq-item.active .faq-question::after{
  content:"−";
}

/* ===========================
   FAQ SECTION RESPONSIVE
=========================== */

/* Large laptops - <1366px */
@media(max-width:1366px){
  .faq-section {
    padding: 80px 6%;
  }
  .faq-question {
    font-size: 16px;
    padding: 20px 22px;
  }
  .faq-answer {
    font-size: 15px;
    padding: 0 22px;
  }
  .faq-item.active .faq-answer {
    max-height: 220px;
    padding: 0 22px 18px;
  }
}

/* Tablets - <1024px */
@media(max-width:1024px){
  .faq-section {
    padding: 60px 5%;
  }
  .faq-wrapper {
    max-width: 700px;
  }
  .faq-question {
    font-size: 15px;
    padding: 18px 20px;
  }
  .faq-answer {
    font-size: 14px;
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 15px;
  }
}

/* Small screens - mobile <768px */
@media(max-width:768px){
  .faq-section {
    padding: 50px 4%;
  }
  .faq-wrapper {
    max-width: 100%;
  }
  .faq-question {
    font-size: 14px;
    padding: 16px 18px;
  }
  .faq-answer {
    font-size: 13px;
    padding: 0 18px;
  }
  .faq-item.active .faq-answer {
    max-height: 180px;
    padding: 0 18px 14px;
  }
  .faq-question::after {
    font-size: 20px;
    right: 18px;
  }
}

/* Extra small mobile <480px */
@media(max-width:480px){
  .faq-section {
    padding: 40px 3%;
  }
  .faq-question {
    font-size: 13px;
    padding: 14px 16px;
  }
  .faq-answer {
    font-size: 12px;
    padding: 0 16px;
  }
  .faq-item.active .faq-answer {
    max-height: 160px;
    padding: 0 16px 12px;
  }
  .faq-question::after {
    font-size: 18px;
    right: 16px;
  }
}

.cta-section{
  background:#0a1f44;
  color:white;
  padding:90px 20px;
}

.cta-section h2{
  font-size:34px;
  margin-bottom:15px;
  color:#fff;
}

.cta-subtext{
  max-width:720px;
  margin:0 auto 35px;
  color:#e2e8f0;
  line-height:1.7;
}

.cta-buttons{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}

.btn-outline-light{
  border:1px solid white;
  color:white;
  padding:14px 30px;
  border-radius:40px;
  transition:.3s;
}

.btn-outline-light:hover{
  background:white;
  color:#0a1f44;
}

/* ===========================
   CTA SECTION RESPONSIVE
=========================== */

/* Large laptops - <1366px */
@media(max-width:1366px){
  .cta-section {
    padding: 70px 6%;
  }
  .cta-section h2 {
    font-size: 30px;
  }
  .cta-subtext {
    max-width: 600px;
    font-size: 16px;
    margin-bottom: 30px;
  }
  .cta-buttons {
    gap: 16px;
  }
  .btn-outline-light, .btn-accent {
    padding: 12px 26px;
    font-size: 15px;
  }
}

/* Tablets - <1024px */
@media(max-width:1024px){
  .cta-section {
    padding: 60px 5%;
  }
  .cta-section h2 {
    font-size: 28px;
  }
  .cta-subtext {
    max-width: 500px;
    font-size: 15px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }
  .btn-outline-light, .btn-accent {
    padding: 12px 24px;
    width: 100%;
    max-width: 300px;
    font-size: 14px;
  }
}

/* Mobile - <768px */
@media(max-width:768px){
  .cta-section {
    padding: 50px 4%;
  }
  .cta-section h2 {
    font-size: 24px;
  }
  .cta-subtext {
    max-width: 100%;
    font-size: 14px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .btn-outline-light, .btn-accent {
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* Extra small mobile - <480px */
@media(max-width:480px){
  .cta-section {
    padding: 40px 3%;
  }
  .cta-section h2 {
    font-size: 20px;
  }
  .cta-subtext {
    font-size: 13px;
  }
  .cta-buttons {
    gap: 8px;
  }
  .btn-outline-light, .btn-accent {
    padding: 10px 18px;
    font-size: 13px;
  }
}

.sell-cta{
  background:white;
  padding:90px 20px;
  border-top:1px solid #e2e8f0;
}

.sell-cta h2{
  color:#0a1f44;
  font-size:32px;
  margin-bottom:15px;
}

.sell-subtext{
  max-width:700px;
  margin:0 auto 30px;
  color:#475569;
  line-height:1.7;
}

/* ===========================
   SELL PROPERTY CTA RESPONSIVE
=========================== */

/* Large laptops - <1366px */
@media(max-width:1366px){
  .sell-cta {
    padding: 70px 6%;
  }
  .sell-cta h2 {
    font-size: 28px;
  }
  .sell-subtext {
    max-width: 600px;
    font-size: 16px;
    margin-bottom: 25px;
  }
  .btn-accent {
    padding: 12px 26px;
    font-size: 15px;
  }
}

/* Tablets - <1024px */
@media(max-width:1024px){
  .sell-cta {
    padding: 60px 5%;
  }
  .sell-cta h2 {
    font-size: 26px;
  }
  .sell-subtext {
    max-width: 500px;
    font-size: 15px;
  }
  .btn-accent {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Mobile - <768px */
@media(max-width:768px){
  .sell-cta {
    padding: 50px 4%;
  }
  .sell-cta h2 {
    font-size: 22px;
  }
  .sell-subtext {
    max-width: 100%;
    font-size: 14px;
    margin-bottom: 20px;
  }
  .btn-accent {
    padding: 10px 22px;
    width: 100%;
    max-width: 300px;
    font-size: 14px;
  }
}

/* Extra small mobile - <480px */
@media(max-width:480px){
  .sell-cta {
    padding: 40px 3%;
  }
  .sell-cta h2 {
    font-size: 20px;
  }
  .sell-subtext {
    font-size: 13px;
  }
  .btn-accent {
    padding: 10px 18px;
    font-size: 13px;
  }
}

.section-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, navy, #3b82f6);
  margin: 0 auto 40px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.section-underline::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 100%;
  background: rgba(255,255,255,0.6);
  left: -30px;
  animation: underline-shine 3s infinite;
}

@keyframes underline-shine {
  0% { left: -30px; }
  100% { left: 100%; }
}

/* ===================================
   BANK FOOTER
=================================== */

.bank-footer {
  background: #0a1f44;
  color: #cbd5e1;
  padding: 70px 0 0;
  font-size: 0.95rem;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 15px;
}

.footer-tagline {
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 20px;
}

/* Titles */
.footer-title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  font-size: 16px;
}

.footer-title::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #3b82f6;
  position: absolute;
  left: 0;
  bottom: -6px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

/* Social Icons */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #3b82f6;
  transform: translateY(-4px);
}

/* Divider */
.footer-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 15px 0;
}

/* Bottom Bar */
.footer-bottom {
  background: #081a36;
  padding: 18px 0;
  margin-top: 50px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 12px;
}

@media(max-width:480px){
    .cta-content h2 { font-size:24px; }
    .cta-content p { font-size:14px; }
    .cta-buttons .btn-outline-light { padding:10px 20px; font-size:14px; }
}

@media (max-width: 992px) {

  .bank-footer {
    padding-top: 60px;
  }

  /* Better spacing between columns */
  .bank-footer .col-md-4,
  .bank-footer .col-md-3,
  .bank-footer .col-md-2 {
    margin-bottom: 25px;
  }

  .footer-logo {
    max-width: 160px;
  }
}

/* =====================================
   TABLET & SMALL LAPTOP (770px–1200px)
===================================== */

@media (min-width: 768px) and (max-width: 1200px) {

  /* Reduce footer padding */
  .bank-footer {
    padding-top: 55px;
  }

  /* Make footer grid 2 columns instead of 4 */
  .bank-footer .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Add breathing space */
  .bank-footer .row > div {
    margin-bottom: 35px;
  }

  /* Reduce large heading size */
  .bank-footer h2 {
    font-size: 24px;
  }

  /* Improve text readability */
  .footer-tagline {
    font-size: 15px;
  }

  /* Align content nicely */
  .footer-title {
    font-size: 16px;
  }

  /* Prevent long email overflow */
  .bank-footer p {
    word-break: break-word;
  }

  /* Center social icons slightly */
  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {

  .bank-footer {
    text-align: center;
    padding-top: 50px;
  }

  /* Center underline */
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Center social icons */
  .footer-social {
    justify-content: center;
  }

  /* Reduce spacing */
  .footer-links li {
    margin-bottom: 8px;
  }

  /* Brand heading resize */
  .bank-footer h2 {
    font-size: 22px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  /* Contact text alignment */
  .bank-footer p {
    text-align: center;
  }

  /* Bottom bar stack */
  .footer-bottom .container {
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {

  .bank-footer {
    font-size: 14px;
  }

  .footer-title {
    font-size: 15px;
  }

  .footer-logo {
    max-width: 140px;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
  }
}

#contact{
    background-color: #e8f4ff;
}

/* ===============================
   CONTACT SECTION
================================ */

#contact {
  padding: 80px 0;
}

/* Limit content width for better readability */
#contact .container {
  max-width: 1100px;
}

/* Form styling */
.contact-input {
  height: 52px;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 15px;
  transition: all 0.25s ease;
}

.contact-input:focus {
  border-color: #0a1f44;
  box-shadow: 0 0 0 0.15rem rgba(10,31,68,0.15);
}

/* Submit button */
#contact .btn-primary {
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
}

/* Map styling */
#contact iframe {
  width: 100%;
  height: 420px;
  border-radius: 12px;
}

/* Contact info spacing */
#contact p {
  font-size: 15px;
  margin-bottom: 10px;
}

/* @media (max-width: 992px) {

  #contact {
    padding: 70px 20px;
  }

  #contact h2 {
    font-size: 30px;
  }

  #contact iframe {
    height: 350px;
  }
  
} */

/* ===============================
   TABLET RESPONSIVE (768px – 1024px)
================================ */

@media (min-width:768px) and (max-width:1024px){

  #contact{
    padding:70px 30px;
    justify-content: center;
  }

  /* #contact .container{
    max-width:900px;
  } */
   #contact .container{
    max-width:90%; /* make container adapt to viewport */
    margin:0 auto; /* center the container */
  }

  #contact .row{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    justify-content:center; /* center the columns */
  }

  #contact .col-md-6{
    flex: 0 0 48%;
    max-width: 48%;
  }

  /* keep form + map side by side */
  /* #contact .row{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
  } */

  /* #contact .col-md-6{
    flex:0 0 48%;
    max-width:48%;
  } */

  /* heading size balanced */
  #contact h2{
    font-size:28px;
  }

  #contact h5{
    font-size:16px;
  }

  /* inputs comfortable for tablets */
  .contact-input{
    height:50px;
    font-size:14px;
  }

  /* map slightly smaller */
  #contact iframe{
    height:340px;
  }

  /* button balanced */
  #contact .btn-primary{
    padding:12px 24px;
    font-size:15px;
  }

}

@media (max-width: 768px) {

  /* Stack form & map nicely */
  #contact .row {
    flex-direction: column;
  }

  /* Center headings */
  #contact h2,
  #contact h5 {
    text-align: center;
  }

  /* Inputs easier to tap */
  .contact-input {
    height: 50px;
    font-size: 14px;
  }

  /* Full-width button */
  #contact .btn-primary {
    width: 100%;
    font-size: 15px;
  }

  /* Map smaller */
  #contact iframe {
    height: 300px;
    margin-top: 20px;
  }

  /* Contact info centered */
  #contact p {
    text-align: center;
  }
}

@media (max-width: 480px) {

  #contact {
    padding: 60px 15px;
  }

  #contact h2 {
    font-size: 24px;
  }

  #contact h5 {
    font-size: 15px;
  }

  #contact iframe {
    height: 260px;
  }
}
