/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body, html {
  font-family: 'Poppins', sans-serif;
}

/* Ensure all text elements use Poppins */
body, h1, h2, h3, h4, h5, h6, p, span, div {
  font-family: 'Poppins', sans-serif;
}
/* --------------------------hero Section---------------------- */

.datacenter-hero {
  position: relative;
  width: 100%;
  height: auto; /* Full viewport height */
  margin-top: 0;
  overflow: hidden; /* Prevent overflow */
  padding: 10vh 0 10vh 0;
  display: flex;
  align-items: center; /* Center the content vertically */
  justify-content: center;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.datacenter-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 128, 0.6),
    /* Dark blue tint */ rgba(0, 0, 0, 0.4) /* Darker overlay for readability */
  );
  z-index: 0;
}
.datacenter-hero-main {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: flex;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
  width: 90vw;
  padding: 5vh 5vh 2vh 5vh;
  height: auto;

}
.datacenter-hero-content {
  margin-right: 5%;
  margin-top: 7vh;
  flex: 1;
}

.datacenter-heading {
  color: #fff;
  font-size: 2.5em;
  margin-bottom: 2vb;
}

.datacenter-description {

  color: #fff;
  font-size: 1.3em;
  margin-bottom: 20px;
  max-width: 600px;
}

.datacenter-stats {

  color: #fff;
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  flex-wrap: wrap;
}

.datacenter-stat-item {
  text-align: center;
  flex-basis: 25%;
  margin-bottom: 15px;
}

.datacenter-stat-number {
  font-size: 2em;
  font-weight: bold;
}

/* Map container with no aspect ratio enforcement */
.datacenter-map-container {
  flex: 1;
  position: relative;
  width: 100%;
  margin-top: 7vh;
  height: auto; /* Let the image define its height */
}

.datacenter-map {
  width: 100%;
  height: auto; /* Maintain natural aspect ratio */
  display: block;
}

/* Positioning the dots absolutely within the map container */
.datacenter-location-dot {
  width: 10px;
  height: 10px;
  background-color: orange;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
}

.datacenter-hero-content,
.datacenter-map-container {
  position: relative;
  z-index: 2;
}
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
.datacenter-locations-list {

  color: #fff;
  padding: 0;
  margin-left: 20%;
  margin-top: 5%;
  column-count: 3;
  font-weight: 600;
  font-size: 1em;
}

.datacenter-locations-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.datacenter-locations-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.location-icon {
  color: orange;
  margin-right: 10px;
  font-size: 1.2em;
  font-weight: 600;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 1024px) {
  .datacenter-map-container {
    margin-top: 30px;
  }

  .datacenter-map {
    max-width: 100%;
  }

 
}

@media screen and (max-width: 768px) {
  .datacenter-hero-main {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8rem;
  }

  .datacenter-hero {
    height: auto;
    min-height: 70vh;
  }

  .datacenter-locations-list {
    column-count: 2;
    margin-left: 5%;
    text-align: center;
  
  }
 

  .datacenter-heading {
    font-size: 2em;
  }

  .datacenter-description {
    font-size: 0.9em;
  }

  .datacenter-stat-item {
    flex-basis: 50%;
  }
}

@media screen and (max-width: 480px) {
  .datacenter-hero-main {
    margin: 20px auto;
  }

  .datacenter-heading {
    
    font-size: 1.8em;
  }

  .datacenter-description {
    font-size: 0.8em;
  }

  .datacenter-stat-item {
    flex-basis: 100%;
  }

  .datacenter-stat-number {
    font-size: 1.5em;
  }
  .datacenter-locations-list {
    margin-left: 3%;
    column-count: 2;
    text-align: center;
    margin-bottom: 10%;
  }
  .datacenter-stats {
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10%;
  }
}

/* --------------------------Services Section---------------------- */
/* Container Styles */
.dc-services-container {

  max-width: 100%;
  width: clamp(280px, 90%, 1200px);
  margin: 30px auto;
  padding: clamp(15px, 5vw, 20px);
}

/* Header Styles */
.dc-services-header {

  text-align: center;
  margin-bottom: clamp(20px, 5vw, 30px);
}

.dc-services-title {

  color: #000000;
  font-size: clamp(1.8em, 3vw, 2.5em);
  margin-bottom: 10px;
}

.dc-services-tagline {
  font-style: italic;
  color: #666;
  margin-bottom: clamp(20px, 4vw, 30px);
}

/* Grid Layout */
.dc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 100%, 400px), 1fr));
  gap: clamp(20px, 5vw, 30px);
}

/* Service Item Card Styles */
.dc-service-item {
 
  background-color: #fff;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 30px);
  display: flex;
  flex-direction: row;
  align-items: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


  
.dc-service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Icon Styling */
.dc-service-icon {
  width: clamp(50px, 8vw, 70px);
  height: clamp(50px, 8vw, 70px);
  margin-right: clamp(20px, 4vw, 30px);

  border-radius: 8px;
  padding: 8px;
}

/* Text Block Styles */
.dc-service-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title Styles */
.dc-service-name {
  
  font-size: clamp(1.2em, 2vw, 1.4em);
  font-weight: 600;
  color: #0052cc;
  margin: 0;

}

/* Description Styles */
.dc-service-description {
  font-size: clamp(0.9em, 1.5vw, 1em);
  color: #555;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* Link Styles */
.dc-service-link {
  display: inline-block;
  color: #0052cc;
  text-decoration: none;
  font-weight: bold;
}

.dc-service-link:hover {
  text-decoration: underline;
}


/*-------------------------- Leading Data Centers ---------------------- */
/* Base styles */
.dc-hero-container {
  position: relative;
  color: white;
  overflow: hidden;
  min-height: 70vh; /* Ensures minimum height without fixed height */
  height: auto;
  display: flex;
  flex-direction: column;
}

.dc-hero-background {
  background-image: url("assets/manage hosting.webp");
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  height: auto; /* Adjusts height based on content */
  position: relative;
  flex-grow: 1; /* Allows background to grow with content */
}

.dc-hero-overlay {
  position: relative;
  background: rgba(0, 20, 60, 0.8);
  display: flex;
  flex-direction: column;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box; /* Ensures padding does not exceed container width */
}

.dc-hero-title {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  margin-bottom: 3vh;
  text-align: center;
}

.dc-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3vw;
  max-width: 1200px;
  width: 100%;
}

.dc-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dc-feature-icon {
  margin-bottom: 1vh;
}

.dc-feature-icon-image {
  width: clamp(30px, 8vw, 60px);
  height: auto;
}

.dc-feature-title {
  color: #4CAF50;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 0.5vh;
}

.dc-feature-description {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .dc-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .dc-hero-container {
    height: auto;
    min-height: 70vh;
  }

  .dc-hero-overlay {
    position: relative;
    padding: 8vw 4vw;
  }

  .dc-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dc-hero-title {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  .dc-feature-icon-image {
    width: clamp(25px, 12vw, 50px);
  }
}

/* Accessibility and print styles */
@media (prefers-reduced-motion: reduce) {
  .dc-hero-background,
  .dc-hero-overlay {
    transition: none;
  }
}

@media print {
  .dc-hero-container {
    height: auto;
  }

  .dc-hero-background {
    background-image: none;
  }

  .dc-hero-overlay {
    background: none;
    color: black;
  }
}




/*----------------------------Blog--------------------------*/


.homepage-blog-section {
  background-color: #fff;
  min-height: 60vh;
  padding: 30px 10px;
  overflow: hidden;
  position: relative;
  color: white;
  display: flex;
  align-items: flex-start;
}

.homepage-blog-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.homepage-blog-header {
  margin-bottom: 60px;
  flex: 0 0 35%; /* Adjust the width for the header */
}

.homepage-blog-title {
  font-size: 2.75rem;
  color: #000;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
}

.homepage-blog-description {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 32px;
  line-height: 1.5;
}

.homepage-blog-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #6B46FE;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

.homepage-blog-columns {
  display: flex;
  gap: 24px;
  flex: 0 0 60%; /* Adjust width for the testimonial cards */
  min-height: 400px;
}

.homepage-blog-column {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.homepage-blog-track {
  position: absolute;
  width: 100%;
  animation: scroll-animation var(--scroll-speed) linear infinite;
}

.homepage-blog-column:first-child .homepage-blog-track {
  --scroll-speed: 20s;
}

.homepage-blog-column:last-child .homepage-blog-track {
  --scroll-speed: 25s;
  animation-delay: -10s;
}

.homepage-blog-card {
  background: rgba(0, 0, 0, 0.764);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin: 0 0 16px;
  border-radius: 12px;
}

.homepage-blog-quote {
  font-size: 0.925rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.homepage-blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.homepage-blog-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  overflow: hidden;
}

.homepage-blog-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage-blog-author-info {
  font-size: 0.8rem;
}

.homepage-blog-name {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
}

.homepage-blog-date {
  color: rgba(255, 255, 255, 0.5);
}

@keyframes scroll-animation {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@media (max-width: 768px) {
  .homepage-blog-section {
      height: auto;
      padding: 60px 20px;
      flex-direction: column;
  }

  .homepage-blog-title {
      font-size: 2.25rem;
  }

  .homepage-blog-columns {
      flex-direction: column;
      height: 500px;
  }

  .homepage-blog-column {
      height: 250px;
  }
}

@media (max-width: 480px) {
  .homepage-blog-title {
      font-size: 2rem;
  }

  .homepage-blog-section {
      padding: 40px 20px;
  }
}


/* -------------------------Why Choose  Bharat Datacenter---------------------- */

.homepage-why-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;

}
.homepage-why-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
}
.homepage-why-title span {
  color: #000000;
}
.homepage-why-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.homepage-why-tab {
  background-color: #f0f0f0;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.homepage-why-tab.active {
  background-color: #3498db;
  scale: 1.1;
  font-weight: 600;
  color: white;
}
.homepage-why-content {
  display: flex;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.homepage-why-image {
  flex: 1;
  overflow: hidden;
}
.homepage-why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.homepage-why-text {
  flex: 1;
  padding: 40px;
}
.homepage-why-service-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}
.homepage-why-service-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}
.homepage-why-features {
  list-style-type: none;
  padding: 0;
}
.homepage-why-features li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}
.homepage-why-features li::before {
  content: '✓';
  color: #3498db;
  position: absolute;
  left: 0;
}
@media (max-width: 768px) {
  .homepage-why-content {
      flex-direction: column;
  }
  .homepage-why-image, .homepage-why-text {
      flex: none;
  }
  .homepage-why-title {

    font-size: 1.5em;

  }
  

}


/* ---------------------------Happy Clients Section-------------------------------- */

.clients-showcase-container {

  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}
.clients-showcase-title {
  font-size: 2.5em;
  margin-bottom: 40px;
}
.clients-showcase-title span {
  color: #0052cc;
}
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}
.clients-logo-item {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.3s ease;
}
.clients-logo-item:hover {
  transform: scale(1.05);
}
.clients-logo-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.clients-view-all-button {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: transparent;
  color: #0052cc;
  border: 2px solid #0052cc;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}
.clients-view-all-button:hover {
  background-color: #0052cc;
  color: white;
}
