/* Investment Course Blog - Main Stylesheet */
/* Stock market / MetaTrader 4 inspired design */

/* Color Variables */
:root {
    --primary-color: #0a2e4e; /* Dark blue - stock trading screen background */
    --secondary-color: #17a2b8; /* Bright blue - like a chart line */
    --accent-color: #ffc107; /* Amber/gold - like trading platform buttons */
    --warning-color: #dc3545; /* Red - negative stocks */
    --success-color: #28a745; /* Green - positive stocks */
    --dark-color: #343a40; /* Dark gray - dark mode UI */
    --light-color: #f8f9fa; /* Light gray - light mode UI */
    --gray-color: #6c757d; /* Medium gray - subdued elements */
    --border-color: #dee2e6; /* Light border color */
    --text-color: #212529; /* Primary text color */
    --text-light: #ffffff; /* Light text for dark backgrounds */
    --shadow-color: rgba(0, 0, 0, 0.15); /* Subtle shadow */
}

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

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f7fa;
    overflow-x: hidden;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px var(--shadow-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    height: 50px;
    width: auto;
}

.navbar {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin-left: 1.5rem;
}

.navbar a {
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar a:hover, .navbar a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar a.active {
    color: var(--accent-color);
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-right: 5px;
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(rgba(10, 46, 78, 0.8), rgba(10, 46, 78, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #e6a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Ticker Tape */
.ticker-tape {
    background-color: var(--dark-color);
    color: var(--text-light);
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 4px var(--shadow-color);
    position: relative;
    height: 40px;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.up {
    color: var(--success-color);
}

.down {
    color: var(--warning-color);
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.features h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0.5rem auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-color);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card ul {
    list-style-type: none;
    padding-left: 1rem;
}

.feature-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card ul li:before {
    content: "→";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Latest Posts Section */
.latest-posts {
    padding: 4rem 2rem;
    background-color: #f4f7fa;
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-color);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.post-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.2s ease;
}

.read-more:hover:after {
    margin-left: 10px;
}

.view-all {
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    scroll-snap-align: center;
    flex: 0 0 100%;
    padding: 1rem;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    opacity: 0.2;
    color: var(--accent-color);
    font-family: Georgia, serif;
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-content h4 {
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.testimonial-role {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--gray-color);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

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

.subscribe-button {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: #138496;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 3rem 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-column h3 {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #bbbbbb;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

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

.social-icons .icon {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
    margin-right: 0;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bbbbbb;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content p {
    margin-bottom: 1rem;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-btn {
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accept {
    background-color: var(--success-color);
    color: white;
}

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

.reject {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-content a {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Page Banner (for inner pages) */
.page-banner {
    background: linear-gradient(rgba(10, 46, 78, 0.8), rgba(10, 46, 78, 0.9)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 3rem 2rem;
    text-align: center;
}

.banner-content h1 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* About Page Styles */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission, .vision {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.mission h2, .vision h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission h2:before, .vision h2:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 20px;
    background-color: var(--secondary-color);
    margin-right: 10px;
    vertical-align: middle;
}

.our-story {
    margin-bottom: 3rem;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.story-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.approach-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
    text-align: center;
}

.approach-icon {
    width: 50px;
    height: 50px;
    fill: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    background-color: #f4f7fa;
    padding: 4rem 2rem;
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-color);
}

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

.team-card h3 {
    margin: 1rem 0 0.3rem;
}

.team-card p {
    margin: 0 1rem 1rem;
    font-size: 0.95rem;
}

.team-card p:nth-child(3) {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    gap: 0.5rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.team-social .icon {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
    margin-right: 0;
}

.team-social a:hover .icon {
    fill: white;
}

/* Certifications Section */
.certifications {
    padding: 4rem 2rem;
    text-align: center;
    background-color: white;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.cert-card {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.cert-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.cert-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Testimonials Brief Section */
.testimonials-brief {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.testimonials-brief h2 {
    color: white;
    margin-bottom: 2rem;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
}

.testimonials-brief .view-all {
    color: var(--accent-color);
}

/* Blog Page Styles */
.blog-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post {
    display: grid;
    grid-template-columns: 300px 1fr;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
}

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

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.post-highlights {
    margin: 1rem 0;
    padding-left: 1rem;
    list-style-type: none;
}

.post-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-highlights li:before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

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

.search-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-form button {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray-color);
}

.search-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.categories-widget ul {
    list-style: none;
}

.categories-widget ul li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.categories-widget ul li:last-child {
    border-bottom: none;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

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

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

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-post {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.popular-post-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.popular-post-content .post-date {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-newsletter-form input {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
}

.sidebar-newsletter-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.sidebar-newsletter-form button:hover {
    background-color: #138496;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination-number, .pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-number.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.pagination-number:hover, .pagination-arrow:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.pagination-number.active:hover {
    background-color: var(--secondary-color);
}

.pagination-dots {
    margin: 0 0.5rem;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.contact-info {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.info-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    fill: var(--secondary-color);
    flex-shrink: 0;
    padding: 0.5rem;
    background-color: rgba(23, 162, 184, 0.1);
    border-radius: 50%;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    margin-bottom: 0.3rem;
    color: var(--gray-color);
}

.social-contact {
    margin-top: 2rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    opacity: 0.9;
    text-decoration: none;
}

.facebook {
    background-color: #1877f2;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: white;
    margin-right: 0.5rem;
}

.contact-form-container {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.submit-button {
    grid-column: 1 / -1;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #138496;
}

/* Map Section */
.map-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-pin {
    background-color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(-20px) rotate(-45deg);
    }
    60% {
        transform: translateY(-10px) rotate(-45deg);
    }
}

.pin-icon {
    width: 25px;
    height: 25px;
    fill: white;
    transform: rotate(45deg);
}

/* FAQ Section */
.faq-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.faq-container {
    margin-top: 2rem;
}

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

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-size: 1.1rem;
    margin-bottom: 0;
    text-align: left;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    text-align: left;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    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: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: modalOpen 0.4s ease;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: color 0.3s ease;
}

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

.modal-icon {
    width: 70px;
    height: 70px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.check-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

.modal h2 {
    margin-bottom: 1rem;
    color: var(--success-color);
}

.modal p {
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.modal-close-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close-button:hover {
    background-color: #138496;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .mission-vision, .story-content, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .info-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .navbar {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .navbar li {
        margin: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .features, .latest-posts, .testimonials, .newsletter, .about-content, .team-section, .certifications, .testimonials-brief {
        padding: 2rem 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
