body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: black;
    font-family: Cairo;
}


.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 85vh;
    overflow: hidden;
    padding-top: 60px;
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 100%;
      background: url('./images/E-Markting-GalaxyBG.webp') center / cover no-repeat fixed;
      margin-bottom: 0px;
  
}

.hero-content {
    color: white;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero{
        padding-top: 30px;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero-content p {
        font-size: 1rem;
    }
}

@media (min-width: 576px) {
    .hero-content p {
        font-size: 1rem;
    }
}

.hero-image {
    margin-top: 20px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/**********************************************/


.social-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(45deg, #011635 , #2b1033, #1D161A);
    background-size: 400% 400%;
    animation: gradientBackground 6s ease infinite;
    color: white;
    margin-top: 0px;
}

.social-left, .social-right {
    flex: 1 1 45%;
    margin: 10px;
}

.icons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.icons img {
    width: 40px;
    height: 40px;
}

.importance-list {
    list-style-type: none;
}

.importance-list li {
    margin-bottom: 10px;
}

.social-right img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .social-container {
        flex-direction: column;
        align-items: center;
    }

    .social-left, .social-right {
        flex: 1 1 100%;
    }
}



/*************************************************/


#SocialContainer {
  max-width: 100%;
  width: 100%;
  margin: 0px;
  padding: 20px;
  background: url('./images/E-Markting-GalaxyBG.webp') center / cover no-repeat fixed;
  color: white;
}


#SocialContainer .row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px; 
}

#SocialContainer .col-md-6 {
  flex: 0 0 50%; 
  max-width: 50%;
  padding: 10px;
}

#SocialContainer .content{
  margin-top: 50px;
}

#SocialContainer .content,
#SocialContainer .image, #SocialContainer h2 {
  text-align: center;
}

#SocialContainer .image img {
  max-width: 50%;
  height: auto;
}

@media only screen and (max-width: 768px) {
  .col-md-6 {
      flex: 0 0 100%; 
      max-width: 100%;
  }
}



.scroll-left, .scroll-right {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-left.show-left, .scroll-right.show-right {
  opacity: 1;
  transform: translateX(0);
}

/*************************************************************/


/********************************************************************/
/***********************Graphic Design******************************/
/******************************************************************/

header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}


 .about, .services, .video-section{
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
    margin: 0px 0;
   
}



 .about h3, .services h3, .video-section h2{
    font-family: 'Playfair Display', serif;
    color: #5E6C5B;
}

 .about p, .services p, .other-offerings p {
    color: #5E6C5B;
}

.about-content, .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.about-content img, .service-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin-top: 20px;
    overflow: hidden; 
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    border-radius: 10px;
    animation: slideInFromLeft 3s ease  alternate; 
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}





@media (min-width: 768px) {
  

    .hero-content img {
        max-width: 50%;
    }

    .about-content, .service-item {
        flex-direction: row;
    }

    .about-content img, .service-item img {
        max-width: 50%;
    }


}

        /*****************************/
        * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* Hero Section Styles */
.hero-section-graphic, .hero-section2, .graphic-design, .graphic-video
{
    position: relative;
    width: 100%;
    height: 100vh; 
    background: no-repeat center center;
    background-size: cover; 
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Background Images */
.graphic-video{
    width: 100%;
  max-width: 100%;
    background: url('./images/nature.webp') center / cover no-repeat fixed;
}


.hero-section-graphic {
    background-image: url('./images/GraphicDesignHero.webp');
}

.hero-section2 {
    background-image: url('./images/TestHeroGraphic2.webp');
}

.graphic-design{
    background-image: url('./images/GraphicDesighnBG.jpg');
}


@media (max-width: 768px) {
    .hero-section2 img {
       margin-bottom: 10px;

    }
}

@media (max-width: 576px) {
    .hero-section2
 {
       margin-bottom: 10px;

    }
}






#diabetic_page{
    margin-bottom: 0px;
     margin-top: 50px;
}

#threehorses_page{
    margin-bottom: 100px;

}

#uis_page{
    margin-bottom: 200px;

}



@media (max-width: 768px) {
    #diabetic_page {
        margin-bottom: 0px;
        margin-top: 0px;
    }
    #threehorses_page{
        margin-bottom: 70px;
    
    }
    
    #uis_page{
        margin-bottom: 120px; 
    }
}

@media (max-width: 576px) {
    #diabetic_page
 {
    margin-bottom: 0px;
    margin-top: 0px;
}
#threehorses_page{
    margin-bottom: 70px;

}

#uis_page{
    margin-bottom: 120px; 
}
}


/*******************************************************/
@media (max-width: 1200px) {
    .hero-section-graphic, .hero-section2, .graphic-design, .graphic-video
 {
       height: 50vh;
    }
}

@media (max-width: 992px) {
    .hero-section-graphic, .hero-section2, .graphic-design, .graphic-video
 {
        height: 50vh;

    }
}

@media (max-width: 768px) {
    .hero-section-graphic, .hero-section2, .graphic-design {
        height: 50vh;

    }
}

@media (max-width: 576px) {
    .hero-section-graphic, .hero-section2, .graphic-design, .graphic-video
 {
        height: 50vh;

    }
}

.hero-section2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section2 img {
  width: 100%;
  height: auto;
  margin: 0 10px;
  max-width: 300px;
  transition: transform 0.3s ease, filter 0.3s ease;
  position: relative;
}

.hero-section2 img:hover {
  transform: scale(1.1) translateY(-10px);
  filter: brightness(80%);
}

.hero-section2 img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(40, 94, 126, 0) 0%, rgba(4, 79, 241, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-section2 img:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-section2 img {
    max-width: 100px;
  }
}




/************************************************************/


.steps-section {
    padding: 60px 0;
    background: url('./images/nature2.webp') center / cover no-repeat fixed;

}

.step-card {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    color: white;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.step-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #9F8DB5;
}

.steps-section h2{
    color: white;
    text-align: center;
}



@media (max-width: 767px) {
   
    .step-card {
        margin-bottom: 30px;
    }
}
/* Default styles for larger screens */
.points-container {
    display: flex;
    flex-direction: column;
    background: url('./images/nature3.webp') center / cover no-repeat fixed;
    padding: 30px;
    margin-top: 0px;
    text-align: right; 
}

.points-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style-type: none;
    padding: 0;
}

.points-list li {
    margin-bottom: 20px;
    font-size: 25px;
    color: white;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.points-list li:hover {
    transform: scale(1.1);
    color: #9F8DB5;
}

.points-list li i {
    margin-left: 10px; 
}

@media screen and (max-width: 768px) {
    .points-list {
        grid-template-columns: 1fr;
    }

    .points-list li {
        font-size: 16px;
    }
}


.hero-section-graphic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 6%; 
    color: white;
}


.hero-section-graphic h2 span {
    display: inline-block;
   /* #9F8DB5*/
    color: white;
}

.hero-section-graphic h2 {
    margin-bottom: 10px; 
    display: block;
}


.hero-section-graphic p {
    display: block; 
}

