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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9fb;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

/* Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0f172a;
    text-decoration: none;
}

.logo span {
    color: #0284c7; /* Water / River Blue Accent */
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0284c7;
}

.btn-nav {
    background-color: #0284c7;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 5px;
}

.btn-nav:hover {
    background-color: #0369a1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: #0284c7;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #0369a1;
}

/* About & Contact Sections */
.about, .contact {
    padding: 80px 0;
    text-align: center;
}

.about p, .contact p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #64748b;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 1.2rem;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #0284c7;
    border-color: transparent;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 35px 0;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Contact Details */
.contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-item {
    background: #f1f5f9;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Compliance Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #ffffff;
    margin: 6% auto;
    padding: 35px;
    border-radius: 12px;
    max-width: 680px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: left;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 22px;
    font-size: 30px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #0f172a;
}

.modal h3 {
    margin-bottom: 15px;
    color: #0f172a;
    font-size: 1.5rem;
}

.modal p, .modal ul {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.modal ul {
    padding-left: 24px;
}