*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
#webHeroSec{
    background-image: url("./images/CT_BLOG_HERO2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* border: 2px solid green; */
    height: 550px;
    /* margin-top: 90px; */
    /* background-color: blue; */
    position: relative;
}

#webHeroSec h1,#webHeroSec h2{
    font-style: italic;
    /* border: 2px solid red; */
    width: fit-content;
    /* margin: 8px; */
    padding: 5px;
    position: absolute;
    left: 4%;
    background-color: #e5f3ff;
    border-radius: 5px;

}
#webHeroSec h1{
  color: #2c3e50;
  top: 21%;
  font-size: 2rem;
}

#webHeroSec h2{
    color: #084C7F;
    top: 35%;
    left: 5%;
}

/* ******************* */
#webServices{
 /* border: 2px solid blue; */
 position: relative;
max-height: 700px;
}

#webServices h1{
 /* border: 2px solid navajowhite; */
 text-align: center;
 font-style: italic;
 margin: 10px;
}

/*  */

#webcards-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    padding: 10px;
    margin: 10px 30px;
}

.webcard {
    /* background-color: #084C7F; */
    margin-bottom:-10px;
    margin-bottom:-10px;
    background: linear-gradient(  #e5f3ff,#f8f8fa,#f8f8fa,#e5f3ff);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #084C7F;
    height: 24rem;
    /* position: ; */
}

.webcard:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.webcard-image {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid;
    transition: transform 0.5s ease;
}

.webcard-image:hover{
    transform: scale(1.05);
}

.webcard-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    /* border: 2px solid; */
    color: #084c7f;
}

.webcard-content {
    font-size: 1em;
    /* color: #; */
    line-height: 1.3;
    letter-spacing: 1px;

}

#webcards-container button{
    padding: 8px;
    margin: 10px auto;
    background-color: #5bb949;
    border-radius: 10px;
    border: 1px solid #1078bf;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#webcards-container button:hover{
    background-color: #1078bf;
}

#webcards-container a{
    text-decoration: none;
    color: #f8f8fa;
}

.even{
   margin-top: 20px;
   height: 21.5rem;
}

/* .odd1,.odd2,.odd3{
    margin-bottom:-10px;
} */




/* Responsive Design */
@media (max-width: 768px) {
    #webcards-container {
        flex-direction: column;
        align-items: center;
    }

    .webcard {
        width: 100%;
        max-width: 300px;
    }
}

#webAppDevSectionw {
    padding: 50px 20px;
    background: linear-gradient(135deg, #084C7F 20%, #e5f3ff 100%);
    color: #fff;
    text-align: center;
}

#webAppDevSectionw h1 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

/* Benefits Container */
.benefits-containerw {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Benefit Card Styling */
.benefit-cardw {
    background-color: #fff;
    color: #2c3e50;
    padding: 20px 10px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 2s ease-in-out, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Icon Styling */
.benefit-cardw i {
    font-size: 2rem;
    color: #5bb949;
    margin-bottom: 15px;
}

.benefit-cardw h3 {
    font-size: 1.2rem;
    color: #084C7F;
    margin-bottom: 10px;
}

.benefit-cardw p {
    font-size: 1rem;
    line-height: 1.4;
}

/* Hover Effect */
.benefit-cardw:hover {
    /* transform: translateY(-60px); */
transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animation Styling */
.benefit-cardw {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.5s ease forwards;
}

/* Delay each card animation */
.benefit-cardw:nth-child(1) { animation-delay: 0.2s; }
.benefit-cardw:nth-child(2) { animation-delay: 0.4s; }
.benefit-cardw:nth-child(3) { animation-delay: 0.6s; }
.benefit-cardw:nth-child(4) { animation-delay: 0.8s; }
.benefit-cardw:nth-child(5) { animation-delay: 1s; }

/* Keyframes for animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-sectionWeb {
    background: linear-gradient(115deg, #f8f8fa, #e5f3ff,#f8f8fa, #e5f3ff,#f8f8fa, #e5f3ff);
    color: #2c3e50;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* max-width: 800px; */
    margin: 0 auto;
}

.headingWeb {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

.subheadingWeb {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
    animation: fadeInUp 1s ease-in-out;
}

.cta-buttonWeb {
    display: inline-block;
    padding: 15px 30px;
    background-color: #5bb949;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.cta-buttonWeb:hover {
    background-color: #4a9f3b;
}

.questionsWeb {
    margin-top: 30px;
    font-size: 1rem;
    animation: fadeInUp 1.2s ease-in-out;
}

.contact-linkWeb {
    color: #5bb949;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-linkWeb:hover {
    color: #4a9f3b;
}

/* Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .heading {
        font-size: 2rem;
    }
    .subheading {
        font-size: 1rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

@media screen and (min-width: 360px) and (max-width: 480px) {
    /* Responsive background and section height */
    #webHeroSec {
        height: 190px; /* Reduced height for smaller screens */
        margin-top: 20px;
    }

    /* Responsive font sizes and positioning for h1 and h2 */
    #webHeroSec h1,
    #webHeroSec h2 {
        font-size: 0.8rem;
        padding: 5px;
        left: 5%; /* Center-align text with margin adjustments */
    }

    #webHeroSec h1 {
        font-size: 0.6rem; /* Adjust font size for smaller screens */
        top: 21%; /* Adjust top positioning */
    }

    #webHeroSec h2 {
        font-size: 0.5rem; /* Slightly smaller font for h2 */
        top: 35%; /* Adjust top positioning for better alignment */
    }

    /* Main section styling */
    #webServices {
        padding: 5px;
        text-align: center;
        max-height: fit-content;
    }

    #webServices h1 {
        font-size: 0.7rem;
        margin-bottom: 2px;
        padding: 0 7px;
    }
    
    /* Card container adjustments for 2-column grid */
    #webcards-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px; /* Space between cards */
        justify-items: center;
padding: 0 ;
margin: 10px;
    }

    /* Individual card styling */
    .webcard {
        width: 100%;
        max-width: 200px; /* Control width of each card */
        padding: 9px;
        /* height: 330px; */
        height: fit-content;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        background-color: #fff;
        /* margin: 10px; */
        padding: 5px;
    }

       /* Style for the last card (fifth card) */
       .webcard:nth-child(3) {
        grid-column: span 2; 
        max-width: 100%;
    }

    .webcard:nth-child(3) .webcard-image{
        height: 155px;
        object-fit: contain;
    }

    .webcard img.webcard-image {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .webcard-title {
        font-size: 1.2rem;
        color: #084C7F;
        margin-top: 10px;
    }

    .webcard-content {
        font-size: 0.6rem;
        color: #2c3e50;
        margin: 6px 0;
    }

    /* Button adjustments */
    .webcard button {
        background-color: #084C7F;
        color: #fff;
        border: none;
        padding: 0px 7px;
        font-size: 0.6rem;
        border-radius: 5px;
        cursor: pointer;
        margin: auto;
        transition: background-color 0.3s ease;
    }

    .webcard button a {
        color: #fff;
        text-decoration: none;
    }

    .webcard button:hover {
        background-color: #5bb949;
    }
    .even{
        margin-top: 0;
    }

    /* ******************** */

    .headingWeb{
        font-size: 1.1rem;
        margin-bottom: 10px;
        padding: 5px;
        /* margin: 5px; */
    }
    .subheadingWeb{
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    .cta-buttonWeb{
        margin-bottom: 10px;
        border-radius: 20px;
        padding: 9px 15px;
        margin-bottom: 8px;
    }
    .questionsWeb{
        margin-top: 8px;
    }

    /* Adjust section padding */
    #webAppDevSectionw {
        padding: 20px 15px;
    }
    
    /* Responsive Title */
    #webAppDevSectionw h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    /* Benefit Card Container */
    .benefits-containerw {
        display: grid;
        grid-template-columns: 1fr; /* Single column on small screens */
        gap: 15px;
    }

    /* Benefit Card Adjustments */
    .benefit-cardw {
        width: 100%;
        max-width: 320px;
        padding: 15px;
        font-size: 0.9rem; 
        margin:auto;
    }

    .benefit-cardw i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .benefit-cardw h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .benefit-cardw p {
        font-size: 0.9rem;
    }
}




