:root {
    --primary-red: #C41E3A;
    --primary-red-hover: #A01830;
    --navy-dark: #1A2B3D;
    --navy-light: #2C3E50;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --text-dark: #333333;
    --text-muted: #666666;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--navy-dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 43, 61, 0.8), rgba(26, 43, 61, 0.8)), url('family.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 5% 6rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

/* Image Styling */
.image-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.feature-img {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    color: var(--navy-dark);
    margin-bottom: 3rem;
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.package-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-card h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.package-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-red-hover);
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Test List Formatting (for package pages) */
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.test-category h4 {
    color: var(--primary-red);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.test-item {
    padding: 0.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.test-item span:first-child {
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--primary-red);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* CTA Floating Buttons */
.floating-contact-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.floating-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.floating-btn.call {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(196, 30, 58, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(196, 30, 58, 0); }
}

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

.animate {
    animation: fadeIn 0.8s ease-out forwards;
}

section, main .container {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.4s; }

.package-card {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.package-card:nth-child(1) { animation-delay: 0.3s; }
.package-card:nth-child(2) { animation-delay: 0.4s; }
.package-card:nth-child(3) { animation-delay: 0.5s; }
.package-card:nth-child(4) { animation-delay: 0.6s; }
.package-card:nth-child(5) { animation-delay: 0.7s; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; }
}
