/* General Styles */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header Styles */
header.main-header {
    background-color: #003366;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease;
    width: 100%;
    top: 0;
    left: 0;
}

.navbar-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    font-size: 2em;
    font-weight: bold;
    color: #ffd700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    font-size: 1em;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #003366;
    background-color: #ffd700;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: #ffd700;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: #003366;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Hero Section */

/* Hero Section Styles */
.hero {
    position: relative;
    background: linear-gradient(135deg, #003366, #00509e);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    background: url('path/to/your/animated-background.gif') no-repeat center center/cover;
    opacity: 0.3;
    z-index: 0;
    animation: backgroundAnimation 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    animation: fadeInUp 1.5s ease-out;
}

.start-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffcc00);
    color: #003366;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes backgroundAnimation {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .start-btn {
        font-size: 1em;
        padding: 10px 20px;
    }
}


/* Features Section */
.features {
    display: flex;
    justify-content: space-between;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    text-align: center;
    background: linear-gradient(to bottom, #f0f4f8, #ffffff);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path/to/your/background-pattern.png') repeat;
    opacity: 0.1;
    z-index: 0;
}

.feature {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease;
    flex: 1;
    max-width: 30%;
    position: relative;
    z-index: 1;
}

.feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #003366, #00509e);
    border-radius: 0 0 15px 15px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature:hover::after {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    background-color: #f9fafb;
}

.feature h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature h2 a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature h2 a:hover {
    color: #00509e;
}

.feature p {
    font-size: 1rem;
    color: #666;
    transition: color 0.3s ease;
}

.feature:hover p {
    color: #333;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #003366;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

footer p {
    margin: 0;
    position: relative;
    z-index: 2;
    font-family: 'Roboto', sans-serif;
}

footer::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #003366, transparent);
    z-index: 1;
    opacity: 0.3;
    animation: pulseBg 10s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseBg {
    0% {
        transform: scale(0.9);
        opacity: 0.3;
    }
    50% {
        transform: scale(1);
        opacity: 0.1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding: 60px 20px;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1em;
    }

    .features {
        flex-direction: column;
        gap: 30px;
    }

    .feature {
        max-width: 100%;
    }
}