/* Reset hero area height and spacing */
.hero_area {
    min-height: unset !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Reduce spacing after header */
.header_section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Adjust first section spacing */
.partner_about_section.layout_padding {
    padding-top: 20px !important; /* it was 30*/
    padding-bottom: 30px !important;
}

/* Increase height of partner about section */
/* Main section styling */
.partner_about_section {
    background-color: #121212;
    padding: 40px 0 60px 0;
    position: relative;
}

/* Adjust inner content spacing */
/* Heading styles */
.partner_about_section .heading_container {
    text-align: left;
    margin-bottom: 20px;
}

.partner_about_section .heading_container h2 {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.partner_about_section .row {
    min-height: auto;  /* Make the row content taller, it was 60vh */
}

/* Content styling */
.partner_about_section .detail-box {
    padding: 30px; 
    background: #121212; /*text under partner with us*/
    margin-top: 15px;
}

.partner_about_section .detail-box h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Paragraph and list styling */
.partner_about_section .detail-box p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Bulletin points styling */
.partner_about_section .detail-box ul {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.partner_about_section .detail-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.partner_about_section .detail-box ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffd700; /* Your purple accent color */
    font-size: 20px;
    line-height: 1;
}
/* Keep your existing image styling but update some values */
.partner_about_section .img-box {
    margin-top: -20px;
    padding: 0;
    max-width: 75%;
    margin-left: auto;
    margin-right: 5px;
    position: relative;
    z-index: 1;  /* Add this */
}

.partner_about_section .img-box img {
    max-width: 100%;
    height: auto;
    position: relative;
    clip-path: circle(85%);
    z-index: 2;  /* Add this */
}

/* Keep the flashing effect */
.partner_about_section .img-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border: 5px solid #ffd700;
    border-radius: 50%;
    z-index: 0;
   pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner_about_section .img-box {
        max-width: 90%;
        margin: 30px auto;
    }
    
    .partner_about_section .heading_container,
    .partner_about_section .detail-box {
        text-align: center;
    }
    
    .partner_about_section .detail-box ul li {
        text-align: left;
    }
}


/* Partner contact section - matched with contact_section styling */
.partner_contact_section {
    position: relative;
    background-color: #121212;
    padding-bottom: 258px;
}

.partner_contact_section form {
    margin-top: 45px;
    padding-right: 35px;
}

.partner_contact_section input {
    width: 82%;
    border: none;
    height: 38px;
    margin-bottom: 25px;
    padding-left: 25px;
    background-color: transparent;
    outline: none;
    color: #646262;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(248, 251, 252, 0.921);
    box-shadow: 0px 2px 5px 0px rgba(253, 252, 252, 0.963);
}

.partner_contact_section input::placeholder {
    color: #f4efef;
}

.partner_contact_section textarea.message-box {
    width: 82%;
    height: 180px;
    min-height: 100px;
    resize: vertical;
    border: none;
    background-color: transparent;
    outline: none;
    color: #646262;
    box-shadow: 0px 2px 5px 0px rgba(253, 252, 252, 0.963);
    margin-bottom: 25px;
    padding: 15px 25px;
}

/* Select field styling to match contact form */
.partner_contact_section select.form-control {
    width: 82%;
    border: none;
    height: 38px;
    margin-bottom: 25px;
    padding-left: 25px;
    background-color: transparent;
    outline: none;
    color: #646262;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(248, 251, 252, 0.921);
    box-shadow: 0px 2px 5px 0px rgba(253, 252, 252, 0.963);
    border-radius: 0;
}

/* Button styling to match contact section */
.partner_contact_section button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5f5f5f;
    color: #ffffff;
    border-radius: 10px;
    margin-top: 35px
}

.partner_contact_section button:hover {
    background-color: #5625a1;
}

/* Benefits column styling */
.partner_contact_section .benefits-column {
    color: #ffffff;
}

.partner_contact_section .benefits-column h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: bold;
}

.partner-benefits {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.partner-benefits li {
    padding: 10px 0;
    margin-bottom: 15px;
    color: #ffffff;
}

.partner-benefits li span {
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(253, 252, 252, 0.963);
    display: inline-block;
}

/* Heading container styling */
.partner_contact_section .heading_container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.partner_contact_section .heading_container h2 {
    position: relative;
    font-weight: bold;
    margin-right: 10px;
    color: #ffffff;
}

/* Two-column layout */
.partner_contact_section .row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.partner_contact_section .form-column,
.partner_contact_section .benefits-column {
    width: 48%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner_contact_section .row {
        flex-direction: column;
    }
    
    .partner_contact_section .form-column,
    .partner_contact_section .benefits-column {
        width: 100%;
    }
    
    .partner_contact_section input,
    .partner_contact_section select.form-control,
    .partner_contact_section textarea.message-box {
        width: 100%;
    }
}

/* Add these styles to your partner.css file */

/* Benefits list styling */
.partner-benefits {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.benefit-item {
    margin-bottom: 15px;
    color: #ffffff;
}

.benefit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.benefit-title {
    flex-grow: 1;
    /* Remove underline */
    border-bottom: none;
}

.expand-icon {
    color: #ffd700;
    font-size: 20px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.benefit-details {
    padding: 10px 20px;
    margin-top: 5px;
    color: #cccccc;
    font-size: 0.9em;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

/* Hover effects */
.benefit-header:hover .benefit-title {
    color: #ffd700;
}

.benefit-header:hover .expand-icon {
    color: #ffffff;
}

/* Animation for expand/collapse */
.benefit-details {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Updated partner contact section layout */
.partner_contact_section .row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 45px;
}

.partner_contact_section .form-column,
.partner_contact_section .benefits-column {
    width: 48%;
    margin-top: 0;
}

/* Form styling */
.partner_contact_section form {
    margin-top: 25px;
}

/* Benefits section styling */
.benefits-column h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: white;
    margin-top: 0;
}

.partner-benefits {
    list-style: none;
    padding-left: 0;
    margin-top: 25px;
}

.benefit-item {
    margin-bottom: 15px;
    color: #ffffff;
}

.benefit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.benefit-title {
    flex-grow: 1;
    /* Removed underline */
    border-bottom: none;
}

.expand-icon {
    color: #ffd700;
    font-size: 20px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.benefit-details {
    padding: 10px 20px;
    margin-top: 5px;
    color: #cccccc;
    font-size: 0.9em;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: none; /* Hidden by default */
}

/* Add to your partner.css file */
.benefit-list {
  height: 100px;  /* Set a fixed height */
  overflow-y: auto;  /* Enable vertical scrolling */
  padding-right: 10px; /* Space for scrollbar */
  margin-bottom: 10px;
}

/* Customize scrollbar */
.benefit-list::-webkit-scrollbar {
  width: 8px;
}

.benefit-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.benefit-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.benefit-list:hover::-webkit-scrollbar-thumb {
  background: #555;
}

/* Keep text styling */
.benefit-list p {
  margin-bottom: 5px;
  line-height: 1.4;
  text-align: left;
  padding-left: 15px;
  text-indent: -15px;
}

/* Keep title centered */
.detail-box h5 {
  text-align: center;
  margin-bottom: 15px;
}
/* Media query adjustments */
@media (max-width: 768px) {
    .partner_about_section.layout_padding {
        padding-top: 15px !important;
    }
    
    .partner_about_section {
        padding-top: 30px !important;
    }
    
    .partner_about_section .img-box {
        margin-top: 0;  /* Reset margin on mobile */
    }
}

/* Update these styles in your partner.css file */

/* Partner dropdown styling */
/*#partnerDropdown + .dropdown-menu {
    min-width: 120% !important;  /* Make it as wide as the parent button */
    width: 150% !important;      /* Ensure full width */
    padding: 8px 0;
    left: -20% !important;          /* Align with the left edge */
    transform: none;             /* Remove transform */
    position: absolute;
    text-align: center !important;   /* Center align the container */
}*/

#partnerDropdown + .dropdown-menu {
  position: absolute !important;  /* Ensure the dropdown positions relative to its container */
  left: 0 !important; /* Align directly under 'Partner' */
  transform: none !important; /* Prevent any unwanted shifts */
  width: 185px !important; /* Adjust width if needed */
  z-index: 9999; /* Bring it to the front if necessary */
  transform: none;             /* Remove transform */
  text-align: center !important;   /* Center align the container */
}

/* Ensure the dropdown items fill the width */
#partnerDropdown + .dropdown-menu .dropdown-item {
    padding: 8px 16px;
    white-space: nowrap;
    width: 100%;                 /* Make items fill the width */
     display: flex !important;              /* Use flexbox */
    justify-content: center !important;    /* Center horizontally */
    align-items: center !important;        /* Center vertically */
    text-align: center !important;         /* Center the text */
    height: 100%;                         /* Take full height */
}

/* Ensure hover state maintains centering */
#partnerDropdown + .dropdown-menu .dropdown-item:hover,
#partnerDropdown + .dropdown-menu .dropdown-item:focus {
    text-align: center !important;
    justify-content: center !important;
}
 
/* For mobile responsiveness */
@media (max-width: 991px) {
    #partnerDropdown + .dropdown-menu {
        width: calc(100% - 30px) !important;
        margin: 0 15px;
    }
    
    #partnerDropdown + .dropdown-menu .dropdown-item {
        justify-content: center !important;
    }

