*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* #importance{
    height: 100%;
    margin-top: 2%;
}
#importance>h1{
    text-align: center;
    font-size: 2.5rem;
    padding: 1% 0;
    color: rgb(0, 87, 87);
}
#importance>h4{
  background-color: #5cb9490f;
  padding: 1%;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom:1.5% ;
    color: #08467F;
    font-style: italic;
}
#sub-importance{
    padding-bottom:2%;
    height: 100%;
    width: 100%;
    margin: auto;
}
#imporatnce-order{
    width: 100%;
    justify-content: center;
    display: flex;
    justify-content: space-around;
    list-style: none;
    border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}
#first-item{
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
#last-item{
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}
.hidden {
    display: none;
}
.case-studies {
    margin-top: 20px;
    padding: 10px;
    height: 100%;
   
}
.active {
    background-color: #5BB949;
    color: #fff;
}
.case-studies-btn{
    border: 1px solid rgb(196, 195, 195);
    width: 220px;
    height: 55px;
    font-size: 17px;
    background-color: #e5f3ff;
    border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    cursor: pointer;
   
} */

/*  */
#importance {
    height: 100%;
    margin-top: 2%;
}

#importance > h1 {
    text-align: center;
    font-size: 2.5rem;
    padding: 1% 0;
    color: rgb(0, 87, 87);
}

#importance > h4 {
    background-color: #5cb9490f;
    padding: 1%;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5%;
    color: #08467F;
    font-style: italic;
}

#sub-importance {
    padding-bottom: 2%;
    height: 100%;
    width: 100%;
    margin: auto;
}

#imporatnce-order {
    width: 100%;
    justify-content: center;
    display: flex;
    justify-content: space-around;
    list-style: none;
    border-radius: 15px;
    flex-wrap: wrap; /* Ensure buttons wrap in smaller screens */
}

#first-item {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#last-item {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.hidden {
    display: none;
}

.case-studies {
    margin-top: 20px;
    padding: 10px;
    height: 100%;
}

.active-case {
    /* background-color: #5BB949; */
    background-color: #5bb949;
    color: #fff;
}

.case-studies-btn {
    border: 1px solid rgb(196, 195, 195);
    /* width: 220px; */
    width: 290px;
    height: 100px;
    font-size: 17px;
    background-color: #e5f3ff;
    border-radius: 15px;
    cursor: pointer;
}

/* Mobile responsiveness (340px - 480px) */
@media (max-width: 480px) and (min-width: 340px) {
    @media (max-width: 480px) and (min-width: 340px) {
        #importance > h1 {
            font-size: 1.8rem;  /* Reduced font size of the main heading */
        }
    
        #importance > h4 {
            font-size: 1.2rem;  /* Reduced font size of the subheading */
        }
    
        #imporatnce-order {
            flex-direction: row;  /* Keep buttons horizontally aligned */
            justify-content: center;
            align-items: center;
        }
    
        .importance-items {
            width: auto;  /* Allow buttons to maintain their size */
            text-align: center;
        }
    
        .case-studies-btn {
            width: auto;  /* Buttons no longer take full width */
            height: 40px;  /* Keep height compact */
            font-size: 14px;  /* Adjust font size for readability */
            padding: 0 10px;  /* Adjust padding for smaller buttons */
            margin: 0 5px;  /* Ensure there's space between buttons */
        }
    
        #first-item {
            border-top-left-radius: 15px;
            border-bottom-left-radius: 15px;
        }
    
        #last-item {
            border-bottom-right-radius: 15px;
            border-top-right-radius: 15px;
        }
    }
}

/*  */
#case-studies4{
    width: 100%;
   height: 100%;
}
#case-studies1{
   width: 100%;
   height:100%;
}
#case-studies2{
    width: 100%;
   height: 100%;
}
#case-studies3{
   width: 100%;
   height:100%;
}
/* *************************88 */
/*  */

#hero {
    position: relative;
    height: 50vh;
    background-image: url('./images/hero-bg1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    z-index: 100;
    /* margin-top: 90px; */
}

/* Overlay to darken the background for better readability */
#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Main content of hero section */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

/* Main Headline Styling */
.main-headline {
    font-size: 3.2rem;
    font-weight: bold;
    color: #0ee744;
    animation: fadeInDown 1s ease-in-out;
}

/* Sub-Headline Styling */
.sub-headline {
    font-size: 1.5rem;
    margin-top: 2%;
    color: #fff;
    animation: fadeInUp 1s ease-in-out;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Mobile responsiveness for screens between 340px and 480px */
@media (max-width: 480px) and (min-width: 340px) {
    #hero {
        height: 30vh;  /* Adjust height for smaller screens */
    }

    .hero-content {
        max-width: 90%;  /* Ensure content does not overflow */
        padding: 0 15px;
    }

    .main-headline {
        font-size: 2rem;  /* Reduce font size */
        line-height: 1.2;
    }

    .sub-headline {
        font-size: 1.2rem;  /* Reduce font size */
        margin-top: 1.5%;
    }
}


/* Laptop and Mobile Mockups */
.mockups {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

/* Laptop Mockup */
.laptop {
    position: relative;
    width: 50%;
    max-width: 600px;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-in-out forwards;
}

.laptop img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile Mockup */
.mobile {
    position: relative;
    width: 30%;
    max-width: 300px;
    margin-left: -100px;
    animation: slideInRight 1.5s ease-in-out forwards;
}

.mobile img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
/* Keyframe Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .main-headline {
        font-size: 2.5rem;
    }

    .sub-headline {
        font-size: 1.2rem;
    }
}