* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Bootstrap Light Theme */
body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Section */
.tos-header {
    min-height: 40vh;
    width: 100%;
    background: linear-gradient(135deg, #37474f, #607d8b);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 0;
}

.logo-container {
    position: absolute;
    top: 0px;
    left: 45px;
    background-color: white;
    border-radius: 2px;
    padding: 10px;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 400px;
    height: auto;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 100px 15px;
    position: relative;
    margin-top: -55px;
    left: 95px;
    bottom: 28px;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.nav-links ul li::after {
    content: "";
    width: 0%;
    height: 4px;
    transition: 0.5s;
    border-radius: 2px;
    display: block;
    background: white;
    margin: auto;
}

.nav-links ul li:hover::after {
    width: 100%;
}

/* Main Content */
.container {
    padding: 60px 0;
}

/* Override Bootstrap card styling */
.card {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.08);
}

/* Headings */
h1 {
    color: #1976d2;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

h2 {
    color: #2196f3;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* Links */
a {
    color: #1976d2;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* Text colors */
.text-muted {
    color: #6c757d !important;
}

/* Footer Section */
.footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    width: 85%;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    color: white;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #555;
    margin-top: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 10px;
}

.newsletter-form button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #444;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #555;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* For Font Awesome Icons */
.social-links li a i {
    margin-right: 8px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    position: absolute;
    right: 30px;
    top: 20px;
    z-index: 1000;
}

/* Print styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
        break-inside: avoid;
        background-color: white;
    }
    
    a {
        color: #2d3748;
        text-decoration: underline;
    }
    
    h1, h2 {
        color: #2d3748;
    }
    
    .tos-header, .footer, .navbar {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tos-header {
        min-height: 30vh;
    }
    
    .logo-container {
        width: 150px;
        height: 150px;
        left: 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        height: 100vh;
        width: 80%;
        top: 0;
        right: -80%;
        text-align: left;
        z-index: 999;
        background-color: rgba(0, 0, 0, 0.9);
        transition: 0.5s;
        padding-top: 80px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul li {
        display: block;
        padding: 20px 15px;
        margin: 0;
        left: 0;
        bottom: 0;
    }
    
    .container {
        padding: 40px 15px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }
}
