/* Base Styles & Reset */
:root {
    --primary-color: #0077b6;
    --primary-dark: #005f8d;
    --primary-light: #00b4d8;
    --secondary-color: #ffc107;
    --background-color: #f8f9fa;
    --text-color: #212529;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --white-color: #ffffff;
    --dark-color: #343a40;
    --body-font: 'Roboto', 'Segoe UI', sans-serif;
    --heading-font: 'Montserrat', 'Segoe UI', sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 5px;
    --container-width: 1200px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

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

ul {
    list-style: none;
}

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

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

section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Button Styles */
.cta-button, 
button[type="submit"],
.read-more {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.cta-button:hover, 
button[type="submit"]:hover,
.read-more:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white-color);
}

.read-more {
    font-size: 0.9rem;
    padding: 8px 15px;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Neon Button */
.neon-button {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: var(--white-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: 0.5s;
    cursor: pointer;
    box-shadow: 0 0 5px var(--primary-color),
                0 0 25px var(--primary-color);
}

.neon-button:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 0 5px var(--primary-color),
                0 0 25px var(--primary-color),
                0 0 50px var(--primary-color),
                0 0 100px var(--primary-color);
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.neon-button:hover::before {
    left: 100%;
}

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

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

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav ul li a i {
    margin-right: 5px;
}

nav ul li a.active {
    color: var(--primary-color);
}

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

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

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

/* 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-color);
    text-align: center;
    padding: 120px 0;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Posts Section */
.featured-posts {
    background-color: var(--white-color);
}

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

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

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.post-content {
    padding: 20px;
}

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

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

/* Calculator Preview Section */
.calculator-preview {
    background-color: #f0f8ff;
    padding: 80px 0;
}

.calculator-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.calculator-text {
    flex: 1;
}

.calculator-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.calculator-image {
    flex: 1;
    position: relative;
}

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

.calculator-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    top: 20px;
    left: 20px;
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.2;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 80px 0;
}

.newsletter h2 {
    color: var(--white-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 70px 0 20px;
}

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

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--white-color);
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-links ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.social-icons {
    display: flex;
}

.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-left: 10px;
    color: var(--white-color);
    transition: var(--transition);
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white-color);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content {
    width: 100%;
}

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

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

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

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

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

.cookie-btn.settings {
    background-color: var(--text-light);
    color: var(--white-color);
}

.cookie-btn.reject {
    background-color: var(--danger-color);
    color: var(--white-color);
}

.cookie-btn:hover {
    opacity: 0.9;
}

/* Page Header */
.page-header {
    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-color);
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--white-color);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Page Styles */
.blog-content {
    padding: 60px 0;
}

.search-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.search-bar {
    display: flex;
    width: 60%;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 1rem;
}

.search-bar button {
    padding: 0 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
}

.filter-options select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--white-color);
    font-size: 1rem;
    min-width: 200px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

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

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.blog-post .post-details {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.blog-post h2 {
    font-size: 1.4rem;
    padding: 20px 20px 10px;
}

.blog-post p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.blog-post .read-more {
    margin: 0 20px 20px;
    display: inline-block;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    border-radius: var(--radius);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.pagination a:hover {
    background-color: var(--primary-light);
    color: var(--white-color);
}

.pagination a.next {
    width: auto;
    padding: 0 15px;
}

.pagination a.next i {
    margin-left: 5px;
}

.pagination span {
    color: var(--text-light);
}

/* Calculator Page Styles */
.calculator-section {
    background-color: var(--white-color);
    padding: 60px 0;
}

.calculator-wrapper {
    margin-bottom: 50px;
}

.calculator-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.calculator-intro h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.calculator-intro p {
    color: var(--text-light);
}

.calculator-form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.calculator-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
}

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

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

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

.calculator-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

#reset-btn {
    background-color: var(--text-light);
    color: var(--white-color);
    padding: 12px 25px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

#reset-btn:hover {
    background-color: var(--dark-color);
}

.calculator-result {
    flex: 1;
    min-width: 300px;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
}

.calculator-result h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.result-container {
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.result-label {
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    color: var(--primary-color);
}

.result-chart {
    height: 200px;
    background-color: var(--background-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.chart-placeholder {
    text-align: center;
    color: var(--text-light);
}

.chart-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.result-disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: var(--radius);
}

.result-disclaimer p {
    display: flex;
    align-items: center;
}

.result-disclaimer i {
    margin-right: 8px;
    color: var(--primary-color);
}

.calculator-tips {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
}

.calculator-tips h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.calculator-tips ul {
    padding-left: 10px;
}

.calculator-tips li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.calculator-tips li i {
    color: var(--success-color);
    margin-right: 10px;
    margin-top: 3px;
}

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

.about-intro {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

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

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    top: 20px;
    left: 20px;
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.2;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

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

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

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

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

.mission h3, .vision h3, .values h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.team-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.3rem;
    margin: 20px 0 5px;
}

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

.member-bio {
    padding: 0 20px 20px;
    color: var(--text-light);
}

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

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

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

.achievements {
    margin-bottom: 60px;
}

.achievements h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

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

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

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.achievement-text {
    color: var(--text-light);
}

.testimonials {
    margin-bottom: 60px;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.testimonial {
    min-width: 45%;
    scroll-snap-align: start;
    background-color: var(--white-color);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: var(--radius);
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: #f8f9fa;
    transform: rotate(45deg);
}

.testimonial-content p {
    position: relative;
    z-index: 1;
}

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

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

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

.author-info p {
    color: var(--text-light);
}

.cta-section {
    text-align: center;
    background-color: #f0f8ff;
    padding: 60px 30px;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page Styles */
.contact-section {
    background-color: var(--white-color);
    padding: 60px 0;
}

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

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

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.contact-details {
    margin-bottom: 30px;
}

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

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 30px;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
}

.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.social-contact .social-icons {
    justify-content: flex-start;
}

.social-contact .social-icons a {
    margin: 0 10px 0 0;
}

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

.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form-container > p {
    margin-bottom: 30px;
    color: var(--text-light);
}

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

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

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

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

.contact-form textarea {
    resize: vertical;
}

.required {
    color: var(--danger-color);
}

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

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

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

.map-section {
    padding: 60px 0;
}

.map-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

.faq-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

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

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

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

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

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

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

.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;
}

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

.modal-content {
    background-color: var(--white-color);
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.thank-you-message {
    text-align: center;
}

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

.thank-you-message h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.thank-you-message p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.modal-button {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.modal-button:hover {
    background-color: var(--primary-dark);
}

/* Blog Post Page Styles */
.blog-post-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/1.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.post-category {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 10px;
    border-radius: 3px;
}

.blog-post-hero h1 {
    font-size: 2.8rem;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--white-color);
}

.post-social-share {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.post-social-share span {
    margin-right: 10px;
}

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

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

.blog-post-content {
    padding: 60px 0;
    background-color: var(--white-color);
}

.blog-post-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.post-main {
    background-color: var(--white-color);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

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

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

.post-introduction {
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.post-section {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.post-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.post-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.post-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.post-section ul li::before {
    content: "\2022";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.stock-analysis {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.stock-analysis h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stock-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.stock-image {
    flex: 0 0 150px;
}

.stock-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
}

.stock-details {
    flex: 1;
}

.stock-details p {
    margin-bottom: 5px;
}

.analyst-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white-color);
    padding: 10px 15px;
    border-radius: var(--radius);
}

.rating strong {
    color: var(--success-color);
}

.rating-stars {
    color: var(--secondary-color);
}

.strategy-box, .risk-warning {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.strategy-box h3, .risk-warning h3 {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.strategy-box h3 i, .risk-warning h3 i {
    margin-right: 10px;
}

.risk-warning h3 {
    color: var(--danger-color);
}

.risk-warning h3 i {
    color: var(--danger-color);
}

.post-conclusion {
    padding: 30px;
    background-color: #f0f8ff;
    border-bottom: 1px solid var(--border-color);
}

.post-conclusion h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.post-tags {
    padding: 20px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

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

.post-tags a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 3px;
    font-size: 0.9rem;
    color: var(--text-color);
}

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

.author-box {
    padding: 30px;
    display: flex;
    gap: 20px;
    background-color: #f8f9fa;
}

.author-image {
    flex: 0 0 100px;
}

.author-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

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

.author-info p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.author-social {
    display: flex;
    gap: 10px;
}

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

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

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-post {
    display: flex;
    gap: 15px;
}

.sidebar-post img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

.sidebar-post-info {
    flex: 1;
}

.sidebar-post-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.sidebar-post-info .post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.sidebar-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    margin-top: 15px;
    transition: var(--transition);
}

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

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.sidebar-form button {
    padding: 12px 15px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-form button:hover {
    background-color: var(--primary-dark);
}

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

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

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

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

.categories-widget span {
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.post-navigation {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.post-navigation .container {
    display: flex;
    justify-content: space-between;
}

.prev-post, .next-post {
    flex: 0 0 48%;
}

.prev-post a, .next-post a {
    display: flex;
    align-items: center;
    background-color: var(--white-color);
    padding: 15px 20px;
    border-radius: var(--radius);
    color: var(--text-color);
    transition: var(--transition);
}

.prev-post a:hover, .next-post a:hover {
    background-color: var(--primary-light);
    color: var(--white-color);
}

.prev-post a {
    text-align: left;
}

.next-post a {
    text-align: right;
    flex-direction: row-reverse;
}

.prev-post i, .next-post i {
    font-size: 1.2rem;
    margin: 0 10px;
}

.prev-post span, .next-post span {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.prev-post h4, .next-post h4 {
    font-size: 1.1rem;
    margin: 0;
}

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

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white-color);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background-color: var(--white-color);
    color: var(--primary-color);
    font-weight: 600;
}

.cta-section .cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Related Posts Section */
.related-posts {
    padding: 60px 0;
    background-color: var(--background-color);
}

.related-posts h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.posts-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.post-card {
    background-color: var(--white-color);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.post-card h3 {
    font-size: 1.2rem;
    padding: 20px 20px 10px;
}

.post-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.post-card .read-more {
    margin: 0 20px 20px;
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .calculator-content {
        flex-direction: column;
    }
    
    .calculator-image::before {
        display: none;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .about-image::before {
        display: none;
    }
    
    .blog-post-content .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .testimonial {
        min-width: 100%;
    }
    
    .post-navigation .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post, .next-post {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--radius);
    }
    
    .search-filter {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .blog-post h2 {
        font-size: 1.2rem;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-hero h1 {
        font-size: 1.8rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
}
