/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9fafb;
    width: 100vw;
    max-width: 100%;
    line-height: 1.6;
    color: #4b5563;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px); /* Adjust for 80px header + 120px footer */
    padding-top: 40px; /* Clears fixed header */
    transition: padding-top 0.3s ease; /* Smooth transition for header adjustments */
}

/* General Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Theme Colors for Consistency */
:root {
    --primary-color: #1e3a8a;
    --accent-color: #e50914;
    --background-light: #f9fafb;
    --text-dark: #374151;
    --text-muted: #4b5563;
    --nautical-blue: #0077be;
    --deep-blue: #004d7a;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.bg-light {
    background-color: var(--background-light);
}

.shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 1000px;
    }

    .main-content {
        padding-top: 70px; /* Adjust for tablets */
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 800px;
        padding: 0 15px;
    }

    .main-content {
        padding-top: 60px; /* Adjust for mobiles */
        min-height: calc(100vh - 180px); /* Adjust for smaller footer */
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }

    .main-content {
        padding-top: 50px; /* Adjust for small mobiles */
    }
}