/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.navbar {
    background-color: #003366;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #003366 0%, #1a5a99 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-box button {
    padding: 12px 24px;
    background-color: #c41e3a;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #a01830;
}

/* Topics Grid */
.topics {
    padding: 4rem 0;
}

.topics h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #003366;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.topic-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.topic-card h3 {
    color: #003366;
    margin-bottom: 0.5rem;
}

.topic-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Quick Links */
.quick-links {
    padding: 3rem 0;
    background-color: white;
}

.quick-links h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #003366;
}

.link-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #c41e3a;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #a01830;
}

.btn-secondary {
    background-color: #003366;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #1a5a99;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    opacity: 0.8;
}

/* Blog Listing Page */
.blog-header {
    background: linear-gradient(135deg, #003366 0%, #1a5a99 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.blog-header h1 {
    font-size: 2rem;
}

.blog-list {
    padding: 3rem 0;
}

.blog-list .container {
    max-width: 800px;
}

.blog-post {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-post h2 {
    color: #003366;
    margin-bottom: 0.5rem;
}

.blog-post .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post p {
    color: #555;
}

.blog-post a {
    color: #c41e3a;
    font-weight: 500;
}

.blog-post a:hover {
    text-decoration: underline;
}

/* Article Page */
.article-content {
    padding: 3rem 0;
}

.article-content .container {
    max-width: 800px;
}

.article-content h1 {
    color: #003366;
    margin-bottom: 1rem;
}

.article-meta {
    color: #888;
    margin-bottom: 2rem;
}

.article-body {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-body h2 {
    color: #003366;
    margin: 2rem 0 1rem;
}

.article-body h3 {
    color: #333;
    margin: 1.5rem 0 0.75rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* FAQ Page */
.faq-section {
    padding: 3rem 0;
}

.faq-section .container {
    max-width: 800px;
}

.faq-section h1 {
    text-align: center;
    color: #003366;
    margin-bottom: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    font-weight: 600;
    color: #003366;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: #555;
}

/* Contact Page */
.contact-section {
    padding: 3rem 0;
}

.contact-section .container {
    max-width: 600px;
}

.contact-section h1 {
    text-align: center;
    color: #003366;
    margin-bottom: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: #c41e3a;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #a01830;
}

/* Floating Call Button */
.call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #c41e3a;
    color: white;
    padding: 15px 24px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.call-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

.call-btn span {
    font-size: 1.2rem;
}

/* Two Column Section */
.two-column-section {
    padding: 4rem 0;
    background-color: white;
}

.column-row {
    display: flex;
    gap: 2rem;
}

.column-half {
    flex: 1;
}

.column-half h2 {
    color: #003366;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Blog Card */
.blog-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.blog-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    color: #003366;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.blog-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.read-more-btn {
    display: inline-block;
    color: #c41e3a;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
}

.view-all-btn {
    display: block;
    text-align: center;
    background-color: #003366;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.view-all-btn:hover {
    background-color: #1a5a99;
}

/* Deal Card */
.deal-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.deal-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.deal-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #c41e3a;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.deal-card h3 {
    color: #003366;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.deal-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.book-btn {
    display: inline-block;
    background-color: #c41e3a;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.book-btn:hover {
    background-color: #a01830;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .search-box button {
        border-radius: 4px;
    }

    .topics {
        padding: 2rem 0;
    }

    .topic-grid {
        grid-template-columns: 1fr;
    }

    .quick-links {
        padding: 2rem 0;
    }

    .link-buttons {
        flex-direction: column;
        padding: 0 1rem;
    }

    .link-buttons a {
        text-align: center;
        width: 100%;
    }

    .blog-header {
        padding: 2rem 0;
    }

    .blog-header h1 {
        font-size: 1.5rem;
    }

    .blog-list, .article-content, .faq-section, .contact-section {
        padding: 2rem 0;
    }

    .blog-post, .article-body, .contact-form {
        padding: 1.25rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .article-body h2, .article-body h3 {
        font-size: 1.2rem;
    }

    .call-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .two-column-section {
        padding: 2rem 0;
    }

    .column-row {
        flex-direction: column;
    }

    .blog-card img, .deal-card img {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .topic-card {
        padding: 1.25rem;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .call-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Reviews Section */
.reviews-preview {
    padding: 60px 0;
    background: #f8f9fa;
}

.rating-summary {
    text-align: center;
    margin-bottom: 30px;
}

.rating-summary .stars {
    font-size: 36px;
    color: #f5c518;
    display: block;
    margin-bottom: 10px;
}

.rating-summary .rating-text {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.rating-summary .rating-count {
    color: #666;
    display: block;
    margin-top: 5px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.review-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.review-card .review-stars {
    color: #f5c518;
    font-size: 18px;
    margin-bottom: 10px;
}

.review-card h3 {
    margin: 10px 0;
    font-size: 18px;
}

.review-card p {
    color: #555;
    font-style: italic;
    line-height: 1.6;
}

.review-card .reviewer-name {
    display: block;
    margin-top: 15px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

/* Reviews Page */
.reviews-list {
    padding: 40px 0;
}

.reviews-form {
    padding: 40px 0;
    background: #f8f9fa;
}

.reviews-form form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.reviews-form label {
    display: block;
    margin-bottom: 15px;
}

.reviews-form input,
.reviews-form select,
.reviews-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

.reviews-form textarea {
    resize: vertical;
}

.reviews-list .review-card {
    margin-bottom: 20px;
}

.reviews-list .review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviews-list .review-name {
    font-weight: bold;
}

.reviews-list .review-stars {
    color: #f5c518;
}


/* Q&A Section */
.qa-section {
    padding: 40px 0;
    background: #fff;
}

.qa-item {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #0069c0;
}

.qa-item h3 {
    color: #0069c0;
    margin-bottom: 10px;
}

.qa-item p {
    color: #333;
    line-height: 1.6;
}

.footer-links {
    margin-top: 20px;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 5px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.content-section {
    padding: 40px 0;
}

.content-section h2 {
    color: #0069c0;
    margin-bottom: 20px;
}

.content-section h3 {
    color: #333;
    margin: 25px 0 15px;
}

.content-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-section li {
    margin: 8px 0;
    line-height: 1.6;
}

.content-section p {
    line-height: 1.8;
    color: #333;
}