

/* Buttons */
.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 5;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: #eee;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* Slider */
.domains-slider {
  display: flex;
  transition: transform 0.6s ease;
}


 /* Section full width */
.domains-section {
  width: 100%;
  padding: 50px 20px;
  background: #f9fbff;
  box-sizing: border-box;
}

.domains-header {
  text-align: left;
  margin-bottom: 25px;
  padding-left: 10px;
}

.domains-header h5 {
  font-size: 18px;
  font-weight: bold;
  color: #003366;
  margin: 0;
}

.domains-header h2 {
  font-size: 36px;
  font-weight: bold;
  margin: 5px 0 0 0;
}

/* Wrapper */
.domains-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}
/* Hero Text */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 10% 0;
  max-width: 700px;
}

.hero-content h1 {
  font-size:20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #444;
}

  
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 100px;
}

/* Hero Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  clip-path: polygon(0 70%, 100% 10%, 100% 100%, 0% 100%);
  /* diagonal cut effect */
}




    .container {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      padding: 30px;
      gap: 30px;
    }

    /* Left side image */
    .left {
      flex: 1;
    }

    .left img {
      width: 500px;
      height: 500px;
      border-radius: 12px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

    /* Right side grid */
    .right {
      flex: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .card {
      position: relative;
      background: #333;
      color: #fff;
      border-radius: 10px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s ease;
      margin-top:10px;
      width: 80%;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card img {
      width: 100%;
      height: 100px;
      object-fit: cover;
      opacity: 0.7;
      transition: opacity 0.3s ease;
      
    }

    .card:hover img {
      opacity: 0.9;
    }

    .card span {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 18px;
      font-weight: bold;
      text-transform: uppercase;
      text-align: center;
      color: #fff;
    }


    
.domain-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.domain-content {
  background: #002147;
  color: #fff;
  padding: 15px;
  border-radius: 0 0 8px 8px;
}

.domain-content h3 {
  margin-bottom: 12px;
}

.domain-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.domain-content li {
  margin-bottom: 6px;
}

.domain-content li::before {
  content: "✔ ";
  color: #ffc107;
}



/* Card Style */
.domain-card {
  min-width: 320px;
  margin: 0 15px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  position: relative;
  padding: 4px; /* important for border */
}

/* Animated Multi-Color Border */
.domain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 3px;
  background: linear-gradient(270deg, #ff0066, #00ccff, #ffcc00, #33ff77, #ff00ff);
  background-size: 400% 400%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientBorder 5s linear infinite;
  pointer-events: none;
}

@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* =========================
   MOBILE VIEW ONLY
   ========================= */
@media (max-width: 768px) {

  /* Main Container */
  .container {
    flex-direction: column;
    padding: 20px 12px;
    gap: 25px;
  }

  /* Left Image – web proportion maintain */
  .left {
    display: flex;
    justify-content: center;
  }

  .left img {
    width: 90%;
    max-width: 380px;   /* web feel */
    height: auto;
    border-radius: 12px;
  }

  /* Right Grid – web view madhiri 2 column */
  .right {
    grid-template-columns: repeat(2, 1fr); /* 🔥 important */
    gap: 12px;
    justify-items: center;
  }

  /* Cards */
  .card {
    width: 100%;
    max-width: 180px;  /* web size look */
    margin-top: 0;
  }

  .card img {
    height: 100px;     /* web ratio maintain */
  }

  .card span {
    font-size: 14px;
  }

  /* Domain Cards */
  .domain-card img {
    height: 150px;
  }

  .domain-content {
    padding: 12px;
  }

  .domain-content h3 {
    font-size: 15px;
  }

  .domain-content li {
    font-size: 13px;
  }
}


@media (max-width: 768px) {

  /* Hero wrapper */
  .hero {
    position: relative;
    height: auto;
    margin-top: 80px;
    padding-top: 220px; /* 🔥 text ku space create pannum */
  }

  /* Video */
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 220px;   /* 🔥 video height limit */
    width: 100%;
    object-fit: cover;
    clip-path: none; /* mobile la diagonal avoid overlap */
  }

  /* Text content */
  .hero-content {
    position: relative;
    padding: 30px 6% 40px;
    background: #fff; /* text clarity */
    z-index: 2;
  }

  .hero-content h1 {
    font-size: 18px;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

