/* 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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.top-bar {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    max-width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.logo {
    position: relative;
    padding: 8px;
    margin-left: 0;
}

.logo img {
    height: 75px;
    width: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0066cc;
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.8);
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header-text h1 {
    font-size: 1.8em;
    color: #0066cc;
    margin: 0;
    font-weight: 600;
}

.header-text p {
    font-size: 1em;
    color: #666;
    margin: 0;
}

.logo::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #0066cc, #00a2ff);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.logo:hover::after {
    opacity: 0.5;
}

.search-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-right: 20px;
}

.search-bar input {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    width: 400px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.2);
    outline: none;
}

.search-bar button {
    padding: 12px 20px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background-color: #0052a3;
    transform: scale(1.05);
}

.search-bar i {
    font-size: 18px;
}

/* Navigation styles */
.main-nav {
    background-color: #0066cc;
    padding: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 15px 10px;
    display: block;
    transition: background-color 0.3s;
}

.main-nav a:hover {
    background-color: #0052a3;
}

/* Hero section */
.hero {
    background-color: #f5f5f5;
    padding: 60px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(2px);
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.1);
}

.hero h1 {
    font-size: 2.5em;
    color: #0066cc;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.hero p {
    color: #333;
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
}

/* Content section */
.content {
    padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card h2 {
    color: #0066cc;
    margin-bottom: 15px;
}

.card h3 {
    color: #333;
    margin: 20px 0 10px;
}

.card ul {
    list-style-position: inside;
    margin-left: 20px;
}

/* Quick links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: transform 0.3s;
    text-align: center;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.link-card i {
    font-size: 2em;
    margin-bottom: 10px;
    color: #0066cc;
}

.link-card span {
    margin-top: 8px;
    font-size: 0.9em;
    line-height: 1.2;
}

/* Button styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0052a3;
}

/* Footer styles */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Important note styles */
.important-note {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

.important-note p {
    margin: 0;
    color: #856404;
}

.important-note strong {
    color: #533f03;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .search-bar input {
        width: 200px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 2em;
    }
}

/* Search Results Styles */
.search-results {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
    padding: 20px;
}

.search-results-content {
    max-width: 800px;
    margin: 0 auto;
}

.search-results h3 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.search-results ul {
    list-style: none;
    padding: 0;
}

.search-results li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}

.search-results li:last-child {
    border-bottom: none;
}

.search-results .close-search {
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-results .close-search:hover {
    background-color: #0052a3;
} 