@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Montserrat:wght@300;400&display=swap');



body {
  margin: 0;
  font-family: 'Orbitron', sans-serif; /* Futuristic font for body */
  background:#fff;; /* Original background color */
  color: #333;
  overflow-x: hidden;
}

.clients-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #fff;;
}

.clients-section h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.clients-section .subtitles {
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
}

/* Logo grid */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 1900px;
  margin: 0 auto;
   padding-inline: 200px;
   padding-top: 20px;
}

.logos-grid img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.logos-grid img:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {

    .logos-grid{

  padding-inline: 0px;
    
    }

}

/* CSS */
.spi-hero-section {
    font-family: 'Cormorant Garamond', serif;
    background-color: #f9f7f4;
    padding: 80px 20px;
    text-align: center;
    color: #333;
}

.spi-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.spi-main-heading {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.spi-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 auto;
    max-width: 700px;
}

/* Optional font imports - add this to your main CSS file or in the head */


/* Responsive adjustments */
@media (max-width: 768px) {
    .spi-main-heading {
        font-size: 2rem;
    }
    
    .spi-description {
        font-size: 1rem;
    }
}





 

.containerz {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for all screen sizes */
    width: 100%;
    height: auto;
    min-height: 300px; /* Reduced min-height for flexibility */
    background-color: #fff;
    gap: 10px; /* Slightly increased gap for better spacing */
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

.text-sectionz {
    flex: 1 1 300px; /* Flexible width with minimum */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5ece4;
    padding: 20px;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.text-sectionz h2 {
    font-size: clamp(20px, 5vw, 24px); /* Responsive font size */
    color: #333;
    margin: 0;
    font-weight: normal;
}

.text-sectionz p {
    font-size: clamp(12px, 3vw, 14px); /* Responsive font size */
    color: #666;
    margin: 5px 0;
    font-style: italic;
}

.image-grid {
    flex: 2 1 500px; /* Flexible grid with minimum width */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Dynamic columns */
    gap: 10px; /* Consistent gap */
    border-radius: 10px;
    min-height: 200px;
}

.image-grid .image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Square aspect ratio for consistency */
    overflow: hidden;
}

.image-grid img,
.image-grid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-grid img:hover,
.image-grid video:hover {
    transform: scale(1.05);
}

.image-grid .icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: clamp(20px, 4vw, 24px); /* Responsive icon size */
    height: clamp(20px, 4vw, 24px);
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-grid .icon:hover {
    transform: scale(1.2);
}

.image-grid a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Large screens (desktops, 1025px and up) */
@media (min-width: 1025px) {
    .image-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for desktops */
    }
}

/* Medium screens (tablets, 769px to 1024px) */
@media (max-width: 1024px) {
    .containerz {
        padding: 15px;
    }
    .text-sectionz {
        flex: 1 1 100%; /* Full width for tablets */
        padding: 15px;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Flexible columns */
    }
}

/* Small screens (phones, 768px and below) */
@media (max-width: 768px) {
    .containerz {
        padding: 10px;
    }
    .text-sectionz {
        padding: 15px; /* Adjusted from 150px to avoid excessive padding */
    }
    .text-sectionz h2 {
        font-size: clamp(16px, 4vw, 18px);
    }
    .text-sectionz p {
        font-size: clamp(10px, 3vw, 12px);
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Single or double column for phones */
    }
    .image-grid .icon {
        width: clamp(16px, 3vw, 20px);
        height: clamp(16px, 3vw, 20px);
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

        /* Fade-in animation keyframes */
        @keyframes fadeIn {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }