/* ============================================
   HAW.Company - Main Stylesheet
   Colors: Primary #1d4057 | Accent #2c6e9e
   ============================================ */

:root {
  --primary: #1d4057;
  --primary-dark: #0e2e42;
  --accent: #2c6e9e;
  --accent-light: #e8f0f7;
  --white: #ffffff;
  --gray-bg: #f8fafc;
  --gray-border: #eef2f6;
  --border-light: #eef2f6;  /* Added missing variable */
  --text-dark: #1a2c3e;
  --text-muted: #5a6e7c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bg-accent-light { 
  background-color: var(--accent-light) !important; 
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
  font-family: 'Space Grotesk', monospace;
  font-weight: 600;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
}

.dropdown-item {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-dark, #1a2c3e);
  transition: all 0.2s ease;
}

.dropdown-item i {
  color: var(--accent, #2c6e9e);
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: var(--accent-light, #e8f0f7);
  color: var(--accent, #2c6e9e);
  padding-left: 1.5rem;
}

.dropdown-item:hover i {
  color: var(--accent, #2c6e9e);
}

.dropdown-divider {
  margin: 0.3rem 0;
  border-color: var(--gray-border, #eef2f6);
}

/* Dropdown toggle arrow animation */
.dropdown-toggle::after {
  transition: transform 0.2s ease;
}

.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .dropdown-menu {
    border: none;
    background: transparent;
    box-shadow: none;
    padding-left: 1.5rem;
  }
  
  .dropdown-item {
    padding: 0.5rem 1rem;
  }
  
  .dropdown-item:hover {
    background: transparent;
    color: var(--accent);
    padding-left: 1rem;
  }
}
/* ============================================
   Buttons
   ============================================ */
.btn-primary-custom {
  background: var(--primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29,64,87,0.3);
}

.btn-outline-custom {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 40px;
  transition: all 0.3s;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary) !important;
}

.navbar-brand span {
  color: var(--accent);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}


/* ============================================
   Hero Section - Free Trial CTA
   ============================================ */
.hero-trial-section {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
  padding: 100px 0 80px;
  margin-top: 76px;
  position: relative;
  overflow: hidden;
}

.hero-trial-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(44,110,158,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--gray-border);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin-bottom: 32px;
}

.btn-trial {
  background: var(--accent);
  border: none;
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(44,110,158,0.25);
  text-decoration: none;
  display: inline-block;
}

.btn-trial:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44,110,158,0.3);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.trust-items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--accent);
  font-size: 1rem;
}

/* ============================================
   Pricing Table Styles
   ============================================ */
/* ============================================
   Pricing Table Styles - Fixed
   ============================================ */
.pricing-table-wrapper {
  overflow-x: auto;
  margin: 0 -15px;
  padding: 0 15px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  min-width: 700px;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--gray-border, #eef2f6);
  vertical-align: middle;
}

/* Feature Column - Left Side */
.pricing-table .feature-cell {
  text-align: left;
  font-weight: 600;
  background: var(--gray-bg, #f8fafc);
  color: var(--primary, #1d4057);
}

/* Plan Header Styles */
.plan-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary, #1d4057);
}

.plan-header .price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary, #1d4057);
}

.plan-header .price span {
  font-size: 0.9rem;
  font-weight: 400;
}

/* Popular & Top Seller Badges */
.popular-tag,
.top-seller-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 8px;
}

.popular-tag {
  background: var(--accent, #2c6e9e);
  color: white;
}

.top-seller-tag {
  background: #f59e0b;
  color: white;
}

/* Column Highlight - For Popular and Top Seller Columns */
.pricing-table th.popular-col,
.pricing-table td.popular-col,
.pricing-table .plan-cell.popular {
  background: linear-gradient(180deg, #fff 0%, #fffbf0 100%);
  position: relative;
}

.pricing-table th.top-seller-col,
.pricing-table td.top-seller-col,
.pricing-table .plan-cell.top-seller {
  background: linear-gradient(180deg, #fff 0%, #e8f0f7 100%);
}

/* Add accent border at top for popular column */
.pricing-table th.popular-col {
  position: relative;
}

.pricing-table th.popular-col::before,
.pricing-table .plan-cell.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, #2c6e9e);
}

/* Checkmark and other icons */
.checkmark {
  color: #10b981;
  font-size: 1.2rem;
}

.checkmark i {
  color: #10b981;
}

.text-success {
  color: #10b981;
  font-size: 1.1rem;
}

.text-muted {
  color: #cbd5e1;
  font-size: 1rem;
}

.free-text {
  color: #10b981;
  font-weight: 700;
}

/* Button inside table */
.pricing-table tfoot .btn-primary-custom {
  padding: 10px 16px;
  font-size: 0.9rem;
  width: 100%;
  display: inline-block;
  text-align: center;
}

/* Table Footer */
.pricing-table tfoot td {
  background: var(--gray-bg, #f8fafc);
  padding: 20px;
  border-bottom: none;
}

/* Responsive */
@media (max-width: 992px) {
  .pricing-table th,
  .pricing-table td {
    padding: 12px 12px;
  }
  
  .plan-header h3 {
    font-size: 1.2rem;
  }
  
  .plan-header .price {
    font-size: 1.4rem;
  }
  
  .feature-cell {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .pricing-table th,
  .pricing-table td {
    padding: 10px 8px;
  }
  
  .plan-header h3 {
    font-size: 1rem;
  }
  
  .plan-header .price {
    font-size: 1.2rem;
  }
  
  .feature-cell {
    font-size: 0.75rem;
  }
  
  .popular-tag,
  .top-seller-tag {
    font-size: 0.6rem;
    padding: 2px 8px;
  }
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Cards
   ============================================ */
.price-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s;
  border: 1px solid var(--gray-border);
  position: relative;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(29,64,87,0.15);
  border-color: var(--accent);
}

.price-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--accent, #2c6e9e);
  margin-bottom: 1.2rem;
}

.feature-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--primary, #1d4057);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted, #5a6e7c);
  line-height: 1.5;
}
/* ============================================
   Domain Search
   ============================================ */
.domain-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
  scrollbar-width: thin;
}

.domain-tab-btn {
  padding: 10px 20px;
  border-radius: 40px;
  background: white;
  border: 1px solid var(--border-light);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.domain-tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.domain-tabs::-webkit-scrollbar {
  height: 3px;
}

.domain-tabs::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 10px;
}

.domain-tabs::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.domain-search-box {
  background: white;
  border-radius: 60px;
  padding: 6px;
  box-shadow: 0 15px 35px -12px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-border);
}

.domain-search-box input {
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: 60px;
  outline: none;
  background: transparent;
  flex: 1;
}

.tld-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.tld-item {
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 500;
}

.tld-item strong {
  color: var(--primary);
}

.tld-item strong {
  color: var(--primary);
}

/* Script Card Styles */
.script-card {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.script-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.script-card:hover .icon-wrapper {
  transform: scale(1.08);
  background: var(--accent) !important;
}

.script-card:hover .icon-wrapper i {
  color: white !important;
}

.script-card:hover h5 {
  color: var(--accent) !important;
}

/* Icon wrapper transition */
.icon-wrapper {
  transition: all 0.3s ease;
}
/* Hosting Solution Card Styles */
.hosting-solution-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.hosting-solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: var(--accent) !important;
}

.hosting-solution-card:hover .icon-wrapper {
  transform: scale(1.05);
  background: var(--accent) !important;
}

.hosting-solution-card:hover .icon-wrapper i {
  color: white !important;
}

.hosting-solution-card:hover h5 {
  color: var(--accent) !important;
}

/* Icon wrapper transition */
.icon-wrapper {
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .hosting-solution-card {
    margin-bottom: 0;
  }
  
  .btn-primary-custom {
    padding: 10px 24px !important;
  }
}
/* ============================================
   Testimonial
   ============================================ */
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 1.8rem;
  transition: all 0.3s;
  border: 1px solid var(--gray-border);
  height: 100%;
}
/* Testimonial Slider Styles */
.testimonial-slider-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 24px;
}

.testimonial-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  transition: all 0.3s ease;
}

/* Testimonial Card */
.testimonial-card {
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--accent) !important;
}

/* Slider Navigation Buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--gray-border);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slider-nav:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.slider-nav.prev {
  left: -20px;
}

.slider-nav.next {
  right: -20px;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--accent);
}

.dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
  .testimonial-slide {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
  }
  
  .slider-nav.prev {
    left: -10px;
  }
  
  .slider-nav.next {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .slider-nav {
    width: 32px;
    height: 32px;
  }
  
  .slider-nav.prev {
    left: -5px;
  }
  
  .slider-nav.next {
    right: -5px;
  }
  
  .display-4 {
    font-size: 2rem;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding: 1.2rem 0;
}

/* ============================================
   Footer Custom
   ============================================ */
footer {
  background: var(--primary);
  color: #b0c4de;
}

footer a {
  color: #cbd5e6;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: white;
}

/* Custom class for 5 equal columns (20% each) */
@media (min-width: 768px) {
  .col-md-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* Social Icons Hover */
.social-icon {
  font-size: 1.5rem;
  transition: all 0.3s;
}

.social-icon:hover {
  color: var(--accent) !important;
  transform: translateY(-3px);
}


.whatsapp-float:hover {
  transform: scale(1.05);
  background: #128C7E;
  color: white;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 992px) {
  
  .hero-trial-section {
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 14px 12px;
  }
  
  .plan-header h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    margin-top: 60px;
  }
  
  .hero-trial-section {
    margin-top: 60px;
    padding: 60px 0 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .trust-items {
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .btn-trial, .btn-outline {
    padding: 10px 24px;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 12px 12px;
  }
  
  .plan-header h3 {
    font-size: 1.2rem;
  }
  
  .plan-header .price {
    font-size: 1.4rem;
  }
  
  .feature-cell {
    font-size: 0.85rem;
  }
  
  .price-card .price {
    font-size: 2rem;
  }
}


/* Blog Card Hover Effect */
.blog-card {
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  background: white !important;
  border: 1px solid var(--accent) !important;
}

.blog-card:hover .icon-wrapper {
  background: var(--accent) !important;
}

.blog-card:hover .icon-wrapper i {
  color: white !important;
}

.blog-card:hover h4 {
  color: var(--accent) !important;
}

/* ============================================
     CRITICAL CSS INLINED FOR FASTER FIRST PAINT
     ============================================*/ 

/* Critical CSS for above-the-fold content */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.btn-primary-custom {
  background: #1d4057;
  border-radius: 40px;
  padding: 12px 32px;
  color: white;
  font-weight: 600;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .hero-slider { margin-top: 60px; }
}

/* ============================================
   SIMPLE SLIDER FIX (MOBILE FRIENDLY)
   ============================================ */

#simpleSlider {
  margin-top: 90px;
}

/* Make carousel stable */
#simpleSlider .carousel-item {
  width: 100%;
}

/* Image base */
#simpleSlider img.slider-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;   /* 🔥 shows full image (NO CUT) */
}

/* DESKTOP */
@media (min-width: 992px) {
  #simpleSlider img.slider-img {
    max-height: 70vh;
    object-fit: cover; /* desktop looks more full */
  }
}

/* TABLET */
@media (max-width: 991px) {
  #simpleSlider img.slider-img {
    max-height: 55vh;
    object-fit: contain;
  }
}

/* MOBILE FIX (IMPORTANT) */
@media (max-width: 768px) {
  #simpleSlider {
    margin-top: 70px;
  }

  #simpleSlider img.slider-img {
    max-height: 40vh;   /* 🔥 FIX mobile size issue */
    object-fit: contain;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  #simpleSlider img.slider-img {
    max-height: 32vh;
  }
}
