/* 
 * InvestPro - Investment Planning Blog
 * Main Stylesheet
 * Inspired by Binance design style
 */

/* ===== VARIABLES ===== */
:root {
    /* Main colors */
    --primary-color: #F0B90B; /* Binance Yellow */
    --primary-hover: #F8D33F;
    --secondary-color: #1E2329; /* Binance Dark */
    --accent-color: #0ECB81; /* Green for positive values */
    --accent-red: #F6465D; /* Red for negative values */
    
    /* Neutral colors */
    --dark: #0B0E11;
    --dark-gray: #2B3139;
    --medium-gray: #474D57;
    --light-gray: #848E9C;
    --very-light-gray: #E6E8EA;
    --white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-xs: 12px;
    --font-size-large: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
    --font-size-hero: 48px;
    
    /* Layout */
    --container-width: 1200px;
    --container-padding: 20px;
    --section-spacing: 80px;
    --card-spacing: 20px;
    --border-radius: 6px;
    --border-radius-lg: 12px;
    
    /* Effects */
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

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

ul, ol {
    list-style: none;
}

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

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

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all var(--transition-normal);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background-color: rgba(30, 35, 41, 0.05);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: var(--very-light-gray);
    color: var(--medium-gray);
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: var(--font-size-small);
}

.center-btn {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.section-title {
    font-size: var(--font-size-xxl);
    margin-bottom: 30px;
    text-align: center;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-small);
    padding: 15px 0;
}

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

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

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

.logo img {
    height: 32px;
    width: auto;
    margin-right: 10px;
}

.nav-list {
    display: flex;
}

.nav-item {
    margin-left: 30px;
    position: relative;
}

.nav-item a {
    font-weight: 500;
    color: var(--medium-gray);
    position: relative;
    padding: 8px 0;
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/4.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: var(--font-size-hero);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: var(--font-size-xl);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: var(--font-size-xxl);
}

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

.feature-card {
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(240, 185, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    color: var(--primary-color);
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: var(--font-size-large);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--medium-gray);
}

/* ===== LATEST POSTS ===== */
.latest-posts {
    padding: var(--section-spacing) 0;
    background-color: #F5F5F5;
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: var(--font-size-xxl);
}

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.post-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--light-gray);
    font-size: var(--font-size-small);
}

.post-date {
    margin-right: 15px;
    position: relative;
}

.post-date::after {
    content: '•';
    margin-left: 15px;
}

.post-title {
    font-size: var(--font-size-large);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-excerpt {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.read-more {
    font-weight: 500;
    color: var(--primary-color);
    transition: color var(--transition-fast);
    display: inline-block;
}

.read-more:hover {
    color: var(--primary-hover);
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

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

.table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-small);
}

.comparison-table thead {
    background-color: var(--secondary-color);
    color: var(--white);
}

.comparison-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--very-light-gray);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: rgba(240, 185, 11, 0.05);
}

.comparison-table tbody tr:hover {
    background-color: rgba(240, 185, 11, 0.1);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/5.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: var(--font-size-xxl);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: var(--font-size-large);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--very-light-gray);
    margin-bottom: 10px;
}

.registration {
    font-size: var(--font-size-small);
    color: var(--light-gray);
}

.footer h3 {
    font-size: var(--font-size-large);
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-links ul li a,
.footer-legal ul li a {
    color: var(--very-light-gray);
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: var(--very-light-gray);
    margin-bottom: 15px;
}

.footer-contact svg {
    margin-right: 10px;
    flex-shrink: 0;
}

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

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

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

.social-icons a svg {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-small);
    color: var(--light-gray);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background-color: var(--white);
    box-shadow: var(--shadow-large);
    border-radius: var(--border-radius);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 20px 25px;
}

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

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

.cookie-content a {
    font-size: var(--font-size-small);
    color: var(--primary-color);
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/3.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: var(--font-size-xxl);
    margin-bottom: 15px;
}

.page-header p {
    font-size: var(--font-size-large);
}

/* ===== PARALLAX EFFECT ===== */
.parallax-section {
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* ===== ABOUT PAGE ===== */
.about-story {
    padding: var(--section-spacing) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: var(--font-size-xxl);
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--medium-gray);
}

.about-content .btn {
    margin-top: 10px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.values {
    padding: var(--section-spacing) 0;
    background-color: #F5F5F5;
}

.values h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: var(--font-size-xxl);
}

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

.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-small);
    text-align: center;
    transition: transform var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(240, 185, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    color: var(--primary-color);
    width: 30px;
    height: 30px;
}

.value-card h3 {
    font-size: var(--font-size-large);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--medium-gray);
}

.team {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.team h2,
.section-intro {
    text-align: center;
}

.team h2 {
    font-size: var(--font-size-xxl);
    margin-bottom: 20px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--medium-gray);
}

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

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-small);
    text-align: center;
    transition: transform var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

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

.team-card h3 {
    margin: 20px 0 5px;
    font-size: var(--font-size-large);
}

.team-card p {
    padding: 0 15px;
    margin-bottom: 15px;
    color: var(--medium-gray);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 15px 20px;
}

.team-social a {
    background-color: #f0f0f0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.team-social a:hover {
    background-color: var(--primary-color);
}

.stats-section {
    padding: var(--section-spacing) 0;
    background-color: var(--secondary-color);
    color: var(--white);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: var(--font-size-xxl);
}

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

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stat-label {
    font-size: var(--font-size-large);
    color: var(--very-light-gray);
}

/* ===== BLOG PAGE ===== */
.blog-content {
    padding: var(--section-spacing) 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
}

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

.blog-post-card .post-image {
    height: 240px;
}

.blog-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-card .post-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-card .post-excerpt {
    margin-bottom: 25px;
    flex-grow: 1;
}

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

.sidebar-widget h3 {
    font-size: var(--font-size-large);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--very-light-gray);
}

.search-form {
    display: flex;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--very-light-gray);
    border-radius: var(--border-radius);
    background-color: #f5f5f5;
}

.search-form button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-gray);
}

.categories-widget ul li {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-widget ul li a {
    color: var(--medium-gray);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.categories-widget ul li a span {
    color: var(--light-gray);
    font-size: var(--font-size-small);
}

.categories-widget ul li a:hover {
    color: var(--primary-color);
}

.recent-posts .recent-post {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.recent-posts .recent-post:last-child {
    margin-bottom: 0;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

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

.recent-post-content {
    padding-left: 15px;
}

.recent-post-content h4 {
    font-size: var(--font-size-small);
    margin-bottom: 5px;
}

.recent-post-content h4 a:hover {
    color: var(--primary-color);
}

.recent-post-content .post-date {
    font-size: var(--font-size-xs);
    color: var(--light-gray);
}

.recent-post-content .post-date::after {
    display: none;
}

.newsletter-widget p {
    margin-bottom: 20px;
    color: var(--medium-gray);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--very-light-gray);
    border-radius: var(--border-radius);
    background-color: #f5f5f5;
    margin-bottom: 15px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: var(--section-spacing) 0;
}

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

.contact-info h2,
.contact-form-container h2 {
    font-size: var(--font-size-xl);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.info-items {
    margin-bottom: 40px;
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(240, 185, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-icon svg {
    color: var(--primary-color);
}

.info-content h3 {
    font-size: var(--font-size-large);
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 0;
}

.social-connect h3 {
    font-size: var(--font-size-large);
    margin-bottom: 20px;
}

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

.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(--very-light-gray);
    border-radius: var(--border-radius);
    background-color: #f8f8f8;
}

.form-group textarea {
    resize: vertical;
}

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

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

.checkbox-group label {
    font-size: var(--font-size-small);
    font-weight: 400;
}

.checkbox-group a {
    color: var(--primary-color);
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-submit {
    margin-top: 20px;
}

.map-section {
    padding-bottom: var(--section-spacing);
}

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

.faq-section {
    padding: var(--section-spacing) 0;
    background-color: #F5F5F5;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: var(--font-size-xxl);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.faq-question h3 {
    font-size: var(--font-size-large);
    font-weight: 600;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

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

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

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

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

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--medium-gray);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(14, 203, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-icon svg {
    color: var(--accent-color);
}

.modal-content h2 {
    font-size: var(--font-size-xl);
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 25px;
    color: var(--medium-gray);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 60px;
        --font-size-hero: 40px;
        --font-size-xxl: 28px;
        --font-size-xl: 22px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 50px;
        --font-size-hero: 32px;
        --font-size-xxl: 24px;
        --font-size-xl: 20px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-large);
        transition: right var(--transition-normal);
        z-index: 2000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 70px 0 0;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-item a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid var(--very-light-gray);
    }
    
    .menu-toggle {
        display: block;
        z-index: 2001;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 40px;
        --font-size-hero: 28px;
        --font-size-xxl: 22px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-post-card {
        flex-direction: column;
    }
    
    .blog-post-card .post-image {
        height: 200px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
