/* ============================================
   MAIN STYLESHEET - R&A Digital Technologies
   Clean, Reusable & Fully Responsive
   No overflow, mobile-optimized
   ============================================ */

/* ----- RESET & GLOBAL ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #0a0c10;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ----- VARIABLES (Premium System) ----- */
:root {
  --primary: #38B6FE;
  --primary-dark: #FD9425;
  --primary-light: #93d7ff;
  --secondary: #0f172a;
  --accent: #f97316;
  --dark-bg: #020617;
  --gray-light: #f8fafc;
  --gradient-1: linear-gradient(135deg, #38B6FE 0%, #FD9425 100%);
  --gradient-2: linear-gradient(156deg, rgba(56, 182, 254, 1) 0%, rgba(253, 148, 37, 1) 100%);
  --shadow-sm: 0 10px 30px -10px rgba(0,0,0,0.08);
  --shadow-lg: 0 25px 45px -12px rgba(94,59,238,0.25);
}

.c-name {
  font-family: 'Space Grotesk', monospace;
  background-color: #38B6FE;
  padding: 4px 2px;
  border-radius: 8px;
  display: inline-block;
  
  /* OPTION 2: Text stroke (outline) - Webkit only */
  -webkit-text-stroke: 2px #38B6FE;
  color: transparent;
  
  /* OPTION 3: Combined - Background + Text Stroke */
  background: linear-gradient(135deg, #38B6FE 0%, #FD9425 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(56,182,254,0.3);
}

.text-primary {
  color: var(--primary) !important;
}

/* ----- UTILITY CLASSES (Reusable) ----- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* ----- BUTTONS (Reusable) ----- */
.btn-premium {
  background: var(--gradient-1);
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 8px 20px rgba(94,59,238,0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(94,59,238,0.35);
  color: white;
}

.btn-outline-premium {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-outline-premium:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ----- NAVBAR (Responsive, No Overflow) ----- */
.navbar-premium {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
  padding: 12px 0;
  width: 100%;
}

.navbar-premium .container {
  max-width: 1400px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar-brand .logo {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 12px;
}

.nav-link-premium {
  font-weight: 500;
  color: #1e293b !important;
  margin: 0 8px;
  transition: 0.2s;
  white-space: nowrap;
}

.nav-link-premium:hover {
  color: var(--primary) !important;
}

/* Mobile Navbar Adjustments */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255,255,255,0.98);
    padding: 20px;
    border-radius: 20px;
    margin-top: 12px;
  }
  
  .nav-link-premium {
    white-space: normal;
    text-align: center;
    padding: 10px 0;
  }
  
  .navbar-brand .logo {
    height: 42px;
  }
}

@media (max-width: 575px) {
  .navbar-brand .logo {
    height: 36px;
  }
}

/* ----- HERO SECTION (No Overflow) ----- */
.hero-section {
  padding: 140px 0 80px;
  background: #020617;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-badge {
  background: rgba(56,182,254,0.12);
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 60px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  align-items: center;
  gap: 8px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  background: linear-gradient(175deg, #38B6FE 0%, #FD9425 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  word-break: break-word;
}

.floating-icon {
  animation: float 5s ease-in-out infinite;
  max-width: 100%;
  height: auto;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Background Orbs */
.bg-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.4;
  animation: floatOrb 8s infinite alternate ease-in-out;
  pointer-events: none;
}

.orb1 {
  background: #38B6FE;
  top: -100px;
  left: -100px;
}

.orb2 {
  background: #FD9425;
  bottom: -100px;
  right: -100px;
}

@keyframes floatOrb {
  from { transform: translateY(0); }
  to { transform: translateY(60px); }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-section {
    padding: 110px 0 50px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-badge {
    margin: 0 auto;
  }
}

/* ----- SECTION TITLES (Reusable) ----- */
.section-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
}

/* ----- SERVICE CARDS (Reusable, Responsive) ----- */
.service-card {
  background: white;
  border-radius: 28px;
  padding: 28px 20px;
  transition: all 0.4s;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.icon-circle {
  width: 65px;
  height: 65px;
  background: var(--gradient-1);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-circle i {
  font-size: 30px;
  color: white;
}

/* ----- PRICING CARDS (Responsive Grid) ----- */
.pricing-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0,0,0,0.05);
  transition: 0.4s ease;
  overflow: hidden;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px rgba(0,0,0,0.1);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  background: linear-gradient(145deg, #ffffff 0%, #faf9ff 100%);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 5px 18px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  z-index: 99999;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* ----- PORTFOLIO SECTION ----- */
#portfolio {
  background: linear-gradient(175deg, #38B6FE 0%, #FD9425 100%);
  width: 100%;
  overflow: hidden;
}

#portfolio .card {
  transition: transform 0.3s ease;
}

#portfolio .card:hover {
  transform: translateY(-5px);
}

#portfolio .card-img-top {
  height: 220px;
  object-fit: contain;
  width: 100%;
  background: linear-gradient(135deg, #020617 0%, #0a0f2a 100%);
}

/* ----- REFERRAL SECTION (Glass Morphism) ----- */
.referral-section {
  position: relative;
  padding: 60px 0;
  background: #020617;
  overflow: hidden;
  width: 100%;
}

.referral-card {
  background: rgba(255,255,255,0.04);
  border-radius: 30px;
  padding: 40px;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}

.title {
  font-size: 2.8rem;
  color: #fff;
  font-weight: 800;
}

.title span {
  background: linear-gradient(90deg, #38B6FE, #FD9425);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desc {
  color: #94a3b8;
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.stat {
  padding: 15px 25px;
  border-radius: 20px;
  text-align: center;
  flex: 1;
  min-width: 120px;
  background: rgba(255,255,255,0.03);
}

.stat h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 5px;
}

.stat p {
  color: #94a3b8;
  margin: 0;
}

.highlight {
  border: 1px solid #38B6FE;
  box-shadow: 0 0 20px rgba(56,182,254,0.3);
}

/* Visual Elements */
.visual {
  position: relative;
  text-align: center;
}

.floating-card {
  border-radius: 20px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg);
  transition: 0.5s;
}

.floating-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px dashed rgba(56,182,254,0.4);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spinRing 12s linear infinite;
  pointer-events: none;
}

@keyframes spinRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Referral */
@media (max-width: 768px) {
  .referral-card {
    padding: 28px 20px;
  }
  
  .title {
    font-size: 1.8rem;
  }
  
  .stats {
    flex-direction: column;
  }
  
  .stat {
    width: 100%;
  }
  
  .ring {
    width: 180px;
    height: 180px;
  }
}

/* ----- CTA SECTION (Final) ----- */
.cta-section {
  position: relative;
  padding: 50px 20px;
  background: #020617;
  overflow: hidden;
  width: 100%;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: floatGlow 6s infinite alternate ease-in-out;
  pointer-events: none;
}

.glow1 {
  background: #25D366;
  top: -80px;
  left: -80px;
}

.glow2 {
  background: #38B6FE;
  bottom: -80px;
  right: -80px;
}

@keyframes floatGlow {
  from { transform: translateY(0); }
  to { transform: translateY(40px); }
}

.cta-box {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);
  padding: 50px 40px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.cta-sub {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-top: 15px;
}

.cta-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.4s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-btn.whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 10px 30px rgba(37,211,102,0.3);
}

.cta-btn.whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(37,211,102,0.5);
  color: white;
}

.cta-btn.call {
  background: linear-gradient(90deg, #38B6FE, #FD9425);
  color: white;
}

.cta-btn.call:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(56,182,254,0.5);
  color: white;
}

.cta-trust {
  margin-top: 25px;
  color: #94a3b8;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 30px 20px;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-actions {
    gap: 12px;
  }
  
  .cta-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ----- STAT BOXES (Trust Indicators) ----- */
.stat-box {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s;
}

.stat-box:hover {
  transform: translateY(-5px);
}

/* ----- FAQ ACCORDION ----- */
.accordion-item {
  border: none !important;
}

.accordion-button {
  font-weight: 600;
  padding: 18px 24px;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary);
}

/* ----- FOOTER (Responsive) ----- */
.footer-dark {
  background: #020617;
  color: #cbd5e1;
  padding: 50px 0 30px;
  width: 100%;
}

.footer-dark a {
  transition: color 0.2s;
}

.footer-dark a:hover {
  color: var(--primary) !important;
}

/* ----- MOBILE APP IMAGES ----- */
.mobileApp-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobileApp-img img {
  width: 70px;
  min-height: 70px;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE BREAKPOINTS (Mobile Optimization)
   ============================================ */

/* Tablet & Below */
@media (max-width: 991px) {
  body {
    font-size: 15px;
  }
  
  .btn-premium, .btn-outline-premium {
    padding: 10px 24px;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section .col-lg-6:first-child {
    text-align: center;
  }
  
  .d-flex.gap-3 {
    justify-content: center;
  }
  
  .section-title br {
    display: none;
  }
  
  .pricing-card {
    padding: 20px 16px;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .stat-box h2 {
    font-size: 1.2rem;
  }
}

/* Mobile Portrait */
@media (max-width: 575px) {
  .container {
    padding: 0 14px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .service-card {
    padding: 20px 16px;
  }
  
  .icon-circle {
    width: 55px;
    height: 55px;
  }
  
  .icon-circle i {
    font-size: 24px;
  }
  
  .pricing-card .price {
    font-size: 1.8rem;
  }
  
  .popular-badge {
    font-size: 10px;
    padding: 4px 14px;
    right: 12px;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .footer-dark .row {
    text-align: center;
  }
}

/* Small Mobile (<=380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .btn-premium, .btn-outline-premium {
    padding: 8px 18px;
    font-size: 13px;
  }
  
  .price {
    font-size: 1.5rem;
  }
}

/* ============================================
   SCROLLBAR (Optional Aesthetic)
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #38B6FE, #FD9425);
  border-radius: 10px;
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos] {
  animation-duration: 0.8s;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar-premium, .cta-section, .referral-section, .footer-dark {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ============================================
   UTILITY FIXES
   ============================================ */
img {
  max-width: 100%;
  height: auto;
}

button, a {
  cursor: pointer;
}

ul, ol {
  padding-left: 0;
  list-style: none;
}

/* Prevent horizontal scroll on any element */
.row {
  margin-left: 0;
  margin-right: 0;
}

.col, [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

/* Fix any potential overflow from Bootstrap */
.container, .container-fluid {
  overflow-x: hidden;
}

/* ==================== FOUNDER SECTION - SIMPLE & MODERN ==================== */

.founder-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 60px 0;
}

/* Founder Card */
.founder-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(56,182,254,0.2);
}

/* Founder Image */
.founder-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
  border-radius: 50%;
  border: 3px solid #f97316;
}

.founder-card:hover .founder-img {
  transform: scale(1.05);
}

/* Overlay with Social Icons */
.founder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(56,182,254,0.9), rgba(253,148,37,0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.founder-card:hover .founder-overlay {
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38B6FE;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  transform: translateY(-5px);
  background: #020617;
  color: white;
}

/* Founder Card Content */
.founder-card-content {
  padding: 24px;
  text-align: center;
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: 'Space Grotesk', monospace;
  color: #1e293b;
}

.founder-role {
  color: #38B6FE;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin: 0;
}

/* Founder Button */
.btn-founder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #38B6FE, #FD9425);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(56,182,254,0.3);
}

.btn-founder:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(56,182,254,0.4);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .founder-name {
    font-size: 1.3rem;
  }
  
  .founder-card-content {
    padding: 18px;
  }
  
  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .founder-section {
    padding: 40px 0;
  }
  
  .founder-name {
    font-size: 1.2rem;
  }
  
  .founder-role {
    font-size: 0.8rem;
  }
}

.floating-buttons, .floating-buttons1 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-buttons1 {
  left: 20px;
  right: 0px;
}

/* WhatsApp */
.whatsapp-btn {
  background: #25D366;
  color: white;
  font-size: 35px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
  animation: pulse 1.8s infinite;
  cursor: pointer;

}

.whatsapp-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
@keyframes pulse1 {
  0% {
    box-shadow: 0 0 0 0 rgb(0, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Call */
.call-btn {
  background: rgb(0, 123, 255);
  color: white;
  font-size: 22px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
  animation: pulse1 1.8s infinite;
  cursor: pointer;
}

.call-btn:hover {
  transform: scale(1.1);
}