

/* Reset default body and html padding/margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent sideways scroll */
    font-family: Arial, sans-serif;
}
 
/* Apply box-sizing border-box globally */
*, *::before, *::after {
    box-sizing: border-box;
}

/* General Styles */
/* body {
    
    margin: 0;
    padding: 0;
    
} */
/* Container for the hero section */
.xgs-hero-banner {
    position: relative;
    width: 100vw;
    padding-top: 70px; /* To offset the fixed navbar height */
    overflow: hidden;
    background-color: #77C7E9; /* Optional fallback */
  }
  
  /* Full-width landscape image */
  .xgs-hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  
  /* Heading positioned at left & vertically centered over the image */
  .xgs-hero-banner h1 {
    position: absolute;
    left: 5%;
    top: 60%;
    transform: translateY(-50%);
    color: white;
    font-size: 8rem;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    z-index: 2;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .xgs-hero-banner h1 {
      font-size: 6vw;
      left: 5%;
    }
  }
  
  @media (max-width: 480px) {
    .xgs-hero-banner h1 {
      font-size: 7vw;
      left: 5%;
    }
  }
/* Features Section */

.features-section h4{
    font-size: 3.5rem;
    /* background-color: #fff; */
    text-align: center;
    margin-top: -30px;
}

.features-section {
    padding: 50px 20px;
    /* background-color: #fff; */
}

.features-container {
    margin-top: 20px ;
    display: flex;
    flex-wrap: wrap;
    margin-left: 20px;
    margin-right: 20px;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.feature-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Feature Item */
.feature-item {
    background-color: #1b425d;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-item h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
      
}

.feature-item p {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Scroll Animation */
[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Default styles (as provided) */
.xgs-info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    /* padding-left: 10px; */

    /* background-color: #f8fbfd; */
    /* border: 1px solid #e0e0e0; */
}

.xgs-info-content {
    flex: 1;
    max-width: 65%;
    /* padding-right: 30px; */
    color: #1b425d;
    /* font-family: 'Arial', sans-serif; */
    font-size: 1.6rem;
}

.communicate2 {
    text-align: left;
    align-items: left;
    /* background-image: url(../images/blank.png); */
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    min-height:10vh;
    padding-left: 30px;
    
}

.xgs-info-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    /* margin-bottom: 20px; */
    text-align: justify;
}

.xgs-info-content .highlight2 {
    color: #ff6600; /* Change color for the word XGSLab */
    text-decoration: underline;
}

.xgs-info-content .highlight {
    text-decoration: underline;
    font-weight: bold;
}

/* Style for the slideshow container */
.xgs-image-container {
    flex: 1;
    max-width: 30%;
    position: relative;
}

/* Basic slideshow styles */
.xgs-slideshow {
    position: relative;
    width: 100%;
    height: auto;
}

.xgs-slideshow img {
    width: 100%;
    display: none;
    border-radius: 5px;
    /* margin-top: 50px; */
}

.xgs-slideshow img.active {
    display: block;
}

/* Slideshow navigation buttons */
.xgs-slideshow .prev, .xgs-slideshow .next {
    cursor: pointer;
    position: absolute;
    /* top: 50%; */
    width: auto;
    /* margin-top: -22px; */
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.xgs-slideshow .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.xgs-slideshow .prev:hover, .xgs-slideshow .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .xgs-info-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        font-size: 2.5rem;
    }

    .xgs-info-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .xgs-info-content p {
        font-size: 1.9rem;
    }

    .xgs-image-container {
        max-width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .xgs-info-section {
        padding: 15px;
        font-size: 2.2rem;
    }

    .xgs-info-content {
        font-size: 1.8rem;
    }

    .xgs-info-content p {
        font-size: 1.7rem;
    }

    .xgs-image-container {
        max-width: 100%;
        margin-top: 20px;
    }
    .xgs-slideshow img {
        width: 100%;
        display: none;
        border-radius: 5px;
        /* margin-top: 50px; */
    }

    .xgs-slideshow .prev, .xgs-slideshow .next {
        font-size: 20px;
        /* padding: 12px; */
    }
}

@media (max-width: 480px) {
    .xgs-info-section {
        padding: 10px;
        font-size: 1.8rem;
    }

    .xgs-info-content {
        font-size: 1.6rem;
    }

    .xgs-image-container{
        margin-top: -40px;

    }

    .xgs-info-content p {
        font-size: 1.5rem;
    }
    .xgs-slideshow img {
        width: 100%;
        display: none;
        border-radius: 5px;
        /* margin-top: 50px; */
    }

    .xgs-slideshow .prev, .xgs-slideshow .next {
        font-size: 18px;
        /* padding: 10px; */
    }
}
/* Section container */
#xgsy {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Video container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding-bottom: 56.25%; /* Aspect ratio for 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Fill the container */
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (min-width: 1200px) {
    .video-container {
        width: 30%; /* 3 videos per row for large screens */
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .video-container {
        width: 45%; /* 2 videos per row for medium screens */
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    .video-container {
        width: 100%; /* Full width for smaller tablets */
    }
}

@media (max-width: 479px) and (min-width: 320px) {
    .video-container {
        width: 100%; /* Full width for mobile screens */
    }
    #xgsy {
        padding: 10px; /* Reduced padding for smaller screens */
    }
}



.xgs-imager-mid-highlight-banner1 {
    /* background: linear-gradient(90deg, #FDC830, #F37335);  */
    /* background: linear-gradient(to bottom, rgb(36, 103, 154), rgb(92, 223, 237)); */
    color: #34235c;
    padding: 20px;

    /* margin-bottom: 20px; */
    /* border-radius: 2px; */
    /* margin-top: -50px; */
    text-align: left;
    font-size: 4.2rem;
    font-weight: bold;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}