
/* Custom CSS for DynoTech Ventures */

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Modern Hero Section */
.hero-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.text-gradient {
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay-1 {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
  animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* Modern Cards */
.card-modern {
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gradient Backgrounds */
.bg-gradient-to-br {
  background: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-indigo-900 {
  --tw-gradient-from: #312e81;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(49, 46, 129, 0));
}

.via-purple-900 {
  --tw-gradient-stops: var(--tw-gradient-from), #581c87, var(--tw-gradient-to, rgba(88, 28, 135, 0));
}

.to-pink-800 {
  --tw-gradient-to: #9d174d;
}

.from-gray-50 {
  --tw-gradient-from: #f9fafb;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 250, 251, 0));
}

.to-blue-50 {
  --tw-gradient-to: #eff6ff;
}

/* Modern Buttons */
.btn-modern {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Backdrop Blur */
.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Modern Typography */
.display-3 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.display-4 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Icon Wrappers */
.icon-wrapper {
  transition: all 0.3s ease;
}

.icon-wrapper:hover {
  transform: scale(1.1);
}

/* Stats */
.stat-item {
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.1);
}

.feature-icon .icon-wrapper {
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon .icon-wrapper {
  transform: scale(1.1);
}

/* Product Visual */
.product-visual {
  transition: all 0.3s ease;
}

.product-visual:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Badge Styling */
.badge {
  font-weight: 500;
  transition: all 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
}

/* Responsive */
/* Mobile styles moved to bottom of file for better organization */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 30vh !important;
  display: flex;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

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

/* Navigation */
.navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.1);
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

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

/* Contact Info */
.contact-info {
  transition: transform 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-3px);
}

/* Buttons */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Form */
.form-control {
  border: 2px solid #e9ecef;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Stats */
.about-stats {
  transition: transform 0.3s ease;
}

.about-stats:hover {
  transform: translateY(-3px);
}

/* Social Links */
.social-links a {
  transition: color 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  color: #667eea !important;
}

/* Responsive - Mobile First */
@media (max-width: 768px) {
  /* Typography */
  .hero {
    text-align: center;
  }
  
  .display-3 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
  
  .display-5 {
    font-size: 1.3rem !important;
  }
  
  .lead {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
  }
  
  .fs-4 {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
  
  .fs-5 {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
  
  /* Hero Section */
  .hero-modern {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    min-height: auto !important;
  }
  
  .hero-shapes .shape {
    display: none;
  }
  
  /* Buttons */
  .btn-lg {
    font-size: 0.9rem !important;
    padding: 0.7rem 1.2rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .gap-3 {
    gap: 0.3rem !important;
  }
  
  /* Hero buttons - make them narrower */
  .hero-modern .btn {
    width: 90% !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Stats Section - Mobile Optimization */
  .hero-stats {
    padding: 1.5rem 0 !important;
    margin-top: 0 !important;
  }
  
  .hero-stats .row {
    gap: 1rem !important;
    justify-content: center !important;
  }
  
  .hero-stats .col-md-3 {
    margin-bottom: 1.8rem !important;
    text-align: center !important;
    padding: 0 0.5rem !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  .hero-stats h3 {
    font-size: 1.6rem !important;
    margin-bottom: 0.4rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }
  
  .hero-stats p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    opacity: 0.9 !important;
  }
  
  /* Product Logo */
  .dynodine-logo {
    max-height: 80px !important;
  }
  
  /* Services Cards */
  .card-modern {
    margin-bottom: 1rem;
  }
  
  .icon-wrapper {
    width: 50px !important;
    height: 50px !important;
  }
  
  .icon-wrapper i {
    font-size: 1.25rem !important;
  }
  
  /* Padding & Spacing */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  /* Footer */
  footer .row {
    text-align: center !important;
  }
  
  footer .col-lg-6 {
    margin-bottom: 1rem;
  }
  
  footer .text-lg-end {
    text-align: center !important;
  }
  
  footer .d-flex {
    justify-content: center !important;
  }
  
  .social-links {
    justify-content: center !important;
  }
  
  /* Contact Section */
  .contact-info {
    margin-bottom: 1rem;
  }
  
  /* Form */
  form .btn {
    width: 100%;
  }
  
  /* Product Section */
  .product-showcase {
    padding: 2rem !important;
  }
  
  .rounded-4 {
    border-radius: 1rem !important;
  }
  
  /* About Section */
  .about-content {
    padding: 0 !important;
  }
  
  /* Hero Stats */
  .hero-stats {
    margin-top: 1rem !important;
  }
  
  .hero-stats .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  /* Adjust column spacing */
  .col-lg-10, .col-lg-8 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Mission and Services */
  .mission-content, .services-content {
    padding: 0 1rem;
  }
  
  .services-content .h3 {
    font-size: 1.5rem !important;
  }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 992px) {
  .display-3 {
    font-size: 2.75rem !important;
  }
  
  .display-4 {
    font-size: 2.25rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .display-5 {
    font-size: 1.25rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
  
  .btn-lg {
    font-size: 0.9rem !important;
    padding: 0.5rem 1.25rem !important;
  }
  
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Ensure hero content has proper spacing */
  .hero-modern .container {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
  
  .hero-modern .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .hero-modern .col-lg-8 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Make cards stack better */
  .card-body {
    padding: 1.25rem !important;
  }
  
  /* Logo size on mobile */
  footer img {
    height: 20px !important;
  }
  
  /* Hero buttons stack vertically */
  .hero-modern .d-flex {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .hero-modern .btn {
    width: 85% !important;
    max-width: 250px !important;
    margin-bottom: 0.6rem !important;
  }
  
  /* Better text sizing for small phones */
  .display-3 {
    font-size: 1.6rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .display-4 {
    font-size: 1.3rem !important;
  }
  
  .lead {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1.2rem !important;
  }
  
  .fs-4 {
    font-size: 0.85rem !important;
  }
  
  .fs-5 {
    font-size: 0.8rem !important;
  }
  
  /* Product showcase on small mobile */
  .product-showcase {
    padding: 1.5rem !important;
  }
  
  .product-showcase .col-lg-4,
  .product-showcase .col-lg-8 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Reduce icon sizes further */
  .icon-wrapper {
    width: 45px !important;
    height: 45px !important;
  }
  
  /* Stats section - Small Mobile */
  .hero-stats {
    padding: 1.2rem 0 !important;
  }
  
  .hero-stats .col-md-3 {
    margin-bottom: 1.5rem !important;
    padding: 0 0.3rem !important;
  }
  
  .hero-stats h3 {
    font-size: 1.4rem !important;
    margin-bottom: 0.3rem !important;
  }
  
  .hero-stats p {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
  }
  
  .hero-stats .row {
    gap: 0.8rem !important;
  }
  
  /* Services cards */
  .services-content .card-body {
    padding: 1rem !important;
  }
  
  /* Contact form padding */
  form.bg-white {
    padding: 1.5rem !important;
  }
}

/* Utilities */
.text-gray-800 {
  color: #2d3748 !important;
}

.text-gray-600 {
  color: #4a5568 !important;
}

.bg-gray-50 {
  background-color: #f7fafc !important;
}

.max-w-md {
  max-width: 28rem;
}

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

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