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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-text {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-container:hover .logo-glow {
    opacity: 1;
}

.logo-container:hover .logo-text {
    color: #1d4ed8;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAI0lEQVQoU2NkYGD4z0ABYBxVSFUBC4b9T0wCqGZgYGAoCAAAPFsIDa7W82kAAAAASUVORK5CYII=");
    opacity: 0.02;
}

/* Particles Background */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 60%; animation-delay: 4s; }
.particle:nth-child(6) { left: 70%; animation-delay: 5s; }
.particle:nth-child(7) { left: 80%; animation-delay: 6s; }
.particle:nth-child(8) { left: 90%; animation-delay: 7s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2.4rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Hero typography refinements */
.hero-headline-primary {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
}

.hero-headline-secondary {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #ffffff;
    opacity: 0.95;
}

.hero-credibility {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.8rem;
}

.hero-description {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-highlight {
    font-weight: 700;
    color: #fde68a;
}

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

.accent-line {
    width: 70px;
    height: 2px;
    margin-top: 8px;
    margin-left: 6px;
    border-radius: 2px;
    background: #3EE4FF;
    opacity: 0.85;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.4rem;
    animation: fadeInUp 1s ease 0.6s both;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    /* Firefox-specific fixes */
    -moz-animation: fadeInUp 1s ease 0.6s both;
    -moz-transform: translateY(0);
    /* Ensure visibility in Firefox */
    visibility: visible;
    display: -moz-grid;
    display: grid;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.metric-card.clickable {
    cursor: pointer;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.metric-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(251, 191, 36, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    color: #1f2937;
    font-weight: 600;
}

.metric-card:hover .metric-hover {
    opacity: 1;
}

.metric-card:active {
    transform: scale(0.98) translateY(-3px);
}

/* Add focus styles for accessibility */
.metric-card:focus {
    outline: 2px solid rgba(251, 191, 36, 0.8);
    outline-offset: 2px;
}

.metric-hover i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.metric-hover span {
    font-size: 0.9rem;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
    text-align: center;
}

.hero-cta .btn {
    padding: 10px 24px;
}

/* Hero Profile Section */
.hero-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s both;
}

.profile-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 35%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-text {
    text-align: left;
    flex: 1;
    min-width: 300px;
    max-width: 720px;
}

.hero-text .hero-title {
    text-align: left;
    margin-bottom: 1rem;
}

.hero-text .hero-subtitle {
    text-align: left;
    margin-bottom: 0.5rem;
}

.hero-text .hero-tagline {
    text-align: left;
    margin-bottom: 1.5rem;
}

.social-links-hero {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: #1f2937;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 4rem 0;
    scroll-margin-top: 90px; /* Anchor offset for fixed header */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.4rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #667eea);
    border-radius: 2px;
}

/* About Section */
.about {
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.8;
}

.about-details {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(5px);
}

.detail-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

/* Innovations Section */
.innovations {
    background: #f8fafc;
}

.innovations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.innovation-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: fit-content;
}

.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.innovation-card.featured {
    border: 2px solid #2563eb;
    position: relative;
}

.innovation-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.innovation-header {
    margin-bottom: 1rem;
}

.innovation-header h3 {
    color: #1f2937;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.innovation-company {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
}

.innovation-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.innovation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f9ff;
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.innovation-badge i {
    font-size: 0.9rem;
}

.innovation-links {
    margin-top: 1rem;
}

.innovation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #2563eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.innovation-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
}

.innovation-link i {
    font-size: 1rem;
}

/* Recognition Section */
.recognition {
    background: white;
}

.recognition-content {
    max-width: 1200px;
    margin: 0 auto;
}

.recognition-card.featured {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.4rem;
    border-radius: 20px;
    margin-bottom: 2.4rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.recognition-badge-visual {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recognition-badge-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.recognition-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.recognition-year {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.recognition-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.recognition-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.recognition-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.recognition-item:hover {
    transform: translateY(-3px);
}

.recognition-icon-small {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.recognition-text h4 {
    color: #1f2937;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.recognition-text span {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.recognition-text p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #2563eb, #667eea);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.4rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 2rem;
    text-align: left;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #2563eb;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-header h3 {
    color: #1f2937;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.company {
    color: #2563eb;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.period {
    color: #6b7280;
    font-size: 0.9rem;
}

.timeline-details {
    margin-top: 1rem;
    list-style: none;
}

.timeline-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
}

.timeline-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Book Promotion Section */
.book-promotion {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.book-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.book-cover {
    position: relative;
    text-align: center;
}

.book-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.book-image:hover {
    transform: translateY(-10px);
}

.book-badge {
    position: absolute;
    top: -10px;
    right: 20%;
    background: #fbbf24;
    color: #1f2937;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.book-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.book-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.book-authors {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.author a:hover {
    color: #f59e0b;
}

.author-tag {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
}

.book-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.book-release,
.book-publisher,
.book-discount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.book-release i,
.book-publisher i,
.book-discount i {
    color: #fbbf24;
    width: 20px;
}

.book-discount strong {
    color: #fbbf24;
    font-weight: 700;
}

.book-publisher a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.book-publisher a:hover {
    color: #f59e0b;
}

.book-overview h4 {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.book-overview p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.book-testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    font-weight: 600;
}

.testimonial-header i {
    font-size: 1.2rem;
}

.book-testimonial blockquote {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.book-cta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.book-retailers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.book-retailers span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.retailer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.retailer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.retailer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.retailer-link i {
    font-size: 1rem;
}

.book-cta .btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

.book-cta .btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.book-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.book-cta .btn-secondary:hover {
    background: white;
    color: #1f2937;
    transform: translateY(-2px);
}

/* Horizontal Scrollable Books Layout */
.books-scroll-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2rem 0;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    -webkit-overflow-scrolling: touch;
}

.books-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.books-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 1rem;
}

.books-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.books-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.book-feature {
    flex: 0 0 calc(90% - 1rem);
    max-width: 900px;
    min-width: 320px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.book-feature.primary {
    border: 3px solid #fbbf24;
}

.book-feature.secondary {
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.book-feature-cover {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    align-items: flex-start;
}

.book-feature-cover img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.book-feature-cover img:hover {
    transform: scale(1.05);
}

.book-feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.book-feature-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 0;
}

.book-feature-authors {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 1rem;
}

.book-feature-authors a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.book-feature-authors a:hover {
    color: #1d4ed8;
}

.book-feature-authors span {
    color: #6b7280;
    font-weight: 500;
}

.book-feature-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.book-feature-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.book-feature-meta i {
    color: #2563eb;
    width: 18px;
}

.book-feature-highlights {
    flex: 1;
}

.book-feature-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.book-feature-highlights li {
    position: relative;
    padding-left: 1.5rem;
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.95rem;
}

.book-feature-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.book-feature-retailers {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.book-feature-retailers a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: white;
    color: #2563eb;
    text-decoration: none;
    border: 2px solid #2563eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.book-feature-retailers a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.book-feature-retailers a i {
    font-size: 1rem;
}

/* Publications Section */
.publications {
    background: #f8fafc;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.publication-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.publication-card.wide {
    grid-column: 1 / -1;
}

.publication-card:hover {
    transform: translateY(-5px);
}

.publication-card.featured {
    border: 2px solid #2563eb;
    position: relative;
}

.publication-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.publication-header h3 {
    color: #1f2937;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    flex: 1;
}

.publication-year {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.publication-publisher {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.publication-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.publication-foreword {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
    font-size: 0.9rem;
    color: #1e40af;
}

.publication-list {
    list-style: none;
}

.publication-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
}

.publication-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.publication-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.publication-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.publication-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f0f9ff;
    color: #1e40af;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    border: 1px solid #dbeafe;
}

.publication-badge-small i {
    font-size: 0.6rem;
}

.publication-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 12px;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.publication-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.publication-header h3 {
    color: #1f2937;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    flex: 1;
    margin-top: 0;
}

/* Projects Section */
.projects {
    background: #f8fafc;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: fit-content;
    border: 1px solid #e5e7eb;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.project-card.featured {
    border: 2px solid #2563eb;
    position: relative;
}

.project-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 12px;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.project-header h3 {
    color: #1f2937;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    flex: 1;
    margin-top: 0;
}

.project-category {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

.project-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #f0f9ff;
    color: #1e40af;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #2563eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
}

.project-link i {
    font-size: 1rem;
}

.project-chips {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;
  user-select: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  border: 1px solid rgba(0,0,0,.06);
}

.chip-mit {
  background: #A31F34; /* MIT Crimson */
  color: #fff;
  box-shadow: 0 6px 14px rgba(163,31,52,.22);
  border-color: rgba(255,255,255,.18);
}

.chip:hover {
  transform: translateY(-1px);
}

.chip:active {
  transform: translateY(0);
}

.chip-icon {
  font-size: 13px;
  line-height: 1;
}

@media (prefers-color-scheme: dark) {
  .chip {
    border-color: rgba(255,255,255,.12);
  }
  .chip-mit {
    box-shadow: 0 6px 14px rgba(163,31,52,.35);
  }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: fit-content;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #2563eb;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #4b5563;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.testimonial-author-image {
    flex-shrink: 0;
}

.testimonial-profile-pic {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fbbf24;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-author-info h4 {
    color: #1f2937;
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
}

.testimonial-author-info span {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.2;
}

.testimonial-author-info a {
  color: inherit;
  text-decoration: none;
}

.testimonial-author-info a:hover {
  text-decoration: underline;
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    color: #2563eb;
    font-size: 1.5rem;
    width: 30px;
}

.contact-item h4 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #6b7280;
}

.contact-item p a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: #2563eb;
}

.detail-item span a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-item span a:hover {
    color: #2563eb;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fbbf24;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #374151;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #667eea, #fbbf24);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 0 2px 2px 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #667eea);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, #1d4ed8, #5b6ee8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top:focus {
    outline: 2px solid rgba(251, 191, 36, 0.8);
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-profile {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
        min-width: auto;
    }

    .hero-text .hero-title,
    .hero-text .hero-subtitle,
    .hero-text .hero-tagline {
        text-align: center;
    }

    .social-links-hero {
        justify-content: center;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -45px;
    }

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

    .publications-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        gap: 0.5rem;
    }
    
    .testimonial-profile-pic {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-author-info h4 {
        font-size: 0.9rem;
    }
    
    .testimonial-author-info span {
        font-size: 0.8rem;
    }
    .innovations-grid {
        grid-template-columns: 1fr;
    }
    
    .innovation-links {
        text-align: center;
    }
    
    .innovation-link {
        justify-content: center;
        width: 100%;
        max-width: 200px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link {
        justify-content: center;
    }
    
    .publication-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }
    
    .publication-header h3 {
        font-size: 1.1rem;
    }

    .recognition-card.featured {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .recognition-badge-visual {
        width: 100px;
        height: 100px;
    }

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

    .book-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .book-title {
        font-size: 2rem;
    }

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

    .book-cta {
        justify-content: center;
        align-items: center;
    }

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

    /* Horizontal scrollable books on mobile */
    .books-scroll-container {
        margin: 0;
        padding: 1.5rem 0;
    }

    .book-feature {
        flex: 0 0 calc(100% - 2rem);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .book-feature-cover {
        width: 100%;
        text-align: center;
    }

    .book-feature-cover img {
        width: 100%;
        max-width: 200px;
    }

    .book-feature-content h3 {
        font-size: 1.5rem;
    }

    .book-feature-authors {
        justify-content: center;
    }

    .book-feature-retailers {
        justify-content: center;
    }

    .book-feature-retailers a {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: #10b981;
}

.notification-error .notification-content i {
    color: #ef4444;
}

.notification-info .notification-content i {
    color: #3b82f6;
}

.notification-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(251, 191, 36, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: cursor-fade 1s ease-out forwards;
}

@keyframes cursor-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* ==========================================================================
   Biography Section & Sticky Author Sidebar Card
   ========================================================================== */
.bio-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.bio-content {
    min-width: 0;
}

.bio-card-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.bio-card-sticky:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bio-card-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.bio-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.bio-card-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.bio-card-details {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.bio-card-details li {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bio-card-details li i {
    color: #2563eb;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Responsive Bio Layout */
@media (max-width: 992px) {
    .bio-layout {
        grid-template-columns: 1.8fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .bio-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .bio-card-sticky {
        position: relative;
        top: 0;
        padding: 2rem 1.5rem;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* Page Header Dark Background */
.section-bg-dark {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(118, 75, 162, 0.15) 0%, transparent 60%),
                #0b0f19 !important;
    color: #f8fafc !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark p {
    color: #f8fafc !important;
}

/* ==========================================================================
   Navbar Dropdown Styling (Home Dropdown with Chevron & Icons)
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(15px) !important;
    background: rgba(15, 23, 42, 0.5) !important; /* Translucent glass background */
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 2px solid #6366f1 !important; /* Indigo accent indicator */
    border-radius: 12px !important;
    padding: 0.75rem 0 !important;
    min-width: 220px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.3s !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    z-index: 1000 !important;
    list-style: none !important;
    margin: 0 !important;
}

.dropdown-menu li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

.dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0.65rem 1.5rem !important;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
    text-align: left !important;
    border: none !important;
    border-bottom: none !important;
    background: transparent !important;
}

.dropdown-menu a i {
    font-size: 0.95rem !important;
    color: #818cf8 !important; /* Soft purple icon tint */
    width: 18px !important;
    text-align: center !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

.dropdown-menu a:hover {
    background: #4f46e5 !important; /* Solid Indigo background on hover */
    color: #ffffff !important;
    padding-left: 1.75rem !important;
    text-decoration: none !important;
}

.dropdown-menu a:hover i {
    transform: scale(1.15) !important;
    color: #ffffff !important; /* High contrast white icon on hover */
}

/* Show Dropdown on Hover (Desktop) */
@media (min-width: 769px) {
    .nav-item-dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    .nav-item-dropdown:hover .dropdown-toggle i.fa-chevron-down {
        transform: rotate(180deg) !important;
    }
}

/* Dropdown styling for Mobile Navbar */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(0, 0, 0, 0.03) !important;
        width: 100% !important;
        padding: 0.5rem 0 !important;
        margin-top: 0.5rem !important;
        display: none !important;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-menu a {
        justify-content: center !important;
        padding: 0.6rem 0 !important;
        color: #4b5563 !important;
    }
    
    .dropdown-menu a i {
        color: #6366f1 !important;
    }
    
    .dropdown-menu a:hover {
        background: rgba(0,0,0,0.05) !important;
        padding-left: 0 !important;
        color: #111827 !important;
    }
}

/* ==========================================================================
   Author Page Redesign Layout Classes (Compact & Book-First)
   ========================================================================== */

/* Three-Book Arc Grid */
.arc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.arc-step-card {
    display: block;
    text-decoration: none;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.arc-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    border-color: rgba(99, 102, 241, 0.25);
}
.arc-step-card .step-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.08);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    line-height: 1;
}
.arc-step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b0f19;
    margin: 0 0 0.5rem 0;
}
.arc-step-card p {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0;
}
.arc-summary {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #4f46e5;
    margin: 1.5rem 0 0 0;
}

/* Horizontal Book Cards */
.books-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}
.book-horizontal-card {
    display: flex;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    padding: 1.5rem;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.book-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.25);
}
.book-card-cover {
    flex-shrink: 0;
    width: 150px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.015);
    border-radius: 8px;
    padding: 0.5rem;
}
.book-card-cover img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.book-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.book-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}
.book-card-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}
.book-card-actions {
    display: flex;
    gap: 0.75rem;
}
.book-card-actions .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.book-card-actions .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    color: white;
}
.book-card-actions .btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.2);
}
.book-card-actions .btn-secondary {
    border: 1px solid rgba(0,0,0,0.12);
    color: #4b5563;
    background: #fff;
}
.book-card-actions .btn-secondary:hover {
    background: #f8fafc;
    border-color: rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

/* Two-Column Lens & Companion Hub Grid */
.lens-companion-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.companion-compact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.companion-compact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.companion-compact-item:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.015);
}
.companion-compact-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.companion-compact-header i {
    font-size: 1.1rem;
}
.companion-compact-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}
.btn-secondary-compact {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1);
    color: #4b5563;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-secondary-compact:hover {
    background: #f8fafc;
    border-color: rgba(0,0,0,0.18);
}

/* Suggested Speaking Topics Chips */
.speaking-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}
.speaking-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.05);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.speaking-chip:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.08);
}
.speaking-chip i {
    font-size: 0.85rem;
}

/* Compact CTA Band */
.cta-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
}
.cta-text {
    flex-grow: 1;
    text-align: left;
}
.cta-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b0f19;
    margin: 0 0 0.5rem 0;
}
.cta-text p {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}
.cta-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.btn-primary-cta, .btn-secondary-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-cta {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    color: white;
}
.btn-primary-cta:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.2);
}
.btn-secondary-cta {
    border: 1px solid rgba(0,0,0,0.12);
    color: #4b5563;
    background: #fff;
}
.btn-secondary-cta:hover {
    background: #f8fafc;
    border-color: rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

/* Responsiveness Media Queries */
@media (max-width: 900px) {
    .cta-band {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.25rem;
    }
    .cta-text {
        text-align: center;
    }
    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }
    .btn-primary-cta, .btn-secondary-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .arc-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .book-horizontal-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    .book-card-cover {
        width: 140px;
        height: 200px;
    }
    .book-card-info {
        align-items: center;
    }
    .book-card-actions {
        width: 100%;
        flex-direction: column;
    }
    .book-card-actions .btn {
        width: 100%;
    }
    .lens-companion-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .companion-compact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .btn-secondary-compact {
        width: 100%;
        text-align: center;
    }
}


 