.main-heading {
    margin-top: 2%;
    text-align: center;
    color: black;
}
.main-heading h1{
    font-size: 32px;
}
@media (max-width: 768px) { /* Adjust as needed */
    .mobile-break {
        display: block; /* Acts like a <br> */
        line-height: 0; /* Removes extra space */
    }
}

@media (min-width: 769px) {
    .mobile-break {
        display: none; /* Hide on larger screens */
    }
}



.about-vision{
margin-top: 2%;
margin-bottom: 5%;
padding: 20px;
background-color: #ffffff;
border-radius: 15px; /* Rounded corners */
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Box shadow */
border-right: 5px solid #ff6600;
border-left: 5px solid #007bff;
}
.degen-content{
margin-top: 3%;
margin-bottom: 3%;
padding: 20px;
}
.degen-content h3{
font-size:  19.2px;
font-weight: 700;
}
.degen-content h2{
margin-top: 20px;
text-align: center;
}
@media (max-width: 768px) {
.image-container {
    flex-wrap: nowrap;
    overflow-x: auto; /* Horizontal scrolling on small screens */
    padding: 10px;
}

.image-container img {
    max-width: 100px; /* Adjusted for mobile */
}
}
.image-container {
    margin-top: 5%;
    width: 99vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: black; /* Change background if needed */
}
.image-container img {
    width: 100%;
    height: auto;
    max-width: 1920px;
    max-height: 636px;
    object-fit: contain; 
}

/*  Mobile Styles */
@media (max-width: 768px) {
    .image-container {
        margin-top: 18%;
        height: auto; 
       padding: 0%;
    }
    .image-container img {
        width: 100%; 
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .image-container {
        margin-top: 25%;
       padding: 0%;
    }
    .image-container img {
        max-height: 300px; 
    }
}
/* about Styles */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
}
.about-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    display: block;
    padding: 15px;
    
}

.about-content {
    max-width: 750px;
    margin-left: 50px;
    font-size: 16px;
}


@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }
    .about-img {
        width: 300px;
        height: 300px;
    }
    .about-content {
        margin: 20px 0 0 0;
        max-width: 100%;
    }
    .about-text-p{
        text-align: justify;
    }
}
/* chat box Styles */
.chat-container {
    margin-top: 2%;
    margin-bottom: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.chat-box {
    padding: 10px;
    display: flex;
    align-items: center;
    max-width: 950px;
    width: 100%;
}
.chat-box img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}
.speech-bubble {
    background: #f1f1f1;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    max-width: 70%;
    font-style: italic;
    
}
.speech-bubble::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.left .speech-bubble::before {
    border-width: 10px 15px 10px 0;
    border-color: transparent #f1f1f1 transparent transparent;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}
.right .speech-bubble::before {
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #f1f1f1;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}
.left { flex-direction: row; }
.right { flex-direction: row-reverse; }
@media (max-width: 768px) {
    .chat-box {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    .speech-bubble {
        max-width: 90%;
    }
    .speech-bubble::before { display: none; }
}
/*partnet section*/
.partners-section {
padding: 30px 10px;
background: #fff;
text-align: center;
margin-top: 2%;
margin-bottom: 2%;
}

.partners-title {
font-size: 26px;
margin-bottom: 25px;
font-weight: bold;
color: #333;
}

.carousel-wrapper {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
max-width: 100%;
overflow: hidden;
padding: 0 10px;
}

.carousel-btn {
background: #007bff;
color: white;
border: none;
cursor: pointer;
padding: 12px;
font-size: 20px;
border-radius: 10%;
transition: background 0.3s ease;
opacity: 0.5;
}

.carousel-btn:hover {
background: #0056b3;

}

.carousel-track-container {
overflow: hidden;
width: 90%;
}

.carousel-track {
display: flex;
gap: 40px;
transition: transform 0.5s ease-in-out;
}

.carousel-track a {
display: inline-block;
}

.carousel-track img {
height: 45px;
width: auto;

display: block;
}

@media (max-width: 768px) {
.carousel-btn {
padding: 8px;
font-size: 18px;
}

.carousel-track {
gap: 20px;
}
}
/* Button Styles */
.btn-primary {
    font-weight: 500;
    padding: 10px 20px; 
    color: #000;
}
        
/* Section Styling */
.why-degenrex {
    margin: 20px auto;
    padding: 20px 10px;
    background: white;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}
h2 {
    margin-bottom: 20px;
}
/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns */
    gap: 10px;
    padding: 10px;
}
/* Feature Box */
.feature {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Full-Width Feature */
.full-width-feature {
    
   
    padding: 20px;
    border-radius: 10px;
    margin: 5px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.full-width-feature .icon {
    font-size: 50px;
}

/* Icon Styling */
.icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* Switch to 1 column on small screens */
    }
}
/* Hidden popup container */
.popup-container {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 50;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Show popup animation */
.show-popup {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}