/* 
============================================
   Base & Reset
============================================
*/

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

:root {
    --primary-color: #d4af37; /* Gold accent */
    --bg-dark: #0b1320; /* Deep Midnight Navy instead of flat black */
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

ul {
    list-style: none;
}

/* 
============================================
   Header / Navbar
============================================
*/

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(11, 19, 32, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed) ease;
}

.main-header.scrolled {
    padding: 10px 0;
    background: rgba(11, 19, 32, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    transition: padding var(--transition-speed) ease;
}

.main-header.scrolled .header-container {
    padding: 0px 40px;
}

/* Logo */
.logo .logo-text {
    font-family: var(--font-serif);
    font-size: 35px;
    font-style: italic;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 1px;
    transition: color var(--transition-speed) ease;
}

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

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    padding: 2px 0;
}

.nav-link span {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.5s ease;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    color: var(--primary-color);
    font-family: var(--font-main);
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: top 0.5s cubic-bezier(0.7, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-link:hover span, .nav-link.active span {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-link:hover::before, .nav-link.active::before {
    top: 2px;
}

/* 
============================================
   Mobile Menu Toggle
============================================
*/

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 30px;
    z-index: 1000;
}

.menu-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Mobile Responsive */
@media screen and (max-width: 1024px) {
    .header-container {
        padding: 20px 30px;
    }
    
    .nav-list {
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-link {
        font-size: 24px;
    }

    .header-socials {
        display: none; /* Can be moved inside nav-menu for mobile */
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* 
============================================
   Hero Section
============================================
*/

.hero-section {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #1a2b4c 0%, var(--bg-dark) 60%);
    padding: 100px 40px 0; /* Restored padding to push content below navbar */
    overflow: hidden;
}

/* Subtle background grid pattern */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* Left Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.badge-line {
    width: 40px;
    height: 1px;
    background-color: var(--primary-color);
}

.badge-text {
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.hero-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 45px;
    font-family: var(--font-main);
}

.title-line {
    display: block;
}

.title-line:nth-child(1) { font-weight: 300; }
/* .title-line:nth-child(2) { } */
.title-line:nth-child(3) { 
    animation-delay: 0.3s; 
    font-weight: 600; 
    font-size: 32px; /* Made smaller than the rest of the title */
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-color);
    padding-left: 10%;
    min-height: 1.2em; /* Prevents vertical jumping when text is cleared */
}

.hero-quote-wrapper {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    max-width: 80%;
    margin-top: 10px;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

.hero-quote {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* Premium Button CTA */
.hero-cta {
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    padding: 6px 6px 6px 30px;
    color: var(--text-light);
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--text-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: var(--text-light);
    color: var(--bg-dark);
    border-radius: 50%;
    margin-left: 20px;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    border-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover .btn-icon {
    transform: rotate(-45deg);
}

/* Right Visual Area */
.hero-visual {
    position: relative;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s forwards;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    height: 90vh;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: float 8s ease-in-out infinite;
}

.image-reveal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-dark);
    z-index: 10;
    animation: revealSlide 1s cubic-bezier(0.7, 0, 0.2, 1) 0.5s forwards;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
    filter: contrast(1.1) brightness(0.9) grayscale(20%);
    transition: filter 0.8s ease, transform 0.8s ease;
}

.image-wrapper:hover .hero-image {
    filter: contrast(1) brightness(1) grayscale(0%);
    transform: scale(1.03);
}

/* Hero Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}



/* Decorative floating badge */
.floating-badge {
    position: absolute;
    bottom: 12px;
    left: -30px;
    background-color: var(--bg-dark);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 11;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-badge .years {
    display: block;
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.floating-badge .label {
    display: block;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.scroll-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background: var(--primary-color);
    animation: scrollDrop 2s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

/* Animations */
@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpTitle {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes revealSlide {
    0% { top: 0; }
    100% { top: 100%; }
}

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

@keyframes scrollDrop {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    padding: 22px 1%;
    background-color: #ffffff;
}

.about-container {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-image {
    width: 100%;
    height: auto; /* Natural height */
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

/* .about-page-container {
    grid-template-columns: 450px 1fr !important;
} */

.glass-card-stats {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 25px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.stat-highlight {
    display: block;
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content .section-title {
    font-size: 45px;
    font-family: var(--font-serif);
    color: #1a2238;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.1;
}

.about-text-content .lead-text {
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 25px;
}

.about-info-box {
    background-color: #f8fafc;
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 30px;
}

.about-info-box p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

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

.btn-dark-solid {
    display: inline-flex;
    align-items: center;
    background-color: #0f172a;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-dark-solid .btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-dark-solid:hover {
    background-color: #1e293b;
    color: var(--primary-color);
}

.btn-dark-solid:hover .btn-arrow {
    transform: rotate(-45deg);
}

/* =========================================
   Latest Articles Section
   ========================================= */
.articles-section {
    padding: 10px 2% 40px;
    background-color: #f8fafc;
}

.articles-section .section-title {
    color: #1a2238; /* Fix white text on light background */
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 20px auto 0;
}

.article-card-v2 {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.article-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 0;
}

.article-card-v2:hover .card-bg {
    transform: scale(1.1);
}

.card-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.6) 40%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.article-card-v2:hover .card-gradient {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.7) 40%, rgba(15, 23, 42, 1) 100%);
}

.card-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 35px;
    transition: transform 0.4s ease;
    transform: translateY(20px);
}

.article-card-v2:hover .card-content {
    transform: translateY(0);
}

.card-title {
    font-family: var(--font-serif);
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.card-meta {
    display: block;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.card-excerpt {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.article-card-v2:hover .card-excerpt {
    opacity: 1;
}

.btn-read-more-light {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-read-more-light .btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.btn-read-more-light:hover {
    color: var(--primary-color);
}

.btn-read-more-light:hover .btn-arrow {
    transform: rotate(-45deg);
}

/* =========================================
   Latest Discussions Section
   ========================================= */
.latest-dis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 30px auto 0;
}

.latest-dis-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.latest-dis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.latest-dis-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.latest-dis-img-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.latest-dis-card:hover .latest-dis-img-wrap::after {
    opacity: 0;
}

.latest-dis-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.latest-dis-card:hover .latest-dis-img-wrap img {
    transform: scale(1.08);
}

.latest-dis-content-wrap {
    padding: 25px 20px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.latest-dis-title {
    font-family: var(--font-serif);
    font-size: 18px;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
}

.latest-dis-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-watch-now {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    align-self: flex-start;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-watch-now i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-watch-now:hover {
    color: #1e293b;
    border-bottom-color: #1e293b;
}

.btn-watch-now:hover i {
    transform: translateX(4px);
}

/* Utility Classes (Replacing Inline CSS) */
.mb-sm {
    margin-bottom: 5px !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.about-badge {
    margin-bottom: 20px;
}

.about-badge .badge-text {
    color: #b48645;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 14px;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Scroll Reveal Animations */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .hero-section {
        height: auto;
        max-height: none;
        padding-top: 140px;
        padding-bottom: 60px;
        overflow: visible;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        align-items: center;
        order: 2;
    }
    
    .italic-serif {
        padding-left: 0;
    }
    
    .hero-quote-wrapper {
        border-left: none;
        border-top: 2px solid rgba(212, 175, 55, 0.3);
        padding-left: 0;
        padding-top: 20px;
    }
    .hero-visual {
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        order: 1;
    }
    
    .image-wrapper {
        height: auto;
        aspect-ratio: 4/5;
        max-height: 70vh;
    }

    /* About Section Mobile */
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .about-visual {
        padding-bottom: 0;
        padding-right: 0;
    }
    .about-image-wrapper {
        position: relative;
        height: auto;
        aspect-ratio: 4/3;
        margin-top: 20px;
    }
    
    .glass-card-stats {
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
        border-left: none;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .about-content .section-title {
        font-size: 38px;
    }
    
    .about-text-content .lead-text {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--primary-color);
        padding-top: 20px;
        font-size: 18px;
    }
}

/* Typewriter Cursor */
.typing-cursor {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 300;
    margin-left: 5px;
    animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =========================================
   Premium Footer Section
   ========================================= */
.site-footer {
    width: 100%;
    color: #f1f5f9;
}

.footer-top {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    z-index: 1;
}

.newsletter-section {
    position: relative;
    z-index: 2;
}

.newsletter-text {
    font-family: var(--font-serif);
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.newsletter-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
    max-width: 550px;
    margin: 0 auto 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-form:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255,255,255,0.05);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    color: #fff;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.btn-signup {
    background-color: var(--primary-color);
    color: #1e293b;
    padding: 15px 35px;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-signup:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.social-links {
    margin-top: 20px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e1;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #0f172a;
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.footer-bottom {
    background-color: #020617;
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-copy-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
    letter-spacing: 0.5px;
}

/* =========================================
   Premium About Section (about.php)
   ========================================= */
.premium-about-section {
    background-color: #ffffff; /* Changed to white */
    padding: 30px 2%; /* Reduced padding */
    color: #475569; /* Dark gray text */
}

.premium-about-container {
    max-width: 1500px; /* Increased max-width */
    margin: 0 auto;
}

.premium-about-top {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 40px; /* Reduced gap */
    align-items: center; /* Set back to center so image is natural */
    margin-bottom: 30px; /* Reduced bottom margin */
}

.img-frame {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 10px;
    background-color: transparent;
    /* removed height: 100% */
}

.img-frame img {
    width: 100%;
    height: auto; /* natural height */
    border-radius: 8px;
    display: block;
}

.about-label {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-label .line {
    width: 60px;
    height: 1px;
    background-color: var(--primary-color);
}

.premium-about-content .about-title {
    font-family: var(--font-serif);
    font-size: 52px;
    color: #0f172a; /* Dark navy/black */
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.1;
}

.premium-about-content .about-subtitle {
    font-size: 13px;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 600;
}

.premium-about-content .about-text {
    font-size: 15px;
    line-height: 1.8;
    color: #334155; /* Dark gray */
    margin-bottom: 40px;
}

.premium-about-content .about-text p {
    margin-bottom: 20px;
}

.about-icons-row {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1); /* Dark border for light bg */
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.icon-item span {
    font-size: 11px;
    font-weight: 600;
    color: #475569; /* Darker text */
    letter-spacing: 1px;
    line-height: 1.4;
}

.btn-read-bio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.btn-read-bio:hover {
    background: var(--primary-color);
    color: #ffffff; /* White text on hover */
    border-color: var(--primary-color);
}

.premium-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: #f8fafc; /* Very light gray */
    border: 1px solid rgba(0,0,0,0.05); /* Light border */
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5); /* Stronger gold border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stat-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 46px;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-number span {
    font-size: 24px;
    vertical-align: super;
}

.stat-title {
    font-size: 11px;
    color: #0f172a; /* Dark navy */
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 12px;
    color: #64748b; /* Medium gray */
}

@media screen and (max-width: 1024px) {
    .premium-about-top {
        grid-template-columns: 1fr;
    }
    .img-frame {
        max-width: 500px;
        margin: 0 auto;
    }
    .about-icons-row {
        flex-wrap: wrap;
    }
    .premium-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Complete Mobile Responsiveness */
@media screen and (max-width: 768px) {
    /* 1. Stack all grid layouts */
    .hero-container, 
    .about-container, 
    .articles-grid,
    .latest-dis-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* 2. Cap all font sizes at max 20px */
    h1, h2, h3, h4, h5, h6,
    .hero-title, 
    .hero-title span,
    .section-title, 
    .lead-text, 
    .card-title,
    .about-content .section-title {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .hero-subtitle,
    .hero-badge .badge-text,
    .card-meta,
    p, a {
        font-size: 14px !important;
    }

    /* 3. Adjust spacing, padding, and alignment */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .about-section,
    .articles-section {
    padding: 0px 4%;
    }

    .about-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-badge {
        margin: 0 auto 15px auto;
        text-align: center;
    }

    .about-text-content .lead-text {
        border-top: none !important; /* Remove awkward line from 1024px query */
        padding-top: 0 !important;
        margin-bottom: 20px;
    }

    .about-info-box {
        padding: 15px !important; /* Dramatically reduce padding on mobile */
        margin-bottom: 20px !important;
        border-left: none !important;
        border-top: 3px solid var(--primary-color); /* Move accent to top for stacked mobile view */
        text-align: center;
    }

    /* 4. Adjust Card heights */
    .article-card-v2 {
        height: 380px;
    }
    
    .card-content {
        padding: 20px;
    }

    /* 5. Footer Mobile Responsiveness */
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .newsletter-form input {
        width: 100%;
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50px;
    }
    
    .btn-signup {
        width: 100%;
        border-radius: 50px;
    }
    
    .footer-copy-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


/* =========================================
  About Section
   ========================================= */
   .about-hero-wow {
  position: relative;
  /* background-image: url('../img/about-banner-img.jpg'); */
  background:
    linear-gradient(
        135deg,
        rgba(14, 28, 48, 0.75),
        rgba(14, 28, 48, 0.45),
        rgba(209, 173, 54, 0.20)
    ),
    url("../img/about-banner-img.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: var(--white);
  z-index: 1;
  padding: 82px 0 25px
}
.about-hero-wow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
}
.about-hero-wow h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
  margin-top: 38px;
  text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.about-breadcrumbs-wow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.about-breadcrumbs-wow a {
  color: #a0aec0;
  transition: var(--transition-fast);
}

/* =========================================
   About Page - Legacy & Expertise Sections
   ========================================= */

.legacy-main-title {
    font-size: 2.5rem; 
    font-weight: 800;
    margin: 0; 
    padding-bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legacy-section {
    padding: 25px 0;
    background-color: #f8fafc;
    font-family: 'Outfit', sans-serif;
}
.legacy-container {
    max-width: 1500px;
    width: 95%;
    margin: 0 auto;
    padding: 0 15px;
}
.legacy-header {
    text-align: center;
    margin-bottom: 15px;
}
.legacy-card {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.legacy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
.legacy-card.reverse {
    flex-direction: row-reverse;
}
.legacy-image-wrapper {
    flex: 0 0 40%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.legacy-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.legacy-card:hover .legacy-image-wrapper img {
    transform: scale(1.08);
}
.legacy-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
    pointer-events: none;
}
.legacy-content {
    flex: 1;
    padding: 0 10px;
}
.legacy-title {
    font-size: 1.6rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.legacy-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.legacy-card:hover .legacy-title::after {
    width: 100%;
}
.legacy-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 10px;
}
.legacy-text:last-child {
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .legacy-card, .legacy-card.reverse {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .legacy-image-wrapper {
        flex: auto;
        width: 100%;
        height: 220px;
    }
}

.expertise-light-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}
.expertise-light-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.expertise-light-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}
.expertise-light-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}
.expertise-light-title {
    font-size: 1.3rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 15px;
}
.expertise-light-desc {
    color: #475569;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* =========================================
   Bento Grid Journey Section
   ========================================= */
.bento-section {
    padding: 40px 0 80px;
    background-color: #f8fafc;
}
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.bento-item {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}
.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

/* Item 1: Tall Left (Spans 2 rows) */
.bento-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.bento-item-1 .bento-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.bento-item-1 .bento-content {
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Item 2: Wide Top Right */
.bento-item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    flex-direction: row;
}
.bento-item-2 .bento-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento-item-2 .bento-img {
    flex: 0 0 45%;
    width: 45%;
    object-fit: cover;
}

/* Item 3: Wide Bottom Right (Dark Theme Emphasis) */
.bento-item-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    flex-direction: row-reverse;
}
.bento-item-3 .bento-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento-item-3 .bento-img {
    flex: 0 0 40%;
    width: 40%;
    object-fit: cover;
    opacity: 0.9;
}

.bento-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: inherit;
}
.bento-item-1 .bento-title, .bento-item-2 .bento-title {
    color: #0f172a;
}
.bento-item-3 .bento-title {
    color: #ffffff;
}
.bento-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #475569;
}
.bento-item-3 .bento-text {
    color: #cbd5e1;
}
.bento-text:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive Bento */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-item-1, .bento-item-2, .bento-item-3 {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .bento-item-2, .bento-item-3 {
        flex-direction: column;
    }
    .bento-item-2 .bento-img, .bento-item-3 .bento-img {
        height: 250px;
        width: 100%;
    }
    .bento-item-1 .bento-content, .bento-item-2 .bento-content, .bento-item-3 .bento-content {
        padding: 30px;
    }
}

/* =========================================
   Premium Sticky Scroll Journey Section
   ========================================= */
.sticky-journey-section {
    padding: 0px 0 0px; /* Reduced bottom padding heavily */
    background: #f8fafc;
}
.sticky-journey-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    padding: 0 20px;
    position: relative;
}
.sticky-visuals {
    width: 50%;
    position: sticky;
    top: 150px;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
.sticky-visuals img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: scale(1.1);
}
.sticky-visuals img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}
.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 50%);
    z-index: 3;
}

.scrolling-content {
    width: 50%;
    padding-top: 20px;
    padding-bottom: 40px; /* Removed the 20vh padding completely */
}
.journey-step {
    min-height: 40vh; /* Reduced from 70vh for tighter padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.5; /* Increased from 0.3 for better clarity when inactive */
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateX(20px);
}
.journey-step.active {
    opacity: 1;
    transform: translateX(0);
}
.journey-step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}
.step-icon {
    width: 60px; /* Slightly smaller */
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.1);
}
.journey-step h3 {
    font-size: 2.5rem; /* Reduced from 3rem */
    margin-bottom: 0; 
    font-weight: 800;
    color: #0f172a;
    font-family: var(--font-main);
    letter-spacing: -1px;
}
.journey-step p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155; /* Slightly darker for clarity */
    margin-bottom: 15px;
}

/* Mobile Responsiveness for Sticky Scroll */
@media (max-width: 991px) {
    .sticky-journey-container {
        flex-direction: column;
        gap: 0px;
    }
    .sticky-visuals {
        width: 100%;
        position: relative;
        top: 0;
        height: 400px;
        min-height: auto;
    }
    .scrolling-content {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .journey-step {
        min-height: auto;
        padding: 15px 0;
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================
   Animated Expertise Section
   ========================================= */
.expertise-animated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 5px auto 0;
    padding: 0 20px;
}
.expertise-anim-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.expertise-anim-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: var(--primary-color);
}
.icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--primary-color);
    font-size: 2.8rem;
    transition: all 0.5s ease;
    position: relative;
}
.icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0;
    animation: rotate-border 10s linear infinite;
    transition: opacity 0.5s ease;
}
.expertise-anim-card:hover .icon-wrapper::after {
    opacity: 0.4;
}
.expertise-anim-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}
.expertise-anim-title {
    font-size: 1.6rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-main);
}
.expertise-anim-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
}

/* Animations */
@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.anim-spin {
    animation: slow-spin 8s linear infinite;
}
@keyframes slow-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.anim-tilt {
    animation: slow-tilt 3s ease-in-out infinite;
}
@keyframes slow-tilt {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(12deg); }
}

.anim-pulse-icon {
    animation: slow-pulse 2s ease-in-out infinite;
}
@keyframes slow-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.8); opacity: 0.6; }
}

/* Background Glow Effect */
.card-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 10px;
    background: var(--primary-color);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}
.expertise-anim-card:hover .card-glow {
    opacity: 0.6;
}

/* =========================================
   Minimalist CTA Section (About Page)
   ========================================= */
.minimal-cta-section {
    padding: 40px 20px 50px;
    background-color: #e4e6e3; /* Light warm grey background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.minimal-cta-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.minimal-cta-heading {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    color: #1e3a5f; /* Dark blue/slate color */
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 500;
}

.btn-minimal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    background-color: #2a3a53; /* Dark slate blue */
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 400;
    font-family: 'Outfit', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-minimal-cta:hover {
    background-color: #1a2538;
    color: #ffffff;
}

@media (max-width: 768px) {
    .minimal-cta-section {
        padding: 30px 20px 40px;
    }
    .minimal-cta-heading {
        font-size: 1.8rem;
    }
}/* =========================================
   Premium Contact Page Section
   ========================================= */
.premium-contact-section {
        padding: 22px 20px;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* Left Panel */
.contact-info-panel {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 60px 50px;
    color: #ffffff;
    position: relative;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.contact-title {
    font-size: 3rem;
    font-family: var(--font-serif);
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 50px;
    font-family: var(--font-main);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text span {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text a, .contact-text p {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-socials p {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    margin-bottom: 20px;
    color: #ffffff;
}

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

.social-links-contact a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background: var(--primary-color);
    color: #0f172a;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Right Panel Form */
.contact-form-panel {
    padding: 60px 50px;
    background: #ffffff;
}

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

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

.form-group label {
    display: block;
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #0f172a;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #cbd5e1;
}

.btn-submit-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background-color: #0f172a;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.btn-submit-contact:hover {
    background-color:var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(233, 236, 240, 0.3);
}

.btn-submit-contact i {
    transition: transform 0.3s ease;
}

.btn-submit-contact:hover i {
    transform: translateX(5px) scale(1.1);
}

/* Animations */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-info-panel, .contact-form-panel {
        padding: 50px 30px;
    }
}
@media (max-width: 768px) {
    .premium-form .form-row {
        grid-template-columns: 1fr;
    }

    .legacy-header-about {
    margin-bottom: 8px;
}
}
/* Page Hero Header (Used across About, Contact, Articles) */
.page-hero-banner {
    padding: 150px 0 80px;
    background:
        linear-gradient(
            135deg,
            rgba(14, 28, 48, 0.85),
            rgba(14, 28, 48, 0.70),
            rgba(209, 173, 54, 0.30)
        ),
        url("../img/about-banner-img.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 20px;
}

.page-breadcrumbs {
    color: #94a3b8;
    font-size: 1.1rem;
}

.page-breadcrumbs a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s;
}

.page-breadcrumbs a:hover {
    color: #ffffff;
}

.page-breadcrumbs span {
    color: #cbd5e1;
}
/* Utility classes replacing inline CSS in about.php */
.legacy-header-about {
    margin-bottom: 7px;
}
.expertise-articles-section {
    background-color: #f8fafc;
}
.badge-centered {
    margin: 0 auto;
}
.expertise-anim-delay-1 {
    transition-delay: 0.1s;
}
.expertise-anim-delay-2 {
    transition-delay: 0.2s;
}
/* =========================================
   Premium Articles Page Section
   ========================================= */
.premium-articles-section {
    padding: 15px 0;
    background-color: #f8fafc;
}

.article-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 28px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1.05rem;
    color: #475569;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: #0f172a;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(209, 173, 54, 0.3);
}

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

.article-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.article-content {
    padding: 30px;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.article-date i {
    color: var(--primary-color);
}

.article-title {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 15px;
    font-family: var(--font-main);
    font-weight: 700;
}

.article-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.read-more-btn i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-color);
}

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

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

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: #0f172a;
    border-color: var(--primary-color);
}

/* Animations for Articles */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-up.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .premium-articles-section {
        padding: 30px 15px;
    }
    .article-content {
        padding: 20px 15px;
    }
    .page-hero-banner {
        padding: 100px 15px 40px;
    }
}
/* =========================================
   Minimal Articles Section (4-column layout)
   ========================================= */
.minimal-articles-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.articles-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.minimal-article-card {
    display: flex;
    flex-direction: column;
}

.minimal-article-image {
    margin-bottom: 20px;
    width: 100%;
}

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

.minimal-article-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.minimal-article-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.minimal-article-excerpt {
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.minimal-read-more-btn {
    display: inline-block;
    align-self: flex-start;
    background-color: #1e293b;
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.minimal-read-more-btn:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* RTL for Arabic */
[dir="rtl"] .minimal-read-more-btn {
    align-self: flex-end;
}

@media (max-width: 1024px) {
    .articles-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-grid-4col {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Dropdown Menu Navigation Styles
   ========================================= */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    list-style: none;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Invisible bridge so hover doesn't break when moving cursor down */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-menu li {
    margin: 0;
    display: block;
}

.dropdown-link {
    display: block;
    padding: 10px 25px;
    color: #475569;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background-color: rgba(209, 173, 54, 0.1);
    color: var(--primary-color);
    padding-left: 30px;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 5px 0 10px 20px;
        border: none;
        display: none;
    }
    
    .nav-item.has-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-link {
        padding: 8px 15px;
        color: #e2e8f0;
    }
    .dropdown-link:hover {
        padding-left: 20px;
    }
}

/* =========================================
   Utility and Section Title Styles (Replaced Inline CSS)
   ========================================= */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    color: #0f172a;
    font-family: var(--font-main);
    font-weight: 700;
}

.section-title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.articles-grid-4col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* RTL Specific Styles (Replaced Inline CSS) */
[dir="rtl"] .article-content {
    text-align: right;
}

[dir="rtl"] .article-title {
    font-family: inherit;
}

[dir="rtl"] .article-date {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .article-date i {
    margin-left: 8px;
    margin-right: 0;
}

[dir="rtl"] .read-more-btn {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .read-more-btn i {
    margin-right: 8px;
    margin-left: 0;
}

/* Video/Discussion Specific Styles (Replaced Inline CSS) */
.discussion-video-wrapper {
    position: relative;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.3s ease;
}

.discussion-video-wrapper:hover .video-play-icon {
    background: var(--primary-color);
    color: #000;
}

/* Category Colors */
.cat-red {
    background-color: #ef4444 !important;
}

.cat-blue {
    background-color: #3b82f6 !important;
}
