/* Base Styles & Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
  background-color: #f8f9fa;
}

/* Typography Refinements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8em;
  color: #ffffff;
}

p {
  margin-bottom: 1.5rem;
}

/* Enhanced Hero Section */
.cloud-compute-hero-section {
  background: linear-gradient(135deg, #4a0080, #0080ff);
  color: white;
  padding: 8rem 2rem 6rem;
  margin-top: -10vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cloud-compute-hero-shape {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background-color: rgba(255, 255, 255, 0.08);
  transform: rotate(-30deg);
  z-index: 1;
  backdrop-filter: blur(5px);
}

.cloud-compute-hero-content {
  position: relative;
  z-index: 2;
  margin-top: 10vh;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cloud-compute-hero-title {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  letter-spacing: -0.5px;
}

.cloud-compute-hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.7;
}

.cloud-compute-hero-cta {
  background-color: white;
  color: #0066cc;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cloud-compute-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background-color: #f8f9fa;
}

/* Partner Benefits Section */
.became-our-partner-container-main {
  width: 100%;
  padding: 120px 0 100px;
  background-color: #f8f9fc;
  position: relative;
}

.became-our-partner-container-main::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100px;
  background-color: #f8f9fc;
  top: -50px;
  left: 0;
  transform: skewY(-2deg);
  z-index: 1;
}

.became-our-partner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.became-our-partner-title {
  text-align: center;
  font-size: 2.8rem;
  color: #111827;
  margin-bottom: 80px;
  font-weight: 700;
  position: relative;
  letter-spacing: -0.5px;
}

.became-our-partner-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0080ff, #4a0080);
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.became-our-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.became-our-partner-card {
  background-color: white;
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.became-our-partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(0deg, #0080ff, #4a0080);
  transition: height 0.4s ease;
}

.became-our-partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.became-our-partner-card:hover::before {
  height: 100%;
}

.became-our-partner-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.became-our-partner-icon {
  width: 70px;
  height: 70px;
  margin-right: 25px;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.became-our-partner-card:hover .became-our-partner-icon {
  transform: scale(1.12) rotate(5deg);
}

.became-our-partner-card-title {
  font-size: 1.5rem;
  color: #0066cc;
  margin: 0;
  font-weight: 600;
  position: relative;
}

.became-our-partner-description {
  font-size: 1.05rem;
  color: #4a4a4a;
  line-height: 1.8;
  margin-top: 5px;
}

.became-our-partner-image {
  width: 100%;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  display: block;
}

.became-our-partner-card:hover .became-our-partner-image {
  transform: scale(1.05);
}

/* Products Section */
#products {
  background-color: #ffffff;
  padding: 100px 30px;
  text-align: center;
  position: relative;
}

#products h2 {
  font-size: 2.6em;
  color: #111827;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

#products h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0080ff, #4a0080);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

#products > p {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.product-feature {
  background: #fff;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease-in-out;
  max-width: 350px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.product-feature::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0080ff, #4a0080);
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-feature:hover::before {
  transform: scaleX(1);
}

.product-feature h3 {
  font-size: 1.6em;
  color: #0066cc;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 12px;
}

.product-feature h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: #e0e0e0;
  bottom: 0;
  left: 0;
}

.product-feature p {
  font-size: 1.05em;
  color: #555;
  line-height: 1.7;
}

/*------------------contact-us-form ---------------------*/

.cloud-compute-form-container-main {
  width: 100%;
  padding-top: 30px;
  margin-bottom: 50px;
  background-color: #ffffff;
}

.cloud-compute-form-container {
  background: rgb(0,12,45);
  background: linear-gradient(90deg, rgba(0,12,45,1) 0%, rgba(0,0,0,1) 100%);
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1200px;
  margin: 5vh auto;
  border-radius: 15px;
}

.cloud-compute-form-left {
  flex: 1;
  padding-right: 2rem;
}

.cloud-compute-form-right {
  flex: 1;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
}

.cloud-compute-form-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cloud-compute-form-subtitle {
  margin-bottom: 2rem;
  font-weight: 600;
}

.cloud-compute-form-contact-info {
  margin-bottom: 1rem;
}

.cloud-compute-form-social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cloud-compute-form-social-icon {
  width: 30px;
  height: 30px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cloud-compute-form-social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cloud-compute-form-input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.cloud-compute-form-submit {
  background-color: black;
  font-weight: 600;
  border: 2px solid black;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .cloud-compute-form-container {
    max-width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .cloud-compute-form-container {
    flex-direction: column;
    padding: 1.5rem;
  }

  .cloud-compute-form-left,
  .cloud-compute-form-right {
    flex: none;
    width: 100%;
    padding: 1rem;
  }

  .cloud-compute-form-left {
    padding-right: 1rem;
    margin-bottom: 1.5rem;
  }

  .cloud-compute-form-title {
    font-size: 1.75rem;
  }

  .cloud-compute-form-subtitle {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .cloud-compute-form-container-main {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .cloud-compute-form-container {
    padding: 1rem;
  }

  .cloud-compute-form-left,
  .cloud-compute-form-right {
    padding: 0.5rem;
  }

  .cloud-compute-form-title {
    font-size: 1.5rem;
  }

  .cloud-compute-form-subtitle {
    font-size: 0.8rem;
  }

  .cloud-compute-form-social-icons {
    justify-content: center;
  }

  .cloud-compute-form-submit {
    padding: 0.5rem;
  }
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .cloud-compute-form-container,
  .became-our-partner-container,
  .products-container {
    max-width: 90%;
  }
  
  .cloud-compute-hero-title {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 992px) {
  .cloud-compute-hero-title {
    font-size: 2.5rem;
  }
  
  .became-our-partner-title {
    font-size: 2.4rem;
  }
  
  #products h2 {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .cloud-compute-hero-section {
    padding: 6rem 1.5rem 4rem;
  }
  
  .cloud-compute-hero-title {
    font-size: 2.2rem;
  }
  
  .cloud-compute-hero-subtitle {
    font-size: 1rem;
  }
  
  .became-our-partner-title {
    font-size: 2.2rem;
  }
  
  .cloud-compute-form-container {
    flex-direction: column;
    padding: 2rem;
  }
  
  .cloud-compute-form-left {
    padding-right: 0;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .became-our-partner-card {
    padding: 30px 25px;
  }
  
  .product-feature {
    padding: 30px 25px;
  }
}

@media screen and (max-width: 576px) {
  .cloud-compute-hero-title {
    font-size: 1.9rem;
  }
  
  .became-our-partner-title,
  #products h2,
  .cloud-compute-form-title {
    font-size: 1.8rem;
  }
  
  .became-our-partner-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .became-our-partner-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .became-our-partner-container-main {
    padding: 80px 0 60px;
  }
  
  #products {
    padding: 70px 20px;
  }
  
  .cloud-compute-form-container-main {
    padding: 60px 0;
  }
  
  .cloud-compute-form-container {
    padding: 1.5rem;
  }
  
  .cloud-compute-form-right {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cloud-compute-hero-content,
.became-our-partner-card,
.product-feature {
  animation: fadeIn 0.8s ease-out forwards;
}

.became-our-partner-card:nth-child(2) {
  animation-delay: 0.2s;
}

.became-our-partner-card:nth-child(3) {
  animation-delay: 0.4s;
}

.became-our-partner-card:nth-child(4) {
  animation-delay: 0.6s;
}

.product-feature:nth-child(2) {
  animation-delay: 0.2s;
}

.product-feature:nth-child(3) {
  animation-delay: 0.4s;
}

.product-feature:nth-child(4) {
  animation-delay: 0.6s;
}