/* ========================================
   RAGHAVAN ADHISANKAR WEBSITE - COMPLETE CSS
   Updated with Horizontal Mobile Navigation
   ======================================== */

:root {
    --royal-blue: #2C5282;
    --deep-gold: #D69E2E;
    --pure-white: #FFFFFF;
    --authority-black: #1A202C;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #EDF2F7;
    --bg-dark: #2D3748;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --text-white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #2C5282 0%, #3182CE 100%);
    --gradient-gold: linear-gradient(135deg, #D69E2E 0%, #F6E05E 100%);
    --shadow-sm: 0 2px 8px rgba(44, 82, 130, 0.1);
    --shadow-md: 0 4px 16px rgba(44, 82, 130, 0.15);
    --shadow-lg: 0 8px 32px rgba(44, 82, 130, 0.2);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--royal-blue);
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.875rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 48px;
    min-width: 140px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.btn-secondary {
    background: transparent;
    color: var(--royal-blue);
    border-color: var(--royal-blue);
}

.btn-secondary:hover {
    background: var(--royal-blue);
    color: var(--text-white);
}

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

.btn-outline:hover {
    background: var(--deep-gold);
    color: var(--text-white);
}

@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
        min-width: 120px;
    }
}

/* Navigation - UPDATED WITH HORIZONTAL MOBILE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 82, 130, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
}

.nav-logo h2 {
    font-family: var(--font-serif);
    color: var(--royal-blue);
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    margin: 0;
    font-weight: 700;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: var(--deep-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--royal-blue);
    margin: 2px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* HORIZONTAL Mobile Navigation - UPDATED */
@media (max-width: 768px) {
    .hamburger {
        display: none; /* Hide hamburger completely */
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.8rem 0;
        min-height: auto;
    }
    
    .nav-logo {
        text-align: center;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
        margin: 0;
    }
    
    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        background: transparent;
        width: 100%;
        text-align: center;
        transition: none;
        box-shadow: none;
        padding: 0;
        gap: 0.5rem;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        display: block;
        width: auto;
        border: none;
        border-radius: 25px;
        background: rgba(44, 82, 130, 0.1);
        color: var(--royal-blue);
        text-decoration: none;
        white-space: nowrap;
        transition: var(--transition);
        margin: 0.2rem;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(44, 82, 130, 0.05);
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--royal-blue);
        color: var(--text-white);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(44, 82, 130, 0.2);
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Extra small screens - more compact */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.6rem 0;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        gap: 0.3rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin: 0.1rem;
    }
}

.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    padding: 0 1rem;
}

.hero-title {
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.title-sub {
    display: block;
    font-size: clamp(1.125rem, 4vw, 1.875rem);
    font-weight: 400;
    color: var(--deep-gold);
    font-family: var(--font-sans);
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 6rem 0 2rem; /* Increased top padding for horizontal nav */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 250px;
        max-width: 90vw;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--royal-blue);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.quote-section {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
    text-align: center;
}

.main-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--royal-blue);
    font-style: italic;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-quote p {
    margin-bottom: 1rem;
    position: relative;
    color: var(--royal-blue);
}

.main-quote cite {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-style: normal;
}

@media (min-width: 768px) {
    .main-quote p::before,
    .main-quote p::after {
        content: '"';
        font-size: clamp(2rem, 6vw, 4rem);
        color: var(--deep-gold);
        position: absolute;
        top: -10px;
    }
    
    .main-quote p::before { left: -40px; }
    .main-quote p::after { right: -40px; }
}

.quick-links {
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

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

.venture-card {
    background-color: var(--bg-primary);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(44, 82, 130, 0.1);
}

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

.venture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
}

.maatka .venture-icon {
    background: var(--gradient-primary);
}

.kryta .venture-icon {
    background: var(--gradient-gold);
}

.yellowbay .venture-icon {
    background: linear-gradient(135deg, #38B2AC, #319795);
}

.venture-card h3 {
    margin-bottom: 1rem;
    color: var(--royal-blue);
    font-size: 1.25rem;
}

.venture-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.venture-link {
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.venture-link:hover {
    color: var(--deep-gold);
    gap: 1rem;
}

@media (max-width: 768px) {
    .ventures-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .venture-card {
        padding: 1.5rem 1rem;
    }
}

.books-preview {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

.books-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.books-text h2 {
    color: var(--royal-blue);
    margin-bottom: 1rem;
}

.books-text h3 {
    color: var(--deep-gold);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.books-text p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.book-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--royal-blue);
    font-family: var(--font-serif);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.books-image {
    text-align: center;
}

.books-image img {
    max-width: 300px;
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.books-image img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .books-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .book-stats {
        justify-content: center;
        gap: 3rem;
    }
}

.stats-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: var(--text-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 0.5rem;
    color: var(--deep-gold);
    font-family: var(--font-serif);
}

.stat-item p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin: 0;
    color: var(--text-white);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.footer {
    background-color: var(--authority-black);
    color: var(--text-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: var(--deep-gold);
    font-size: 1.25rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

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

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

.footer-section ul li a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--deep-gold);
    transform: translateX(5px);
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.125rem;
}

.social-link:hover {
    background-color: var(--deep-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.7;
    color: var(--text-white);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }
}

input, textarea, select {
    width: 100%;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid rgba(44, 82, 130, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    line-height: 1.5;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

input::placeholder, textarea::placeholder {
    color: var(--text-light);
}

input.error, textarea.error {
    border-color: #E53E3E;
    background-color: #FED7D7;
}

.error-message {
    color: #E53E3E;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none; }
.visible { display: block; }

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background-color: var(--text-white);
    opacity: 0.8;
    animation: scroll-bounce 2s infinite;
    border-radius: 1px;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0); 
        opacity: 0.8;
    }
    40% { 
        transform: translateY(-10px); 
        opacity: 1;
    }
    60% { 
        transform: translateY(-5px); 
        opacity: 0.9;
    }
}

/* About Page Specific Styles */
.about-hero {
    padding: 140px 0 80px; /* Increased top padding for horizontal nav */
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

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

.about-text h1 {
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .about-hero {
        padding: 120px 0 60px; /* Adjusted for horizontal nav */
        min-height: 60vh;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    padding: 140px 0 80px; /* Increased top padding for horizontal nav */
    background: linear-gradient(135deg, #2C5282 0%, #3182CE 100%);
    color: white;
    text-align: center;
}

.contact-hero h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.contact-form-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: #2C5282;
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin: 3rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(44, 82, 130, 0.1);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2C5282, #3182CE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.method-info h4 {
    color: #2C5282;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.business-hours {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #D69E2E;
}

.business-hours h4 {
    color: #2C5282;
    margin-bottom: 1rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(44, 82, 130, 0.15);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2C5282;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F8FAFC;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2C5282;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.captcha-group {
    background: #F0F8FF;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #D69E2E;
}

#submitBtn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px; /* Adjusted for horizontal nav */
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
}

/* Blog Page Specific Styles */
.blog-hero {
    padding: 140px 0 60px; /* Increased top padding for horizontal nav */
    background: linear-gradient(135deg, #2C5282 0%, #3182CE 100%);
    color: white;
    text-align: center;
}

.blog-hero h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.blog-hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.blog-filters {
    max-width: 600px;
    margin: 0 auto;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #D69E2E;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #B7791F;
    transform: translateY(-50%) scale(1.1);
}

.category-filter select {
    padding: 12px 16px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    min-width: 150px;
}

.clear-filters {
    color: #D69E2E;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #D69E2E;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: #D69E2E;
    color: white;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px; /* Adjusted for horizontal nav */
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
}

/* Ventures Page Specific Styles */
.ventures-hero {
    padding: 140px 0 80px; /* Increased top padding for horizontal nav */
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: center;
}

.ventures-hero h1 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.ventures-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.venture-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-gold);
    font-family: var(--font-serif);
}

.venture-stat .stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .ventures-hero {
        padding: 120px 0 60px; /* Adjusted for horizontal nav */
    }
}

/* Books Page Specific Styles */
.books-hero {
    padding: 140px 0 80px; /* Increased top padding for horizontal nav */
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    position: relative;
}

.books-hero h1 {
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 768px) {
    .books-hero {
        padding: 120px 0 60px; /* Adjusted for horizontal nav */
    }
}

/* Media Page Specific Styles */
.media-hero {
    padding: 140px 0 80px; /* Increased top padding for horizontal nav */
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.media-hero h1 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 768px) {
    .media-hero {
        padding: 120px 0 60px; /* Adjusted for horizontal nav */
    }
}

@media print {
    .navbar,
    .whatsapp-float,
    .hero-buttons,
    .social-links {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
        font-size: 12pt;
    }
    
    .hero {
        height: auto;
        background: white !important;
        color: black !important;
        padding: 20pt 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }
}