/* Web Hosting Page Specific Styles */

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col-md-4, .col-md-5, .col-md-7 {
  padding: 15px;
  box-sizing: border-box;
  display: flex; /* Add flex display to enable flex layout for children */
}

.col-md-4 {
  width: 33.333333%;
}

.col-md-5 {
  width: 41.666667%;
}

.col-md-7 {
  width: 58.333333%;
}

.text-center {
  text-align: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Hero Section Specific Styles */
.hero .row {
  min-height: 400px; /* Ensure minimum height for the hero row */
  align-items: center; /* Vertically center all content in the hero row */
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the content */
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Add specific styling for the hero badge in web-hosting page */
.hero-content .hero-badge {
  width: auto;
  max-width: 180px;
  display: inline-block;
}

/* Sections */
.section {
  margin: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header p {
  font-size: 18px;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto;
}

/* Plan Cards */
.plans-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-card {
  height: 100%;
  border-radius: 10px;
  padding: 30px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.plan-header {
  margin-bottom: 20px;
  text-align: center;
}

.plan-card .product-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--neon-blue);
}

.plan-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.plan-price {
  margin-bottom: 20px;
}

.plan-price .currency {
  font-size: 20px;
  vertical-align: top;
  color: var(--neon-blue);
}

.plan-price .amount {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}

.plan-price .period {
  font-size: 16px;
  color: #888;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-grow: 1;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-features li i {
  color: var(--neon-blue);
  margin-right: 10px;
}

.plan-cta {
  margin-top: auto;
}

.btn-block {
  width: 100%;
  display: block;
}

.plan-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 186, 255, 0.2);
  position: relative;
  z-index: 2;
  padding-top: 45px; /* Add extra padding on top to make room for the tag */
  overflow: visible; /* Ensure the featured tag is visible */
}

/* Specifically removing the colored line from the featured plan */
.product-card.plan-card.featured::before {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.featured-tag {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(90deg, var(--primary-color), var(--neon-purple));
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(244, 67, 54, 0.5);
  z-index: 3; /* Ensure it's above other elements */
}

/* Features */
.feature-item {
  padding: 30px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  border: 1px solid rgba(0, 186, 255, 0.1);
  height: 100%;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 186, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--neon-blue);
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
}

.feature-item p {
  color: #b0b0b0;
  font-size: 16px;
  line-height: 1.6;
}

/* Testimonials */
.testimonial {
  padding: 30px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 186, 255, 0.1);
  margin-bottom: 30px;
  height: 100%;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-content p {
  color: #b0b0b0;
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.author-company {
  font-size: 14px;
  color: var(--neon-blue);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(33, 33, 33, 0.8) 100%);
  border-radius: 20px;
  padding: 60px 30px;
  margin: 80px 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-content p {
  font-size: 18px;
  color: #b0b0b0;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Datacenter Map */
.datacenter-map {
  position: relative;
  margin: 50px 0;
  border-radius: 20px;
  overflow: hidden;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 186, 255, 0.1);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  padding-right: 30px;
}

.faq-question i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 10px 0 20px;
  color: #b0b0b0;
}

.faq-item.active .faq-question {
  background: rgba(0, 186, 255, 0.1);
}

.faq-item.active .faq-question i {
  transform: translateY(-50%) rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

/* Futuristic Animations */
.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 186, 255, 0.3);
}

.plan-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

/* Section animation */
.animated-section {
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animated-section.visible {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media screen and (max-width: 900px) {
  .col-md-4, .col-md-5, .col-md-7 {
    width: 100%;
  }
  
  .plan-card.featured {
    transform: scale(1);
  }
  
  .section {
    margin: 60px 0;
  }
  
  .datacenter-dot {
    width: 8px;
    height: 8px;
  }
  
  .cta {
    padding: 40px 20px;
  }
  
  .feature-item, .testimonial {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 480px) {
  .section-header h2 {
    font-size: 28px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
} 