/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 1rem 0;
    background: #fff !important; /* White background as requested */
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #dc3545 !important; /* Red Logo */
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    color: #333 !important; /* Dark text */
}

.nav-link:hover {
    color: #dc3545 !important; /* Red hover */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #dc3545; /* Red underline */
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  padding: 150px 0 100px;
  margin-top: -76px; /* Navbar height compensation */
  color: #fff;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.7));
  z-index: 1;
}

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

.hero-section h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-section .btn {
  animation: fadeInUp 1s ease-out 0.4s backwards;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Floating Buttons */
.fixed-bottom-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fixed-bottom-right .btn {
  transition: transform 0.3s ease;
}

.fixed-bottom-right .btn:hover {
  transform: scale(1.1);
}
.card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-body {
  padding: 2rem;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #dc3545, #2c3e50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card:hover .feature-icon,
.col-md-4:hover .feature-icon {
  transform: scale(1.1);
}

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

.btn-primary {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b02a37 0%, #dc3545 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #dc3545 0%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.1;
}

.cta-section h2 {
  color: #fff !important;
}

.cta-section h2::after {
  display: none;
}

/* Footer */
footer {
  background: #1a252f !important;
  color: #ecf0f1;
  position: relative;
  padding-top: 5rem !important;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
  color: #fff;
  letter-spacing: 0.5px;
}

footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, #dc3545, #b02a37);
}

footer p,
footer li {
  color: #bdc3c7;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
}

footer a {
  transition: all 0.3s ease;
  display: inline-block;
}

footer a:hover {
  color: #dc3545 !important;
  transform: translateX(5px);
  text-decoration: none;
}

footer .bi {
  color: #dc3545;
  transition: color 0.3s ease;
}

footer .border-top {
  border-color: rgba(255, 255, 255, 0.1) !important;
  margin-top: 3rem;
  padding-top: 2rem !important;
}

footer .border-top p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Headings */
section h2 {
  font-weight: 700;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 3rem;
}

section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #dc3545, #2c3e50);
  border-radius: 2px;
}

/* Form Controls */
.form-control,
.form-select {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  background-color: #fff;
}
