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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 18px;
    overflow-x: hidden;
}

/* Critical Tailwind CSS Override */
.nav-menu li {
    margin-bottom: 0 !important;
}

/* Typography */
h1 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 600 !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    color: #4682B4 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: #4682B4 !important;
}

p {
    font-size: 18px !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.8 !important;
}

/* List Styling */
ul, ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.content-section ul li,
.content-section ol li {
    position: relative;
    padding-left: 2rem !important;
    margin-bottom: 1rem !important;
    font-size: 18px !important;
}

.content-section ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #FFDAB9;
    font-size: 1.2rem;
}

.nav-menu li::before,
.nav-menu li::after,
.footer-menu li::before,
.footer-menu li::after {
    display: none !important;
    content: none !important;
}

.nav-menu,
.footer-menu {
    list-style: none !important;
}

.nav-menu li,
.footer-menu li {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #4682B4 0%, #5B9BD5 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    box-shadow: none !important;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #FFDAB9;
}

.cta-button {
    background-color: #FFDAB9 !important;
    color: #333 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.cta-button:hover {
    background-color: #FFD0A0 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #4682B4;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }
}

/* Hero Section */
.hero-section {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 6rem 2rem !important;
    position: relative !important;
    color: white !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.85) 0%, rgba(91, 155, 213, 0.75) 100%);
}

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

.hero-content h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
}

.hero-content p {
    color: white !important;
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

/* Content Sections */
.content-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section:nth-child(even) {
    background-color: #f8f9fa;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 18px;
}

thead {
    background: linear-gradient(135deg, #4682B4 0%, #5B9BD5 100%);
    color: white;
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white !important;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer p {
    color: white !important;
}

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

.footer-section h3 {
    color: #FFDAB9 !important;
    margin-bottom: 1rem !important;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-menu a:hover {
    color: #FFDAB9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
}

.footer-bottom p {
    font-size: 16px !important;
    color: white !important;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem !important;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    table {
        font-size: 16px;
    }

    th, td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 0 1rem;
    }

    .hero-section {
        min-height: 400px !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
