:root {
    /* New Brand Color Scheme */
    --brand-gradient: linear-gradient(90deg, #FF5C01 0%, #F60109 20%, #A1005D 36%, #740C7F 48%, #126F80 65%, #005A59 100%);
    --brand-gradient-hover: linear-gradient(90deg, #FF7A2A 0%, #FF1A2A 20%, #B52A7A 36%, #8B2B9A 48%, #3A8B9B 65%, #2A7A7A 100%);
    --btns-bg-color: linear-gradient(90deg, #FF5C01 0%, #F60109 20%, #A1005D 36%, #740C7F 48%, #126F80 65%, #005A59 100%);
    --title-top-line-bg: linear-gradient(90deg, #FF5C01 0%, #F60109 20%, #A1005D 36%, #740C7F 48%, #126F80 90%, #005A59 100%);
    --text-gradient-color: -webkit-linear-gradient(40deg, #FF5C01 0%, #F60109 20%, #A1005D 36%, #740C7F 48%, #126F80 65%, #005A59 100%);
    
    /* Supporting Colors */
    --brisk-dark: #1e293b;
    --brisk-text: #334155;
    --brisk-light-gray: #f8fafc;
    --brisk-border: #e2e8f0;
    --brisk-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --brisk-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    --section-bg: #f4f4f4;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

/* Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brisk-border);
    z-index: 1050;
}

.progress-fill {
    height: 100%;
    background: var(--brand-gradient);
    width: 0%;
    transition: width 0.3s ease;
}

/* Header Styles */
.blog-header {
    background: white;
    border-bottom: 1px solid var(--brisk-border);
    padding: 1rem 0;
    margin-top: 4px;
}

.breadcrumb-nav {
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb-nav a {
    background: var(--text-gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    background: var(--brand-gradient-hover);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Content */
.blog-container {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--brisk-shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Meta Information */
.blog-meta {
    padding: 2rem;
    border-bottom: 1px solid var(--brisk-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: var(--brand-gradient);
    padding: 2px;
    object-fit: cover;
}

.author-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h6 {
    margin: 0;
    font-weight: 600;
    color: var(--brisk-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.author-details p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.linkedin-icon {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.linkedin-icon:hover {
    background: var(--brand-gradient-hover);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Share Buttons */
.share-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Each share button */
.share-btn {
    width: 40px;
    height: 40px;
    margin: 2px;
    border-radius: 30%;
    background: #f1f1f1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    font-size: 26px;
    cursor: pointer;
    transition: 0.2s linear;
    color: #333;
}

/* Icon inside */
.share-btn i {
    font-size: 15px;
    transition: 0.2s linear;
    z-index: 2;
    color: inherit;
}

/* Gradient overlay animation */
.share-btn::before {
    content: "";
    width: 120%;
    height: 120%;
    left: -110%;
    top: 90%;
    position: absolute;
    transform: rotate(45deg);
    z-index: 1;
    transition: all 0.7s ease;
}

/* Hover effect */
.share-btn:hover i {
    color: #f1f1f1;
    transform: scale(1.2);
}

.share-btn:hover::before {
    top: -10%;
    left: -10%;
    animation: animation1 0.7s 1;
}

@keyframes animation1 {
    0% {
        top: 90%;
        left: -110%;
    }
    50% {
        top: -30%;
        left: 10%;
    }
    100% {
        top: -10%;
        left: -10%;
    }
}

/* Platform-specific gradients */
.share-btn.copy::before {
    background-image: radial-gradient(circle farthest-corner at 10% 20%, #56CCF2 0%, #3498db 100%);
}

.share-btn.facebook::before {
    background-image: radial-gradient(circle farthest-corner at 10% 20%, #3b5998 0%, #1877f2 100%);
}

.share-btn.linkedin::before {
    background-image: radial-gradient(circle farthest-corner at 10% 20%, #0077b5 0%, #004182 100%);
}

.share-btn.twitter::before {
    background-image: radial-gradient(circle farthest-corner at 10% 20%, #000000 0%, #333333 100%);
}

.share-btn.whatsapp::before {
    background-image: radial-gradient(circle farthest-corner at 10% 20%, #25D366 0%, #128C7E 100%);
}

/* Content Area */
.blog-content-wrapper {
    padding: 2.5rem;
}

/* TOC Styles */
.toc-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    position: sticky;
    top: 7rem;
    margin-bottom: 2rem;
}

/* Stats Section Above TOC */
/* .blog-stats-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: center;
}

.stat-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2563eb;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
} */

.toc-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: var(--brisk-dark);
    padding: 1rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.toc-header i {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.875rem;
}

.toc-content {
    padding: 1.25rem;
    overflow-y: auto;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.25rem;
}

.toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.15s ease;
    border-left: 2px solid transparent;
    line-height: 1.4;
    position: relative;
}

.toc-link:hover {
    background-color: #f3f4f6;
    color: var(--brisk-dark);
    border-left-color: #cbd5e1;
    text-decoration: none;
    transform: translateX(2px);
}

.toc-link.active {
    background: linear-gradient(135deg, rgba(255, 92, 1, 0.1), rgba(0, 90, 89, 0.1));
    color: var(--brisk-dark);
    border-left: 2px solid;
    border-image: var(--brand-gradient) 1;
    font-weight: 500;
}

.toc-link.level-3 {
    margin-left: 1rem;
    font-size: 0.8125rem;
    font-weight: 300;
    padding: 0.4rem 0.75rem;
    color: #6b7280;
}

/* Content Styles */
.blog-text-content {
    font-family: "Geist", Sans-serif;
}

.blog-text-content h1,
.blog-text-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.875rem;
    font-weight: 500;
    margin: 2rem 0 0.8rem 0;
    scroll-margin-top: 100px;
    position: relative;
}

.blog-text-content h2::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--title-top-line-bg);
    border-radius: 2px;
}

.blog-text-content h1:first-child,
.blog-text-content h2:first-child {
    margin-top: 0;
}

.blog-text-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brisk-dark);
    margin: 2rem 0 1rem 0;
    scroll-margin-top: 100px;
}

.blog-text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--brisk-text);
}

.blog-text-content strong {
    font-weight: 600;
}

.blog-text-content a {
    background: var(--text-gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    font-weight: 500;
}

.blog-text-content a:hover {
    border-bottom: 1px solid #FF5C01;
}

.blog-text-content code {
    background: #f1f5f9;
    color: #e11d48;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-family: 'Fira Code', 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 0.875em;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

/* Pre code blocks */
.blog-text-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    line-height: 1.6;
}

.blog-text-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 400;
    white-space: pre;
    display: block;
    overflow-x: auto;
}

/* Language label */
.blog-text-content pre[data-language]::after {
    content: attr(data-language);
    position: absolute;
    top: 0;
    left: 0;
    background: var(--brand-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Alternative light theme for code blocks */
.blog-text-content pre.light-theme {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.blog-text-content pre.light-theme code {
    color: #334155;
}

.blog-text-content pre.light-theme::before {
    background: rgba(0, 0, 0, 0.1);
    color: #64748b;
}

/* Syntax highlighting colors for dark theme */
.blog-text-content pre .token.comment {
    color: #64748b;
    font-style: italic;
}

.blog-text-content pre .token.keyword {
    color: #f472b6;
    font-weight: 500;
}

.blog-text-content pre .token.string {
    color: #34d399;
}

.blog-text-content pre .token.number {
    color: #fbbf24;
}

.blog-text-content pre .token.function {
    color: #60a5fa;
}

.blog-text-content pre .token.operator {
    color: #f472b6;
}

.blog-text-content pre .token.punctuation {
    color: #94a3b8;
}

.blog-text-content pre .token.variable {
    color: #fbbf24;
}

.blog-text-content pre .token.class-name {
    color: #a78bfa;
}

.blog-text-content pre .token.property {
    color: #34d399;
}

/* Scrollbar styling for code blocks */
.blog-text-content pre::-webkit-scrollbar {
    height: 8px;
}

.blog-text-content pre::-webkit-scrollbar-track {
    background: #1e293b;
}

.blog-text-content pre::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

.blog-text-content pre::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Terminal style variant */
.blog-text-content pre.terminal {
    background: #000000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    border-radius: 8px;
    position: relative;
    padding-top: 2.5rem;
}

.blog-text-content pre.terminal::before {
    content: '● ● ●';
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    color: #ff5f56;
    font-size: 0.875rem;
    letter-spacing: 0.25rem;
}

.blog-text-content pre.terminal::after {
    content: 'Terminal';
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    color: #64748b;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
}

/* Multi-line code blocks with line numbers */
.blog-text-content pre.line-numbers {
    padding-left: 3rem;
    counter-reset: line;
}

.blog-text-content pre.line-numbers code {
    counter-increment: line;
}

.blog-text-content pre.line-numbers code::before {
    content: counter(line);
    position: absolute;
    left: 0.75rem;
    color: #64748b;
    width: 2rem;
    text-align: right;
    font-size: 0.75rem;
    line-height: inherit;
}

/* Blog Content List Styling */
.blog-text-content ul,
.blog-text-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    line-height: 1.7;
}

.blog-text-content ul {
    list-style: none;
    position: relative;
}

.blog-text-content ul li {
    margin-bottom: 0.75rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--brisk-text);
    position: relative;
    padding-left: 1.5rem;
}

/* Custom bullet points with gradient */
.blog-text-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--brand-gradient);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Numbered lists */
.blog-text-content ol {
    list-style: none;
    counter-reset: list-counter;
}

.blog-text-content ol li {
    margin-bottom: 0.75rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--brisk-text);
    position: relative;
    padding-left: 2rem;
    counter-increment: list-counter;
}

.blog-text-content ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--brand-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Nested lists */
.blog-text-content ul ul,
.blog-text-content ol ol,
.blog-text-content ul ol,
.blog-text-content ol ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.blog-text-content ul ul li::before {
    width: 4px;
    height: 4px;
    background: rgba(255, 92, 1, 0.6);
}

.blog-text-content ol ol li::before {
    background: rgba(255, 92, 1, 0.8);
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* Special list styling for better readability */
.blog-text-content li strong {
    background: var(--text-gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Explore Further Section */
.explore-section {
    background: white;
    padding: 3rem 0;
    margin: 0 0 3rem 0;
}

.explore-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--brisk-dark);
    margin-bottom: 2.5rem;
    text-align: left;
}

/* Category Filter */
.category-filter {
    margin-bottom: 3rem;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: none;
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.filter-tab {
    background: transparent;
    border: none;
    color: #455368;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.filter-tab:hover {
    background: rgba(255, 92, 1, 0.08);
    color: #FF5C01;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Modern Active Tab - Subtle Gradient */
.filter-tab.active {
    background: linear-gradient(135deg, 
        rgba(255, 92, 1, 0.9) 0%, 
        rgba(246, 1, 9, 0.9) 25%, 
        rgba(161, 0, 93, 0.9) 50%, 
        rgba(116, 12, 127, 0.9) 75%, 
        rgba(18, 111, 128, 0.9) 100%);
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 92, 1, 0.25);
    transform: translateY(-1px);
    font-weight: 600;
}

.filter-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    border-radius: 8px;
    pointer-events: none;
}

/* Alternative: Pill Style */
.filter-tabs.pill-style {
    background: white;
    padding: 0.25rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.filter-tabs.pill-style .filter-tab {
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
}

.filter-tabs.pill-style .filter-tab.active {
    border-radius: 50px;
}

/* Blog Cards Grid */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.blog-cards-grid.single-card {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern Blog Card */
.blog-card-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

/* Card Visual */
.card-visual {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-visual img.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card-item:hover .card-image {
    transform: scale(1.05);
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
}

.card-date {
    color: #6b7280;
    font-weight: 500;
}

.card-category {
    background: rgba(255, 92, 1, 0.1);
    color: #FF5C01;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FF5C01;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f8fafc;
}

.card-action i {
    transition: transform 0.2s ease;
}

.blog-card-item:hover .card-action i {
    transform: translateX(4px);
}

/* Horizontal Hero Layout */
.blog-hero-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 4rem;
    background: white;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 1rem;
}

.hero-meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.author-info-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    background: var(--brand-gradient);
    padding: 1px;
}

.author-name {
    font-weight: 500;
    color: var(--brisk-dark);
    font-size: 0.875rem;
}

.author-title {
    color: #6b7280;
    font-size: 0.8125rem;
}

.meta-divider {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

.publish-date, .read-time {
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-title-horizontal {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 500;
    background: var(--text-gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.share-section-horizontal {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Improved Hero Image Section */
.blog-cover-wrapper {
    position: relative;
    height: 350px;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: var(--brand-gradient);
    padding: 2px;
}

.blog-cover-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Toast notification for copy link */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--brand-gradient);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1060;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Author Section */
.author-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.author-profile {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
}

.author-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details-large {
    flex: 1;
}

.author-name-large {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.125rem 0;
}

.author-title-large {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.author-bio {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Compact Share Section */
.share-section-author {
    flex-shrink: 0;
}
.share-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    text-align: center;
}

.share-buttons-vertical {
    display: flex;
    gap: 0.5rem;
}

/* Animation for fade in */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.job-career-area {
    padding: 80px 0;
    background: var(--section-bg) !important;
    position: relative;
    overflow: hidden;
}

.job-career-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 92, 1, 0.02) 0%, rgba(0, 90, 89, 0.02) 100%);
    z-index: -1;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

.careers-text {
    padding-right: 20px;
}

.careers-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 90%;
}

.custome-btn:hover::before {
    opacity: 1;
}

.custome-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

.custome-btn span {
    position: relative;
    z-index: 1;
}

.custome-btn .arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.custome-btn:hover .arrow {
    transform: translateX(4px);
}

.careers-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--brisk-shadow-lg);
}

.careers-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.careers-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.1) 0%, rgba(0, 90, 89, 0.1) 100%);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.team-section {
    background: var(--light);
    padding: 60px 0;
}

.team-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.management-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 600;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 7.5rem 2.5rem;
    justify-items: center;
}

.team-card {
    position: relative;
    height: 400px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    margin-bottom: 140px;
    width: 250px;
    perspective: 1200px;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(45, 45, 55, 0.95) 0%,
        rgba(70, 70, 80, 0.9) 30%,
        rgba(120, 120, 130, 0.85) 70%,
        rgba(160, 160, 170, 0.8) 100%
    );
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 1px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center bottom;
}

.operations-card .card-background {
    background: linear-gradient(180deg, 
        rgba(0, 90, 89, 0.95) 0%,     
        rgba(20, 100, 100, 0.9) 30%,   
        rgba(40, 120, 115, 0.85) 70%, 
        rgba(70, 140, 130, 0.8) 100% 
    );
    border: 2px solid rgba(0, 90, 89, 0.2);
}

.team-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-image-container .d-flex {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .card-background {
    transform: rotateX(30deg) rotateZ(7deg) rotateY(-7deg) translateX(20px);
    background: linear-gradient(135deg, rgba(246, 1, 9, 0.9) 0%, rgba(116, 12, 127, 0.85) 100%);
    backdrop-filter: blur(0px);
    border: 2px solid rgba(246, 1, 9, 0.4);
    box-shadow: 0 15px 40px rgba(246, 1, 9, 0.3), 0 5px 20px rgba(116, 12, 127, 0.2);
}

.team-card:hover .team-image-container {
    transform: translateY(-10px) translate(-6px, 12px);
}

.operations-card:hover .card-background {
    background: linear-gradient(135deg, rgba(116, 12, 127, 0.9) 0%, rgba(0, 90, 89, 0.85) 100%);
    border: 2px solid rgba(116, 12, 127, 0.4);
    box-shadow: 0 15px 40px rgba(116, 12, 127, 0.3), 0 5px 20px rgba(0, 90, 89, 0.2);
}

.bottom-content {
    position: absolute;
    bottom: -230px;
    left: 0;
    right: 0;
    height: 220px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.content-area {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 10px 15px 0;
}

.linkedin-area {
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.5);
}

.team-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    overflow: hidden;
}

.team-description {
    padding: 10px 10px 0 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.team-description p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    max-height: 100%;
    overflow-wrap: break-word;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.team-role {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
}

.linkedin-fixed {
    width: 24px;
    height: 24px;
    background: #0077b5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 119, 181, 0.3);
}

.linkedin-fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.4);
}

.linkedin-fixed i {
    font-size: 11px;
}

.management-grid:hover .team-card:not(:hover) {
    transform: scale(0.95);
}

.viewer-container {
    /* width: 100vw; */
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.main-viewer {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2a2d3a;
    padding: 10px;
    overflow: hidden;
}

.pdf-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    width: calc(100vw - 20px);
    height: calc(100vh - 40px);
    max-width: 1000px;
    max-height: 900px;
    position: relative;
}

/* Floating Navigation Buttons */
.floating-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.floating-nav:hover {
    opacity: 1;
}

.floating-nav.left {
    /* Positions the button relative to the center of the screen */
    left: calc(50% - 500px - 70px);
}

.floating-nav.right {
    /* Positions the button relative to the center of the screen */
    right: calc(50% - 500px - 70px);
}

.floating-nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(91, 110, 239, 0.9);
    color: white;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.floating-nav-btn:hover:not(:disabled) {
    background: rgba(74, 92, 230, 0.95);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-nav-btn:active {
    transform: scale(0.95);
}

.floating-nav-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.floating-nav {
    display: none;
}

.pdf-page {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.pdf-page.left-page {
    width: 50%;
    padding: 12px 8px 12px 16px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.pdf-page.right-page {
    width: 50%;
    padding: 12px 16px 12px 4px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.pdf-page canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.page-divider {
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.2) 20%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.2) 80%,
            rgba(0, 0, 0, 0.1) 100%);
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.page-divider::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.05);
}

.page-divider::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
}

/* Control Bar */
.control-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 60px;
    background: #3d4050;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 100;
    border-top: 1px solid #4a4d5e;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.control-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.control-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.control-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.control-btn.active {
    background: #5b6eef;
    color: white;
}

.nav-btn-pdf {
    width: 40px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: #5b6eef;
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-btn-pdf:hover:not(:disabled) {
    background: #4a5ce6;
    transform: scale(1.05);
}

.nav-btn-pdf:active {
    transform: scale(0.95);
}

.nav-btn-pdf:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}

.page-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.page-input {
    width: 50px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    padding: 0 8px;
}

.page-input:focus {
    outline: none;
    border-color: #5b6eef;
}

/* Loading and Error States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 45, 58, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 1000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #5b6eef;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
}

.error-container {
    display: none;
    text-align: center;
    color: #ff6b6b;
    padding: 20px;
}

.error-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.error-message {
    font-size: 14px;
    opacity: 0.8;
}

/* Flip Animation Styles */
.flip-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    transform-origin: left center;
    transform-style: preserve-3d;
    z-index: 100;
}

.flip-container.flipping {
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flip-page {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.flip-page.front {
    transform: rotateY(0deg);
    padding: 12px 16px 12px 4px;
}

.flip-page.back {
    transform: rotateY(180deg);
    padding: 12px 16px 12px 4px;
}

.flip-page canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* Hide elements initially */
.pdf-content {
    display: none;
    width: 100%;
}

.pdf-content.loaded {
    display: flex;
}

.timeline-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.timeline-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.timeline-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 100px;
    bottom: 100px;
    width: 4px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, 
        #FF5C01 0%, 
        #F60109 16.66%, 
        #A1005D 33.33%, 
        #740C7F 50%, 
        #126F80 66.66%, 
        #005A59 83.33%,
        #126F80 100%
    );
    height: 0%;
    transition: height 0.3s ease-out;
}

.timeline-items {
    position: relative;
}

.timeline-item {
    display: flex;
    margin-bottom: 100px;
    position: relative;
}

.timeline-item.visible {
    opacity: 1;
    transform: scale(1);
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-number {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #cbd5e1;
    z-index: 10;
    transition: all 0.4s ease;
}

.timeline-item.active .timeline-number {
    color: #FF5C01;
}

.timeline-item:nth-child(2).active .timeline-number { color: #F60109; }
.timeline-item:nth-child(3).active .timeline-number { color: #A1005D; }
.timeline-item:nth-child(4).active .timeline-number { color: #740C7F; }
.timeline-item:nth-child(5).active .timeline-number { color: #126F80; }
.timeline-item:nth-child(6).active .timeline-number { color: #005A59; }
.timeline-item:nth-child(7).active .timeline-number { color: #FF5C01; }
.timeline-item:nth-child(8).active .timeline-number { color: #126F80; }

.timeline-content-wrapper {
    width: 45%;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-content-wrapper.visible {
    opacity: 1;
    transform: scale(1);
}


.milestone-card {
    background: white;
    border-radius: 0px 0px 20px 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.milestone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.timeline-content-wrapper.visible .milestone-card::before {
    opacity: 1;
}

.year-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--brand-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.milestone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.milestone-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    flex: 1;
}

.expand-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.expand-icon i {
    color: var(--text-secondary);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.milestone-card.expanded .expand-icon {
    background: linear-gradient(135deg, #FF5C01, #126F80);
}

.milestone-card.expanded .expand-icon i {
    color: white;
    transform: rotate(180deg);
}

/* Details appear below the card in a separate div */
.milestone-details {
    background: white;
    border-radius: 20px;
    padding: 0;
    margin-top: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.milestone-card.expanded ~ .milestone-details {
    max-height: 1000px;
    padding: 32px;
    margin-top: 20px;
    opacity: 1;
}

.milestone-details h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.milestone-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.milestone-details li {
    margin-bottom: 16px;
}

.milestone-details li:last-child {
    margin-bottom: 0;
}

.milestone-details strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.milestone-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-connector {
    position: absolute;
    top: 50px;
    width: 40px;
    height: 2px;
    background: #e2e8f0;
    transition: background 0.4s ease;
}

.timeline-content-wrapper.visible .timeline-connector {
    background: var(--brand-gradient);
}

.timeline-item:nth-child(odd) .timeline-connector {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-connector {
    left: -40px;
}


.partner-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.partner-card:hover::before {
    left: 100%;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.country-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    gap: 12px;
}

.country-flag {
    width: 45px;
    height: 32px;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: absolute;
    right: 3px;
    top: 3px;
    overflow: hidden;
}

.country-flag::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.country-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #34495e;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    line-height: normal;
}

/* Updated flag designs with proper country representations */
.timor-leste { 
    background: linear-gradient(45deg, #dc143c 0%, #dc143c 50%, #ffd700 50%, #ffd700 100%);
}
.saint-barthelemy { 
    background: linear-gradient(180deg, #002654 0%, #002654 33%, #ffffff 33%, #ffffff 66%, #ed2939 66%, #ed2939 100%);
    color: #002654;
}
.andorra { 
    background: linear-gradient(180deg, #002654 0%, #002654 33%, #ffd700 33%, #ffd700 66%, #ed2939 66%, #ed2939 100%);
}
.zambia { 
    background: linear-gradient(45deg, #198a00 0%, #ef7d00 50%, #de2010 100%);
}
.saint-vincent { 
    background: linear-gradient(180deg, #002654 0%, #002654 33%, #ffd700 33%, #ffd700 66%, #009639 66%, #009639 100%);
}
.uae { 
    background: linear-gradient(90deg, #ed2939 0%, #ed2939 25%, #ffffff 25%, #ffffff 50%, #000000 50%, #000000 75%, #009639 75%, #009639 100%);
}

.partner-logo {
    width: 145px;
    height: 100px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-logo:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sics-logo { background: linear-gradient(135deg, #667eea, #764ba2); }
.sics-logo .logo-text { color: white; }

.bteck-logo { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.bteck-logo .logo-text { color: white; }

.startup-logo { background: linear-gradient(135deg, #fa709a, #fee140); }
.startup-logo .logo-text { color: white; }

.gem-logo { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.gem-logo .logo-text { color: #2c3e50; }

.mazaya-logo { background: linear-gradient(135deg, #ff9a9e, #fecfef); }
.mazaya-logo .logo-text { color: #2c3e50; }

.partner-name {
    font-size: 1.175rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 8px;
    text-transform: capitalize;
    line-height: normal;
}

.partner-category {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    opacity: 0.8;
}

.stats-badge,
.testimonial-badge {
    display: inline-block;
    background: white;
    color: #2c3e50;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 500;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.stats-badge {
    font-size: 18px;
    color: #1a1a2e;
}

.testimonial-badge {
    font-size: 14px;
    padding: 10px 28px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Common Title Styles */
.main-title,
.testimonial-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2c3e50;
    line-height: 1.2;
    font-size: 56px !important;
}

.main-title {
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -1px;
}

.testimonial-title {
    font-size: 56px;
    letter-spacing: -2px;
}

/* Common Highlight Styles */
.main-title .highlight,
.testimonial-title .highlight {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* font-weight: 700; */
    font-size: inherit;
    position: relative;
    display: inline-block;
    font-size: 56px !important;
    line-height: 55px;
}

.main-title .highlight::after,
.testimonial-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-gradient);
    border-radius: 2px;
}

/* Stats Grid */
.stats-grid-contact {
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

/* Common Card Styles */
.stat-card,
.accreditation-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card {
    padding: 2rem;
    text-align: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.stat-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.stat-number-contact {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1;
    letter-spacing: -2px;
    font-family: 'Poppins', sans-serif;
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Testimonial Styles */
.testimonial-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.testimonial-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.testimonial-container.expanded::after {
    opacity: 0;
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    flex: 1;
    animation: none;
    opacity: 0;
    transform: translateY(60px);
}

.testimonial-list:nth-child(odd) {
    margin-top: 70px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 32px 32px 20px 32px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card.hidden {
    display: none;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.testimonial-card > p {
    color: #333333;
    margin: 0 0 14px 0;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    position: relative;
}

.testimonial-card > p::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -20px;
    font-size: 60px;
    color: rgba(243, 156, 18, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-client-details {
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-client-details .d-flex {
    display: flex;
}

.testimonial-client-details .flex-column {
    flex-direction: column;
}

.testimonial-client-details .d-flex > div p:first-child {
    color: #333333;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-client-details .d-flex > div p:last-child {
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    margin: 0;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: var(--brand-gradient);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.load-more-btn.hidden {
    display: none;
}

/* Animations */
@keyframes fadeInDown-contact {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeInUp-contact {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp-contact {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logos Section */
.logos-section {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 60px;
}

.section-title-client-logo {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
}

.logos-container {
    position: relative;
    overflow: hidden;
}

.logos-container::before,
.logos-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 280px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.logos-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 30%, rgba(255, 255, 255, 0.30) 100%);
}

.logos-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 30%, rgba(255, 255, 255, 0.30) 100%);
}

.logos-row {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.logos-track {
    display: flex;
    gap: 80px;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.logo-item img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* ============================================
   AURORA GRADIENT BACKGROUND
   ============================================ */
.gradient-bg-section-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.gradient-bg-section-1::before,
.gradient-bg-section-1::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 25s ease-in-out infinite;
}

.gradient-bg-section-1::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        rgba(255, 92, 1, 0.61) 0%, 
        rgba(246, 1, 9, 0.82) 30%, 
        rgba(161, 0, 93, 0.52) 40%, 
        transparent 100%
    );
    top: -15%;
    right: -15%;
    animation-delay: 0s;
}

.gradient-bg-section-1::after {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, 
        rgba(116, 12, 127, 0.25) 0%, 
        rgba(18, 111, 128, 0.2) 40%, 
        rgba(0, 90, 89, 0.15) 70%, 
        transparent 100%
    );
    bottom: -15%;
    right: -15%;
    animation-delay: -12s;
}

.gradient-orb-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, 
        rgba(246, 1, 9, 0.2) 0%, 
        rgba(161, 0, 93, 0.15) 50%, 
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 20s ease-in-out infinite;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-30px, -40px) scale(1.05); }
    50% { transform: translate(40px, -30px) scale(0.95); }
    75% { transform: translate(-20px, 40px) scale(1.02); }
}

/* ============================================
   DYNAMIC BADGE CONTAINER
   ============================================ */
.dynamic-badge-container {
    min-height: 50px;
    overflow: hidden;
}

.carousel-badge {
    display: none;
    animation: slideInFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-badge.active {
    display: block;
}

.carousel-badge.slide-out {
    animation: slideOutToLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   DYNAMIC TITLE CONTAINER
   ============================================ */
.dynamic-title-container {
    min-height: 240px;
    overflow: hidden;
    position: relative;
}

.carousel-title {
    display: none;
    animation: slideInFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-title.active {
    display: block;
}

.carousel-title.slide-out {
    animation: slideOutToLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title,
.hero-title span {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    font-weight: 400;
    margin-bottom: 0;
}

/* ============================================
   GRADIENT TEXT ANIMATION
   ============================================ */
.gradient-text {
    background: linear-gradient(90deg, 
        #FF5C01 0%, 
        #F60109 20%, 
        #A1005D 40%, 
        #740C7F 60%, 
        #126F80 80%, 
        #005A59 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   SLIDE ANIMATIONS
   ============================================ */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(80px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-80px);
    }
}

/* ============================================
   ULTIMATE CHAT BOX
   ============================================ */
.ultimate-chat-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================
   SUGGESTIONS TOP BAR
   ============================================ */
.suggestions-top-bar {
    background: linear-gradient(135deg, rgba(255, 92, 1, 0.04), rgba(246, 1, 9, 0.04));
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.ai-pulse {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #FF5C01, #F60109);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(246, 1, 9, 0.7);
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(246, 1, 9, 0);
    }
}

.suggestions-scroll-container {
    position: relative;
    overflow: hidden;
}

.suggestions-scroll-container::before,
.suggestions-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
}

.suggestions-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.suggestions-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.suggestions-horizontal {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.suggestions-horizontal::-webkit-scrollbar {
    display: none;
}

.suggestions-horizontal:active {
    cursor: grabbing;
}

.suggestion-chip {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.chip-icon {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    flex-shrink: 0;
}

.suggestion-chip:hover {
    background: linear-gradient(135deg, rgba(255, 92, 1, 0.08), rgba(246, 1, 9, 0.08));
    border-color: rgba(246, 1, 9, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 1, 9, 0.15);
}

.suggestion-chip:active {
    transform: translateY(0);
}

/* ============================================
   INPUT AREA
   ============================================ */
.input-area {
    padding: 24px;
}

.input-wrapper {
    position: relative;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-wrapper:focus-within {
    background: white;
    border-color: #F60109;
    box-shadow: 0 0 0 4px rgba(246, 1, 9, 0.1);
}

.search-icon {
    color: #9ca3af;
    flex-shrink: 0;
    display: block;
    align-self: baseline;
    transition: color 0.3s ease;
}

.input-wrapper:focus-within .search-icon {
    color: #F60109;
}

.chat-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #1a1a1a;
    font-family: inherit;
    resize: none;
    min-height: 24px;
    max-height: 120px;
    line-height: 1.5;
}

.chat-input::placeholder {
    color: #9ca3af;
}

.chat-input.filled {
    animation: fillFlash 0.5s ease;
}

@keyframes fillFlash {
    0%, 100% { background: transparent; }
    50% { background: rgba(255, 92, 1, 0.05); }
}

/* ============================================
   SEARCH BUTTON WITH GEMINI SPARKLES
   ============================================ */
.search-button {
    background: linear-gradient(90deg, #FF5C01 0%, #F60109 20%, #A1005D 36%, #740C7F 48%, #126F80 65%, #005A59 100%);
    background-size: 150%;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(246, 1, 9, 0.3);
    position: relative;
    overflow: hidden;
}

.search-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-button:hover::before {
    opacity: 1;
}

.search-button:hover {
    transform: translateX(2px);
    box-shadow: 0 6px 25px rgba(246, 1, 9, 0.4);
}

.search-button:active {
    transform: scale(0.98);
}

.gemini-sparkles {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sparkle-icon {
    position: absolute;
    color: white;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

.sparkle-large {
    width: 14px;
    height: 14px;
    animation: sparkleRotate 3s ease-in-out infinite;
}

.sparkle-small {
    width: 8px;
    height: 8px;
    top: -3px;
    right: -2px;
    animation: sparkleRotate 2.5s ease-in-out infinite;
    animation-delay: 0.3s;
}

.sparkle-tiny {
    width: 5px;
    height: 5px;
    bottom: -2px;
    left: -2px;
    animation: sparkleRotate 2s ease-in-out infinite;
    animation-delay: 0.6s;
}

@keyframes sparkleRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.9;
    }
    25% {
        transform: rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) scale(0.95);
        opacity: 0.85;
    }
    75% {
        transform: rotate(270deg) scale(1.05);
        opacity: 1;
    }
}

.search-button:hover .sparkle-icon {
    animation: sparklePulse 0.6s ease-in-out infinite;
}

@keyframes sparklePulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(180deg);
    }
}


 /* Isolated breadcrumb styles with unique class names */
    .safe-breadcrumb {
        background: linear-gradient(135deg, #111c2d 0%, #1e293b 50%, #0f172a 100%);
        padding: 30px 0;
        border-bottom: 1px solid rgba(59, 130, 246, 0.3);
        position: relative;
        isolation: isolate;
        /* Creates new stacking context */
    }

    .safe-breadcrumb::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
        pointer-events: none;
        z-index: 1;
    }

    .safe-breadcrumb-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .safe-title-area {
        /* Container for title */
    }

    .safe-page-title {
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .safe-nav-area {
        /* Container for navigation */
    }

    .safe-breadcrumb-nav {
        display: flex;
        align-items: center;
        gap: 12px;
        background: rgba(255, 255, 255, 0.1);
        padding: 12px 18px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        /* Removed backdrop-filter to prevent menu interference */
    }

    .safe-nav-item {
        display: flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        color: #ffffff;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s ease;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .safe-nav-item:hover {
        color: #60a5fa;
        background: rgba(96, 165, 250, 0.1);
        transform: translateY(-1px);
    }

    .safe-separator {
        color: rgba(255, 255, 255, 0.5);
        font-size: 16px;
        font-weight: 600;
    }

    .safe-current {
        color: #FF5C01;
        font-size: 14px;
        font-weight: 700;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

/* ===== MEDIA QUERIES ===== */

/* Large Desktop (1367px+) */
@media (min-width: 1367px) {
    .pdf-container {
        max-width: 1000px;
        max-height: 1000px;
    }

    .careers-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

        .main-viewer {
        padding: 5px;
    }

    .pdf-container {
        flex-direction: column;
        width: calc(100vw - 10px);
        height: calc(100vh - 40px);
        border-radius: 4px;
    }

    .pdf-page.left-page {
        width: 100%;
        height: 100%;
        padding: 8px;
        min-height: 300px;
    }

    .pdf-page.right-page {
        display: none;
    }

    .page-divider {
        display: none;
    }

    .floating-nav {
        display: none;
    }

    .control-bar {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 8px;
        min-height: 80px;
        height: auto;
    }

    .control-section {
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .control-btn,
    .nav-btn-pdf {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .page-input {
        width: auto;
        height: 45px;
        font-size: 17px;
    }

    .page-info {
        font-size: 12px;
        gap: 6px;
    }
}


@media (max-width: 1300px) {
    .management-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 7.5rem 2.5rem;
    }

    .team-card {
        /* width: auto; */
        height: 380px;
        margin-bottom: 120px;
    }

    .bottom-content {
        bottom: -210px;
        height: 200px;
    }

    .dynamic-title-container {
        min-height: 220px;
    }
}

@media (max-width: 1024px) {
    .stats-grid-contact {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .testimonial-container {
        gap: 15px;
    }

    .testimonial-list {
        gap: 15px;
    }

    .testimonial-title {
        font-size: 42px;
    }

    .testimonial-card {
        padding: 24px;
    }
}


@media (max-width: 992px) {
    .blog-title {
        font-size: 2.25rem;
    }

    .toc-card {
        margin-bottom: 2rem;
        top: 5rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-section {
        width: 100%;
        justify-content: center;
    }

    .blog-hero-horizontal {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .hero-text-content {
        padding-right: 0;
        order: 2;
    }
    
    .blog-cover-wrapper {
        order: 1;
        height: 250px;
        width: 100%;
    }
    
    .blog-title-horizontal {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .blog-details-container {
        max-width: none;
        padding: 0 50px !important;
    }

        .main-viewer {
        padding: 10px;
        padding-bottom: 75px;
    }

    .pdf-container {
        width: calc(100vw - 20px);
        height: calc(100vh - 85px);
    }

    .pdf-page {
        padding: 8px;
    }

    .control-bar {
        gap: 18px;
        flex-wrap: nowrap;
    }

    .control-section {
        gap: 12px;
    }

    .timeline-header h2 {
        font-size: 2.5rem;
    }

    .timeline-header p {
        font-size: 1rem;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-end !important;
        margin-bottom: 60px;
    }

    .timeline-content-wrapper {
        width: calc(100% - 80px);
    }

    .timeline-number {
        left: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-connector,
    .timeline-item:nth-child(even) .timeline-connector {
        right: auto;
        left: -40px;
    }

    .milestone-card {
        min-width: auto;
        width: 100%;
        padding: 20px;
        border-radius: 0 0 16px 16px;
    }

    .year-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
        margin-bottom: 12px;
    }

    .milestone-title {
        font-size: 1.2rem;
    }

    .expand-icon {
        width: 28px;
        height: 28px;
    }

    .expand-icon i {
        font-size: 12px;
    }

    .milestone-details {
        width: 100%;
        border-radius: 16px;
    }

    .milestone-card.expanded ~ .milestone-details {
        padding: 20px;
        margin-top: 12px;
    }

    .milestone-details h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .milestone-details li {
        margin-bottom: 12px;
    }

    .milestone-details strong {
        font-size: 0.9rem;
    }

    .milestone-details p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .dynamic-title-container {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }

    .blog-hero {
        padding: 3rem 1rem;
        min-height: 300px;
    }

    .blog-content-wrapper {
        padding: 1.5rem;
    }

    .stats-grid {
        gap: 0.75rem;
    }

    .stat-box {
        padding: 0.75rem;
    }

    .explore-title {
        font-size: 1.875rem;
        text-align: center;
    }

    .filter-tabs {
        justify-content: center;
        padding: 0.375rem;
    }

    .filter-tab {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }

    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .blog-cards-grid.single-card {
        max-width: 100%;
    }

    .blog-card-item {
        height: auto;
        min-height: 280px;
    }

    .card-visual {
        height: 150px;
    }

    .blog-hero-horizontal {
        padding: 1.5rem 1rem;
    }
    
    .blog-title-horizontal {
        font-size: 1.75rem;
    }
    
    .hero-meta-info {
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .meta-divider {
        display: none;
    }

    .blog-details-container {
        padding: 0 25px !important;
    }

    .blog-text-content pre {
        padding: 1rem;
        margin: 1.5rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .blog-text-content pre code {
        font-size: 0.8125rem;
    }

    .blog-text-content pre::before {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.6875rem;
    }

    .blog-text-content pre[data-language]::after {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.5rem;
    }

    .blog-text-content pre.line-numbers {
        padding-left: 2.5rem;
    }

    .blog-text-content pre.line-numbers code::before {
        left: 0.5rem;
        width: 1.5rem;
    }

    .blog-text-content ul,
    .blog-text-content ol {
        padding-left: 1.5rem;
    }

    .blog-text-content ul li {
        padding-left: 1.25rem;
    }

    .blog-text-content ol li {
        padding-left: 1.75rem;
    }

    .author-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .author-profile {
        width: 100%;
    }

    .share-section-author {
        width: 100%;
    }

    .share-title {
        text-align: left;
    }

    .share-buttons-vertical {
        justify-content: flex-start;
    }

    .job-career-area {
        padding: 60px 0;
    }

    .careers-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .careers-text {
        padding-right: 0;
    }

    .careers-title {
        font-size: 2.5rem;
    }

    .careers-description {
        max-width: 100%;
    }

    .careers-stats {
        justify-content: center;
        gap: 30px;
    }

    .careers-image {
        height: 300px;
        order: -1;
    }

    .floating-card {
        display: none;
    }

    .main-viewer {
        padding: 8px;
        padding-bottom: 0;
    }

    .pdf-container {
        flex-direction: column;
        width: calc(100vw - 16px);
        height: 100%;
        border-radius: 6px;
        max-height: 100%;
    }

    .pdf-page.left-page {
        width: 100%;
        height: 100%;
        padding: 12px;
        min-height: 400px;
    }

    .pdf-page.right-page {
        display: none;
        /* Hide right page on mobile */
    }

    .page-divider {
        display: none;
        /* Hide divider on mobile */
    }

    .floating-nav {
        display: none;
    }

    .control-bar {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 10px;
        min-height: 70px;
    }

    .control-section {
        gap: 10px;
    }

    .control-btn,
    .nav-btn-pdf {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .page-input {
        width: auto;
        height: 45px;
        font-size: 17px;
    }

    .page-info {
        font-size: 13px;
    }

    .team-section {
        padding: 40px 0;
    }

    .team-section-header {
        margin-bottom: 3rem;
    }

    .team-section-header h2 {
        font-size: 2rem;
    }

    .team-section-header p {
        font-size: 1rem;
    }

    .management-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .management-grid {
        grid-template-columns: 1fr;
        gap: 6.5rem 2rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .team-card {
        width: 100%;
        max-width: 280px;
        height: 350px;
        margin: 0 auto 110px;
        perspective: 1000px;
    }

    .team-card:hover .card-background {
        transform: rotateX(20deg) rotateZ(3deg) rotateY(-3deg) translateX(10px);
    }

    .bottom-content {
        bottom: -190px;
        height: 180px;
        border-radius: 12px;
    }

    .content-area {
        padding: 8px 12px 0;
    }

    .team-name {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .team-role {
        font-size: 0.8rem;
    }

    .team-description p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .linkedin-area {
        height: 30px;
    }

    .linkedin-fixed {
        width: 20px;
        height: 20px;
    }

    .linkedin-fixed i {
        font-size: 10px;
    }

    .management-grid:hover .team-card:not(:hover) {
        transform: scale(1);
    }

    .partners-section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .partner-card {
        padding: 30px 20px;
    }

    .job-career-area {
        padding: 60px 0;
    }

    .careers-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .careers-text {
        padding-right: 0;
    }

    .careers-title {
        font-size: 2.5rem;
    }

    .careers-description {
        max-width: 100%;
    }

    .careers-stats {
        justify-content: center;
        gap: 30px;
    }

    .careers-image {
        height: 300px;
        order: -1;
    }

    .floating-card {
        display: none;
    }
    .viewer-container{
        height: 100%;
    }
    .pdf-page.left-page {
        width: 100%;
        height: 100%;
        padding: 12px;
        min-height: 400px;
    }

    .pdf-page.right-page {
        display: none;
        /* Hide right page on mobile */
    }

    .page-divider {
        display: none;
        /* Hide divider on mobile */
    }

    /* Hide floating navigation on mobile */
    .floating-nav {
        display: none;
    }

    .control-bar {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 10px;
        min-height: 70px;
    }

    .control-section {
        gap: 10px;
    }

    .control-btn,
    .nav-btn-pdf {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .page-input {
        width: auto;
        height: 45px;
        font-size: 17px;
    }

    .page-info {
        font-size: 13px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding-right: 0 !important;
    }
    
    .dynamic-title-container {
        min-height: 180px;
    }
    
    .search-button span {
        display: none;
    }
    
    .search-button {
        padding: 14px;
    }
    
    .suggestions-scroll-container::before,
    .suggestions-scroll-container::after {
        width: 20px;
    }

    .safe-breadcrumb {
        padding: 25px 0;
    }
    
    .safe-breadcrumb-flex {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
    
    .safe-page-title {
        font-size: 1.8rem;
    }
    
    .safe-breadcrumb-nav {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .explore-section {
        padding: 2rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .toc-card {
        display: none;
    }

    .main-title,
    .testimonial-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .testimonial-title {
        margin-bottom: 40px;
    }

    .stat-number-contact {
        font-size: 40px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stats-grid-contact {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }

    .testimonial-container {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-list:nth-child(odd) {
        margin-top: 0;
    }

    .testimonial-card {
        padding: 24px;
    }

    .section-title-client-logo {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .logos-row {
        gap: 50px;
    }

    .logos-track {
        gap: 50px;
    }

    .logo-item {
        height: 60px;
    }

    .logo-item img {
        max-height: 40px;
    }

    .logos-container::before,
    .logos-container::after {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .category-filter {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .filter-tabs {
        flex-direction: column;
        gap: 0.375rem;
        padding: 0.75rem;
    }

    .filter-tab {
        background: white;
        border: 1px solid #e2e8f0;
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .filter-tab:hover {
        transform: none;
        border-color: rgba(255, 92, 1, 0.2);
    }

    .filter-tab.active {
        border: 1px solid transparent;
        transform: none;
    }

    .filter-tab.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
        border-radius: 8px;
        pointer-events: none;
    }

    /* Alternative layouts */
    .filter-tabs.horizontal-scroll {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filter-tabs.horizontal-scroll::-webkit-scrollbar {
        display: none;
    }

    .filter-tabs.horizontal-scroll .filter-tab {
        flex-shrink: 0;
        min-width: 120px;
        width: auto;
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }

    .filter-tabs.stack-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        background: transparent;
        padding: 0;
        border: none;
    }

    .filter-tabs.stack-layout .filter-tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }

    .blog-text-content code {
        font-size: 0.8125em;
        padding: 0.1rem 0.25rem;
    }

    .blog-text-content pre {
        padding: 0.75rem;
        margin: 1rem -0.75rem;
    }

    .blog-text-content pre code {
        font-size: 0.75rem;
    }

    .team-section-header h2 {
        font-size: 1.75rem;
    }

    .team-section-header p {
        font-size: 0.95rem;
    }

    .management-title {
        font-size: 1.3rem;
    }

    .team-card {
        max-width: 260px;
        height: 320px;
        margin-bottom: 100px;
    }

    .bottom-content {
        bottom: -170px;
        height: 160px;
    }

    .team-name {
        font-size: 0.95rem;
    }

    .team-role {
        font-size: 0.75rem;
    }

    .team-description p {
        font-size: 0.75rem;
    }

    .timeline-header {
        margin-bottom: 60px;
    }

    .timeline-header h2 {
        font-size: 2rem;
    }

    .timeline-header p {
        font-size: 0.95rem;
    }

    .timeline-container {
        padding: 0 20px;
    }

    .timeline-line {
        left: 25px;
    }

    .timeline-number {
        left: 25px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .timeline-content-wrapper {
        width: calc(100% - 70px);
    }

    .milestone-card {
        padding: 16px;
    }

    .milestone-title {
        font-size: 1.1rem;
    }

    .milestone-card.expanded ~ .milestone-details {
        padding: 16px;
    }

        .careers-title {
        font-size: 2rem;
    }

    .careers-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

        .main-viewer {
        padding: 5px;
        padding-bottom: 30px;
    }

    .pdf-container {
        flex-direction: column;
        width: calc(100vw - 10px);
        height: 100%;
        border-radius: 4px;
    }

    .pdf-page.left-page {
        width: 100%;
        height: 100%;
        padding: 8px;
        min-height: 300px;
    }

    .pdf-page.right-page {
        display: none;
    }

    .page-divider {
        display: none;
    }

    .floating-nav {
        display: none;
    }

    .control-bar {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 8px;
        min-height: 80px;
        height: auto;
    }

    .control-section {
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .control-btn,
    .nav-btn-pdf {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .page-input {
        width: auto;
        height: 45px;
        font-size: 17px;
    }

    .page-info {
        font-size: 12px;
        gap: 6px;
    }

    .stats-grid-contact {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .main-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .accreditation-card {
        min-height: auto;
    }

    .accreditation-logo {
        width: 80px;
        height: 80px;
    }

    .logos-container::before,
    .logos-container::after {
        width: 80px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .dynamic-title-container {
        min-height: 160px;
    }
}