:root {
    --primary-color: #E4032C;
    --background-color: #FDF9F6;
    --text-color: #333333;
    --card-bg: #FFFFFF;
    --shadow: 0 10px 30px -10px rgba(228, 3, 44, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(228, 3, 44, 0.1);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Main Content */
main {
    padding-top: 140px;
    /* Adjusted padding */
    padding-bottom: 30px;
    flex: 1;
}

/* Hero for Index */
.hero {
    text-align: center;
    min-height: calc(100vh - 250px);
    /* Fills the remaining screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    animation: fadeIn 0.8s ease-out;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    /* Slightly tighter button */
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(228, 3, 44, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 3, 44, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 10px;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: rgba(228, 3, 44, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(228, 3, 44, 0.1);
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 30px;
    /* Reduced from 40px */
    animation: fadeIn 0.8s ease-out;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.page-header p {
    color: #666;
    font-size: 1rem;
}

/* Content Sections */
.content-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    /* Reduced spacing to footer */
    box-shadow: var(--shadow);
    border: 1px solid rgba(228, 3, 44, 0.05);
    animation: scaleIn 0.5s ease-out;
}

h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 20px 0 10px;
    /* Reduced vertical spacing */
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(228, 3, 44, 0.1);
}

h2:first-child {
    margin-top: 0;
}

h3 {
    font-size: 1.2rem;
    margin: 20px 0 8px;
    color: #333;
}

p {
    margin-bottom: 12px;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 6px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
    transition: all 0.3s;
}

.contact-link:hover {
    border-bottom-style: solid;
}

/* Logo Image */
.logo-img {
    height: 40px;
    /* Adjust size as needed */
    width: auto;
    margin-right: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    color: #888;
    font-size: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.99);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .logo {
        margin-bottom: 15px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    /* Adjust main padding for taller mobile header */
    main {
        padding-top: 180px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .content-card {
        padding: 20px;
    }

    .btn {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }

    .btn-secondary {
        margin-left: 0;
    }
}