/* 
* Inforfratt - Financial Services CSS
* A clean, professional stylesheet for a financial services website
*/

/* ----------------- */
/* Table of Contents */
/* ----------------- */
/*
1. CSS Variables
2. Base Styles & Typography
3. Layout & Grid
4. Header & Navigation
5. Hero Section
6. Common Section Styles
7. Services Section
8. About Section
9. Team Section
10. Testimonials Section
11. Blog Section
12. Contact Section
13. Forms & Inputs
14. Footer
15. Cookie Consent
16. Modal Styles
17. Legal Pages
18. Blog & Article Pages
19. Utility Classes
20. Animations
*/

/* ----------------- */
/* 1. CSS Variables */
/* ----------------- */
:root {
    /* Primary Colors */
    --primary-color: #1E4B91;
    --primary-dark: #0D3B7C;
    --primary-light: #3A6CB5;
    
    /* Secondary Colors */
    --secondary-color: #17A589;
    --secondary-dark: #0E8572;
    --secondary-light: #2ECBA5;
    
    /* Neutral Colors */
    --dark: #112233;
    --dark-medium: #445566;
    --medium: #778899;
    --light-medium: #AABBCC;
    --light: #E5E9F0;
    --white: #FFFFFF;
    
    /* Alert Colors */
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;
    
    /* Typography */
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
    
    /* Sizes */
    --header-height: 80px;
    --container-max-width: 1200px;
    --container-padding: 20px;
    --section-spacing: 100px;
    --border-radius: 6px;
    --border-radius-large: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* -------------------------- */
/* 2. Base Styles & Typography */
/* -------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.35rem;
}

h5 {
    font-size: 1.15rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--dark-medium);
}

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

a:hover, a:focus {
    color: var(--primary-dark);
    text-decoration: none;
}

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

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ------------------ */
/* 3. Layout & Grid */
/* ------------------ */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

section {
    padding: var(--section-spacing) 0;
}

/* ------------------------ */
/* 4. Header & Navigation */
/* ------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-small);
    z-index: 1000;
    transition: transform var(--transition-medium), background-color var(--transition-medium);
}

.header.sticky {
    transform: translateY(-100%);
}

.header.sticky.show {
    transform: translateY(0);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

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

.logo img {
    max-height: 45px;
    width: auto;
}

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

.main-nav li {
    margin: 0 10px;
}

.main-nav li:last-child {
    margin-right: 0;
}

.main-nav a {
    display: block;
    padding: 8px 10px;
    color: var(--dark);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.main-nav a.btn {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    margin-left: 10px;
    COLOR: #FFF !important;
}

.main-nav a.btn:after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* -------------------- */
/* 5. Hero Section */
/* -------------------- */
.hero-section {
    padding-top: calc(var(--section-spacing) + var(--header-height));
    padding-bottom: var(--section-spacing);
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1.2;
    color: var(--dark);
}

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

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* -------------------------- */
/* 6. Common Section Styles */
/* -------------------------- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-medium);
}

/* -------------------- */
/* 7. Services Section */
/* -------------------- */
.services-section {
    background-color: var(--white);
}

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

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

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 80%;
    max-height: 80%;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--dark-medium);
    margin-bottom: 0;
}

/* -------------------- */
/* 8. About Section */
/* -------------------- */
.about-section {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 25px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* -------------------- */
/* 9. Team Section */
/* -------------------- */
.team-section {
    background-color: var(--white);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-small);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    text-align: center;
    max-width: 280px;
}

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

.member-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

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

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

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.member-desc {
    padding: 0 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--dark-medium);
    margin: 0 5px;
    transition: all var(--transition-fast);
}

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

/* ------------------------ */
/* 10. Testimonials Section */
/* ------------------------ */
.testimonials-section {
    background-color: var(--light);
    position: relative;
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial {
    min-width: 100%;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
    margin: 10px;
    text-align: center;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-icon {
    margin-bottom: 20px;
}

.testimonial-icon img {
    width: 60px;
    height: auto;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

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

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.testimonial-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    box-shadow: var(--shadow-small);
    cursor: pointer;
    color: var(--dark);
    transition: all var(--transition-fast);
}

.testimonial-controls button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* -------------------- */
/* 11. Blog Section */
/* -------------------- */
.blog-section {
    background-color: var(--white);
}

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

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

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

.blog-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--medium);
    margin-bottom: 10px;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--dark);
    transition: color var(--transition-fast);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

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

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

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

/* -------------------- */
/* 12. Contact Section */
/* -------------------- */
.contact-section {
    background-color: var(--light);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

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

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

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

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-small);
    transition: all var(--transition-fast);
}

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

.subscription-form {
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
}

.subscription-form h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.subscription-form p {
    margin-bottom: 25px;
}

/* -------------------- */
/* 13. Forms & Inputs */
/* -------------------- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-medium);
    border-radius: var(--border-radius);
    background-color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 75, 145, 0.2);
}

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

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

.form-group.checkbox label {
    font-weight: 400;
}

.error-message {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* -------------------- */
/* 14. Footer */
/* -------------------- */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding-top: 80px;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-logo img {
    max-height: 45px;
}

.footer-col p {
    color: var(--light-medium);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

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

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

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

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

.footer-col ul li a {
    color: var(--light-medium);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: inline-block;
}

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

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

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

.copyright {
    color: var(--light-medium);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--light-medium);
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

/* -------------------- */
/* 15. Cookie Consent */
/* -------------------- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    flex-direction: column;
}

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

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

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

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* -------------------- */
/* 16. Modal Styles */
/* -------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
    max-width: 600px;
    width: 90%;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--dark-medium);
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

.cookie-option {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light);
}

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

.cookie-option input {
    margin-right: 10px;
}

.cookie-option label {
    font-weight: 600;
    color: var(--dark);
}

.cookie-option p {
    margin-top: 5px;
    margin-left: 25px;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--dark-medium);
}

/* -------------------- */
/* 17. Legal Pages */
/* -------------------- */
.legal-section {
    padding: calc(var(--section-spacing) + var(--header-height)) 0 var(--section-spacing);
}

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

.legal-content h1 {
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.last-updated {
    display: block;
    color: var(--medium);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.legal-section-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--dark);
}

.legal-section-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--dark);
}

.legal-section-content p,
.legal-section-content ul,
.legal-section-content ol {
    margin-bottom: 20px;
    color: var(--dark-medium);
}

.legal-section-content ul li,
.legal-section-content ol li {
    margin-bottom: 10px;
}

.contact-details {
    background-color: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.cookie-management {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--light);
}

.cookie-management h2 {
    margin-bottom: 20px;
}

/* -------------------- */
/* 18. Blog & Article Pages */
/* -------------------- */
.blog-hero {
    padding: calc(var(--section-spacing) + var(--header-height)) 0 var(--section-spacing);
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

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

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

.blog-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
}

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

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

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

.blog-item .blog-image {
    flex: 0 0 35%;
    height: auto;
}

.blog-item .blog-content {
    flex: 1;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--medium);
}

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

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

.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

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

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

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

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid var(--light);
    padding: 10px 0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--dark-medium);
    transition: color var(--transition-fast);
}

.category-list a:hover {
    color: var(--primary-color);
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 20px;
}

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

.recent-posts li a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-image {
    flex: 0 0 70px;
    height: 70px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.post-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
    color: var(--dark);
    transition: color var(--transition-fast);
}

.post-info span {
    font-size: 0.85rem;
    color: var(--medium);
}

.recent-posts li a:hover h4 {
    color: var(--primary-color);
}

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

.sidebar-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 10px;
    border: 1px solid var(--light-medium);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.sidebar-form button {
    width: 100%;
}

.article-section {
    padding: calc(var(--section-spacing) + var(--header-height)) 0 var(--section-spacing);
    background-color: var(--white);
}

.article-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.article-header {
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--medium);
    font-size: 0.95rem;
}

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

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

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.article-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 10px;
}

.article-body h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 10px;
}

.article-callout {
    background-color: var(--light);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-callout p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--light);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags a {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark-medium);
    margin-right: 8px;
    margin-bottom: 8px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share span {
    font-weight: 600;
    color: var(--dark);
}

.article-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--dark-medium);
    transition: all var(--transition-fast);
}

.article-share a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.related-posts {
    margin-top: 60px;
}

.related-posts h3 {
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

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

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

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

.related-post h4 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-post h4 a {
    color: var(--dark);
    transition: color var(--transition-fast);
}

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

.related-post-date {
    display: block;
    padding: 0 15px 15px;
    font-size: 0.85rem;
    color: var(--medium);
}

.author-box {
    text-align: center;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

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

.author-box h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.author-box p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

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

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--dark-medium);
    transition: all var(--transition-fast);
}

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

.thank-you-section {
    padding: calc(var(--section-spacing) + var(--header-height)) 0 var(--section-spacing);
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--shadow-medium);
}

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

.thank-you-content h1 {
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.submission-info {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.submission-info p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.submission-info p:last-child {
    margin-bottom: 0;
}

.thank-you-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* -------------------- */
/* 19. Utility Classes */
/* -------------------- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.my-3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.pt-1 {
    padding-top: 0.25rem;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.pt-3 {
    padding-top: 1rem;
}

.pb-3 {
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pt-4 {
    padding-top: 1.5rem;
}

.pb-4 {
    padding-bottom: 1.5rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.pt-5 {
    padding-top: 3rem;
}

.pb-5 {
    padding-bottom: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-inline-block {
    display: inline-block;
}

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

.align-items-center {
    align-items: center;
}

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

.justify-content-between {
    justify-content: space-between;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.visible {
    visibility: visible;
    opacity: 1;
}

/* -------------------- */
/* 20. Animations */
/* -------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

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

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-medium);
    z-index: 99;
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}
