/* ============================================
   HEADER & NAVIGATION
   ============================================ */

/* Navigation Bar - Static Site Style */
.navbar {
    position: sticky !important;
    top: 0 !important;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Adjust for WordPress admin bar */
body.admin-bar .navbar {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px !important;
    }
}

/* Ensure body and html don't prevent sticky */
body, html {
    overflow-x: hidden;
    overflow-y: auto;
}

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

.nav-logo h2 {
    color: #16a34a;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

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

.nav-menu li {
    margin: 0;
}

.nav-menu .nav-link,
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
}

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

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

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

/* Hide "Home" link on desktop only */
.nav-menu li a[href*="#home"],
.nav-menu li a[href*="/#home"],
.nav-menu li:first-child a[href*="home"],
.nav-menu li:first-child a[href="/"],
.nav-menu li:first-child a[href*="home"],
.nav-menu li a[href="/"]:not([href*="#"]),
.nav-menu li:first-child {
    display: none;
}

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

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

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

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        margin-right: 0.5rem;
    }
    
    .bar {
        width: 20px;
        height: 2.5px;
    }
    
    /* Show "Home" link on mobile */
    .nav-menu li a[href*="#home"],
    .nav-menu li a[href*="/#home"],
    .nav-menu li:first-child a[href*="home"] {
        display: block;
    }

    .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;
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu .nav-link,
    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }
}

.top-banner {
    background-color: var(--slate-900);
    padding: 0.75rem 0;
}

/* Hide top-banner (purple/dark band) on homepage */
.homepage .top-banner,
body.home .top-banner,
.is-front-page .top-banner {
    display: none !important;
}

/* Remove the gap between header and hero */
/* Remove global bottom margin on headers (including Elementor header) */
header,
header.elementor.elementor-location-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 1. Remove the bottom margin under the header on the homepage */
body.home header,
body.home header.elementor.elementor-location-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 2. Ensure the main content on the homepage starts flush under the header */
body.home main#main.site-main.homepage,
body.home .site-main.homepage {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Make sure the homepage main wrapper has no extra top spacing */
main.site-main.homepage,
.site-main.homepage {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Negative margin on hero to pull it up and remove gap */
.homepage .hero,
.site-main.homepage .hero,
body.home .hero {
    margin-top: -4rem !important;
}

.elementor-section.elementor-top-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.top-banner-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.backed-by-text {
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 500;
}

.parent-logos {
    display: flex;
    align-items: center;
}

.parent-companies-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo-link {
    display: block;
    text-decoration: none;
}

.site-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.menu-toggle-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--slate-900);
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--slate-700);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--green-600);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin: 0;
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--slate-700);
    text-transform: none;
    font-weight: 500;
    font-size: 0.9375rem;
}

.nav-menu .sub-menu a:hover {
    background-color: var(--green-50);
    color: var(--green-600);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: var(--slate-900);
    color: #ffffff;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-combo-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: var(--spacing-sm);
}

.footer-company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-400);
    margin-bottom: var(--spacing-xs);
}

.footer-company-desc {
    color: var(--slate-300);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.footer-widget-area h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-widget-area a {
    color: var(--slate-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget-area a:hover {
    color: var(--green-400);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    color: var(--slate-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--green-400);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: var(--spacing-md);
    text-align: center;
}

.copyright {
    color: var(--slate-400);
    font-size: 0.875rem;
    margin: 0;
}

/* Footer Contact Info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--slate-300);
}

.footer-contact-item i {
    font-size: 1.25rem;
    color: var(--green-400);
    margin-top: 0.25rem;
    min-width: 24px;
}

.footer-contact-item h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.footer-contact-item p {
    color: var(--slate-300);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.footer-contact-item p a {
    color: var(--green-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item p a:hover {
    color: var(--green-300);
    text-decoration: underline;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--green-600);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--green-700);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

/* ============================================
   RESPONSIVE - HEADER & FOOTER
   ============================================ */

@media (max-width: 768px) {
    .top-banner-content {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .backed-by-text {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .parent-companies-logo {
        max-height: 30px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--slate-200);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--slate-50);
        margin-left: var(--spacing-sm);
        margin-top: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-contact-info {
        margin-top: var(--spacing-md);
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */

/* Hero Section */
.bg-gradient-slate {
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
}

.hero-section {
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    align-items: center;
    gap: var(--spacing-xl);
}

.hero-text {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: var(--green-100);
    color: var(--green-800);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--slate-900);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-stats {
    position: relative;
}

.stats-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: var(--spacing-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--slate-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-600);
    font-weight: 500;
}

.text-blue {
    color: var(--blue-600);
}

.text-purple {
    color: var(--purple-600);
}

.text-amber {
    color: var(--amber-600);
}

/* Investment Highlights */
.highlights-grid {
    margin-top: var(--spacing-xl);
}

.highlight-card {
    text-align: center;
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: #ffffff;
    font-size: 1.5rem;
}

.bg-green {
    background-color: var(--green-600);
}

.bg-blue {
    background-color: var(--green-600);
}

.bg-purple {
    background-color: var(--green-700);
}

.bg-green-light {
    background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
}

.bg-blue-light {
    background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
}

.bg-purple-light {
    background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
}

.bg-gradient-green {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
}

.highlight-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--slate-900);
}

.highlight-card p {
    color: var(--slate-700);
    line-height: 1.6;
}

/* Trajectory Section */
.trajectory-tabs {
    margin-top: var(--spacing-xl);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--green-600);
    color: var(--green-600);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--green-600);
    color: #ffffff;
}

.tab-content {
    display: none;
}

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

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.timeline-item {
    text-align: center;
    padding: var(--spacing-md);
}

.timeline-year {
    display: inline-block;
    background-color: var(--green-600);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.timeline-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--slate-900);
}

.timeline-item p {
    color: var(--slate-600);
    font-size: 0.9375rem;
}

.preclinical-grid {
    margin-top: var(--spacing-md);
}

/* Financial Support Section */
.support-grid {
    margin-top: var(--spacing-xl);
}

.support-grid .card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
}

/* Partnerships Section */
.partnership-grid {
    margin-top: var(--spacing-xl);
}

.partnership-grid .card {
    background-color: var(--slate-800);
    color: #ffffff;
    border: 1px solid var(--slate-700);
}

.partnership-grid .card h3 {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
}

.partnership-grid .card p {
    color: var(--slate-300);
}

/* Contact Section */
.contact-grid {
    margin-top: var(--spacing-xl);
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--slate-900);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--slate-700);
}

.contact-item i {
    font-size: 1.25rem;
    width: 24px;
}

.contact-form-wrapper {
    padding: var(--spacing-lg);
}

.contact-form {
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

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

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

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

/* Why Godavari Section */
.why-godavari-grid {
    margin-top: var(--spacing-xl);
}

.why-card {
    text-align: center;
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.2);
}

/* Drug Class Section */
.drug-class-content {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.text-lg {
    font-size: 1.125rem;
}

/* Global Patents Section */
.patents-grid {
    margin-top: var(--spacing-xl);
}

.patent-card {
    padding: var(--spacing-lg);
    border-left: 4px solid var(--green-600);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patent-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.15);
}

.patent-card h3 {
    color: var(--green-600);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.patent-card p {
    color: var(--slate-600);
    line-height: 1.7;
}

/* Strategic Partnerships Section */
#strategic-partnerships {
    background: var(--slate-50);
}

/* Green Gradient Background */
.bg-gradient-green {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
}

/* White Button for Green Background */
.btn-white {
    background-color: #ffffff;
    color: var(--green-600);
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background-color: var(--green-50);
    color: var(--green-700);
    border-color: var(--green-50);
}

.opacity-90 {
    opacity: 0.9;
}

.bg-opacity-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* Responsive - Homepage */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .why-godavari-grid {
        grid-template-columns: 1fr;
    }
    
    .patents-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLOG & NEWS TEMPLATES
   ============================================ */

.page-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--green-700);
    margin-bottom: var(--spacing-sm);
}

.archive-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    max-width: 800px;
    margin: 0 auto;
}

.blog-grid,
.news-grid {
    margin-top: var(--spacing-xl);
}

.blog-card,
.news-card {
    overflow: hidden;
}

.blog-thumbnail,
.news-thumbnail {
    display: block;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.blog-thumbnail img,
.news-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.blog-thumbnail:hover img,
.news-thumbnail:hover img {
    transform: scale(1.05);
}

.blog-content,
.news-content {
    padding: 0;
}

.entry-header {
    margin-bottom: var(--spacing-md);
}

.entry-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.entry-title a {
    color: var(--slate-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--green-600);
}

.entry-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: var(--spacing-sm);
}

.entry-meta i {
    margin-right: 0.25rem;
}

.entry-summary {
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
}

.publications-list {
    margin-top: var(--spacing-xl);
}

.publication-item {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-lg);
}

.publication-content {
    display: flex;
    flex-direction: column;
}

.single-post .entry-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--slate-200);
}

.single-post .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--slate-700);
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    color: var(--slate-900);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.single-post .post-thumbnail {
    margin-bottom: var(--spacing-lg);
    border-radius: 0.5rem;
    overflow: hidden;
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--slate-200);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    background: var(--slate-50);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
}

.post-navigation a:hover {
    background: var(--green-50);
    color: var(--green-600);
}

.nav-subtitle {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
}

.nav-title {
    font-weight: 600;
    color: var(--slate-900);
}

.error-404 {
    padding: var(--spacing-2xl) 0;
}

.error-404 .page-title {
    font-size: 6rem;
    font-weight: 700;
    color: var(--green-600);
    margin-bottom: var(--spacing-md);
}

.error-404 h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--slate-50);
    color: var(--slate-700);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--green-600);
    color: #ffffff;
}

/* Responsive - Blog/News */
@media (max-width: 768px) {
    .blog-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .entry-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   STATIC SITE HOMEPAGE STYLES
   ============================================ */

/* Hero Section - Full Page */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/hero-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Changed from fixed for better mobile support */
    position: relative;
    color: white;
    padding-top: 0;
    margin-top: 0;
    width: 100%;
    overflow-x: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.4) 0%, rgba(21, 128, 61, 0.3) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    text-align: center;
}

.hero-subtitle-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: white;
    text-align: center;
}

.hero-description-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    margin: 0;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

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

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Who We Are Section */
.who-we-are {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Trajectory Section */
.trajectory {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.trajectory-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid #16a34a;
    color: #16a34a;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: #16a34a;
    color: #ffffff;
}

.tab-content {
    display: none;
}

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

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

.timeline-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.timeline-year {
    display: inline-block;
    background-color: #16a34a;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

.timeline-item p {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
}

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

.preclinical-grid .card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preclinical-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.preclinical-grid .card h3 {
    color: #16a34a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.preclinical-grid .card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about-card .card-icon i {
    font-size: 2rem;
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Pipeline Section */
.pipeline {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.pipeline-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.pipeline-image {
    order: 1;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pipeline-image img {
    width: 100%;
    max-height: 400px;
    height: auto;
    display: block;
    object-fit: cover;
}

.pipeline-text {
    order: 2;
    padding: 1rem;
}

.pipeline-text h3 {
    font-size: 1.75rem;
    color: #16a34a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.pipeline-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6b7280;
}

/* Global Patents Section */
.global-patents {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

.patent-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #16a34a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patent-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.15);
}

.patent-card h3 {
    color: #16a34a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.patent-card h3 i {
    font-size: 1.5rem;
}

.patent-card p {
    color: #6b7280;
    line-height: 1.7;
}

.patent-card p strong {
    color: #1f2937;
}

/* Partner with Us Section */
.partnerships {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
}

.partnerships .section-header h2 {
    color: white;
}

.partnerships .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

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

.partnership-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.partnership-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.partnership-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.partnership-card i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.partnership-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.text-white {
    color: white !important;
}

.opacity-90 {
    opacity: 0.9;
}

.btn-white {
    background-color: white;
    color: #16a34a;
    border: 2px solid white;
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #15803d;
}

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

.mt-4 {
    margin-top: 2rem;
}

.btn-lg {
    padding: 14px 35px;
    font-size: 1.1rem;
}

/* Why Godavari Section */
.why-godavari {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.why-godavari-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #16a34a;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.2);
}

.why-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.why-card h3 {
    font-size: 1.5rem;
    color: #16a34a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.why-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
}

/* Strategic Partnerships Section */
.strategic-partnerships {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.strategic-partnerships .section-header p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

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

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

.contact-item p a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    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;
}

/* Hide page title on homepage - all screen sizes (but not hero-title) */
.homepage .entry-title,
.homepage .page-title,
.homepage h1.entry-title,
.homepage .site-main > h1:not(.hero-title),
.homepage .site-main > .entry-header,
.homepage .entry-header,
.homepage .page-header,
body.home .site-main h1:not(.hero-title),
body.home .site-main .entry-title,
body.home .site-main .page-title {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Ensure hero-title is always visible */
.hero-title,
.homepage .hero-title,
.homepage h1.hero-title {
    display: block !important;
    visibility: visible !important;
}

/* Remove white space between header and hero on all screen sizes */
.site-main.homepage {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Responsive Design for Homepage */
@media (max-width: 768px) {
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding: 2rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0 !important;
        padding-top: 2rem !important;
    }
    
    .hero-container {
        width: 100%;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-description-box {
        padding: 1.25rem 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .preclinical-grid {
        grid-template-columns: 1fr;
    }

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

    .pipeline-content {
        grid-template-columns: 1fr;
    }
    
    .pipeline-image {
        order: 1;
    }
    
    .pipeline-text {
        order: 2;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

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

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

    .why-godavari-grid {
        grid-template-columns: 1fr;
    }
    
    .why-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

/* Typewriter animation is handled in JavaScript */

