/* Custom styles beyond Tailwind CSS */

:root {
  --primary: #123458; /* Deep navy blue */
  --primary-dark: #030303; /* Almost black */
  --secondary: #D4C9BE; /* Warm beige */
  --accent: #F1EFEC; /* Light cream */
  --light: #F1EFEC; /* Light cream */
  --dark: #030303; 
  --gray: #6c757d;
}

html {
  scroll-behavior: smooth; /* Enable smooth scrolling */
}

body {
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

.custom-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar-glass {
  backdrop-filter: blur(10px);
  background-color: rgba(241, 239, 236, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4C9BE' fill-opacity='0.15' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-text {
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

/* Cards */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 52, 88, 0.2);
}

/* Enhanced Button Styling */
.btn-primary, 
button[type="submit"],
a[href="#apply"] {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary:hover, 
button[type="submit"]:hover,
a[href="#apply"]:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 7px 14px rgba(3, 3, 3, 0.3);
}

.btn-primary:active, 
button[type="submit"]:active,
a[href="#apply"]:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 3px 8px rgba(3, 3, 3, 0.3);
}

.btn-secondary,
a[href="#learn"] {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary-dark);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary:hover,
a[href="#learn"]:hover {
  background-color: #c2b8ae; /* Darker beige */
  border-color: #c2b8ae;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 7px 14px rgba(212, 201, 190, 0.4);
}

.btn-secondary:active,
a[href="#learn"]:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 3px 8px rgba(212, 201, 190, 0.4);
}

/* Custom hover effect for the secondary button */
a[href="#learn"] {
  border: 2px solid var(--dark);
  background-color: transparent;
  color: var(--dark);
  transition: all 0.3s ease;
}

a[href="#learn"]:hover {
  background-color: var(--dark);
  color: var(--light);
  border-color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(3, 3, 3, 0.2);
}

a[href="#learn"]:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(3, 3, 3, 0.2);
}

/* Button ripple effect */
button[type="submit"]::after,
a[href="#apply"]::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.6s ease;
  z-index: -1;
}

button[type="submit"]:hover::after,
a[href="#apply"]:hover::after {
  transform: translateX(100%) skewX(-15deg);
}

/* Footer */
.footer-wave {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23123458' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,202.7C384,192,480,160,576,144C672,128,768,128,864,144C960,160,1056,192,1152,197.3C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  height: 150px;
} 