body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
}

/* Container for main content */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

header {
    background: linear-gradient(90deg, #b80000 60%, #111 100%);
    color: #ffffff;
    padding: 30px 0 20px 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(184, 0, 0, 0.1);
    letter-spacing: 1px;
    transition: background 0.4s;
    position: sticky;
    top: 0;
    z-index: 100;
}

header:hover {
    background: linear-gradient(90deg, #8b0000 60%, #222 100%);
}

h1 {
    margin: 0;
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: color 0.3s;
    color: #fff; /* Change from #ff2222 to white */
}

section {
    padding: 30px 25px;
    margin: 30px auto;
    background: #181818cc;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(184, 0, 0, 0.07);
    max-width: 700px;
    animation: fadeInUp 1s;
    transition: box-shadow 0.3s, transform 0.3s;
}

section:hover {
    box-shadow: 0 12px 32px rgba(184, 0, 0, 0.13);
    transform: translateY(-4px) scale(1.01);
}

h2 {
    color: #ff2222;
    margin-top: 0;
    font-size: 2em;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

h2:hover {
    color: #b80000;
}

p, li {
    color: #eee;
}

footer {
    text-align: center;
    padding: 18px 0;
    background: linear-gradient(90deg, #b80000 60%, #111 100%);
    color: #ffffff;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 1.1em;
    letter-spacing: 1px;
    box-shadow: 0 -2px 8px rgba(184, 0, 0, 0.07);
    transition: background 0.4s;
}

footer:hover {
    background: linear-gradient(90deg, #8b0000 60%, #222 100%);
}

/* Navbar styles */
nav {
    margin-top: 18px;
}

.navbar {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.navbar li {
    display: inline-block;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    padding: 8px 18px;
    border-radius: 20px;
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar a:hover, .navbar a:focus {
    background: rgba(255,34,34,0.15);
    color: #ff2222;
}


/* Hide navbar by default */
.navbar-container {
    display: none;
    justify-content: center;
}

/* Show navbar on desktop */
@media (min-width: 801px) {
    .navbar-container {
        display: flex;
    }
}

/* Show navbar when active on mobile */
@media (max-width: 800px) {
    .navbar-container.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #181818cc;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        border-radius: 0 0 18px 18px;
        flex-direction: column;
        align-items: center;
        z-index: 100;
    }
}

/* Hamburger button styles */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 200;
    cursor: pointer;
}

/* Show hamburger button on mobile */
@media (max-width: 800px) {
    .navbar-toggle {
        display: block;
    }
}


/* Section divider */
section + section {
    border-top: 1px solid #e0e7ff;
    margin-top: 40px;
    padding-top: 40px;
}

/* Section icons */
section h2 i {
    margin-right: 10px;
    color: #ff2222;
}

/* Add a smooth fade-in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add button styles for future use */
.button {
    background: linear-gradient(90deg, #b80000 60%, #111 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 32px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(184, 0, 0, 0.13);
    transition: background 0.3s, transform 0.2s;
    margin-top: 16px;
}

.button:hover {
    background: linear-gradient(90deg, #8b0000 60%, #222 100%);
    transform: scale(1.05);
}

/* Social links - white icons/text, no background */
.social {
    background: none !important;
    color: #fff !important;
    border: none;
    box-shadow: none;
    padding: 0;
    font-weight: 600;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    text-decoration: none;
}

.social i {
    color: #fff !important;
    font-size: 1.3em;
    transition: color 0.3s;
}

.social:hover,
.social:focus {
    color: #ff2222 !important;
}

.social:hover i,
.social:focus i {
    color: #ff2222 !important;
}

/* Hero image styles */
.hero-image {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    margin-bottom: 24px;
}

.hero-image img {
    width: 100%;
    max-width: 1200px;
    height: 320px;           /* Ensures a consistent hero height */
    object-fit: contain;     /* Show the whole image, even if there are empty spaces */
    border-radius: 0 0 18px 18px;
    box-shadow: 0 6px 24px rgba(184, 0, 0, 0.13);
    background: #111;        /* Fills empty space if image doesn't cover all */
    display: block;
    margin: 0 auto;
}

/* Section image styles */
.section-img {
    width: 100%;
    max-width: 380px;
    height: auto;           /* Let the image keep its natural aspect ratio */
    object-fit: contain;    /* Show the whole image, no cropping */
    display: block;
    margin: 0 auto 18px auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(184, 0, 0, 0.13);
    background: #fff;
    border: 2px solid #222;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-img:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(184, 0, 0, 0.22);
    border-color: #b80000;
}

/* Responsive design */
/* Responsive design for tablets */
@media (max-width: 1024px) {
    .container {
        max-width: 98vw;
        padding: 0 8px;
    }
    section {
        max-width: 98vw;
        padding: 20px 8px;
    }
    .navbar {
        gap: 18px;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.2em;
    }
    .logo {
        height: 36px;
    }
    .header-title {
        gap: 12px;
    }
}

/* Responsive design for mobile */
@media (max-width: 600px) {
    header {
        padding: 18px 0 12px 0;
    }
    .navbar {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .navbar a {
        font-size: 1em;
        padding: 8px 12px;
    }
    section {
        margin: 18px auto;
        padding: 14px 4px;
        border-radius: 8px;
    }
    h1 {
        font-size: 1.4em;
    }
    h2 {
        font-size: 1em;
    }
    .social-links {
    padding: 10px 0;
    display: flex;
    gap: 18px; /* Adjust the value for more or less space */
    margin-top: 12px;
    flex-wrap: wrap;
    }
    .button {
        width: 100%;
        padding: 10px 0;
        font-size: 1em;
    }
    footer {
        font-size: 1em;
        padding: 12px 0;
    }
    .logo {
        height: 28px;
        margin-right: 6px;
    }
    .header-title {
        gap: 8px;
    }
    h1 {
        font-size: 1.1em;
    }
}

/* Responsive: smaller images on mobile */
@media (max-width: 600px) {
    .section-img {
        max-width: 95vw;
        height: 120px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
}

/* Header title and logo alignment */
.header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.logo {
    height: 48px;
    width: auto;
    margin-right: 8px;
    transition: height 0.3s;
}