/* Common Page Styles for All Pages */
:root {
    --primary-color: #0d4d4d;
    --primary-dark: #1a5f5f;
    --secondary-color: #001f3f;
    --accent-color: #b88b2a;
    --light-bg: #faf8f5;
    --dark-text: #0b1220;
}

/* Universal Background for All Pages */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #faf8f5 0%, #f0ede8 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Common Page Background Overlay */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(1200px 600px at 15% -10%, rgba(13,77,77,0.10), transparent 60%),
                radial-gradient(900px 500px at 90% 0%, rgba(0,31,63,0.08), transparent 55%);
    z-index: -1;
    pointer-events: none;
}

/* Hero Section Common Background */
.hero-section, .page-header {
    background: linear-gradient(135deg, #001f3f 0%, #00162e 55%, #0d4d4d 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    color: white;
    margin-bottom: 0;
}

.hero-section::before, .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="600" r="120" fill="url(%23a)"/><circle cx="700" cy="800" r="80" fill="url(%23a)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Content Card Styles */
.content-card, .card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 31, 63, 0.12);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
}

.content-card:hover, .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Section Padding */
.section {
    padding: 80px 0;
    position: relative;
}

.section-light {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.section-dark {
    background: rgba(248, 249, 250, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(26, 95, 95, 0.35);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 77, 77, 0.22);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* Form Enhancements */
.form-control {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.12);
    transform: translateY(-1px);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section, .page-header {
        padding: 80px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}