/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --primary-color: #FF3F3A;
    --secondary-color: #F75E05;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    --peach-bg: #FFF5F3;
    --light-gradient: linear-gradient(135deg, #FFF5F3 0%, #FFE8E3 100%);
    
    --font-family: "Lato", sans-serif;
    
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    --box-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    --transition: all 0.3s ease;
}

/* ========================================
   GLOBAL STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

p {
    margin-bottom: 1rem;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    position: relative;
}

/* ========================================
   HEADER
======================================== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark-color);
}

.logo-main {
    color: var(--dark-color);
}

.logo-sub {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

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

/* ========================================
   BUTTONS
======================================== */
.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
}

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

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

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

.btn-outline-dark:hover {
    background-color: var(--dark-color);
    color: var(--white);
}

.btn-outline-secondary {
    border: 2px solid var(--gray-300);
    color: var(--dark-color);
}

.btn-outline-secondary:hover {
    background-color: var(--gray-200);
}

.btn-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.btn-link-arrow:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 245, 243, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.hero-buttons {
    margin-top: 2rem;
}

/* ========================================
   ABOUT INTRO SECTION
======================================== */
.about-intro {
    background-color: var(--white);
}

.content-box {
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

/* ========================================
   LATEST UPDATES SECTION
======================================== */
.bg-light-gradient {
    background: var(--light-gradient);
}

.article-card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow-sm);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

.article-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.badge-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ========================================
   POPULAR TOPICS SECTION
======================================== */
.popular-topics {
    background-color: var(--peach-bg);
}

.bg-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    z-index: 0;
}

.bg-pattern-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    height: 100%;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

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

.topic-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.topic-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* ========================================
   MARKET TRENDS SECTION
======================================== */
.chart-wrapper {
    position: relative;
}

.chart-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

/* ========================================
   EDUCATIONAL CONTENT SECTION
======================================== */
.bg-light-peach {
    background-color: var(--peach-bg);
}

.education-block {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.education-block h3 {
    color: var(--dark-color);
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 1rem;
}

.education-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.education-image {
    position: relative;
}

.education-image::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

/* ========================================
   OUR APPROACH SECTION
======================================== */
.approach-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.approach-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-icon .material-icons-outlined {
    font-size: 2.5rem;
    color: var(--white);
}

.approach-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ========================================
   FEATURED ARTICLES SECTION
======================================== */
.featured-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.featured-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.featured-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.featured-card p {
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.featured-card .btn-link-arrow {
    padding-left: 1rem;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background-color: var(--gray-900);
}

.footer h5, .footer h6 {
    color: var(--white);
}

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

.footer-links a {
    color: var(--gray-300);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}

.footer-contact .material-icons-outlined {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* ========================================
   COOKIE POPUP
======================================== */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.4s ease;
}

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

.cookie-content h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--primary-color);
    font-weight: 600;
}

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

.cookie-buttons .btn {
    flex: 1;
}

/* ========================================
   PAGE HERO (Secondary Pages)
======================================== */
.page-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--peach-bg) 0%, var(--white) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* ========================================
   NEWS & UPDATES STYLES
======================================== */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-meta-item .material-icons-outlined {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.news-card:hover {
    box-shadow: var(--box-shadow);
    transform: translateX(5px);
}

.news-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.news-image-large {
    position: relative;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.news-image-large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ========================================
   CONTACT PAGE STYLES
======================================== */
.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .material-icons-outlined {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.contact-item-content h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    margin: 0;
    color: var(--gray-600);
}

.contact-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 63, 58, 0.15);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

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

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================
   SERVICE PAGES (Privacy, Terms, etc.)
======================================== */
.service-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.service-content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.service-content h2:first-child {
    margin-top: 0;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

.service-content li {
    margin-bottom: 1rem;
}

.service-content strong {
    color: var(--dark-color);
    font-weight: 700;
}

/* ========================================
   THANKS PAGE
======================================== */
.thanks-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-card {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    text-align: center;
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-icon .material-icons-outlined {
    font-size: 4rem;
    color: var(--white);
}

.thanks-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thanks-card p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.25rem;
    }
    
    .content-box {
        padding: 2rem;
    }
    
    .education-block {
        padding: 2rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .service-content {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cookie-popup {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .education-image::after {
        display: none;
    }
    
    .chart-wrapper::before {
        display: none;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }
    
    .approach-card {
        padding: 2rem 1.5rem;
    }
    
    .news-image-large img {
        height: 250px;
    }
    
    .thanks-card {
        padding: 3rem 2rem;
    }
    
    .thanks-card h1 {
        font-size: 2rem;
    }
}

