/* Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
/* Playfair Display Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body{
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --transition-speed: 0.3s;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #3498db, #2c3e50);
  --gradient-secondary: linear-gradient(135deg, #e74c3c, #f39c12);
  --primary-color-rgb: 44, 62, 80;
  --secondary-color-rgb: 52, 152, 219;
  --accent-color-rgb: 231, 76, 60;
  --dark-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --hero-gradient: linear-gradient(to right, #000428, #004e92);
}


.bg-card1{
  background: var(--primary-color);
  color: white;
}
.bg-card2{
  background: var(--secondary-color);
  color: white;
}
.bg-card3{
  background: var(--accent-color);
  color: white;
}

/* Base Styles */
body {
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: var(--dark-color);
  overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.navbar-brand:hover::after {
  width: 100%;
}

.nav-link {
  position: relative;
  margin: 0 10px;
  font-weight: 500;
  transition: all var(--transition-speed);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background: var(--hero-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../icon/nutritionPerson.jpg') no-repeat bottom center/cover;
  opacity: 0.1;
  animation: pulse 15s infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

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

.hero-section h1 {
  color: white;
  font-weight: 700;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
  font-size: 1.3rem;
}

.hero-section .btn {
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background: linear-gradient(to right, #3498db, #2c3e50);
  border: none;
  color: white;
  font-weight: 600;
}

.hero-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(to right, #2c3e50, #3498db);
}

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

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.6; }
}

/* App Cards */
.app-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  margin: 100px 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  border: none;
}

.app-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.app-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2));
  z-index: -1;
}

.card-header {
  font-weight: 700;
  padding: 25px 30px;
  font-size: 2rem;
  border-bottom: none;
  position: relative;
}

.card-header i {
  margin-right: 10px;
  animation: pulse 2s infinite;
}

.card-body {
  padding: 30px;
  position: relative;
}

.app-icon {
  transition: all 0.5s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-radius: 25%;
}

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

.app-description {
  line-height: 1.8;
  font-size: 1.1rem;
}

.app-description h4 {
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.app-description h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: rgba(255,255,255,0.5);
}

.app-link {
  
  transition: all 0.4s ease;
  margin-top: 10px;
  margin-right: 40px;
}

.app-link:hover {
  transform: scale(1.08);
}

/* Primary App Card */
.bg-primary {
  background: linear-gradient(135deg, #4b6cb7, #182848) !important;
}

/* Secondary App Card */
.bg-danger {
  background: linear-gradient(135deg, #f85032, #e73827) !important;
}

/* Tertiary App Card */
.bg-info {
  background: linear-gradient(135deg, #2193b0, #6dd5ed) !important;
}

/* Footer */
.footer {
  margin: 0;
  padding: 40px 0;
  color: white;
  background: var(--dark-color);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: var(--secondary-color);
  z-index: 9999;
  width: 0%;
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.6;
  animation: float 15s infinite ease-in-out;
  filter: blur(2px);
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
  75% { transform: translateY(-20px) rotate(270deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow Effect */
.glow {
  text-shadow: 0 0 10px rgba(52, 152, 219, 0.5), 0 0 20px rgba(52, 152, 219, 0.3);
}

/* Enhanced Divider */
.divider {
  position: relative;
  overflow: hidden;
}

.divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

/* =============About Us Page Css============== */

.profile-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.profile-image-container {
  position: relative;
  overflow: hidden;
}

.profile-image {
  transition: transform 0.8s ease;
}

.profile-card:hover .profile-image {
  transform: scale(1.05);
}

.skill-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
}

.skill-card:hover {
  transform: translateY(-10px) rotate(2deg);
}

.skill-icon {
  transition: all 0.5s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.2);
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.app-card-mini {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 450px;
  margin: 20px 0;
}

.app-card-mini:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.app-card-mini::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(var(--primary-color-rgb), 0.05), rgba(var(--secondary-color-rgb), 0.05));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.app-card-mini:hover::before {
  opacity: 1;
}

.app-icon-wrapper {
  position: relative;
  margin: 0 auto 1.5rem;
  width: 110px;
  height: 110px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  transform: translateY(0);
}

.app-card-mini:hover .app-icon-wrapper {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.app-features {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.app-feature-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.app-card-mini:hover .app-feature-tag {
  background-color: rgba(var(--primary-color-rgb), 0.2);
}

.app-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.btn-app-action {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-app-action i {
  transition: transform 0.3s ease;
}

.btn-app-action:hover i {
  transform: translateX(3px);
}

.counter-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.counter-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.counter-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-custom {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-custom:hover::before {
  left: 0;
}

/* Swiper Styles for About Page */
.swiper {
  width: 100%;
  padding: 50px 0;
  overflow: hidden;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: auto;
  margin: 0 15px;
  border-radius: 20px;
  filter: blur(0);
  transform: scale(1);
  transition: all 0.5s ease;
  opacity: 0.8;
}

.swiper-slide-active {
  filter: blur(0);
  transform: scale(1.05);
  opacity: 1;
  z-index: 2;
}

.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet-active {
  background: var(--secondary-color);
  transform: scale(1.3);
}

.swiper-button-next,
.swiper-button-prev {
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: var(--primary-color) !important;
  display: none;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
  color: white !important;
}

.swiper-cards {
  overflow: visible;
}

.swiper-cards .swiper-slide {
  transform-origin: center bottom;
  backface-visibility: hidden;
  overflow: hidden;
  transition: transform 0.5s;
}

.swiper-cards .swiper-slide-active {
  transform: translateY(-20px) scale(1.1);
  z-index: 10;
}

.swiper-cards .swiper-slide-prev,
.swiper-cards .swiper-slide-next {
  transform: scale(0.9);
  opacity: 0.8;
}
