/* css/styles.css */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* CloudPyIT Logo Branding Colors */
  --primary-color: #1e3a8a; /* Navy Blue (Logo Text) */
  --secondary-color: #0d9488; /* Teal (Logo Nodes) */
  --accent-color: #059669; /* Green (Logo Arrow) */
  --accent-light: #6ee7b7;
  
  /* Neutral Colors */
  --light-bg: #f8fafc;
  --dark-bg: #030712;
  --surface-dark: #0f172a;
  --surface-light: #ffffff;
  
  --text-dark: #1e293b;
  --text-light: #94a3b8;
  --text-white: #f8fafc;
  
  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 16px;
  
  --box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 20px 40px -10px rgba(139, 92, 246, 0.2);
  --glow-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Outfit', sans-serif;
}

/* Solid White Modern Navbar (AUMTREND Style) */
.navbar {
  background-color: #ffffff !important;
  border-bottom: none;
  padding: 1rem 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  background: none;
  -webkit-text-fill-color: initial;
}

.navbar-brand img {
  mix-blend-mode: normal !important;
  filter: none !important;
}



.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b !important;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.nav-link::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-link:hover::before, .nav-link.active::before {
  opacity: 1;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Custom Dropdown Styling */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 240px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  animation: fadeDown 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background-color: var(--light-bg);
  color: var(--secondary-color);
  transform: translateX(4px);
}

/* Modern Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--text-white);
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-primary-custom:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
  color: var(--text-white);
}

.btn-primary-custom:hover::before {
  opacity: 1;
}

.btn-outline-custom {
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: all 0.4s ease;
}

.btn-outline-custom:hover {
  background-image: linear-gradient(135deg, var(--secondary-color), var(--accent-color)), linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--glow-shadow);
}

/* Stunning Hero Section Background */
.hero-section {
  padding: 100px 0 60px;
  background-color: #f8fafc;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 35px 35px;
  background-position: 0 0;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Animated Background Shapes */
.hero-bg-shape {
  position: absolute;
  filter: blur(90px);
  z-index: 0;
  border-radius: 50%;
  animation: float-shape 12s infinite ease-in-out alternate;
  opacity: 0.8;
}

.shape-1 {
  top: -15%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: rgba(99, 102, 241, 0.35); /* Indigo */
  animation-delay: 0s;
}

.shape-2 {
  bottom: -20%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: rgba(236, 72, 153, 0.35); /* Pink */
  animation-delay: -4s;
  animation-direction: alternate-reverse;
}

.shape-3 {
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  height: 40vw;
  background: rgba(14, 165, 233, 0.35); /* Cyan */
  animation-delay: -7s;
}

@keyframes float-shape {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(30px, -50px) scale(1.1) rotate(10deg); }
  100% { transform: translate(-20px, 20px) scale(0.9) rotate(-5deg); }
}

/* Organic Image Blob */
.hero-blob-img {
  animation: morph 8s ease-in-out infinite;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  transition: all 1s ease-in-out;
  z-index: 1;
  position: relative;
}

@keyframes morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Floating Animations for Stat Cards */
@keyframes float-soft {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-stat-card {
  animation: float-soft 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-stat-card:nth-child(2) {
  animation-delay: 1s;
}

.hero-stat-card:nth-child(3) {
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--accent-light);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge i {
  color: var(--secondary-color);
}

.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title span {
  color: var(--secondary-color);
}

/* Glassmorphism Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  margin-bottom: 1.5rem;
  box-shadow: var(--glow-shadow);
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Modern Light Footer */
.footer {
  background-color: #f8fafc;
  color: var(--text-dark);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-title {
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 1.75rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.footer-link {
  color: #475569;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  color: #64748b;
}

/* Utilities */
.bg-light-gray {
  background-color: #f1f5f9;
}

.hover-text-primary:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-3px);
  display: inline-block;
}

/* Pulse Animation for specific elements */
@keyframes pulse-soft {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.pulse-btn {
  animation: pulse-soft 2s infinite;
}

/* Custom Added Sections CSS */
.process-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  z-index: 1;
}
.process-card:hover {
  transform: translateY(-5px);
}
.process-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: rgba(0,0,0,0.1);
  z-index: 0;
}
@media (max-width: 991px) {
  .process-timeline::before {
    display: none;
  }
}
.transition-hover {
  transition: all 0.3s ease;
}
.transition-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
}
.blog-card img, .blog-card > div.bg-gradient {
  transition: transform 0.5s ease;
}
.blog-card:hover > div.bg-gradient {
  transform: scale(1.05);
}


/* Page Header for Inner Pages */
.page-header {
  padding: 160px 0 100px;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.15), transparent 40%),
              radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.15), transparent 40%),
              linear-gradient(135deg, var(--surface-dark) 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}


/* Services Premium Cards */
.service-premium-card {
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.card-bg-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.15;
}
.glow-primary { background: var(--primary-color); }
.glow-success { background: #10b981; }

.icon-box-lg {
  width: 70px;
  height: 70px;
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateX(5px) translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.1) !important;
}


/* Blog Card Styles */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}
.blog-img {
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-img {
    transform: scale(1.08);
}
.blog-card .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
