html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
}
* {
  box-sizing: border-box;
}
        /* ********************************* Hero Section *********************************** */

/* Hero Section - Improved Responsive Design */
        .hero-section {
            position: relative;
            /* min-height: 100vh; */
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        .hero-about-bg{
            background-position: 70% 50%;
        }

        @media (min-width: 768px) {
            .hero-about-bg {
                background-position: top center; /* Desktop: top center */
            }
        }

        .hero-head {
            font-family: poppins, sans-serif;
            font-size: 6rem;
            font-weight: 400;
            margin-bottom: 1rem;
            margin-top: 1rem;
        }

        .hero-cont {
            color: #bbb;
            font-family: poppins, sans-serif;
            font-size: 1.4rem;
        }

        /* Content Container */
        .hero-section .container-fluid {
            position: relative;
            z-index: 2;
            padding: 0 5%;
        }

        /* Enhanced Hero Button Animation */
        .hero-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            padding: 0.9rem 1.75rem;
            border-radius: 0.5rem;
            font-size: 1rem;
            font-weight: 400;
            text-decoration: none;
            white-space: nowrap;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }

        /* Subtle pulse animation on load */
        @keyframes pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
            }
            50% {
                transform: scale(1.02);
                box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
            }
        }

        /* Apply pulse animation */
        .hero-btn {
            animation: pulse 2s ease-in-out infinite;
        }

        /* Shimmer effect overlay */
        .hero-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.3),
                transparent
            );
            transition: left 0.6s ease;
        }

        /* Hover state with multiple effects */
        .hero-btn:hover {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            color: white;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
            animation: none; /* Stop pulse on hover */
        }

        /* Shimmer effect on hover */
        .hero-btn:hover::before {
            left: 100%;
        }

        /* Arrow animation */
        .hero-btn i {
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: inline-block;
        }

        .hero-btn:hover i {
            transform: translateX(5px);
            animation: arrowBounce 0.6s ease-in-out;
        }

        /* Arrow bounce animation */
        @keyframes arrowBounce {
            0%, 100% {
                transform: translateX(5px);
            }
            50% {
                transform: translateX(8px);
            }
        }

        /* Click effect */
        .hero-btn:active {
            transform: translateY(-1px) scale(1.02);
            box-shadow: 0 5px 20px rgba(59, 130, 246, 0.5);
        }

        /* Optional: Add a glow effect for extra emphasis */
        @keyframes glow {
            0% {
                box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4),
                            0 0 30px rgba(59, 130, 246, 0);
            }
            50% {
                box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4),
                            0 0 30px rgba(59, 130, 246, 0.3);
            }
            100% {
                box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4),
                            0 0 30px rgba(59, 130, 246, 0);
            }
        }

        /* PEEL IMAGE STYLES */
        .peel-container {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 400px;
            height: 400px;
            overflow: hidden;
            z-index: 100;
            pointer-events: none;
        }

        .peel-link {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            pointer-events: all;
            transition: transform 0.3s ease;
        }

        .peel-link:hover {
            transform: scale(1.1);
        }

        .peel-image {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: drop-shadow(0 -2px 10px rgba(0,0,0,0.3));
        }

        /* Peel animation on hover */
        @keyframes peelEffect {
            0% {
                transform: rotate(0deg) scale(1);
            }
            50% {
                transform: rotate(-5deg) scale(1.05);
            }
            100% {
                transform: rotate(0deg) scale(1);
            }
        }

        .peel-link:hover .peel-image {
            animation: peelEffect 0.6s ease-in-out;
        }

        /* Responsive Media Queries */
        @media (max-width: 1600px) and (min-width: 1401px) {
            .hero-section {
                min-height: 75vh;
            }
            .hero-head {
                font-size: 5.5rem !important;
                margin-bottom: 1rem;
                margin-top: 1rem;
                padding-left: 3rem;
            }
            .hero-cont {
                color: #bbb;
                font-family: poppins, sans-serif;
                font-size: 1.4rem;
                padding-left: 3rem;
            }
            .hero-btn {
                margin-left: 3rem;
            }
            .peel-container {
                width: 300px;
                height: 300px;
            }
        }

        @media (max-width: 1400px) and (min-width: 1201px) {
            .hero-section {
                min-height: 75vh;
            }
            .hero-head {
                font-size: 4.5rem !important;
                margin-bottom: 1rem;
                margin-top: 15rem;
            }
            .hero-cont {
                color: #bbb;
                font-family: poppins, sans-serif;
                font-size: 1.4rem;
            }
            .hero-btn {
                margin-bottom: 2rem;
            }
            .peel-container {
                width: 250px;
                height: 250px;
            }
        }

        @media (max-width: 1200px) and (min-width: 991px) {
            .hero-section {
                min-height: 60vh;
            }
            .hero-head {
                font-size: 4.5rem !important;
                margin-bottom: 1rem;
                margin-top: 3rem;
                padding-left: 2rem;
            }
            .hero-cont {
                color: #bbb;
                font-family: poppins, sans-serif;
                font-size: 1.2rem;
                padding-left: 2rem;
            }
            .hero-btn {
                margin-left: 2rem;
            }
            .peel-container {
                width: 250px;
                height: 250px;
            }
        }

        @media (max-width: 990px) and (min-width: 767px) {
            .hero-section {
                min-height: 70vh;
                align-items: flex-end;
            }
            .hero-head {
                font-size: 4rem !important;
                margin-bottom: 1rem;
                margin-top: 3rem;
            }
            .hero-cont {
                color: #bbb;
                font-family: poppins, sans-serif;
                font-size: 1rem;
            }
            .peel-container {
                width: 120px;
                height: 120px;
            }
            .peel-container {
                width: 250px;
                height: 250px;
            }
        }

        @media (max-width: 766px) and (min-width: 576px) {
            .hero-head {
                font-size: 3.3rem !important;
            }
            .hero-cont {
                color: #bbb;
                font-family: poppins, sans-serif;
                font-size: 1rem;
            }
            .peel-container {
                width: 200px;
                height: 200px;
            }

        }

        @media (max-width: 575px) and (min-width: 376px) { 
            .hero-head {
                font-size: 3rem !important;
            }
            .hero-cont {
                color: #bbb;
                font-family: poppins, sans-serif;
                font-size: 0.8rem;
            }
            .hero-btn {
                font-size: 0.9rem;
                padding: 0.7rem 1.25rem;
            }
            .peel-container {
                width: 150px;
                height: 150px;
            }
        }

        /* For very small screens */
        @media (max-width: 375px) {
            .hero-head {
                font-size: 2.5rem !important;
            }
            .hero-cont {
                color: #bbb;
                font-family: poppins, sans-serif;
                font-size: 0.6rem;
            }
            .hero-btn {
                font-size: 0.9rem;
                padding: 0.7rem 1.25rem;
            }
            .peel-container {
                width: 120px;
                height: 120px;
            }
        }

 /* ************************** Section - 2 ************************** */

 /* Reset for this section only */
        .adv-section * {
            box-sizing: border-box;
        }

        /* Main section container */
        .adv-section {
            width: 100%;
            padding: 0;
            margin: 0;
            overflow: hidden;
        }
        
        /* Two-tone section base */
        .adv-section .two-tone-section {
            position: relative;
            overflow: hidden;
            background: linear-gradient(to right, #2E2E2E 40%, transparent 40%);
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: stretch;
            margin: 0;
        }
        
        /* Text column styling */
        .adv-section .adv-text-column {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            position: relative;
            z-index: 2;
            flex-shrink: 0;
            min-height: 500px;
            padding: 4rem 2rem;
        }
        
        .adv-section .adv-text-column h2 {
            color: white;
            font-size: 5.5rem;
            font-weight: 400;
            line-height: 1.2;
            margin-left: 4rem;
            width: 100%;
            padding: 0;
        }

        /* Image column styling */
        .adv-section .adv-image-column {
            position: relative;
            padding: 0 !important;
            display: flex;
            align-items: stretch;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        /* Picture element styling */
        .adv-section .adv-img-wrapper {
            width: 100%;
            display: block;
        }
        
        .adv-section .adv-img-wrapper img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: contain;
            object-position: center;
        }

        /* Default column sizing for advisor section */
        .adv-section .adv-col-3 { 
            flex: 0 0 25% !important; 
            max-width: 25% !important; 
            position: relative;
            width: 100%;
        }
        
        .adv-section .adv-col-9 { 
            flex: 0 0 75% !important; 
            max-width: 75% !important;
            position: relative;
            width: 100%;
        }

        /* 5K and above - 5120px */
        @media (min-width: 5120px) {
            .adv-section .two-tone-section {
                background: linear-gradient(to right, #2E2E2E 48%, transparent 48%);
            }
            
            .adv-section .adv-text-column {
                min-height: 1000px;
                padding: 6rem 3rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 15rem;
                margin-left: 12rem;
            }
        }

        /* 4K screens - 3840px */
        @media (min-width: 3840px) and (max-width: 5119px) {
            .adv-section .two-tone-section {
                background: linear-gradient(to right, #2E2E2E 48%, transparent 48%);
            }
            
            .adv-section .adv-text-column {
                min-height: 800px;
                padding: 5rem 3rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 13rem;
                margin-left: 10rem;
            }
            
            .adv-section .adv-col-3 { 
                flex: 0 0 35% !important; 
                max-width: 35% !important; 
            }
            
            .adv-section .adv-col-9 { 
                flex: 0 0 65% !important; 
                max-width: 65% !important; 
            }
        }

        /* 2K screens - 2560px */
        @media (min-width: 2560px) and (max-width: 3839px) {
            .adv-section .two-tone-section {
                background: linear-gradient(to right, #2E2E2E 48%, transparent 48%);
            }
            
            .adv-section .adv-text-column {
                min-height: 650px;
                padding: 4rem 2rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 8.5rem;
                margin-left: 6rem;
            }
            
            .adv-section .adv-col-3 { 
                flex: 0 0 30% !important; 
                max-width: 30% !important; 
            }
            
            .adv-section .adv-col-9 { 
                flex: 0 0 70% !important; 
                max-width: 70% !important; 
            }
        }

        /* XL screens - 1920px to 2559px */
        @media (min-width: 1920px) and (max-width: 2559px) {
            .adv-section .two-tone-section {
                background: linear-gradient(to right, #2E2E2E 50%, transparent 45%);
            }
            
            .adv-section .adv-text-column {
                min-height: 550px;
                padding: 4rem 2rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 5.5rem;
                margin-left: 8rem;
            }
            
            .adv-section .adv-col-3 { 
                flex: 0 0 30% !important; 
                max-width: 30% !important; 
            }
            
            .adv-section .adv-col-9 { 
                flex: 0 0 70% !important; 
                max-width: 70% !important; 
            }
        }

        /* Large desktop - 1440px to 1919px */
        @media (min-width: 1440px) and (max-width: 1919px) {
            .adv-section .two-tone-section {
                background: linear-gradient(to right, #2E2E2E 50%, transparent 50%);
            }
            
            .adv-section .adv-text-column {
                min-height: 500px;
                padding: 3rem 2rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 4.5rem;
                margin-left: 5rem;
            }
        }

        /* Desktop - 1200px to 1439px */
        @media (min-width: 1200px) and (max-width: 1439px) {
            .adv-section .two-tone-section {
                background: linear-gradient(to right, #2E2E2E 50%, transparent 50%);
            }
            
            .adv-section .adv-text-column {
                min-height: 450px;
                padding: 3rem 2rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 3.5rem;
                margin-left: 3rem;
            }
        }

        /* Tablet landscape - 992px to 1199px */
        @media (min-width: 992px) and (max-width: 1199px) {
            .adv-section .two-tone-section {
                background: linear-gradient(to right, #2E2E2E 50%, transparent 50%);
            }
            
            .adv-section .adv-text-column {
                min-height: 400px;
                padding: 2.5rem 1.5rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 3.5rem;
                margin-left: 4rem;
            }
        }

        /* Tablet portrait - 768px to 991px - FIXED */
        @media (min-width: 768px) and (max-width: 991px) {
            .adv-section .two-tone-section {
                background: linear-gradient(to right, #2E2E2E 50%, transparent 50%);
                flex-wrap: nowrap !important;
                flex-direction: row !important;
                display: flex !important;
                align-items: stretch !important;
                min-height: 400px;
            }
            
            .adv-section .adv-col-3 { 
                flex: 0 0 30% !important; 
                max-width: 30% !important;
                width: 30% !important;
                display: flex !important;
            }
            
            .adv-section .adv-col-9 { 
                flex: 0 0 70% !important; 
                max-width: 70% !important;
                width: 70% !important;
                display: block !important;
            }
            
            .adv-section .adv-text-column {
                min-height: 400px;
                padding: 2rem 1rem;
                display: flex !important;
                align-items: center !important;
                justify-content: flex-start !important;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 2.5rem;
                margin-left: 2rem;
                padding: 0.5rem;
                color: white;
                text-align: left;
            }
            
            .adv-section .adv-image-column {
                padding: 0 !important;
                display: flex !important;
                align-items: stretch !important;
                background: transparent !important;
            }
            
            .adv-section .adv-img-wrapper {
                width: 100% !important;
                display: block !important;
            }
            
            .adv-section .adv-img-wrapper img {
                width: 100% !important;
                height: auto !important;
                display: block !important;
            }
        }

        /* Mobile - below 768px */
        @media (max-width: 767px) {
            .adv-section .two-tone-section {
                background: #2E2E2E !important;
                flex-direction: column !important;
                flex-wrap: wrap !important;
                display: flex !important;
            }
            
            .adv-section .adv-col-3,
            .adv-section .adv-col-9 {
                flex: 0 0 100% !important;
                max-width: 100% !important;
                width: 100% !important;
            }
            
            .adv-section .adv-text-column {
                min-height: 250px;
                justify-content: center;
                padding: 2rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 3rem;
                margin-left: 0;
                text-align: center;
                padding: 0;
            }
            
            .adv-section .adv-image-column {
                background: #2E2E2E;
                padding: 0;
            }
        }

        /* Mobile portrait - 576px to 767px */
        @media (min-width: 576px) and (max-width: 767px) {
            .adv-section .adv-text-column h2 {
                font-size: 2.5rem;
            }
        }

        /* Small mobile - below 576px */
        @media (max-width: 575px) {
            .adv-section .adv-text-column {
                min-height: 200px;
                padding: 1.5rem;
            }
            
            .adv-section .adv-text-column h2 {
                font-size: 2rem;
                line-height: 1.1;
            }
        }

        /* Extra small mobile - below 480px */
        @media (max-width: 480px) {
            .adv-section .adv-text-column h2 {
                font-size: 1.75rem;
            }
            
            .adv-section .adv-text-column {
                min-height: 180px;
                padding: 1.5rem 1rem;
            }
        }

        /* Utilities specific to adv-section */
        .adv-section .adv-d-flex { 
            display: flex !important; 
        }
        
        .adv-section .adv-align-center { 
            align-items: center !important; 
        }
        
        .adv-section .adv-justify-center { 
            justify-content: center !important; 
        }
        
 /* ************************** Section - 3 ************************** */

.card-deck-container {
    margin: auto;
    display: flex;
    gap: 0;
    }

.content-area {
  flex: 3;
  order: 1;
  margin-bottom: 30px;
}

.ff-heading h2 {
font-size: 5.5rem;
color: #1650A0;
/* margin-left: 10rem; */
margin-top: 4rem;
margin-bottom: 4rem;
}

.card-deck {
  display: flex;
  flex-direction: column;
  gap: 15px;
  order: 0;
  flex: 2;
  width: auto;
  min-width: 300px;
  align-items: center;
  margin-bottom: 30px;
}
.card-deck-active {
  padding: 0 0 40px 0;
  position: relative;
}
.card-deck-active::before {
  position: absolute;
  content: "";
  top: 0;
  /* left: 0; */
  right: -10px;
  width: 80%;
  height: 100%;
  display: block;
  background-color: #1c61be;
  border-bottom-left-radius: 15px;
}
.tab-card {
  background: #1c61be;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 25px;
  width: 100%;
}

.tab-card.inactive {
  background: #ffffff;
}
.tab-card.white-state {
  background: #ffffff;
}

.tab-card.active {
  background: #1c61be;
  min-height: 80px;
}

.tab-card .tab-card-title {
  color: white;
  font-weight: 400 !important;
  font-size: 24px;
  margin: 0;
  position: relative;
  flex: 1;
  text-align: left;
  transition: color 0.3s ease;
}

.tab-card.inactive .tab-card-title {
  color: #333333;
}
.tab-card.white-state .tab-card-title {
  color: #4B89D9;
}

.tab-card.active .tab-card-title {
  color: white;
}

.tab-icon {
  font-size: 45px;
  /* font-weight: bold; */
  transition: transform 0.3s ease;
  margin-right: 50px !important;
  color: white;
}

.tab-card.inactive .tab-icon {
  color: #1c61be;
}
.tab-card.white-state .tab-icon {
  color: #4B89D9;
}

.tab-card.active .tab-icon {
  /* transform: rotate(45deg); */
  color: white;
}

.tab-content {
  background: #ffffff;
  padding: 0px 0 0 40px;
  height: 100%;
  min-height: 100%;
  /* min-height: 400px; */
  transition: all 0.3s ease;
  border-radius: 15px !important;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.content-section {
  display: none;
}
.content-section.active {
  display: block;
}
#tabContent {
  display: block; /* keep it visible always */
}

.tab-content.active-content {
  background: #1c61be;
  color: white;
  padding-left: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  /* border-radius: 12px; */
}

.default-tab {
  font-family: "poppins";
  font-size: 1.5rem;
  text-align: left;
  color: #2e2e2e;
}

.default-tab h3 {
  color: #4b89d9;
  margin-bottom: 20px;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.content-section h4 {
  margin-bottom: 20px;
  font-weight: 600;
}

.tab-content.active-content .content-section h4 {
  color: white;
}

.content-section p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-list li:last-child {
  border-bottom: none;
}

.tab-content.active-content .feature-list li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.tab-content:not(.active-content) .feature-list li {
  border-bottom-color: rgba(75, 137, 217, 0.2);
}

@media (max-width: 1024px) { 
 .content-section p {
    font-size: 18px;
  }
  .tab-card .tab-card-title {
    font-size: 19px;
  }
  .tab-card {
    min-height: 70px;
  }    
}

@media (max-width: 992px) { 
.ff-heading h2 {
    font-size: 65px;
    text-align: center;
  }

  .card-deck-container {
    flex-flow: wrap;
  }
  .card-deck {
    order: 1;
    display: flex;
    flex-direction: row; /* This is the key change */
    gap: 15px;
    overflow-x: overlay;
    margin-bottom: 20px;
    margin-top: 10px;
  }
  .content-area {
    order: 2;
    flex: unset;
  }
  .tab-card .tab-card-title {
    width: max-content;
  }
.card-deck-active::before {
    background-color: #fff;
  }
  .tab-content {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
  }
}

@media (max-width: 768px) { 
.ff-heading h2 {
    margin-top: 25px;
  }

  .heading-content h2 {
    font-size: 55px;
  }
}

/* For 2K screens (2560px) - scale by 1.33x */
@media (min-width: 2560px) {
    .ff-heading h2 {
        font-size: 7.3rem; /* 5.5rem * 1.33 */
        margin-left: 13.3rem; /* 10rem * 1.33 */
        margin-top: 5.3rem; /* 4rem * 1.33 */
        margin-bottom: 5.3rem; /* 4rem * 1.33 */
    }
    
    .tab-card {
        min-height: 106px; /* 80px * 1.33 */
        padding: 7px 33px; /* scaled proportionally */
        border-radius: 27px; /* 20px * 1.33 */
    }
    
    .tab-card .tab-card-title {
        font-size: 32px; /* 24px * 1.33 */
    }
    
    .tab-icon {
        font-size: 53px; /* 40px * 1.33 */
        margin-right: 66px !important; /* 50px * 1.33 */
    }
    
    .card-deck {
        gap: 20px; /* 15px * 1.33 */
        min-width: 400px; /* 300px * 1.33 */
    }
}

/* For 4K screens (3840px) - scale by 2x */
@media (min-width: 3840px) {
    .ff-heading h2 {
        font-size: 11rem; /* 5.5rem * 2 */
        margin-left: 20rem; /* 10rem * 2 */
        margin-top: 8rem; /* 4rem * 2 */
        margin-bottom: 8rem; /* 4rem * 2 */
    }
    
    .tab-card {
        min-height: 160px; /* 80px * 2 */
        padding: 10px 50px; /* scaled proportionally */
        border-radius: 40px; /* 20px * 2 */
    }
    
    .tab-card .tab-card-title {
        font-size: 48px; /* 24px * 2 */
    }
    
    .tab-icon {
        font-size: 80px; /* 40px * 2 */
        margin-right: 100px !important; /* 50px * 2 */
    }
    
    .card-deck {
        gap: 30px; /* 15px * 2 */
        min-width: 600px; /* 300px * 2 */
    }
}


/* ************************************* Section-4 ************************************* */

 /* Base styles for 1920px */
        .rel-head {
            font-size: 4.2rem;
            color: #1650A0 !important;
            font-weight: 700;
            line-height: 1.1;
        }
        
        .rel-content {
            font-size: 1.6rem;
            color: #2E2E2E !important;
            line-height: 1.6;
        }
        
        .image-section {
            position: relative;
            overflow-x: hidden;
        }
        
        .image-section img {
            width: 100%;
            height: auto;
            object-fit: cover;
            /* border-radius: 8px; */
            margin-left: 1rem;
        }
        
        .overlay-text {
            position: absolute;
            bottom: 0;
            right: 0;
            color: rgba(255, 255, 255, 0.2);
            font-size: 5rem;
            font-weight: bold;
            white-space: nowrap;
            pointer-events: none;
        }
        
        /* Large Desktop (1600px - 1919px) */
        @media (max-width: 1919px) and (min-width: 1600px) {
            .rel-head {
                font-size: 3.8rem;
            }
            
            .rel-content {
                font-size: 1.5rem;
            }
            
            .overlay-text {
                font-size: 4.5rem;
            }
        }
        
        /* Medium Desktop (1200px - 1599px) */
        @media (max-width: 1599px) and (min-width: 1200px) {
            .rel-head {
                font-size: 3rem;
            }
            
            .rel-content {
                font-size: 1.02rem;
            }
            
            .overlay-text {
                font-size: 4rem;
            }
            
            .mx-auto {
                max-width: 450px !important;
            }
        }
        
        /* Small Desktop (992px - 1199px) */
        @media (max-width: 1199px) and (min-width: 992px) {
            .rel-head {
                font-size: 1.9rem;
            }
            
            .rel-content {
                font-size: 0.90rem;
            }
            
            .overlay-text {
                font-size: 3.5rem;
            }
            
            .mx-auto {
                max-width: 400px !important;
            }
        }
        
        /* Tablet (768px - 991px) */
        @media (max-width: 991px) and (min-width: 768px) {
            .rel-head {
                font-size: 4rem;
                text-align: center;
            }
            
            .rel-content {
                font-size: 1.2rem;
                text-align: center;
            }
            
            .overlay-text {
                font-size: 3rem;
            }
            
            .mx-auto {
                max-width: 100% !important;
                padding: 0 2rem;
            }
            
            /* Stack columns on tablet */
            .col-md-6 {
                width: 100%;
                margin-bottom: 2rem;
            }
            
            .image-section {
                max-width: 600px;
                margin: 0 auto;
            }
        }
        
        /* Large Mobile (576px - 767px) */
        @media (max-width: 767px) and (min-width: 576px) {
            .rel-head {
                font-size: 3rem;
                text-align: center;
            }
            
            .rel-content {
                font-size: 1rem;
                text-align: center;
            }
            
            .overlay-text {
                font-size: 2.5rem;
                bottom: 10px;
                right: 10px;
            }
            
            .mx-auto {
                max-width: 100% !important;
                padding: 0 1.5rem;
            }
            
            .col-md-6 {
                width: 100%;
                margin-bottom: 1.5rem;
            }
            
            .image-section {
                padding: 0 1rem;
            }

            .container-fluid{
                padding: 0 0.5rem;

            }
        }
        
        /* Small Mobile (400px - 575px) */
        @media (max-width: 575px) and (min-width: 400px) {
            .rel-head {
                font-size: 3rem;
                text-align: center;
                line-height: 1.2;
            }
            
            .rel-content {
                font-size: 1rem;
                text-align: center;
            }
            
            .overlay-text {
                font-size: 2rem;
                bottom: 5px;
                right: 5px;
            }
            
            .mx-auto {
                max-width: 100% !important;
                padding: 0 1rem;
            }
            
            .container-fluid {
                padding: 0 0.5rem;
                
            }
            
            .mt-5 {
                margin-top: 2rem !important;
            }
        }
        
        /* Extra Small Mobile (below 400px) */
        @media (max-width: 399px) {
            .rel-head {
                font-size: 1.5rem;
                text-align: center;
                line-height: 1.2;
                br {
                    display: none;
                }
            }
            
            .rel-content {
                font-size: 0.875rem;
                text-align: justify;
                text-align-last: center;
            }
            
            .overlay-text {
                font-size: 1.5rem;
                bottom: 5px;
                right: 5px;
            }
            
            .mx-auto {
                max-width: 100% !important;
                padding: 0 0.75rem;
            }
            
            .container-fluid {
                padding: 0 0.25rem;
            }
            
            .mt-5 {
                margin-top: 1.5rem !important;
            }
            
            .col-md-6 {
                padding: 0 0.5rem;
            }
        }
        
        /* Hide line breaks on very small screens */
        @media (max-width: 575px) {
            .rel-head br {
                display: none;
            }
        }

    /* @media (max-width: 768px) {
      .overlay-text {
        font-size: 3rem;
      }
    } */


/* ************************************* Section-5 ************************************* */

.carousel-bar {
  display: flex;
  gap: 10px;
  padding-bottom: 1rem;
  margin-left: 11rem;
  align-items: flex-end;
  height: 40rem;
  overflow: visible; /* Changed from overflow-x: auto */
}

/* Base tile styles */
.advisor-tile {
  flex: 0 0 auto;
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: left center;
  will-change: width;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

/* Collapsed state */
.advisor-tile.collapsed {
  width: 7%;
  min-width: 80px;
  opacity: 1;
  filter: brightness(0.7);
}

/* Active/expanded state */
.advisor-tile.active {
  width: 40%;
  min-width: 300px;
  z-index: 10;
  opacity: 1;
  filter: brightness(1);
}

/* Image styling */
.advisor-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect for non-active tiles */
.advisor-tile:not(.active):not(.collapsed):hover {
  width: 12%;
  min-width: 100px;
}

/* Plus icon styling */
.plus-icon {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Hide plus icon on active tile */
.advisor-tile.active .plus-icon {
  opacity: 0;
  visibility: hidden;
}

/* Our Advisors heading styles - RESTORED */
.vertical-heading {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 4rem;
  margin-bottom: auto;
  font-weight: 400;
  color: #3A79CF;
}

/* Content area smooth transitions - RESTORED */
.advisor-content-area {
  margin-left: 13rem !important;
  transition: opacity 0.3s ease;
}

/* Smooth content animations - RESTORED */
.advisor-content {
  display: none;
}

.advisor-content.active {
  display: block;
  animation: fadeInSmooth 0.35s ease-out;
}

@keyframes fadeInSmooth {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Headings and text - RESTORED */
.advisor-name {
  font-weight: 600;
  font-size: 3rem;
  color: #185EBC;
  transition: all 0.3s ease;
}

.advisor-role {
  color: #2e2e2e;
  font-size: 1.5rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.dots-indicator {
  text-align: start;
  align-items: center;
  margin-left: 20rem !important;
  margin-top: 10px;
}

.dot-adv {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 4px;
  background-color: #c4c4c4;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot-adv:hover {
  background-color: #8a8a8a;
  transform: scale(1.2);
}

.dot-adv.active {
  background-color: #0d6efd;
  transform: scale(1.1);
}

.adv-content {
  font-size: 1rem;
  padding-right: 3rem;
}

.black-cube {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: end;
}

/* Responsive adjustments */
@media (max-width: 1919px) and (min-width: 1600px) {
  .carousel-bar {
    margin-left: 8rem;
    height: 35rem;
  }
  
  .advisor-tile.collapsed {
    width: 8%;
    min-width: 70px;
  }
  
  .advisor-tile.active {
    width: 45%;
    min-width: 280px;
  }
  
  .advisor-tile:not(.active):not(.collapsed):hover {
    width: 11%;
    min-width: 90px;
  }
  
  .vertical-heading {
    font-size: 3.5rem;
  }
  
  .advisor-name {
    font-size: 2.8rem;
  }
  
  .advisor-content-area {
    margin-left: 10rem !important;
  }
  
  .dots-indicator {
    margin-left: 14rem !important;
  }
}

@media (max-width: 1599px) and (min-width: 1200px) {
  .carousel-bar {
    margin-left: 6rem;
    height: 30rem;
  }
  
  .advisor-tile.collapsed {
    width: 9%;
    min-width: 60px;
  }
  
  .advisor-tile.active {
    width: 42%;
    min-width: 250px;
  }
  
  .advisor-tile:not(.active):not(.collapsed):hover {
    width: 12%;
    min-width: 80px;
  }
  
  .vertical-heading {
    font-size: 2.5rem;
  }
  
  .advisor-name {
    font-size: 2.5rem;
  }
  
  .advisor-role {
    font-size: 1.3rem;
  }
  
  .advisor-content-area {
    margin-left: 8rem !important;
  }
  
  .dots-indicator {
    margin-left: 10rem !important;
  }

  .advisor-tile.active img {
  object-fit: inherit !important;
}
}

@media (max-width: 1199px) and (min-width: 992px) {
  .carousel-bar {
    margin-left: 3rem;
    height: 28rem;
  }
  
  .advisor-tile.collapsed {
    width: 10%;
    min-width: 55px;
  }
  
  .advisor-tile.active {
    width: 40%;
    min-width: 220px;
  }
  
  .advisor-tile:not(.active):not(.collapsed):hover {
    width: 13%;
    min-width: 70px;
  }
  
  .vertical-heading {
    font-size: 2rem;
  }
  
  .advisor-name {
    font-size: 2.2rem;
  }
  
  .advisor-role {
    font-size: 1.2rem;
  }
  
  .advisor-content-area {
    margin-left: 6rem !important;
  }
  
  .dots-indicator {
    margin-left: 7rem !important;
  }
  
  .adv-content {
    font-size: 0.95rem;
  }

  .advisor-tile.active img {
    object-fit: inherit !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
  .carousel-bar {
    margin-left: 2rem;
    height: 25rem;
  }
  
  .advisor-tile.collapsed {
    width: 11%;
    min-width: 50px;
  }
  
  .advisor-tile.active {
    width: 38%;
    min-width: 200px;
  }
  
  .advisor-tile:not(.active):not(.collapsed):hover {
    width: 13%;
    min-width: 60px;
  }
  
  .vertical-heading {
    font-size: 2.3rem;
  }
  
  .advisor-name {
    font-size: 2rem;
  }
  
  .advisor-role {
    font-size: 1.1rem;
  }
  
  .advisor-content-area {
    margin-left: 2rem !important;
  }
  
  .dots-indicator {
    margin-left: 3rem !important;
  }
  
  .adv-content {
    font-size: 0.9rem;
    padding-right: 2rem;
  }

  .advisor-tile.active img {
  object-fit: inherit !important;
}

.advisor-tile.active img {
    object-fit: inherit !important;
    }
}

/* Mobile styles - disable hover effects */
@media (max-width: 767px) {
  .carousel-bar {
    margin-left: 1rem;
    height: 20rem;
    align-items: center;
  }
  
  .advisor-tile.collapsed {
    width: 15%;
    min-width: 40px;
  }
  
  .advisor-tile.active {
    width: 50%;
    min-width: 180px;
  }
  
  .advisor-tile:not(.active):not(.collapsed):hover {
    width: 15%; /* keep same as collapsed on mobile (no hover change) */
  }
  
  .vertical-heading {
    font-size: 1.8rem;
  }
  
  .advisor-name {
    font-size: 1.8rem;
  }
  
  .advisor-role {
    font-size: 1rem;
  }
  
  .advisor-content-area {
    margin-left: 1rem !important;
  }
  
  .dots-indicator {
    margin-left: 2rem !important;
  }
  .advisor-tile.active img {
    object-fit: inherit !important;
    }
}

        
 /* ************************************* Section-6 ************************************* */

 /* Team Accordion Container */
.team-accordion-container {
    background: white;
    /* border-radius: 15px; */
    /* padding: 3rem; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    /* max-width: 1400px; */
    margin: 0 auto;
    max-width: 70%;
}

/* Team Section Layout */
.team-section {
    position: relative;
}

/* Team Tabs Container */
.team-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    border-radius: 10px;
    height: 500px;
}

/* Individual Team Tab */
.team-tab {
    position: relative;
    width: 4vw;
    height: 100%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-radius: 8px;
}

/* Active Tab */
.team-tab.active {
    width: 20vw;
    object-fit: cover;
}

/* Team Image */
.team-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    object-position: top;
}

/* Plus Icon */
.plus-icon {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 2;
}

.team-tab:not(.active) .plus-icon {
    opacity: 1;
}

.team-tab:not(.active):hover .plus-icon {
    /* background: rgba(0, 123, 255, 1); */
    transform: translate(-50%, -50%) scale(1.1);
}

.team-tab.active .plus-icon {
    opacity: 0;
    pointer-events: none;
}

/* Team Overlay */
.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.team-tab.active .team-overlay {
    transform: translateY(0);
}

.team-name {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    display: block;
}

/* Vertical "Our Team" Text */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: start;
    justify-content: start;
    min-width: 80px;
}

.vertical-text h2 {
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 3px;
    color: #3A79CF !important;
}

/* Active Member Name Display (In Details Section) */
.active-member-name h3 {
    font-size: 2.5rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-align: left;
}
.designation {
    text-align: left;
    color: #2e2e2e;
}

/* Dots Container */
.dots-container {
    position: relative;
    margin-top: 1.5rem;
}

.dots-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #007bff;
    transform: scale(1.4);
}

.dot:hover {
    background-color: #6c757d;
    transform: scale(1.2);
}

/* Hover Effects */
.team-tab:not(.active):hover {
    width: 15vw;
}

.team-tab:not(.active):hover .team-image img {
    transform: scale(1.1);
}

.team-tab:not(.active):hover .team-overlay {
    transform: translateY(0);
}

/* Team Details Section */
.team-details {
    /* background: #f8f9fa;
    border-radius: 10px; */
    padding: 2.5rem;
    margin-top: 2rem;
}

.member-info {
    animation: fadeInUp 0.5s ease;
}

.member-bio {
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-accordion-container {
        padding: 2rem;
    }
    
    .team-tab {
        width: 80px;
    }
    
    .team-tab.active {
        width: 250px;
    }
    
    .team-tab:not(.active):hover {
        width: 100px;
    }
}

@media (max-width: 992px) {
    .team-section {
        flex-direction: column;
        align-items: center;
    }
    
    .vertical-text {
        writing-mode: horizontal-tb;
        margin-left: 0 !important;
        margin-top: 1rem;
        text-align: center;
        min-width: auto;
    }
    
    .vertical-text h2 {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 1.8rem;
    }
    
    .team-details .row {
        flex-direction: column-reverse;
        /* text-align: center; */
        align-items: center;
    }
    
    .active-member-name {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .team-tabs {
        height: 300px;
    }
    
    .team-tab {
        width: 70px;
    }
    
    .team-tab.active {
        width: 200px;
    }
    
    .team-tab:not(.active):hover {
        width: 85px;
    }
}

@media (max-width: 768px) {
    .team-accordion-container {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .team-tabs {
        height: 250px;
        gap: 5px;
    }
    
    .team-tab {
        width: 50px;
    }
    
    .team-tab.active {
        width: 160px;
    }
    
    .team-tab:not(.active):hover {
        width: 65px;
    }
    
    .plus-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .vertical-text h2 {
        font-size: 1.5rem;
    }
    
    .active-member-name h3 {
        font-size: 1.5rem;
    }
    
    .team-details {
        padding: 2rem;
    }
    
    .member-bio {
        font-size: 1.1rem;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .team-tabs {
        height: 200px;
        gap: 3px;
    }
    
    .team-tab {
        width: 40px;
    }
    
    .team-tab.active {
        width: 130px;
    }
    
    .team-tab:not(.active):hover {
        width: 50px;
    }
    
    .plus-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .vertical-text h2 {
        font-size: 1.3rem;
    }
    
    .active-member-name h3 {
        font-size: 1.3rem;
    }
    
    .team-details {
        padding: 1.5rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

 /* ************************************* Section-7 ************************************* */

   /* Base styles for 1920px (Full HD) */
        /* Section Container */
        .advisor-section {
            min-height: 100vh;
            overflow: hidden;
        }
        
        /* Row Height */
        .advisor-section .row {
            min-height: 100vh;
        }
        
        /* Left Blue Panel Styles */
        .bg-primary {
            background-color: #609AE9 !important;
            min-height: 90vh;
        }
        
        /* Typography */
        .display-3 {
            font-size: 6rem;
            line-height: 1.2;
        }
        
        /* Right Panel Styles */
        .right-panel {
            background-color: #ffffff;
            padding: 4rem 3rem;
            min-height: 700px;
        }
        
        /* Logo Image */
        .img-responsive {
            max-width: 350px;
            width: 100%;
            height: auto;
        }
        
        /* Features List */
        .features-list {
            /* width: 100%; */
            margin-top: 6rem !important;
            /* margin-left: 20rem; */
        }
        
        .feature-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1rem;
        }
        
        .feature-icon {
            flex-shrink: 0;
            width: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .feature-icon img {
            width: 60px;
            height: 60px;
            opacity: 1;
        }
        
        .feature-text {
            flex: 1;
        }
        
        .feature-text p {
            font-size: 1.5rem;
            font-weight: 400;
            line-height: 1.5;
            color: #1550A0;
        }

        /* Get in Touch Button */
        .get-touch-btn {
            background: linear-gradient(90deg, #1c61be 0%, #5c97e7 100%);
            color: white;
            font-size: 1.2rem;
            font-weight: 700;
            padding: 18px 45px;
            border-radius: 12px;
            border: none;
            text-transform: none;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            margin-top: 5rem !important;
            margin-bottom: 5rem;
        }
        

        .get-touch-btn:hover {
            background-color: #357abd;
            transform: translateY(-2px);
            color: #fff;
        }

        .get-touch-btn:focus {
            background-color: #357abd;
            outline: none;
        }

        @media (min-width: 3601px) and (max-width: 4500px) {
          @media (min-width: 2560px) {
            .display-3 {
                font-size: 10rem;
            }
            
            .img-responsive {
                max-width: 600px;
            }
            
            .feature-icon img {
                width: 90px;
                height: 90px;
            }
            
            .feature-text p {
                font-size: 2.3rem;
            }
            
            .features-list {
                /* margin-left: 35rem; */
                margin-top: 8rem !important;
                margin-left: auto;
                margin-right: auto;
                max-width: 1000px;
            }
            
            .get-touch-btn {
                font-size: 2rem;
                padding: 24px 60px;
                margin-bottom: 5rem;
                margin-top: 4rem;
            }
        }
        }

        /* 4K and Ultra-wide screens (2560px to 3600) */
        @media (min-width: 2560px) and (max-width: 3600px) {
            .display-3 {
                font-size: 8rem;
            }
            
            .img-responsive {
                max-width: 500px;
            }
            
            .feature-icon img {
                width: 80px;
                height: 80px;
            }
            
            .feature-text p {
                font-size: 1.8rem;
            }
            
            .features-list {
                /* margin-left: 25rem; */
                margin-top: 8rem !important;
            }
            
            .get-touch-btn {
                font-size: 1.5rem;
                padding: 24px 60px;
                margin-bottom: 5rem;
            }
        }

        /* Large Desktop (1920px - default) */
        /* Already defined above as base styles */

        /* Desktop (1440px to 1919px) */
        @media (max-width: 1919px) {
            .display-3 {
                font-size: 5.5rem;
            }
            
            .img-responsive {
                max-width: 300px;
            }
            
            .features-list {
                /* margin-left: 15rem; */
                margin-top: 5rem !important;
            }
            
            .feature-icon img {
                width: 50px;
                height: 50px;
            }
            
            .feature-text p {
                font-size: 1.1rem;
            }
            
            .get-touch-btn {
                margin-top: 6rem !important;
            }
        }

        /* Small Desktop (1280px to 1439px) */
        @media (max-width: 1439px) {

            .display-3 {
                font-size: 4.5rem;
            }
            
            .right-panel {
                padding: 3rem 2rem;
            }
            
            .img-responsive {
                max-width: 250px;
            }
            
            .features-list {
                /* margin-left: 10rem; */
                margin-top: 4rem !important;
            }
            
            .feature-text p {
                font-size: 1.1rem;
            }
            
            .get-touch-btn {
                font-size: 1.1rem;
                padding: 16px 40px;
                margin-top: 6rem !important;
                margin-bottom: 5rem;
            }
        }

        /* Laptop (1024px to 1279px) */
        @media (max-width: 1279px) {
            .text-content {
              margin-left: 2rem;
            }
            .display-3 {
                font-size: 4rem;
            }
            
            .features-list {
                /* margin-left: 5rem; */
                margin-top: 3.5rem !important;
            }
            
            .feature-icon img {
                width: 45px;
                height: 45px;
            }
            
            .feature-text p {
                font-size: 1rem;
            }
        }

        /* Tablet Landscape (992px to 1023px) */
        @media (max-width: 1023px) {
            .display-3 {
                font-size: 3.5rem;
            }
            
            .bg-primary {
                min-height: 500px;
            }
            
            .right-panel {
                min-height: 500px;
            }
            
            .features-list {
                /* margin-left: 2rem; */
                margin-top: 3rem !important;
            }
            
            .feature-icon img {
                width: 40px;
                height: 40px;
            }
            
            .feature-text p {
                font-size: 1rem;
            }
            
            .get-touch-btn {
                font-size: 1rem;
                padding: 14px 35px;
                margin-top: 4rem !important;
                margin-bottom: 2rem;
            }
        }

        /* Tablet Portrait (768px to 991px) */
        @media (max-width: 991px) {
            .advisor-section .row {
                min-height: auto;
            }
            
            .display-3 {
                font-size: 3rem;
            }
            
            .bg-primary {
                min-height: 400px;
                padding: 3rem 2rem;
            }
            
            .right-panel {
                padding: 2rem 1.5rem;
                min-height: auto;
            }
            
            .img-responsive {
                max-width: 220px;
            }
            
            .features-list {
                /* margin-left: 0; */
                margin-top: 2.5rem !important;
                padding: 0 2rem;
                margin-left: auto;
                margin-right: auto;
                max-width: 425px; /* adjust as needed */
                /* This will smoothly scale from 5rem at 768px to 25rem at 992px */
                /* margin-left: 25rem; */
                /* display: flex;
                flex-direction: column;
                align-items: center; */
            }
            
            .feature-text p {
                font-size: 0.95rem;
            }
            
            .get-touch-btn {
                margin-top: 3rem !important;
            }
        }

        /* Large Mobile (576px to 767px) */
        @media (max-width: 767px) {
            .display-3 {
                font-size: 2.5rem;
            }
            
            .bg-primary {
                min-height: 350px;
                padding: 2.5rem 1.5rem;
            }
            
            .img-responsive {
                max-width: 200px;
            }
            
            .features-list {
                padding: 0 1.5rem;
                margin-top: 2rem !important;
                margin-left: auto;
                margin-right: auto;
                max-width: 400px;
            }
            
            .feature-icon img {
                width: 35px;
                height: 35px;
            }
            
            .feature-text p {
                font-size: 0.9rem;
            }
            
            .get-touch-btn {
                font-size: 0.95rem;
                padding: 12px 30px;
                margin-top: 2.5rem !important;
                width: 100%;
                max-width: 300px;
            }
        }

        /* Small Mobile (480px to 575px) */
        @media (max-width: 575px) {
            .display-3 {
                font-size: 2rem;
            }
            
            .bg-primary {
                min-height: 300px;
                padding: 2rem 1rem;
            }
            
            .right-panel {
                padding: 1.5rem 1rem;
            }
            
            .img-responsive {
                max-width: 160px;
            }
            
            .features-list {
                padding: 0 1rem;
                margin-left: auto;
                margin-right: auto;
                max-width: 325px;
            }
            
            .feature-icon img {
                width: 30px;
                height: 30px;
            }
            
            .feature-text p {
                font-size: 0.85rem;
            }
            
            .get-touch-btn {
                font-size: 0.9rem;
                padding: 10px 25px;
            }
        }

        /* Extra Small Mobile (below 480px) */
        @media (max-width: 479px) {
            .display-3 {
                font-size: 1.75rem;
            }
            
            .bg-primary {
                min-height: 250px;
            }
            
            .img-responsive {
                max-width: 140px;
            }
            
            .features-list {
                margin-top: 1.5rem !important;
                margin-left: auto;
                margin-right: auto;
                max-width: 300px;
            }
            
            .feature-icon {
                width: 35px;
            }
            
            .feature-icon img {
                width: 25px;
                height: 25px;
            }
            
            .feature-text p {
                font-size: 0.8rem;
                line-height: 1.4;
            }
            
            .feature-item {
                margin-bottom: 0.75rem;
            }
            
            .get-touch-btn {
                font-size: 0.85rem;
                padding: 10px 20px;
                margin-top: 2rem !important;
            }
        }

        /* Utility classes for all breakpoints */
        /* .text-primary {
            color: #333 !important;
        } */
        
              
        .fw-bold {
            font-weight: 700 !important;
        }



 /* ************************************* Section-8 ************************************* */

 /* Team Photo Section */
        .team-photo-section {
            /* padding: 5rem 0; */
            /* background-color: #ffffff; */
        }
        
        .team-photo-wrapper {
            position: relative;
            overflow: hidden;
            /* border-radius: 0.5rem; */
            /* box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1); */
        }
        
        .team-photo {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }
        
        /* .team-photo-wrapper:hover .team-photo {
            transform: scale(1.02);
        } */
        
        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .team-photo-section {
                padding: 4rem 0;
            }
        }
        
        @media (max-width: 992px) {
            .team-photo-section {
                padding: 3rem 0;
            }
        }
        
        @media (max-width: 768px) {
            .team-photo-section {
                padding: 2rem 0;
            }
            
            .team-photo-wrapper {
                border-radius: 0.25rem;
            }
        }
        
        @media (max-width: 576px) {
            .team-photo-section {
                padding: 1.5rem 0;
            }
        }
        
        /* Large screens (4K and above) */
        @media (min-width: 2560px) {
            html {
                font-size: 20px;
            }
            
            .team-photo-section {
                padding: 6rem 0;
            }
        }


/* <!-- ********************************** Footer ********************************** --> */


ul {
    margin: 0px;
    padding: 0px;
}
.footer-section {
  background: #2E2E2E;
  position: relative;
}
.footer-cta {
  /* border-bottom: 1px solid #373636; */
}
.single-cta i {
  color: #ff5e14;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  /* padding-left: 15px; */
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #FFFFFF;
  font-size: 1.2rem;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo {
  margin-bottom: 30px;
}

.footer-content {
  font-size: 1.2rem;
  color: #ffffff !important;
  line-height: 28px;
}

.footer-text p {
  margin-bottom: 14px;
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 25px;
}

.footer-social-icon {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Adjust spacing between rows */
    margin-left: 3rem;
    /* margin-top: 3rem; */
}

.footer-social-icon img {
    width: 75%;
}

.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
  display: block;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ff5e14;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: #ff5e14;
}
.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}

.legacy-cta-footer {
  background: linear-gradient(to right, #1a61be, #5c96e6) !important;
  color: white !important;
  padding: 12px 140px !important;
  border: none;
  border-radius: 16px !important;
  font-size: 1.2rem !important;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  /* margin-left: 1rem; */
}

.legacy-cta-footer:hover {
    background: linear-gradient(to right, #1558a6, #5289d6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: auto;
  padding: 14px 28px;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #fff !important;
  margin-top: 0.5rem;
}
/* .subscribe-form button {
    position: relative;
    right: 0;
    background: linear-gradient(to right, #1a61be, #5c96e6);
    padding: 6px 70px;
/    top: 0;
    margin-left: 0 !important;
} */
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  background: #202020;
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 1.5rem;
  color: #ffffff;
}
.copyright-text p a{
  color: #fff;
  text-decoration: none;
}

.footer-menu {
    margin-left: 2rem;
}

.footer-menu li {
  display: inline-block;
  margin-left: 20px;
  margin-bottom: 0.8rem !important;
  
}
.footer-menu li:hover a{
  color: #ff5e14;
}
.footer-menu li a {
  font-size: 1.5rem;
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: none !important;
  
}



.image-section {
  /* height: 100vh;  */
  overflow: hidden;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Maintains aspect ratio */
}




.turn-page-wrapper[page="2"]::before {
    content: '';
    position: absolute;
    bottom: -1rem;
    right: -0.4rem !important;
    width: 10vw;
    height: 10vw;
    /* background-image: url(/assets/images/logo/vision_logo.png); */
      background-image: url('/assets/images/logo/our_story_icon.png') !important;
    /* background-color: rgba(43, 43, 43, 0.8); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 5;
    opacity: 1;
    transition: opacity 0.3s ease;
}

@media screen and (max-width: 1599px) and (min-width: 1200px) {
  .turn-page-wrapper[page="2"]::before {
    width: 7rem !important;
    height: 6rem !important;
    bottom: 0.5rem !important;
    right: 0.1rem !important;
  }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
  .turn-page-wrapper[page="2"]::before {
    width: 7rem !important;
    height: 7rem !important;
    bottom: 0rem !important;
    right: 0rem;
  }
}

/* Tablet devices */
@media screen and (max-width: 991px) and (min-width: 768px) {
  .turn-page-wrapper[page="2"]::before {
    width: 7.5rem !important;
    height: 6.5rem !important;
    bottom: -0.5rem !important;
    right: 0rem !important;
  }
}

@media screen and (max-width: 767px) and (min-width: 576px) {
  .turn-page-wrapper[page="2"]::before {
    width: 12rem !important;
    height: 5rem !important;
    bottom: 0rem !important;
    right: -2.2rem !important;
  }
}

@media screen and (max-width: 575px) and (min-width: 481px) {
  .turn-page-wrapper[page="2"]::before {
    width: 8rem !important;
    height: 6rem !important;
    bottom: -0.5rem !important;
    right: -0.3rem !important;
  }
}

/* Mobile devices - Large */
@media screen and (max-width: 480px) and (min-width: 376px){
  .turn-page-wrapper[page="2"]::before {
    width: 7rem !important;
    height: 6rem !important;
    bottom: -0.5rem !important;
    right: 0.3rem !important;
  }
}

/* Mobile devices - Small */
@media screen and (max-width: 375px) {
  .turn-page-wrapper[page="2"]::before {
    width: 7.5rem !important;
    height: 6rem !important;
    bottom: -0.5rem !important;
    right: 0.2rem !important;
  }
}

/* Very small mobile devices */
@media screen and (max-width: 320px) {
  .turn-page-wrapper[page="2"]::before {
    width: 7.5rem !important;
    height: 5.5rem !important;
    bottom: -0.5rem !important;
    right: 0.2rem !important;
  }
}


.bio-content {
    margin-top: 15px;
    line-height: 1.6;
}

.read-more-btn, .read-less-btn {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
}