/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Fira Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #ECEBFC; /* Body background color */
    color: #242222; /* Default text color */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Primary and Secondary Colors */
:root {
    --primary-color: #2821F9;
    --secondary-color: #242222;
    --background-color: #ECEBFC;
    --text-color: #242222;
}

/* Headings */
h1 {
    font-weight: 800; /* Extra Bold */
    font-size: 72px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h2 {
    font-weight: 800; /* Extra Bold */
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

h3 {
    font-weight: 500; /* Medium */
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

h4 {
    font-weight: 500; /* Medium */
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

/* Paragraphs */
p {
    font-weight: 400; /* Regular */
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 16px;
}

/* Links */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
button {
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--secondary-color);
}




.logo{
    font-size: 24px;
    font-weight: bold;
}

/* hero */
.heroWrapper,.logoWrapper{
    background-color: #fff;
}
.hero{
    background-image: url('../images/Group\ 15.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    padding: 80px 0;
    background-color: #fff;
}
.heroInfo{
    padding: 50px;
}
.hero_man{
    display: none;
}
.herobuttonforResponsive{
    display: none;
}
/* hero */


/* whatwedo */
.whatWeDo{
    background-color: var(--primary-color);
    padding: 100px 0;
}
/* whatwedo */




/* service */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Section Title */
.service{
    background-color: #ECEBFC;
    padding: 150px 0;
}
.specificService{
    margin-bottom: 100px;
}
.section-title {
    font-size: 40px;
    font-weight: 800;
    color: #2821F9;
    text-align: center;
    margin: 20px 0;
}

/* Services Section */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin-bottom: 20px;
}

.service-card .service-content {
    padding: 20px;
    flex: 1;
}

.service-card .service-image {
    flex: 1;
}

.service-card .service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2821F9;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #2821F9;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #242222;
}

/* Full-width card for Custom Development Services */
.full-width {
    flex: 1;
    max-width: none;
}


/* Why Choose XCHCore */
.whyChooseUs {
    background-image: linear-gradient(rgba(40, 33, 249, 0.7), rgba(40, 33, 249, 0.7)), url(../images/6865101.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 150px 0;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.icon-box img {
    width: 50px;
    height: 50px;
}

/* Why Choose XCHCore */


/* how it works */
/* General Section Styling */
.howItWorks {
    padding: 150px 20px;
    background-color: #fff;
  }
  
  .howItWorks h2 {
    color: #2a1ff9;
    margin-bottom: 30px;
  }
  
  /* Steps Container */
  .steps {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
  
  /* Individual Step Styling */
  .step {
    flex: 1 1 calc(30% - 20px);
    max-width: 300px;
    padding: 30px;
    border-radius: 8px;
  }
  .step H4{
    font-weight: 800;
  }
  .consultation {
    background-color: #2a1ff9;
  }
  
  .development {
    background-color: #c3f58d;
    color: #000;
  }
  
  .delivery {
    background-color: #a52374;
  }
  
  /* Button Styling */
  .cta button {
    background-color: #2a1ff9;
    color: #fff;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 30px;
  }
  
  .cta button:hover {
    background-color: #1a0faa;
  }
  
/* how it works */





/* testimonial */
/* General Section Styling */
.testimonials {
    background-image: url('../images/Frame\ 7.png');
    text-align: center;
    padding: 150px 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .testimonials h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2a1ff9;
    margin-bottom: 30px;
  }
  
  /* Testimonials Container */
  .testimonial-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  /* Individual Testimonial Styling */
  .testimonial {
    flex: 1 1 calc(45% - 20px);
    max-width: 500px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .testimonial p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .testimonial .author {
    font-size: 1rem;
    color: #2a1ff9;
    font-style: italic;
  }
  
  /* Button Styling */
  .cta button {
    font-size: 1rem;
    padding: 10px 20px;
    background-color: #2a1ff9;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .cta button:hover {
    background-color: #1a0faa;
  }

/* testimonial */


/* contact */
#contact-section {
    background-color: var(--background-color);
    padding: 150px 0;
}

#contact-section h3 {
    color: var(--secondary-color);
}

#contact-section .text-primary:hover {
    color: var(--secondary-color) !important;
}
#contact-section i{
    color: #2a1ff9;
    font-weight: bold;
}
#contact-section span{
    color: #2a1ff9;
    font-weight: bold;
}

/* contact */


/* footer */
#footer-section {
    background-color: var(--primary-color); /* Use the primary color for the footer background */
    color: #fff;
    padding: 100px 0;
}

#footer-section h4 {
    font-size: 24px;
    font-weight: 800;
}

#footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7); /* Slightly faded text for secondary information */
}



/* footer */





/* Responsive Design */
@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
    }

    .service-card .service-image {
        order: -1;
    }

    .steps {
        flex-direction: column;
        gap: 15px;
      }
    
      .step {
        flex: 1 1 100%;
      }
      .testimonial-container {
        flex-direction: column;
        align-items: center;
      }
    
      .testimonial {
        flex: 1 1 100%;
      }


      .hero {
        padding: 0px 0;
    }
    h1 {
        font-size: 40px;
    }

    .hero{
        background-image: unset;
    }

    .hero_man{
        display: block;
    }
    .herobuttonforDesktop{
        display: none;
    }
    .herobuttonforResponsive{
        display: block;
    }

    .heroInfo {
        padding: 15px;
    }

    .specificService a{
        margin-bottom: 20px;
    }
    .service {
        padding: 100px 0;
    }
    .whyChooseUs {
        padding: 100px 0;
    }

    .howItWorks {
        padding: 100px 20px;
    }
    .step {
        padding: 60px 30px;
        max-width: 500px;
        margin: auto;
    }
    .steps {
        gap: 40px;
    }
    .testimonials {
        padding: 100px 20px;
    }

}

@media (max-width: 480px) {
    .section-title {
        font-size: 32px;
    }

    .service-card h2 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 16px;
    }

    .btn {
        font-size: 14px;
    }
    .heroInfo {
        padding: 30px;
    }
    h1 {
        font-size: 35px;
    }
    h3 {
        font-size: 30px;
    }
    p {
        font-size: 20px;
    }
    .heroImage{
        padding: 20px;
    }
    .service {
        padding: 70px 0;
    }
    .whyChooseUs {
        padding: 50px 0;
    }
    .specificService {
        margin-bottom: 50px;
    }
    h2 {
        font-size: 25px;
    }
}

