/* Base Styles */
:root {
    --primary-color: #4a7aff;
    --secondary-color: #6c757d;
    --accent-color: #ffb700;
    --text-color: #333333;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-dark: #333333;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --border-color: #dee2e6;
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

a:hover {
    color: #2a57d7;
}

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

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.8em;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 6px rgba(74, 122, 255, 0.2);
}

.btn-primary:hover {
    background-color: #2a57d7;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 122, 255, 0.3);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.2);
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.3);
    color: #fff;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    height: auto;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 30px;
}

nav a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

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

/* Hero Section Styles */
.hero {
    background: linear-gradient(135deg, #4a7aff 0%, #2a57d7 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Expert Interview Section */
.expert-interview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.interview-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.interview-content img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 5px solid white;
}

.interview-text {
    flex: 1;
}

.interview-text h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Blog Posts Section */
.blog-posts {
    padding: 80px 0;
}

.blog-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    padding: 25px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* Footer Styles */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo img {
    width: 80px;
    margin-bottom: 20px;
}

.footer-links h3, .footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    margin-right: 15px;
    color: var(--primary-color);
}

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

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

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

/* Cookie Notice */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: white;
    padding: 20px 0;
    z-index: 1001;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-notice p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-notice a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-notice a:hover {
    color: #ffc730;
}

/* About Page Styles */
.about-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a7aff 0%, #2a57d7 100%);
    color: #fff;
    text-align: center;
}

.about-hero h2 {
    color: #fff;
    margin-bottom: 20px;
}

.about-hero p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.team {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.team h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    margin: 15px 0 5px;
}

.team-member p {
    padding: 0 15px;
    margin-bottom: 15px;
}

.our-values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Page Styles */
.contact-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a7aff 0%, #2a57d7 100%);
    color: #fff;
    text-align: center;
}

.contact-hero h2 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-details {
    padding-right: 30px;
}

.contact-details h3, .contact-form h3 {
    margin-bottom: 30px;
    position: relative;
}

.contact-details h3::after, .contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
}

.social-links {
    margin-top: 40px;
}

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

.form-group {
    margin-bottom: 25px;
}

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

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

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 122, 255, 0.25);
    outline: none;
}

.map-section {
    padding: 40px 0 80px;
    background-color: var(--bg-light);
}

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

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--danger-color);
}

.modal-content h2 {
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 30px;
}

/* Blog Post Page Styles */
.post-header {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.post-header .container {
    position: relative;
    z-index: 1;
}

.post-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.1rem;
}

.post-content {
    padding: 60px 0;
}

.post-content .container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.post-body {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.post-body h2, .post-body h3 {
    color: var(--primary-color);
    margin-top: 40px;
}

.post-body ul, .post-body ol {
    margin-bottom: 25px;
}

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

.post-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-image img {
    width: 100%;
    display: block;
}

.image-caption {
    padding: 15px;
    background-color: var(--bg-light);
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    display: block;
}

.post-quote {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    margin: 40px 0;
    border-radius: var(--border-radius);
    position: relative;
}

.post-quote p {
    margin: 0;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
}

.post-quote::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
}

.post-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    background-color: var(--bg-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.post-navigation {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

.post-sidebar {
    align-self: flex-start;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 15px;
}

.sidebar-widget a {
    color: var(--text-color);
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.sidebar-widget a:hover, .sidebar-widget a.active {
    color: var(--primary-color);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscribe-form input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.subscribe-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .interview-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .interview-content img {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-content .container {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        padding-right: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .btn-primary, .btn-secondary {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
