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

:root {
    --primary-color: #1e4e5a;
    --secondary-color: #2d7a8a;
    --accent-color: #3a9ab0;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    position: relative;
    overflow-x: hidden;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(30, 78, 90, 0.01) 100px,
            rgba(30, 78, 90, 0.01) 101px
        ),
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 L20,45 L40,55 L60,40 L80,60 L100,50' stroke='%231e4e5a' stroke-width='0.5' fill='none' opacity='0.02'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 L15,35 L30,45 L45,30 L60,50 L80,40' stroke='%232d7a8a' stroke-width='0.5' fill='none' opacity='0.015'/%3E%3C/svg%3E");
    background-size: auto, 200px 200px, 150px 150px;
    background-position: 0 0, 0 0, 50px 50px;
    background-repeat: repeat, repeat, repeat;
}

/* Background Decorative Elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(30, 78, 90, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(45, 122, 138, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 154, 176, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '📈 📊 💹 💰 📉';
    position: fixed;
    top: 10%;
    right: 5%;
    font-size: 4rem;
    opacity: 0.05;
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

/* Decorative Forex Symbols */
.decorative-symbols {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.decorative-symbols::before {
    content: '$';
    position: absolute;
    top: 15%;
    left: 8%;
    font-size: 8rem;
    font-weight: 300;
    color: rgba(30, 78, 90, 0.04);
    transform: rotate(-20deg);
    font-family: 'Arial', sans-serif;
}

.decorative-symbols::after {
    content: '£€¥₹';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 6rem;
    font-weight: 300;
    color: rgba(30, 78, 90, 0.04);
    transform: rotate(25deg);
    font-family: 'Arial', sans-serif;
    letter-spacing: 1rem;
}

/* Additional Forex Symbols */
.decorative-symbols .symbol-1 {
    position: absolute;
    top: 30%;
    right: 15%;
    font-size: 5rem;
    color: rgba(30, 78, 90, 0.03);
    transform: rotate(10deg);
    content: '€';
}

.decorative-symbols .symbol-2 {
    position: absolute;
    bottom: 30%;
    left: 12%;
    font-size: 5rem;
    color: rgba(30, 78, 90, 0.03);
    transform: rotate(-10deg);
    content: '£';
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    background: linear-gradient(to bottom, var(--bg-white), #fafbfc);
    padding: 0 8px;
    box-shadow: 0 1px 2px rgba(30, 78, 90, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: auto;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(30, 78, 90, 0.08);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    height: auto;
    margin-right: auto;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    margin: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 78, 90, 0.05), rgba(45, 122, 138, 0.05));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo:hover::before {
    opacity: 1;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 480px;
    min-width: 320px;
    object-fit: contain;
    display: block;
    vertical-align: middle;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(30, 78, 90, 0.15));
    position: relative;
    z-index: 1;
}

.logo-img:hover {
    filter: drop-shadow(0 4px 8px rgba(30, 78, 90, 0.25));
    transform: scale(1.03);
}

.logo-text {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 1.4rem;
    display: none;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(30, 78, 90, 0.1);
    transition: all 0.3s ease;
}

.logo:hover .logo-text {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '📈 📊 💹';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 5rem;
    opacity: 0.1;
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero::after {
    content: '$ £ € ¥ ₹';
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 4rem;
    opacity: 0.1;
    transform: rotate(15deg);
    pointer-events: none;
    letter-spacing: 1rem;
    font-weight: 300;
}

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

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 78, 90, 0.4);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

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

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

/* Sections */
.about,
.highlights,
.cta {
    padding: 80px 20px;
}

.about {
    background: var(--bg-light);
}

.about h2,
.highlights h2,
.cta h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.page-header::before {
    content: '📈 📊 💹';
    position: absolute;
    top: 15%;
    left: 5%;
    font-size: 4rem;
    opacity: 0.08;
    transform: rotate(-10deg);
    pointer-events: none;
}

.page-header::after {
    content: '$ £ €';
    position: absolute;
    bottom: 15%;
    right: 5%;
    font-size: 3.5rem;
    opacity: 0.08;
    transform: rotate(10deg);
    pointer-events: none;
    letter-spacing: 0.8rem;
    font-weight: 300;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Content Section */
.content-section {
    padding: 60px 20px;
    background: var(--bg-light);
    position: relative;
    z-index: 1;
}

.content-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    z-index: 1;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.tab-btn .tab-icon,
.tab-btn .tab-text {
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    pointer-events: none;
}

.tab-icon {
    font-size: 1.3rem;
    display: inline-block;
    transition: transform 0.3s;
}

.tab-text {
    font-size: 1rem;
}

.tab-btn:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-btn:hover::before {
    opacity: 0.08;
}

.tab-btn:hover .tab-icon {
    transform: scale(1.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active::before {
    opacity: 0;
}

.tab-btn.active .tab-icon {
    transform: scale(1.1);
}

.tab-btn.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.content-item {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.video-thumbnail {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.doc-thumbnail {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.doc-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.doc-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.doc-lines {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.doc-lines::before,
.doc-lines::after {
    content: '';
    width: 100%;
    height: 0.25rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.doc-lines::after {
    width: 60%;
    margin-left: 0;
}

.doc-thumbnail {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.doc-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.doc-actions {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    justify-content: center;
    align-items: center;
}

.doc-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.doc-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.doc-action-btn:hover::before {
    width: 100%;
    height: 100%;
}

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

.doc-read-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(30, 58, 138, 0.3);
    border-color: var(--secondary-color);
}

.doc-download-btn {
    background: var(--accent-color);
    color: white;
}

.doc-download-btn:hover {
    background: #059669;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
    border-color: #059669;
}

.doc-action-btn svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s;
    stroke: currentColor;
}

.doc-read-btn svg {
    fill: none;
}

.doc-download-btn svg {
    fill: none;
}

.doc-action-btn:hover svg {
    transform: scale(1.15);
}

.doc-read-btn:hover svg {
    animation: readPulse 0.6s ease-in-out;
}

.doc-download-btn:hover svg {
    animation: downloadBounce 0.6s ease-in-out;
}

@keyframes readPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes downloadBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.15);
    }
}

.play-icon {
    font-size: 4rem;
    opacity: 0.8;
}

.content-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.content-meta {
    padding: 0 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.content-description {
    padding: 1rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.content-link {
    display: inline-block;
    padding: 1rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.content-link:hover {
    color: var(--secondary-color);
}

/* Articles List */
.content-list {
    max-width: 900px;
    margin: 0 auto;
}

.article-item {
    display: flex;
    gap: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.article-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.date-day {
    font-size: 2rem;
    font-weight: bold;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.article-content {
    flex: 1;
}

.article-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.read-more-btn:active {
    transform: translateY(0);
}

.read-more-btn .btn-icon {
    transition: transform 0.3s;
    transform: rotate(0deg);
}

.read-more-btn[data-expanded="true"] .btn-icon {
    transform: rotate(-90deg);
}

.read-more-btn[data-expanded="true"] {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.read-more-btn .btn-text {
    transition: all 0.3s;
}

.article-full-content {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.8;
}

.article-full-content p {
    margin-bottom: 1rem;
}

.read-full-article {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 1rem;
}

.read-full-article:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.article-content-wrapper {
    flex: 1;
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.info-icon {
    font-size: 2rem;
    min-width: 50px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.social-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-links h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Daily Market Section */
.daily-updates-section {
    margin-bottom: 3rem;
}

.daily-update-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f8fafc 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(30, 78, 90, 0.1);
    margin-bottom: 2rem;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.update-header h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0;
}

.update-date {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
}

.update-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.update-content p {
    margin-bottom: 1rem;
}

.update-bullet {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}

.update-bullet::before {
    content: '•';
    position: absolute;
    left: -1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.update-subheading {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.market-data-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.market-data-section h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.daily-market-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.daily-market-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.daily-subtitle {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.daily-intro {
    color: var(--text-light);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.daily-market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.market-section {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.market-section.full-width {
    grid-column: 1 / -1;
}

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

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.market-item:last-child {
    border-bottom: none;
}

.market-item.highlight {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    border: 2px solid var(--primary-color);
}

.market-pair {
    font-weight: 600;
    color: var(--text-dark);
}

.market-price {
    font-weight: 600;
    font-size: 1.1rem;
}

.market-price.up {
    color: var(--accent-color);
}

.market-price.down {
    color: #ef4444;
}

.market-change {
    font-size: 0.9rem;
    font-weight: 600;
}

.market-change:has(+ .market-price.up),
.market-item .market-price.up + .market-change {
    color: var(--accent-color);
}

.market-change:has(+ .market-price.down),
.market-item .market-price.down + .market-change {
    color: #ef4444;
}

.market-comment {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
}

.technical-view {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    line-height: 1.8;
}

.technical-view p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.technical-view p:last-child {
    margin-bottom: 0;
}

.daily-update {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.update-time {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.update-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Video Header */
.video-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.video-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.video-subtitle {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.video-intro {
    color: var(--text-light);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Videos Container */
.videos-container {
    width: 100%;
}

.videos-container.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.videos-container.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.videos-container .error {
    text-align: center;
    padding: 3rem;
    color: #ef4444;
    font-size: 1.1rem;
}

/* Video Item */
.video-item {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: visible !important;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
    flex-shrink: 0;
    min-height: 180px; /* Minimum height to ensure visibility */
}

.video-thumbnail-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
    overflow: hidden;
    z-index: 1;
    display: block !important;
    pointer-events: auto !important;
}

.youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
    background: #000;
    min-width: 100%;
    min-height: 100%;
    pointer-events: none !important; /* Allow clicks to pass through to wrapper */
    user-select: none;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 2;
}

.video-thumbnail-wrapper:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s, background 0.3s;
    padding: 20px;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 3;
}

.play-button svg {
    width: 100%;
    height: 100%;
}

.video-thumbnail-wrapper:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 0, 0, 1);
}

.video-title {
    padding: 1.5rem !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    min-height: 60px !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.video-title-wrapper {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.video-title-text {
    margin: 0 !important;
    padding: 1rem 1.5rem !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #ffffff !important;
}

.video-title-container {
    padding: 1.5rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
    flex-shrink: 0 !important;
    min-height: 80px !important;
    height: auto !important;
}

.video-title-display {
    margin: 0 0 1rem 0 !important;
    padding: 0.5rem 0 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #ffffff !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100% !important;
    position: relative !important;
    z-index: 101 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    height: auto !important;
}

.video-title-actions {
    padding: 0 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.video-embed-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.video-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-error {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: var(--bg-light);
    color: var(--text-dark);
}

.video-error p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.watch-youtube-link {
    display: block;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.watch-youtube-link:hover {
    background: var(--secondary-color);
}

.embed-fallback {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
}

.embed-fallback a {
    color: #4CAF50;
    text-decoration: underline;
    font-weight: 600;
}

.embed-fallback a:hover {
    color: #66BB6A;
}

.direct-youtube-link {
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.direct-youtube-link:hover {
    opacity: 1;
    transform: scale(1.2);
}

.direct-youtube-link svg {
    width: 20px;
    height: 20px;
}

/* Career Section */
.career {
    padding: 80px 20px;
    background: var(--bg-light);
}

.career h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.career-timeline {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.career-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    align-items: start;
}

.career-year {
    min-width: 120px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding-top: 0.25rem;
}

.career-details h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.career-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.expertise {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.expertise h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 20px;
    text-align: center;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Contact Link Styling */
.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.15rem 10px;
    }

    .nav-container {
        gap: 0.5rem;
        padding: 0;
    }

    .hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .logo {
        order: 1;
        flex: 0 0 auto;
        max-width: calc(100% - 50px);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(30, 78, 90, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 1rem 0;
        display: block;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-menu a:hover {
        background: rgba(30, 78, 90, 0.05);
        transform: none;
    }

    .nav-menu a.active {
        background: rgba(30, 78, 90, 0.1);
        color: var(--primary-color);
    }

    .nav-menu a.active::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

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

    .article-date {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .daily-market-grid {
        grid-template-columns: 1fr;
    }

    .career-item {
        flex-direction: column;
        gap: 1rem;
    }

    .career-year {
        min-width: auto;
        padding-top: 0;
    }

    .expertise-tags {
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        font-size: 1rem;
    }

    .content-tabs {
        padding: 0.5rem;
        gap: 0.5rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        box-sizing: border-box;
    }

    .tab-btn {
        padding: 12px 8px;
        flex: 1;
        min-width: 0;
        justify-content: center;
        width: 100%;
        margin: 0;
        font-size: 0.85rem;
    }

    .tab-text {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tab-icon {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .logo {
        gap: 0.4rem;
        height: auto;
        padding: 0;
        margin: 0;
    }

    .logo-img {
        height: 60px;
        max-width: 100%;
        min-width: 200px;
        width: auto;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.1rem 8px;
    }

    .logo-img {
        height: 50px;
        min-width: 180px;
    }

    .hamburger {
        padding: 0.4rem;
    }

    .hamburger span {
        width: 24px;
    }

    .nav-menu {
        top: 60px;
        padding: 1rem 0;
    }

    .content-tabs {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 14px 12px;
        font-size: 0.9rem;
    }

    .tab-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about h2,
    .highlights h2,
    .cta h2,
    .career h2 {
        font-size: 2rem;
    }

    .market-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .daily-market-header h2,
    .video-header h2 {
        font-size: 1.75rem;
    }

    .video-player-wrapper {
        padding-top: 56.25%; /* Maintain 16:9 ratio on mobile */
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

