/* ===== Roboto Font ===== */
@import url('/css/Roboto/style.css');

/* ===== Custom Variables — CLOUD88 Brand ===== */
:root {
  --c88-primary: #7db6d6;
  --c88-primary-dark: #5a9fc5;
  --c88-primary-rgb: 125, 182, 214;
  --c88-blue-1: #9ac5df;
  --c88-blue-2: #b6d4e7;
  --c88-blue-3: #d5e6f1;
  --c88-blue-4: #eaf3f8;
  --c88-blue-5: #f8fafc;
  --c88-green: #2c702b;
  --c88-green-dark: #1f5a1e;
  --c88-green-light: #e8f5e8;
  --c88-text: #212529;
  --c88-text-secondary: #6c757d;
  --c88-border: #e2e8f0;
  --c88-bg-alt: #f8fafc;
  --c88-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  --c88-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --c88-radius: 0.75rem;
  --c88-radius-lg: 1rem;
}

/* ===== Global ===== */
body {
  font-family: 'Roboto Regular', 'Roboto', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--c88-text);
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Bold', 'Roboto', sans-serif;
  line-height: 1.3;
}
a {
  color: var(--c88-primary-dark);
  transition: color 0.3s;
}
a:hover {
  color: var(--c88-green);
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section Titles ===== */
.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 0.75rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--c88-primary), var(--c88-green));
  border-radius: 2px;
}
.section-title.text-start::after {
  left: 0;
  transform: none;
}

/* ===== Navbar ===== */
.navbar {
  padding: 0.8rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: var(--c88-shadow);
}
.navbar-brand img {
  height: 40px;
  transition: transform 0.3s;
}
.navbar-brand img:hover {
  transform: scale(1.05);
}
.navbar-nav .nav-link {
  font-family: 'Roboto Medium', 'Roboto', sans-serif;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  color: var(--c88-text);
  transition: color 0.3s;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--c88-primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}
.navbar-nav .nav-link.active {
  color: var(--c88-primary-dark) !important;
}
.navbar-nav .nav-link:hover {
  color: var(--c88-primary-dark);
}
/* dropdown override */
.navbar-nav .dropdown-toggle::after {
  margin-left: 0.35rem;
}
.dropdown-menu {
  border: none;
  box-shadow: var(--c88-shadow-lg);
  border-radius: var(--c88-radius);
  padding: 0.5rem 0;
}
.dropdown-item {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.dropdown-item:hover {
  background: var(--c88-blue-4);
  color: var(--c88-primary-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a3a4a 0%, #2a5a6a 40%, #3a7a8a 100%);
  padding: 7rem 0 6rem;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--c88-primary-rgb), 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(44, 112, 43, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 8s ease-in-out infinite reverse;
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}
.hero h1 {
  font-family: 'Roboto Black', 'Roboto Bold', 'Roboto', sans-serif;
  font-size: 3rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.hero p {
  position: relative;
  z-index: 1;
  opacity: 0.9;
}
.hero .btn {
  position: relative;
  z-index: 1;
}
.hero .btn-primary {
  background: var(--c88-green);
  color: #fff;
  border: 2px solid #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: var(--c88-green-dark);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 6px 25px rgba(0,0,0,0.35);
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3.5rem; }
  .hero { padding: 8rem 0 7rem; }
}

/* ===== Buttons ===== */
.btn {
  font-family: 'Roboto Medium', 'Roboto', sans-serif;
  border-radius: 50px;
  padding: 0.65rem 1.75rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}
.btn-lg {
  padding: 0.8rem 2.25rem;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c88-green) 0%, var(--c88-green-dark) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 4px 15px rgba(44, 112, 43, 0.3);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--c88-green-dark) 0%, var(--c88-green) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 112, 43, 0.4);
}
.btn-outline-primary {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: #fff;
  border-color: #fff;
  color: var(--c88-primary-dark);
  transform: translateY(-2px);
}
/* Outline variant for light backgrounds */
.btn-outline-cloud {
  color: var(--c88-primary-dark);
  border: 2px solid var(--c88-primary);
  background: transparent;
  border-radius: 50px;
}
.btn-outline-cloud:hover, .btn-outline-cloud:focus {
  background: var(--c88-primary);
  border-color: var(--c88-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--c88-primary-rgb), 0.3);
}

/* ===== Badge ===== */
.badge.bg-info {
  background-color: var(--c88-primary) !important;
}
.badge.bg-primary {
  background-color: var(--c88-green) !important;
}
.badge.bg-success {
  background-color: var(--c88-green) !important;
}

/* ===== Feature Cards ===== */
.feature-card {
  border: none;
  border-radius: var(--c88-radius-lg);
  padding: 2rem;
  height: 100%;
  background: #fff;
  box-shadow: var(--c88-shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c88-primary), var(--c88-green));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-card:hover {
  box-shadow: var(--c88-shadow-lg);
  transform: translateY(-6px);
}
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--c88-radius);
  background: linear-gradient(135deg, var(--c88-blue-4) 0%, var(--c88-blue-3) 100%);
  color: var(--c88-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--c88-primary) 0%, var(--c88-primary-dark) 100%);
  color: #fff;
  transform: scale(1.1);
}

/* ===== Service Cards (Homepage) ===== */
.service-card {
  border: none;
  border-radius: var(--c88-radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  text-align: center;
  background: #fff;
  box-shadow: var(--c88-shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c88-primary), var(--c88-green));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-card:hover {
  box-shadow: var(--c88-shadow-lg);
  transform: translateY(-8px);
}
.service-card .service-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c88-blue-4) 0%, var(--c88-blue-2) 100%);
  color: var(--c88-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--c88-primary) 0%, var(--c88-primary-dark) 100%);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}
.service-card h3 {
  font-family: 'Roboto Bold', 'Roboto', sans-serif;
  font-size: 1.25rem;
}

/* ===== Billing Blocks ===== */
.billing-block {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border: none;
  border-radius: var(--c88-radius-lg);
  box-shadow: var(--c88-shadow);
  transition: all 0.4s ease;
  position: relative;
}
.billing-block:hover {
  box-shadow: var(--c88-shadow-lg);
  transform: translateY(-4px);
}
.billing-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c88-primary) 0%, var(--c88-primary-dark) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 10px rgba(var(--c88-primary-rgb), 0.3);
}

/* ===== Testimonials ===== */
.testimonial {
  background: #fff;
  border-left: 4px solid var(--c88-primary);
  border-radius: 0 var(--c88-radius) var(--c88-radius) 0;
  padding: 2rem 2.25rem;
  box-shadow: var(--c88-shadow);
  transition: all 0.3s ease;
  position: relative;
}
.testimonial:hover {
  box-shadow: var(--c88-shadow-lg);
  transform: translateX(4px);
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--c88-blue-2);
  font-family: Georgia, serif;
  line-height: 1;
}

/* ===== Example Cards ===== */
.example-card {
  background: #fff;
  border: 2px solid var(--c88-primary);
  border-radius: var(--c88-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--c88-shadow);
  transition: all 0.3s ease;
}
.example-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--c88-shadow-lg);
}
.example-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c88-green);
  font-family: 'Roboto Black', 'Roboto Bold', 'Roboto', sans-serif;
}

/* ===== FAQ ===== */
.faq-item {
  border: none;
  border-radius: var(--c88-radius);
  overflow: hidden;
  box-shadow: var(--c88-shadow);
  transition: box-shadow 0.3s;
}
.faq-item:hover {
  box-shadow: var(--c88-shadow-lg);
}
.faq-q {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  background: #fff;
}
.faq-a {
  padding: 0 1.5rem 1.25rem;
  color: var(--c88-text-secondary);
}

/* ===== Callout ===== */
.callout {
  background: #fef9c3;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--c88-radius) var(--c88-radius) 0;
  padding: 1.25rem 1.5rem;
}

/* ===== Detail List ===== */
.detail-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}
.detail-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--c88-green);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== Steps ===== */
.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border: none;
  border-radius: var(--c88-radius-lg);
  box-shadow: var(--c88-shadow);
  transition: all 0.4s ease;
}
.step-card:hover {
  box-shadow: var(--c88-shadow-lg);
  transform: translateY(-4px);
}
.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c88-primary) 0%, var(--c88-primary-dark) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 10px rgba(var(--c88-primary-rgb), 0.3);
}

/* ===== Peak Example ===== */
.peak-example {
  background: #fff;
  border: none;
  border-radius: var(--c88-radius-lg);
  padding: 2rem;
  box-shadow: var(--c88-shadow);
}

/* ===== Contract Sections ===== */
.contract-section h3 {
  color: var(--c88-primary-dark);
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, #1a3a4a 0%, #2a5a6a 40%, #3a7a8a 100%);
  padding: 4rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--c88-primary-rgb), 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header h1 {
  font-family: 'Roboto Black', 'Roboto Bold', 'Roboto', sans-serif;
  position: relative;
  z-index: 1;
}
.page-header p {
  position: relative;
  z-index: 1;
  opacity: 0.85;
}

/* ===== Pricing Table ===== */
.table-pricing {
  border-radius: var(--c88-radius-lg);
  overflow: hidden;
  box-shadow: var(--c88-shadow);
}
.table-pricing thead th {
  background: linear-gradient(135deg, var(--c88-primary) 0%, var(--c88-primary-dark) 100%);
  color: #fff;
  border: none;
  padding: 1rem;
}
.table-pricing tbody tr {
  transition: all 0.2s;
}
.table-pricing tbody tr:hover {
  background: var(--c88-blue-4);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #1a3a4a 0%, #2a5a6a 40%, #3a7a8a 100%);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

/* ===== Success Message ===== */
.msg-success {
  background: var(--c88-green-light);
  border: 1px solid #86efac;
  color: #15803d;
  border-radius: var(--c88-radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-weight: 600;
  box-shadow: var(--c88-shadow);
}

/* ===== Section Alt ===== */
.section-alt {
  background: var(--c88-bg-alt);
}

/* ===== Why Us Cards ===== */
.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--c88-radius-lg);
  box-shadow: var(--c88-shadow);
  transition: all 0.4s ease;
  height: 100%;
}
.why-card:hover {
  box-shadow: var(--c88-shadow-lg);
  transform: translateY(-6px);
}
.why-card .why-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c88-blue-4) 0%, var(--c88-blue-2) 100%);
  color: var(--c88-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: all 0.4s ease;
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--c88-primary) 0%, var(--c88-primary-dark) 100%);
  color: #fff;
  transform: scale(1.1);
}

/* ===== Stats Counter ===== */
.stat-item {
  text-align: center;
  padding: 1.5rem;
}
.stat-number {
  font-family: 'Roboto Black', 'Roboto Bold', 'Roboto', sans-serif;
  font-size: 2.5rem;
  color: var(--c88-primary-dark);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--c88-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Form ===== */
.form-control {
  border-radius: var(--c88-radius);
  padding: 0.75rem 1rem;
  border: 1px solid var(--c88-border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
  border-color: var(--c88-primary);
  box-shadow: 0 0 0 3px rgba(var(--c88-primary-rgb), 0.15);
}

/* ===== Footer ===== */
footer {
  background: #111827 !important;
}
footer h5 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--c88-primary);
}
footer a {
  color: #9ca3af !important;
  transition: color 0.3s, padding-left 0.3s;
}
footer a:hover {
  color: #fff !important;
  padding-left: 4px;
}
footer .footer-brand img {
  height: 36px;
  margin-bottom: 1rem;
}
footer .list-unstyled li {
  margin-bottom: 0.5rem;
}
footer hr {
  border-color: #374151;
  opacity: 0.5;
}

/* ===== Smooth scroll ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Sections spacing ===== */
section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
