* {
     margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

body {
    font-family: 'Poppins', sans-serif;
    background: #262626;
    color: white;
    }



.services-section{
    padding: 80px 0px;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h1 {
    background: linear-gradient(180deg, #F6F6F7 0%, #7E808F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; 
    color: transparent;
    font-weight: 800;
    margin-bottom: 20px;
}

.services-header p {
    font-size: 1.1rem;
    color: #FFFFFF;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 400px)); /* Fixed max width */
    gap: 30px;
    margin-top: 40px;
    background-color: #2A2A2A;
    padding: 100px;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    justify-content: center; /* Center the grid items */
}

.service-card {
    background: #FFFFFF0D;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%; /* Take full width of grid item */
    max-width: 400px; /* Ensure cards don't exceed this width */
    box-shadow: 2px 10px 24px 0px #0000002E;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F16522, #f7931e);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    justify-content: flex-start;
}

.service-icon {
    margin-right: 20px;
}

.service-icon img{
    width: 50px;
    height: 50px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
}

.service-features li {
    color: #c0c0c0;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    transition: color 0.3s ease;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 350px));
        padding: 50px 20px;
    }
    
    .service-card {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 20px;
    }
    
    .service-card {
        padding: 25px;
        max-width: none; /* Allow full width on mobile */
    }
    
    .services-header h1 {
        font-size: 2.2rem;
    }
    
    .services-header p {
        font-size: 1rem;
    }
}

@media(max-width:426px){
    .services-header p{
        font-size: 0.9rem;
    }
    
    .service-icon img{
        width: 30px;
        height: 30px;
    }

    .service-title{
        font-size: 1rem;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* subscribe section */
.subscribe-section{
    background-color: #262626;
    padding: 70px 0px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}


.subscribe-section::before {
    content: '';
    position: absolute;
    top: 0%;
    right: -9%;
    width:600px; /* increased size */
    height: 500px;
    background: radial-gradient(circle, 
        rgba(241, 101, 34, 0.15) 0%,   /* lighter */
        rgba(241, 101, 34, 0.07) 40%,  /* softer middle */
        rgba(241, 101, 34, 0.03) 70%,  /* more faded */
        transparent 100%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.subscribe-header{
        display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 85px;
}

.subscribe-section .container {
    z-index: 2;
}

.subscribe-section .background-svg{
    position: absolute;
    top: 10%;
    right: 0%;
    width: 350px;
    z-index: 3; 
}

.subscribe-title{
    font-weight: 800;
    margin-bottom: 20px;
}

.subscribe-title span {
    background: linear-gradient(180deg, #F6F6F7 0%, #7E808F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.subscribe-desc{
    color: #8F9BB7;
    font-size: 1rem;
    max-width: 500px;
}

.input-container{
    background-color: black;
    display: flex;
    align-items: center;
    border-radius: 20px;
    margin-top: 250px;
    position: relative;
    z-index: 2;
}

.input-image{
    width: 60%;
}

.input-content{
    width: 40%;
    display: flex;
    flex-direction: column;
}

.enter-your-email{
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.enter-your-email input, .enter-your-email .btn-get-started{
    background-color: transparent;
    color: rgb(255, 255, 255, 0.6);
    border: 1px solid #F16522;
    padding: 10px;
    font-size: 12px;
    border-radius: 24px;
}

.enter-your-email input{
    width: 60%;
}

.enter-your-email .btn-get-started{
    color: white;
}

input:focus{
    outline: none !important;
}

/* Responsive  */
@media(max-width:1000px){
      .input-image{
        width: 53%;
    }
}
@media (max-width: 768px) {

    .input-container{
        margin-top: 60px;
    }

    .subscribe-section .background-svg{
        display: none;
    }
    .subscribe-header{
        text-align: center;
        padding-left: 0px;
    }
    .subscribe-section::before {
        width: 400px;
        height: 400px;
        top: -10%;
        right: -25%;
    }

    .input-content h2{
        font-size: 16px;
    }
    .input-image{
        width: 40%;
    }
.enter-your-email{
    flex-direction: column;
    margin-top: 10px;
}
    .enter-your-email input{
        width: 100%;
    }

    .input-image  img{
        width: 300px;
    }
}

@media (max-width: 480px) {
    .subscribe-section::before {
        width: 300px;
        height: 300px;
        top: -5%;
        right: -30%;
    }

    .input-image img{
    width: 200px;
}

   .input-container{
    flex-direction: column;
    align-items: center;
    justify-content: center;

   } 
   .input-image{
    width: 100%;
   }

   .input-content{
    width: 100%;
    align-items: center;
    padding: 10px 0px
    
    ;
   }
}






        
