/* Add this at the top of your CSS to prevent horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix for box-container to prevent horizontal scroll */
.box-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 40px auto 0;
    max-width: calc(100% - 40px);
    /* Ensure it never exceeds viewport */
}

/* Ensure all sections stay within viewport */
#first-page,
#second-page,
#third-page,
#fourth-page,
#fifth-page,
#sixth-page,
#seventh-page,
#eighth-page,
#ninth-page,
#tenth-page {
    width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

/* Specifically fix the hero image container */
.hero-container {
    position: relative;
    width: 100vw;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Fix for section text containers */
.section-text-container {
    width: calc(100% - 40px);
    margin: 0 auto;
    box-sizing: border-box;
}

/* Additional fixes for mobile */
@media (max-width: 768px) {
    .box {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .section-text-container {
        width: calc(100% - 30px);
        padding: 20px;
    }

    .hero-image {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .box {
        width: calc(100% - 20px);
        padding: 15px;
    }

    .section-text-container {
        width: calc(100% - 20px);
        padding: 15px;
    }

    .hero-image {
        width: 95%;
    }

    #main-title {
        font-size: 2rem;
        white-space: nowrap;
    }

    #subtitle {
        font-size: 1.2rem;
        white-space: normal;
    }
}

/* Ensure footer doesn't cause overflow */
#footer {
    max-width: 100vw;
    overflow: hidden;
}

.footer-top {
    width: calc(100% - 48px);
    margin: 0 auto;
}

/* Optimize performance for animations */
.hero-image,
.box,
.step-box,
.section-text-container {
    will-change: transform, opacity;
}

.matter-content {
  position: absolute;
    width: 90%;
    height: 100px;
    /* max-width: 90%; */
    /* margin-bottom: -135px; */
    top: 11%;
    display: flex
;
    justify-content: space-between;
}

/* ========== COLOR PALETTE ========== */
/* Existing color palette remains unchanged */
:root {
    --primary-color: #2b6cb0;
    --secondary-color: #1a4971;
    --accent-color: #68d391;
    --text-dark: #1a202c;
    --text-light: #f7fafc;
    --background-dark: #1a202c;
    --background-light: #edf2f7;
    --gradient-start: #e2e8f0;
    --gradient-end: #f7fafc;
}

/* ========== BASE STYLES ========== */
/* Existing body styles remain unchanged */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

#first-page {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 10px;
}

/* .hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    height: 76.39vh;
    width: 101.63vh;
    background-color: #ffffff00;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.9;
    transition: opacity 0.3s ease;
} */

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: auto;
    height: auto;
    height: 76.39vh;
    width: 101.63vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.hero-image:hover {
    opacity: 1;
}


#main-title {
    position: relative;
    font-size: 45px;
    font-weight: 700;
    color: #3c3c3c;
    margin: 0;
    letter-spacing: 2px;
    line-height: 2.2;
}

#subtitle {
    padding-top: 28px;
    color: #3C3C3C;

    font-size: 30px;
    font-style: italic;
}


@media (max-width: 1180px) {
    #main-title {
        font-size: 3rem;
    }

    #subtitle {
        font-size: 1rem;
        max-width: 300px;
    }

    .matter-content {
        top: 0%;
    }

    #first-page {
        padding: 70px 15px 15px;
        
    }
}

@media (max-width: 768px) {
    .matter-content {
        top: 6%;
    }

    #main-title {
        font-size: 3rem;
    }

    #subtitle {
        font-size: 15px;
        max-width: 300px;
    }

    #first-page {
        padding: 60px 10px 10px;
        height: 75vh;
    }
}

@media (max-width: 480px) {
    #subtitle {
    padding-top: 0px;
    color: #3C3C3C;
    font-size: 30px;
    font-style: italic;
}


    #first-page {
        height: auto;
    }

    .hero-container {
        height: auto;
    }

    .hero-image {
        width: 80%;
        top: 120px;
        left: 10%;
    }

    .matter-content {
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #main-title {
        font-size: 2rem;
        margin: 0;
    }

    #subtitle {
        font-size: 0.875rem;
        position: relative;
        margin: 5px 0 0;
        max-width: 100%;
        text-align: center;
    }
}



@media (max-width: 1180px) {
    .hero-image {
        width: 80%;
        top: 40vh;
        position: relative;
        left: 42%;
    }
}

@media (max-width: 768px) {
    .hero-image {
        width: 80%;
        top: 47vh;
        position: relative;
        left: 42%;
    }
}

@media (max-width: 480px) {
    .hero-container {
       height: 61vh;
        position: relative;
    }

    .hero-image {
       width: 83%;
        top: 27vh;
        height: 33vh;
        position: relative;
        left: 42%;
    }
}

/* Existing styles for other sections remain unchanged */
/* Include the rest of your CSS here to ensure the file is complete */
.navbar-logo {
    position: relative;
    top: 50%;
    left: 0;
    height: 32px;
    display: flex;
    filter: brightness(0) saturate(100%) hue-rotate(0deg);
    align-items: center;
}

.navbar-logo img {
    height: 100%;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) hue-rotate(0deg);
}

.navbar-logo img:hover {
    transform: scale(1.05);
}

.logo1 {
    height: 32px;
    position: fixed;
    top: 14px;
    left: 24px;
    display: none;
    z-index: 102;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) hue-rotate(0deg);
}

.logo1:hover {
    transform: scale(1.05);
}

#navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    height: 60px;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#navbar:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#navbar ul {
    list-style: none;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    gap: 16px;
}

#navbar li {
    flex: none;
}

#navbar a {
    text-decoration: none;
    color: #181818;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 16px;
    line-height: 64px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 6px;
    position: relative;
}

#navbar a:hover {
                color: rgb(71, 160, 233);
    background-color: rgba(255, 255, 255, 0.05);
}

#navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 12px;
    left: 50%;
}

#navbar a:hover::after {
    width: 50%;
    left: 25%;
}

#hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 24px;
    width: 28px;
    height: 20px;
    z-index: 1000;
    cursor: pointer;
}

#hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000000;
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

#hamburger:hover span {
    background-color:rgb(71, 160, 233);
}

#hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color:rgb(71, 160, 233);
}

#hamburger.open span:nth-child(2) {
    opacity: 0;
}

#hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color:rgb(71, 160, 233);
}

@media (max-width: 1024px) {
    #navbar ul {
        gap: 8px;
    }

    #navbar a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    #navbar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        background-color: white;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        border-bottom: none;
        box-shadow: none;
        padding-top: 60px;
        z-index: 99;
    }

    .navbar-logo {
        display: none;
    }

    .logo1 {
        display: block;
        position: absolute;
        top: 14px;
        left: 24px;
        height: 32px;
        z-index: 101;
    }

    #hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 24px;
        width: 28px;
        height: 20px;
        z-index: 101;
    }

    #navbar ul {
        position: fixed;
        top: -6px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
        z-index: 100;
        opacity: 1;
    }

    #navbar ul.active {
        max-height: 318px;
        padding: 92px 0;
    }

    #navbar a {
        font-size: 1rem;
        padding: 13px 1px;
        line-height: normal;
        border-bottom: none;
        margin: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #181818;
    }

    #navbar a:hover {
        color:rgb(71, 160, 233);

    }


}

@media (max-width: 480px) {
    /* No additional navbar-specific changes needed here */
}

/* Second Page - Keeping your exact structure */
#second-page {
    position: relative;
    min-height: 80vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

/* Update for #second-page */
.page-content {
    text-align: center;
    max-width: 1691px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    position: relative; /* Add position relative for top to work */
    top: 17%; /* Match previous matter-content */
}

/* Update for #third-page to #eighth-page */
.section-content {
    width: 70%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    position: relative; /* Add position relative for top to work */
    top: 17%; /* Match previous matter-content */
}

#second-subtitle {
    font-size: 35px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: -17px;
    line-height: 1.2;
}

#second-description {
    font-size: 35px;
    font-weight: 500;
    color: var(--text-dark);
    padding-bottom: 6vh;
    text-align: center;
    margin-top: 62px;
    width: 100%;
}

#second-text {
  font-size: 22px;
    font-weight: 400;
    color: #4a5568;
    text-align: center;
    width: 101%;
    line-height: 1.7;
    max-width: 1940px;
    margin-top: -6vh;
}

/* Fix for box-container overflow */
.box-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 20px;
    /* Add padding to prevent edge touching */
    box-sizing: border-box;
    /* Include padding in width calculation */
    margin: 40px auto 0;
    max-width: 1800px;
    /* Set a reasonable max-width */
}

.box {
    background-color: #ededed;
    border-radius: 12px;
    padding: 24px;
   height: 36.76vh;
  width: 46.00vh; /* or 25.88vw if using viewport width */
    flex: 1 1 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    /* Include padding in width */
    overflow: hidden;
    /* Prevent content from overflowing */
    justify-content: center;
    align-items: normal;
    flex-direction: column;
    display: flex;
}

.box h4 {
    font-size: 28px;
        padding-bottom: 2vh;

    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0px;
    word-break: break-word;
    /* Prevent heading overflow */
}

.box p {
    font-size: 22px;
    /* Responsive font size */
    text-align: left;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
    /* Prevent text overflow */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .box {
        max-width: calc(50% - 24px);
        /* 2 boxes per row on medium screens */
    }
}

@media (max-width: 768px) {
    .box-container {
        gap: 16px;
        padding: 0 15px;
    }

    .box {
        max-width: 100%;
        /* 1 box per row on small screens */
        min-height: auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .box-container {
        padding: 0 10px;
    }

    .box {
        padding: 16px;
    }

    .box h4 {
        font-size: 20px;
    }

    .box p {
        font-size: 16px;
    }
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    #second-title {
        font-size: 60px;
    }

    #second-subtitle {
        font-size: 35px;
    }

    #second-description {
        font-size: 55px;
        margin-top: 50px;
    }

    #second-text {
        font-size: 35px;
    }

    .box h4 {
        font-size: 28px;
    }

    .box p {
        font-size: 25px;
    }
}

@media (max-width: 1200px) {
    #second-title {
        font-size: 50px;
    }

    #second-subtitle {
        font-size: 30px;
    }

    #second-description {
        font-size: 45px;
        margin-top: 40px;
    }

    #second-text {
        font-size: 30px;
    }

    .box {
        min-width: 250px;
    }

    .box h4 {
        font-size: 24px;
    }

    .box p {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    #second-page {
        min-height: auto;
        margin-bottom: -11vh;
    }

    #second-title {
        font-size: 40px;
    }

    #second-subtitle {
        font-size: 25px;
    }

    #second-description,
    #second-text {
        text-align: center;
    }

    #second-description {
        font-size: 35px;
        margin-top: 30px;
    }

    #second-text {
        font-size: 25px;
        margin-top: 20px;
    }

    .box-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #second-title {
        font-size: 35px;
    }

    #second-subtitle {
        font-size: 22px;
    }

    #second-description {
        font-size: 30px;
    }

    #second-text {
        font-size: 20px;
    }

    .box {
        min-width: 100%;
        max-width: 100%;
    }

    .box h4 {
        font-size: 22px;
    }

    .box p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    #second-title {
        font-size: 30px;
    }

    #second-subtitle {
        font-size: 20px;
        margin-bottom: -10px;
    }

    #second-description {
        font-size: 25px;
        margin-top: 20px;
    }

    #second-text {
        font-size: 18px;
        margin-top: 15px;
    }

    .box {
        padding: 20px;
    }
}

.zzz {
    width: 43vh;
    height: 36vh;
    padding-top: 10vh;
}

.zzz1 {
    --vh: calc(55 / 1080 * 100vh); /* Adjust 1080 to your design's reference viewport height */
  height: var(--vh);
  width: var(--vh); /* Use vw if width is relative to viewport width */
}

.headingg {
    font-size: 30px;
    padding-left: 2vh;
}

/* ========== THIRD TO EIGHTH PAGES ========== */
#third-page,
#fourth-page,
#fifth-page,
#sixth-page,
#seventh-page,
#eighth-page {
   position: relative;
    min-height: 44vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 15vh;
    /* padding: 40px 20px; */
    padding-top: 4vh;
    box-sizing: border-box;
    margin-bottom: -90px;
}

.section-content {
    width: 70%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-right: 141vh;
    margin-bottom: 24px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}
/* Adjusted styles for section-text-container to prevent overflow and ensure responsiveness */
.section-text-container {
    background-color: rgb(238, 238, 238);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%; /* Allow it to take full available width */
    max-width: 67.34vw; /* Maintain a max-width but allow it to shrink */
    min-height: 19.17vh; /* Use min-height instead of fixed height */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    box-sizing: border-box; /* Ensure padding is included in width */
    overflow: hidden; /* Prevent content from spilling out */
    flex-wrap: wrap; /* Allow content to wrap if needed */
}

.section-description {
    font-size: 22px;
    font-weight: 400;
    padding: 2vh;
    text-align: left;
    color: #4a5568;
    line-height: 1.7;
    width: 100%; /* Ensure it doesn't exceed the container */
    box-sizing: border-box;
    overflow-wrap: break-word; /* Ensure text wraps properly */
    word-break: break-word; /* Break long words to prevent overflow */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .section-text-container {
        max-width: 90vw; /* Adjust max-width for smaller screens */
        padding: 24px;
        min-height: 25vh; /* Allow height to adjust */
        flex-direction: column; /* Stack content vertically on smaller screens */
    }

    .section-description {
        font-size: 1.75rem;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .section-text-container {
        max-width: 95vw;
        padding: 20px;
        min-height: 40vh;
        flex-direction: column; /* Ensure vertical stacking */
    }

    .section-description {
        font-size: 1.5rem;
        margin-top: 0; /* Remove negative margin that might cause overlap */
    }
}

@media (max-width: 480px) {
    .section-text-container {
        max-width: 100vw;
        padding: 16px;
        min-height: 35vh;
        flex-direction: column;
    }

    .section-description {
        font-size: 1.25rem;
    }
}

/* ========== NINTH PAGE ========== */
#ninth-page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 16vh;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.how-to-start {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.step-header {
    display: flex;
    align-items: center;
        padding-bottom: 2vh;

}

.step-icon {
    width: 32px;
    height: 32px;
    margin-right: 16px;
    filter: brightness(0) saturate(100%) invert(15%) sepia(5%) saturate(1355%) hue-rotate(202deg) brightness(95%) contrast(88%);
}

.step-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    display: flex;
    margin-bottom: -4px;

    margin-top: 0;
}

.section-title1 {
    font-size: 35px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    height: auto;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.step-box {
     display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    width: 27.63vh;
    min-height: 38.63vh; /* Minimum height for larger screens */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.step-box:hover {
      transform: translateY(-8px) scale(1.02); /* Add a slight scale for a "pop" effect */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: #d6d6d6;
}

.step-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: -4px;
    margin-top: 0;
}

.step-box p {
    font-size: 17px;
    font-weight: 500;
    color: #4a5568;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.para {
    margin-top: auto; /* Push to bottom of flex container */
    align-self: flex-end; /* Align to the right */
    font-size: 1.25rem;
    font-weight: 500;
    color: #4a5568;
    overflow-wrap: break-word; /* Ensure text wraps properly */

}

.sdk-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    padding: 3vh;
    width: 28.28vh;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 4vh;

}

.sdk-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sdk-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.sdk-button:hover::before {
    left: 100%;
}

.sdk-button h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.tagline {
       font-size: 2.1875rem;
    font-weight: 400;
    color: #4a5568;
    /* margin-top: 34px; */
    padding-top: 6vh;
    padding-bottom: 3vh;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
    overflow-wrap: break-word;
}

/* ========== RESPONSIVE STYLES FOR NINTH PAGE ========== */
@media (max-width: 1024px) {
    .section-title1 {
        font-size: 2.25rem;
    }

    .steps-container {
        gap: 16px;
        height: auto;
    }

    .step-box {
        width: 220px;
        height: auto;
        min-height: 300px;
        padding: 20px;
    }

    .step-box h3 {
        font-size: 1.4rem;
    }

    .step-box p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* .step-icon {
        width: 28px;
        height: 28px;
        padding-right: 2vh;
    } */

    .para {
        font-size: 1.1rem;
    }

    .sdk-button {
        width: 280px;
        padding: 20px;
    }

    .tagline {
        font-size: 2.5rem;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .section-title1 {
        font-size: 2rem;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        height: auto;
    }

    .step-box {
        width: 100%;
        max-width: 340px;
        height: auto;
        min-height: 280px;
        padding: 20px;
    }

    .step-box h3 {
        font-size: 1.3rem;
    }

    .step-box p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* .step-icon {
        width: 24px;
        height: 24px;
        padding-right: 1vh;
        margin-right: 8px;
    } */

    .para {
        font-size: 1rem;
    }

    .sdk-button {
        width: 100%;
        max-width: 300px;
        padding: 18px;
    }

    .sdk-button h3 {
        font-size: 1.6rem;
    }

    .tagline {
        font-size: 1.8rem;
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .section-title1 {
        font-size: 1.75rem;
    }

    .steps-container {
        gap: 12px;
    }

    .step-box {
        width: 100%;
        max-width: 300px;
        min-height: 260px;
        padding: 16px;
    }

    .step-box h3 {
        font-size: 1.2rem;
    }

    .step-box p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* .step-icon {
        width: 20px;
        height: 20px;
        padding-bottom: 2vh;

        padding-right: 0.5vh;
        margin-right: 6px;
    } */

    .para {
        font-size: 0.9rem;
        bottom: 12px;
        right: 12px;
    }

    .sdk-button {
        width: 100%;
        max-width: 260px;
        padding: 16px;
    }

    .sdk-button h3 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1.5rem;
        margin-top: 24px;
    }
}

/* ========== TENTH PAGE (FOOTER) ========== */
#tenth-page {
    width: 100%;
    color: var(--text-light);
    background-color: #181818;
    padding: 64px 24px 32px;
    box-sizing: border-box;
    position: relative;
}

#footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    flex: 1;
    min-width: 240px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

@media (max-width: 1024px) {
    #sixth-page {
        padding: 48px 16px 24px;
    }

    .footer-top {
        gap: 32px;
    }

    .footer-brand {
        min-width: 200px;
    }

    .footer-tagline {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .social-link img {
        width: 22px;
        height: 22px;
    }

    .footer-links {
        gap: 32px;
    }

    .link-group {
        min-width: 140px;
    }

    .link-title {
        font-size: 0.95rem;
    }

    .link-group a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    #sixth-page {
        padding: 40px 12px 20px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .footer-brand {
        min-width: 100%;
    }

    .footer-tagline {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .link-group {
        min-width: 100%;
        text-align: center;
    }

    .link-title {
        font-size: 0.9rem;
    }

    .link-group a {
        font-size: 0.8rem;
    }

    .social-link img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    #sixth-page {
        padding: 32px 8px 16px;
    }

    .footer-top {
        gap: 16px;
    }

    .footer-tagline {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .footer-social {
        gap: 12px;
    }

    .social-link img {
        width: 18px;
        height: 18px;
    }

    .footer-links {
        gap: 16px;
    }

    .link-group {
        min-width: 100%;
    }

    .link-title {
        font-size: 0.85rem;
    }

    .link-group a {
        font-size: 0.75rem;
    }
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover img {
    filter: brightness(1);
}

.link-group {
    flex: 1;
    min-width: 160px;
}

.link-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-light);
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color:rgb(71, 160, 233);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1024px) {
    #navbar ul {
        gap: 8px;
    }

    #navbar a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    #second-title {
        font-size: 3rem;
    }

    #second-subtitle {
        font-size: 2.5rem;
        font-weight: 300;
    }

    #second-description {
        font-size: 1.25rem;
    }

    #second-text {
        font-size: 1rem;
    }

    .box {
        width: 280px;
    }

    .section-title,
    .section-title1 {
        font-size: 2.25rem;
    }

    .section-text-container {
        padding: 24px;
    }

    .section-description {
        font-size: 1rem;
    }

    .step-box {
        width: 180px;
    }

    .sdk-button {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .step-header {
    display: flex
;
    align-items: center;
        padding-bottom: 1vh;
}
    #navbar {
        border-bottom: none;
        box-shadow: none;
    }

    .navbar-logo {
        display: none;
    }

    .logo1 {
        display: block;
    }

    #navbar ul {
        position: absolute;
        top: 10px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #ffffff;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
    }

    #navbar ul.active {
        max-height: 449px;
        padding: 94px 0;
    }

    #navbar li {
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
    }

    #navbar ul.active li {
        opacity: 1;
        transform: translateY(0);
    }

    #navbar a {
        font-size: 1rem;
        padding: 12px;
        line-height: normal;
        border-bottom: none;
        margin: 0;
        text-align: center;
    }

    #second-page,
    #third-page,
    #fourth-page,
    #fifth-page,
    #sixth-page,
    #seventh-page,
    #eighth-page,
    #ninth-page {
        min-height: auto;
                padding-bottom: 8vh;

        padding-top: 11vh;



    }

    #second-title {
        font-size: 1.75rem;
    }

    #second-subtitle {
        font-size: 2rem;
    }

    #second-description {
        font-size: 1.125rem;
    }

    #second-text {
        font-size: 0.95rem;
    }

    .box-container {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        max-width: 340px;
    }

    .image-container {
        height: 140px;
    }

    .section-title,
    .section-title1 {
        font-size: 2rem;
    }

    .section-text-container {
        padding: 20px;
        display: contents;

    }



    .section-description {
        font-size: 0.95rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
        padding: 24px;
        border-radius: 12px;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-box {
        width: 100%;
        max-width: 300px;
    }

    .sdk-button {
        width: 100%;
        max-width: 300px;
    }

    .tagline {
        font-size: 1rem;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #second-title {
        font-size: 1.5rem;
    }

    #second-subtitle {
        font-size: 1.75rem;
    }

    #second-description {
        font-size: 1rem;
    }

    #second-text {
        font-size: 0.875rem;
    }

    .box {
        padding: 16px;
    }

    .image-container {
        height: 120px;
    }

    .box h4 {
        font-size: 1.25rem;
    }

    .box p {
        font-size: 0.875rem;

    }

    .section-title,
    .section-title1 {
        font-size: 1.75rem;
    }

    .section-text-container {
        padding: 16px;
    }

    .section-description {
        font-size: 0.875rem;
        text-align: left;

    }

    .step-box h3 {
        font-size: 1.25rem;
    }

    .step-box p {
        font-size: 1rem;
    }

    .sdk-button h3 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 20px; 
    }

    .social-icons img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {

    /* Add this at the top of your 480px media query */
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    /* Also ensure all containers don't exceed viewport width */
    .section-text-container,
    .box-container,
    .steps-container,
    .page-content,
    .section-content,
    .how-to-start {
        max-width: 100vw;
        
        padding-left: 10px;
        padding-right: 10px;
    }


        .section-content{
        width: 90%;
        }


    /* Specifically target elements that might be causing overflow */
    .section-text-container {
        width: 100%;
        margin: 0;
    }

    /* If you have any fixed width elements that might be too wide */
    .box,
    .step-box {
        width: calc(100% - 20px);
        height: 40vh;
    }
}