/* Reset and 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: linear-gradient(135deg, #fafafa 0%, #f8f8f8 100%);
    min-height: 100vh;
    padding: 20px 0;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Section */
.container::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
}

/* Content Padding */
.container > * {
    padding-left: 40px;
    padding-right: 40px;
}

/* Main Title */
h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin: 30px 0 10px 0;
    font-weight: 700;
    text-align: center;
    position: relative;
}

h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
    margin: 15px auto;
    border-radius: 2px;
}

/* Last Updated */
.container > p:first-of-type {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 40px;
    font-size: 0.95em;
}

/* Section Headings */
h2 {
    font-size: 1.4em;
    color: #34495e;
    margin: 35px 0 20px 0;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
    position: relative;
}

h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
}

/* Paragraphs */
p {
    margin-bottom: 18px;
    font-size: 1.05em;
    text-align: justify;
    color: #555;
}

/* Lists */
ul {
    margin: 20px 0;
    padding-left: 0;
}

li {
    list-style: none;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
    color: #555;
    line-height: 1.6;
}

li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    color: #f39c12;
    font-weight: bold;
    font-size: 1.1em;
}

/* Contact Section Styling */
h2:last-of-type {
    color: #f39c12;
}

/* Email Styling */
strong {
    color: #f39c12;
    font-weight: 600;
}

/* Hover Effects */
li {
    transition: all 0.2s ease;
    padding: 8px 8px 8px 30px;
    border-radius: 6px;
}

li:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container > * {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    h1 {
        font-size: 2em;
        margin: 25px 0 10px 0;
    }
    
    h2 {
        font-size: 1.25em;
        margin: 25px 0 15px 0;
    }
    
    p, li {
        font-size: 1em;
    }
    
    li {
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .container > * {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.15em;
    }
    
    body {
        padding: 5px;
    }
}

/* Print Styles */
@media print {
    body {
        background: none;
        color: #000;
    }
    
    .container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .container::before {
        display: none;
    }
    
    h1, h2 {
        color: #000;
    }
    
    li::before {
        color: #000;
    }
}

/* Additional Polish */
.container {
    position: relative;
}

.container > *:last-child {
    padding-bottom: 40px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Accept Button Section */
.accept-box {
    text-align: center;
    margin: 40px 0;
    padding: 30px 0;
}

.btn-accept {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.btn-accept:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

.btn-accept:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2), 0 4px 15px rgba(243, 156, 18, 0.3);
}

/* Mobile responsiveness for button */
@media (max-width: 480px) {
    .btn-accept {
        padding: 12px 30px;
        font-size: 1em;
        min-width: 180px;
    }
    
    .accept-box {
        margin: 30px 0;
        padding: 20px 0;    
    }
}

/* Selection styling */
::selection {
    background-color: #f39c12;
    color: white;
}