Adapt this scss code to respond-to methodology for responsive and all resolutions breakups.
// _variables.scss


//Breakpoints for Apple devices
$breakpoint-iphone: 375px;
$breakpoint-iphone-plus: 414px;
$breakpoint-ipad: 768px;
$breakpoint-ipad-pro: 1024px;
$breakpoint-mac: 1280px;
$breakpoint-mac-pro: 1440px;
$breakpoint-hd: 1920px;
$breakpoint-4k: 2560px;


//Color
$primary-color: #3498db;
$secondary-color: #0998EB;
$text-color: #333;
$background-color: #f4f4f4;
$button-background: #3498db;
$blog-background: #000;
$post-background: $blog-background;
$border-color: #ccc;
$button-color: #fff;

$input-border-color: #3498db;


$font-family-logo: 'Futurism', sans-serif;
$font-family-base: 'Inter', sans-serif;


// Typography
$font-weights: (
    'light' : 300,
    'regular' : 400,
    'medium' : 500,
    'bold' : 700
);

//Font Sizes
$font-sizes: (
    'xs' : 0.75rem,
    'sm' : 0.875rem,
    'base' : 1rem,
    'lg' : 1.125rem,
    'xl' : 1.25rem
)


 
 @mixin font-size($size-value) {
    @if type-of($size-value) == 'number' and not unitless($size-value) {
        font-size: $size-value;
        //Converr to a unitless number for line-height
        line-height: if(unit($size-value) == '', $size-value * 1.5, 1.5);
    }  @else if map-has-key($font-sizes, $size-value) {
        $size: map-get($font-sizes, $size-value);
        font-size: $size;
        line-height: 1.5;
    } @else {
        @warn "Invalid font size: #{size-value}";
        font-size: 16px;
        line-height: 1.5;
    }
 }



 @mixin font-weight($weight) {
    @if map-has-key($font-weights, $weight) {
        font-weight: map-get($font-weights, $weight);
    } @else {
        @warn "Invalid font weight: #{weight}";
        font-weight: 400;
    }
 }


 // Mixins for responsiveness
@mixin mobile {
    @media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2), (max-width: 768px) {
        @content;
    }
}

@mixin tablet {
    @media (min-width: 769px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 769px) and (max-width: 1024px) {
        @content;
    }
}

@mixin desktop {
    @media (min-width: 1025px) {    
        @content;
    }
}


@mixin hd {
     @media (min-width: $breakpoint-hd) {
        @content;
     }
}


@use 'sass:map';
@import 'variable';
@import 'typography_mixins';
@import 'fonts';
@import 'mixin';






// Reset and base styles
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  //  box-sizing: content-box;
}

body {
    line-height: 1.6;
    color: white;
    background-color: black;
    font-family: $font-family-base;
    @include font-size('base');
    @include font-weight('regular');


}

// Navbar and Burger Menu
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(0,0,0,0.9);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

   
    .navbar-brand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-brand a {
        text-decoration: none;
        color: $background-color;
        font-size: 1.5rem;
        font-weight: bold;
        font-family: $font-family-logo;
    }

    .burger-menu {
        display: none;
        flex-direction: column;
        cursor: pointer;
        z-index: 200;

        @include mobile {
            display: flex;
        }

        .bar {
            width: 25px;
            height: 3px;
            background-color: $primary-color;
            margin: 3px 0;
            transition: 0.4s;

            &.active:nth-child(1) {
                transform: rotate(-45deg) translate(-5px, 6px);
            }

            &.active:nth-child(2) {
                opacity: 0;
            }

            &.active:nth-child(3) {
                transform: rotate(45deg) translate(-5px, -6px);
            }
        }
    }

    .nav-menu {
        display: flex;
        align-items: center;
        list-style: none;

        @include mobile {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(255, 255, 255, 0.95);
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
            z-index: 150;

            &.active {
                transform: translateX(0);
            }

            .nav-item {
                margin: 20px 0;
                font-size: 1.5rem;

                a {
                    text-decoration: none;
                    color: $primary-color;
                    transition: color 0.3s;

                    &:hover {
                        color: darken($primary-color, 10%);
                    }
                }
            }
        }

        .nav-item {
            margin: 0 15px;

            a {
                text-decoration: none;
                color: $background-color;
                transition: color 0.3s;

                &:hover {
                    color: $primary-color;
                }
            }
        }
    }
}

// Adjust hero section for fixed navbar
.hero {
    padding-top: 70px; // Height of the navbar
    position: relative;
    height: 100vh;
    overflow: hidden;

    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        
        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .video-control {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: rgba(0,0,0,0.5);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
        }
    }

    .hero-content {
        position: relative;
        z-index: 2;
        color: white;
        text-align: center;
        padding-top: 20%;

        & a {
            position: absolute;
            left: 50%;
            transform: translate(-50%, 50%);
            text-decoration: none;
            color: white;
            background-color: $primary-color;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        .btn-primary {
            padding: 15px 30px;
            font-size: 18px;
            font-weight: bold;
            color: $background-color;
            background-color: $primary-color;
            text-decoration: none;  // Remove the default underline for the link
            border: none;
            cursor: pointer;
            overflow: hidden;
            z-index: 1;
            outline: none;
            transition: color 0.3s ease-in-out;
        
            &:hover {
                color: white;
                background-color: $primary-color;
            }
        
            &::before {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                width: 0;
                height: 0;
                border: 2px solid $border-color;
                box-sizing: border-box;
                transition: all 0.3s ease-in-out;
                transform: translate(-50%, -50%);
                z-index: -1;
            }
        
            &:hover::before {
                width: 100%;
                height: 100%;
            }
            

     
            }
        }

    }

      


// Adjust sponsor logos

.sponsored-by {
    text-align: center;
}



#stats {
    padding: 2rem;
    text-align: center;


    h2 {
        margin-bottom: 2rem;
        font-size: 2rem;
        color: $background-color;
    }

    .stats-grid {
        display: grid;
        gap: 2rem;
     

        //Desktop Layout: Horizontal Distribution
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
        align-items: center;

        @include tablet {
            grid-template-columns: repeat(2, 1fr);
        }

        @include mobile {
            gap: 1.5rem;
            grid-template-columns: 1fr; //Single column on mobile
        }
    }

    .stat-item {
        background-color: black;
        padding: 1.5rem;
        text-align: center;
        transition: background-color 1s, height 1s;
        border: 1px solid white;

        .content {
            display: none;
            
        }

        &:hover {

            @include mobile {
                height: 60dvh;
            }

            background-color: white;
            height: 500px;
            border: 5px solid #5A4FF0;

            .content {
                display: block;
               
            }

            h3,p {
                color: black;
               
            }

            p {
                font-size: 16px;
            }
        }

        video {
            width: 100%;
            margin-bottom: 1rem;
        }

        h3 {
            margin: 0.5rem 0;
            font-size: 1.5rem;
            color: $background-color;
        }

        p {
            font-size: 1.5rem;
            color: $background-color;
        }

    }

    
}


#blog {
    padding: 2rem;
    text-align: center;
    background-color: $blog-background; // Add a background color variable for better readability

    .blog-grid {
        display: grid;
        gap: 2rem;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        align-items: stretch;

        @include tablet {
            grid-template-columns: repeat(2, 1fr);
        }

        @include mobile {
            gap: 1.5rem;
            grid-template-columns: 1fr;
        }
    }

    h2 {
        margin-bottom: 2rem;
        font-size: 2rem;
        color: $primary-color; // Change color variable for better emphasis on heading
    }

    .blog-post {
        background-color: $post-background; // Use a variable for consistent background color
        padding: 1.5rem;
        text-align: center;
        transition: background-color 0.3s, transform 0.3s; // Enhanced transitions
        border: 1px solid $border-color; // Use variable for border color
        border-radius: 8px; // Softer corners
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1); // You can add a shadow for subtle depth

        &:hover {
            transform: translateY(-5px); // Slight lift effect on hover
            background-color: darken($post-background, 5%); // Darken background on hover
        }

        img {
            width: 100%;
            height: auto; // Change to auto for better responsiveness
            max-height: 400px; // Set max height to contain images properly
            object-fit: cover;
            margin-bottom: 1rem;
            border-radius: 5px; // Round image corners for better aesthetics
        }

        .btn-read-more {
            display: inline-block;
            padding: 0.5rem 1rem;
            background-color: $button-background; // Use variable for consistency
            color: $button-color; // Ensure this is set for appropriate contrast
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s, color 0.3s;
            margin: 1rem 0;

            &:hover {
                background-color: darken($button-background, 10%);
                color: #fff; // Change text color to white on hover for better contrast
            }
        }
    }
}



#faq {

    padding: 2rem;
    text-align: center;

    h2 {
        margin-bottom: 1.5rem;
        font-size: 2rem; //Main heading size
        color: $background-color;
    }


    .faq-accordion  {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        width: 100%;

        .faq-item {
            width: 100%;
            max-width: 600px;
            margin-bottom: 1rem;
            border: 1px solid white;
            border-radius: 5px;
            overflow: hidden;
            transition: max-height 0.3s ease-in-out;

            &:hover {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            }

            .faq-question {
                background-color: $primary-color;
                color: $background-color;
                padding: 1rem;
                width: 100%;
                border: none;
                text-align: left;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                transition: background-color 0.3s;
                

                &:hover {
                    background-color: darken($primary-color, 5%);
                }

                .icon {
                    font-size: 1.5rem;
                    transition: transform 0.3s;
                }
            
    }

    .faq-answer {
       padding: 1rem;
       max-height: 0px;
       overflow: hidden;
       transition: max-height 0.3s ease-in-out;
       background-color: white;
       color: $text-color;

       p {
        margin: 0;
                }
            }
        }
    }

}



.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;

    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
}


.typewriter {
   font-size: 2rem;
   white-space: nowrap;
   overflow: hidden;
   border-right: 4px solid;
   animation: blink-caret 0.75s step-end infinite;
   width: fit-content;
   margin: auto;
}

/* Blink caret animation */
@keyframes blink-caret {
    50% {
        border-color: transparent; /* Hide the border */
    }
}







/*
.join-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px;

    @include mobile {
        padding: 40px 15px;
    }

    .join-content {
        width: 100%;

        h2 {
            font-size: 2.5rem;
            color: $secondary-color;
            margin-bottom: 15px;

            @include mobile {
                font-size: 2rem;
            }
        }

        p {
            font-size: 1.1rem;
            color: $secondary-color;
            margin-bottom: 25px;

            @include mobile {
                font-size: 1rem;
            }
        }

        .join-form {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;

            @include tablet {
                flex-direction: row;
            }

            input[type="email"] {
                width: 100%;
                max-width: 400px;
                padding: 15px;
                font-size: 1rem;
                border: 2px solid $input-border-color;
                border-radius: 30px;
                outline: none;
                transition: border-color 0.3s ease;

                &:focus {
                    border-color: $secondary-color;
                }

                @include mobile {
                    font-size: 0.9rem;
                }
            }

            .btn-submit {
                background-color: $secondary-color;
                color: $primary-color;
                font-size: 1rem;
                font-weight: bold;
                padding: 15px 30px;
                border: none;
                border-radius: 30px;
                cursor: pointer;
                transition: all 0.3s ease;

                &:hover {
                    background-color: $primary-color;
                    color: $secondary-color;
                    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
                }

                @include mobile {
                    font-size: 0.9rem;
                }
            }
        }
    }
}

*/

// Join Our Community Section

.join-section {
    background: blue;
    padding: 4rem 0; // Add padding for spacing
 // Set a contrasting background color
    margin: auto;
    .join-content {
        max-width: 600px; // Limit width for better readability
        margin: 0 auto; // Center the content
        text-align: center; // Center align text

        h2 {
            font-size: 2.5rem; // Increase font size for prominence
            margin-bottom: 1rem;
            color: $background-color; // Ensure it's readable
        }

        p {
            margin-bottom: 1.5rem;
            font-size: 1.2rem; // Slightly larger font for emphasis
            color: lighten($background-color, 20%); // A lighter shade for contrast
        }

        .join-form {
            display: flex;
            flex-direction: column; // Stack inputs vertically
            align-items: center; // Center align items
            gap: 1rem; // Space between elements

            input {
                padding: 0.75rem;
                border: 2px solid $border-color; // Use a defined border color
                border-radius: 5px; // Rounded corners
                width: 100%; // Full width
                max-width: 400px; // Max width to maintain design
                font-size: 1rem; // Keep font size consistent
                
                &::placeholder {
                    color: darken($border-color, 20%); // Darken placeholder text for visibility
                }

                &:focus {
                    outline: none; // Remove outline
                    border-color: $primary-color; // Highlight border on focus
                }
            }

            .btn-submit {
                padding: 0.75rem 1.5rem; // Button padding
                font-size: 1.2rem; // Increase button text size
                background-color: $primary-color; // Keep consistent with theme
                color: white; // White text for contrast
                border: none;
                border-radius: 5px;
                cursor: pointer;
                transition: background-color 0.3s;

                &:hover {
                    background-color: darken($primary-color, 10%); // Darken on hover
                }
            }
        }
    }

    @include mobile {
        .join-content {
            padding: 1rem; // Reduce padding on mobile for better fit

            h2 {
                font-size: 2rem; // Adjust heading size for mobile
            }

            p {
                font-size: 1rem; // Adjust paragraph size for mobile
            }

            .join-form {
                input {
                    max-width: 90%; // Allow more width on smaller screens
                }
            }
        }
    }

    @include tablet {
        .join-content {
            padding: 2rem; // Medium padding on tablets

            .join-form {
                flex-direction: row; // Change form layout to row on tablets
                gap: 1rem;

                input {
                    flex-grow: 1; // Allow input to grow
                }

                .btn-submit {
                    flex-shrink: 0; // Prevent button from shrinking
                }
            }
        }
    }
}



//Footer Styles
.site-footer {
    background-color: black; //use primary color for the footer background
    color: white;
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px 0 0 0;
    overflow: hidden;

    .footer-content {
        display: flex;
        flex-direction: column; //Stack items veritcally on mobile
        align-items: center; //Center align items
        margin-bottom: 1.5rem; //Add margin for spacing


        .footer-logo {
            margin-bottom: 1rem; //Space below logo

            img {
                max-width: 150px; //Limit logo size
                width: 100%;
            }
        }

        .footer-links {
            ul {
                list-style: none; //Remove default list style
                padding: 0; //Remove default padding
            

                li {
                    display: inline-block; //Display links inline
                    margin: 0 1rem; //Add margin for spacing

                    a {
                        text-decoration: none; //Remove underline
                        color: white;
                        transition: color 0.3s; //Add transition for hover effect

                        &:hover {
                            color: lighten($secondary-color, 20%); //Change color on hover
                        }
                }
            }
        }
    }
}


.footer-social {
    margin-top: 1rem; //Space above social icons

    .social-icon {
        text-decoration: none;
        margin: 0 0.5rem; //Add margin for spacing
        color: white;
        transition: color 0.3s; //Add transition for hover effect

        &:hover {
            color: lighten($secondary-color, 20%); //Change color on hover
            }
        }
    }
}


.footer-bottom { 
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    font-size: 0.875rem;


    p {
        margin: 0
    }


//Mobile responsiveness
  @include mobile {
      .footer-content {
        flex-direction: column;

        .footer-links {
            margin-bottom: 1rem;
        }
      }
  }
}