/* Base styling */
:root {
    --primary-color: #2c6dd1;
    --primary-color-dark: #1b5bbd;
    --primary-color-light: #4a85e2;
    --secondary-color: #ff9900;
    --secondary-color-dark: #e68800;
    --secondary-color-light: #ffad33;
    --text-color: #333333;
    --text-color-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f5f8fd;
    --border-color: #e6e6e6;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --font-primary: 'Roboto', 'Arial', sans-serif;
    --font-secondary: 'Montserrat', 'Helvetica', sans-serif;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p, ul, ol {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

section.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-color-dark);
    color: white;
}

.btn-tertiary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-tertiary:hover {
    background-color: #f0f0f0;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.main-nav {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--background-alt);
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 2.8rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color-light);
}

/* Features Section */
.features {
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Latest Posts Section */
.latest-posts {
    background-color: var(--background-alt);
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
}

.post-content p {
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.view-all {
    text-align: center;
}

/* "5 Things You Didn't Know" Section */
.did-you-know {
    background-color: var(--primary-color);
    padding: 50px 0;
}

.info-box {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.info-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.info-box li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary-color);
}

/* CTA Section */
.cta {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: #f0f0f0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    color: #b3b3b3;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #b3b3b3;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-col address {
    font-style: normal;
    color: #b3b3b3;
}

.footer-col address p {
    margin-bottom: 10px;
}

.footer-col address i {
    margin-right: 10px;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 14px;
}

.newsletter-form button {
    padding: 0 15px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color-dark);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin-bottom: 0;
    color: #b3b3b3;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-links a {
    color: #b3b3b3;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text h3 {
    margin-bottom: 5px;
    color: white;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 8px 16px;
    font-size: 14px;
}

/* Blog Page Styles */
.blog-posts {
    background-color: var(--background-color);
}

.blog-post {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.blog-post .post-image {
    height: 300px;
}

.blog-post .post-content {
    padding: 30px;
    flex: 1;
}

.blog-post h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-color-light);
    font-size: 14px;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 5px;
}

.blog-post h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.blog-post ul, .blog-post ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-post li {
    margin-bottom: 10px;
}

/* About Us Page Styles */
.about-us {
    background-color: var(--background-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mission, .vision, .values {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.mission:hover, .vision:hover, .values:hover {
    transform: translateY(-5px);
}

.mission i, .vision i, .values i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
}

.member-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member p {
    padding: 0 20px 20px;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
    margin-bottom: 20px;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 5rem;
    color: var(--primary-color-light);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-color-light);
    margin-bottom: 0;
}

/* Contact Page Styles */
.contact-section {
    background-color: var(--background-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-info h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 10px;
}

.info-note {
    font-size: 14px;
    color: var(--text-color-light);
}

.social-contact h3 {
    margin-bottom: 15px;
}

.contact-form-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.map-container {
    margin-top: 60px;
}

.map-container h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-section {
    background-color: var(--background-alt);
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalOpen 0.4s;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color-light);
}

.modal-body {
    padding: 40px;
    text-align: center;
}

.modal-body i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-body h2 {
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 25px;
}

/* Legal Pages Styles */
.disclaimer-content, .privacy-content, .cookie-policy-content, .terms-content {
    background-color: var(--background-color);
}

.legal-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.legal-section, .policy-section {
    margin-bottom: 40px;
}

.legal-section h2, .policy-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section h3, .policy-section h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section p, .policy-section p {
    margin-bottom: 15px;
}

.legal-section ul, .policy-section ul,
.legal-section ol, .policy-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section li, .policy-section li {
    margin-bottom: 10px;
}

.legal-section a, .policy-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-section a:hover, .policy-section a:hover {
    color: var(--primary-color-dark);
}

.legal-section address, .policy-section address {
    font-style: normal;
    padding: 15px;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.last-updated {
    text-align: right;
    color: var(--text-color-light);
    font-style: italic;
    margin-top: 20px;
}

/* Cookie Settings */
.cookie-settings-section {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.cookie-settings-section h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cookie-settings {
    margin-bottom: 30px;
}

.cookie-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-type:last-child {
    border-bottom: none;
}

.cookie-type h3 {
    margin-bottom: 5px;
}

.cookie-type p {
    margin-bottom: 0;
    color: var(--text-color-light);
    font-size: 14px;
    max-width: 70%;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: var(--transition);
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + label {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + label:before {
    transform: translateX(26px);
}

.toggle-switch.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.toggle-switch.disabled label {
    cursor: not-allowed;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Glow Effect for Buttons */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    pointer-events: none;
    transition: transform 0.6s;
    opacity: 0;
}

.glow-effect:hover:before {
    transform: rotate(30deg) translate(10%, 10%);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav li {
        margin: 0;
    }

    .main-nav a {
        display: block;
        padding: 10px 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-post {
        flex-direction: column;
    }

    .blog-post .post-image {
        height: 200px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    section {
        padding: 40px 0;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}
