/* Custom Styles for GG Nursing Landing Page */

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Scroll-triggered animations - Bidirectional (animate on scroll up and down) */
.reveal {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
}

.reveal:not(.active) {
    opacity: 0;
}

.reveal-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-down {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade-down.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays for children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===== HOVER ANIMATIONS ===== */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(1, 22, 64, 0.15);
}

.hover-scale {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow 0.4s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.hover-rotate {
    transition: transform 0.4s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-pulse:hover {
    animation: pulse 0.6s ease-in-out;
}

.hover-float:hover {
    animation: float 1s ease-in-out infinite;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #011640 0%, #1e3a5f 50%, #011640 100%);
}

.hero-bg {
  background-image: url("https://ggnursing.com/wp-content/uploads/2022/07/pexels-lina-kivaka-5623940-scaled-e1658937619696-1024x614.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

/* Navigation Links */
/* Navigation Links */
.nav-link {
    position: relative;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.nav-link:hover {
    color: #011640;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #011640;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #011640;
    font-weight: 700;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    text-decoration: none;
}

.mobile-nav-link:hover {
    background-color: #f3f4f6;
    color: #011640;
}

/* Buttons - Modern CTA Design */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #011640 0%, #1e3a5f 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 8px 25px rgba(1, 22, 64, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(1, 22, 64, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #011640;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #011640;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(1, 22, 64, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #011640 0%, #1e3a5f 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(1, 22, 64, 0.35);
}

.btn-outline:active {
    transform: translateY(-1px);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    color: #011640;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-hero:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 6px 10px rgba(0, 0, 0, 0.25);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.5rem;
    background: transparent;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    border: 3px solid #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-outline:hover {
    background: #ffffff;
    color: #011640;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #f59e0b, #d97706);
    color: #ffffff;
    font-weight: 700;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    text-decoration: none;
}

.btn-gold:hover {
    background: linear-gradient(to right, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.4);
}

/* Glass Card Effect */
.glass-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Trust Badges - Centered Star with Better Padding */
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 160px;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(1, 22, 64, 0.12);
}

.trust-badge i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.trust-badge h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #011640;
    line-height: 1.4;
    padding: 0 0.5rem;
}

/* Service Cards - Full Width Images with Text Padding */
.service-card {
    padding: 0;
    margin: 0;
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(1, 22, 64, 0.15);
}

.service-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
    display: block;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #011640;
    margin-bottom: 0.75rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-content li {
    color: #6b7280;
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

/* Testimonials Slider - Modern Design */
.testimonial-slider {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.testimonial-card {
    min-width: 350px;
    max-width: 550px;
    padding: 2.5rem;
    margin: 1rem 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(1, 22, 64, 0.12);
}

.slider-btn {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #011640 0%, #1e3a5f 100%);
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(1, 22, 64, 0.3);
    border: none;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(1, 22, 64, 0.4);
}

/* Form Inputs - Improved Design */
.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    color: #011640;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.form-input:hover {
    border-color: #d4af37;
    background: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3), 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Validation States */
.form-input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-input.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.3), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-input.success {
    border-color: #22c55e;
    background: #f0fdf4;
}

.form-input.success:focus {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-error {
    display: none;
    color: #fca5a5;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-error.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #c9a432 0%, #a68829 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #011640;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e3a5f;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Header Scroll Effect */
.header-scrolled {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
