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

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

/* Main Container - Clean White */
.main-container {
    max-width: 1440px;
    margin: 0 auto;
    background: transparent;
    position: relative;
}

.main-container > * {
    margin: 0;
}

/* Top Logo Section - Remove from top */
.top-logo-section {
    display: none;
}

.top-logo-image {
    display: none;
}

/* Header - Fixed/Sticky Position */
.header {
    background: #ffffff;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    padding-top: 15px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo positioned on header border line - Fixed with header */
.header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 30px;
    width: 180px;
    height: 120px;
    background: url('img/toplogo.jpg') no-repeat center;
    background-size: contain;
    z-index: 1001;
    mix-blend-mode: multiply;
    opacity: 0.95;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    height: 70px;
}

/* Logo Section - Now Empty */
.logo-section {
    width: 200px; /* Keep space for balance */
}

/* Remove all Book Worm logo related CSS */

/* Navigation */
.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover underline effect - slides in from left */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 0%;
    height: 3px;
    background: #f59e0b;
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #1f2937;
}

/* Active page indicator - yellow underline */
.nav-link.active {
    color: #1f2937;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f59e0b;
    border-radius: 2px;
    animation: slideIn 0.4s ease;
}

/* Slide in animation for active indicator */
@keyframes slideIn {
    from {
        width: 0%;
        left: 0;
    }
    to {
        width: 100%;
        left: 0;
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.phone-number:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.login-btn:hover {
    background: #374151;
}

/* Main Content */
.main-content {
    background: transparent;
    padding: 10px 30px 0px 30px;
    margin-top: 100px;
    margin-bottom: 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Content */
.left-content {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 0;
}

.title-section {
    position: relative;
    text-align: center;
}

.subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 8px;
    line-height: 1.2;
    text-align: center;
}

.main-title {
    font-size: 48px;
    font-weight: 900;
    color: #1e40af;
    line-height: 0.85;
    margin-bottom: 6px;
    text-align: center;
}

.main-title.orange {
    color: #f59e0b;
    margin-bottom: 12px;
    text-align: center;
}

/* Orange underline under Network - centered */
.title-underline {
    width: 120px;
    height: 4px;
    background: #f59e0b;
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

/* Tagline with decorative lines - centered */
.tagline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.tagline-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    border-radius: 1px;
}

.tagline {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
    flex-shrink: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.find-branch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1e40af;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.find-branch-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.book-seat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f59e0b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.book-seat-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
}

/* Right Content - Library Image */
.right-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 0;
    background: transparent;
}

.library-image-container {
    position: relative;
    width: 115%;
    max-width: 620px;
    height: 400px;
    background: transparent;
    margin-left: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.library-photo {
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
    border-radius: 20px;
    overflow: visible;
    box-shadow: none;
}

.library-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: transparent;
}



/* Statistics Section - Single Row */
.statistics {
    background: #ffffff;
    padding: 0px 30px 15px 30px;
    margin-top: 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.stat-icon {
    width: 35px;
    height: 35px;
    border-radius: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon.building {
    background: none;
    color: #1e40af;
}

.stat-icon.users {
    background: none;
    color: #1e40af;
}

.stat-icon.seats {
    background: none;
    color: #1e40af;
}

.stat-icon.rating {
    background: none;
    color: #f59e0b;
}

.stat-icon.location {
    background: none;
    color: #1e40af;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    line-height: 1.1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 12px;
    color: #1e40af;
    font-weight: 500;
    margin-bottom: 1px;
}

.stat-location {
    font-size: 10px;
    color: #1e40af;
}

/* Services Section - Exact 3 Boxes */
.services {
    background: #ffffff;
    padding: 50px 30px;
}

.services-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Box Base */
.service-box {
    border-radius: 20px;
    padding: 25px;
    position: relative;
    height: 260px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-box:hover {
    transform: translateY(-5px);
}

/* Branch Box - Dark Navy */
.branch-box {
    background: #1e293b;
    color: #ffffff;
}

/* Branch Content Layout - Side by Side */
.branch-content-layout {
    display: flex;
    gap: 20px;
    height: 180px;
}

.branch-text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    gap: 0px;
}

/* Legend Dots */
.legend-dots {
    margin-bottom: 0;
    margin-top: 4px;
    flex-grow: 0;
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    position: relative;
}

/* View All Button - ZERO GAP from Upcoming Soon */
.view-all-btn {
    width: 100%;
    padding: 6px 16px;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 0px;
    flex-shrink: 0;
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.branch-map-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Updated Map Container for Right Side */
.branch-map-section .map-container {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.box-header h3 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

/* Title decoration - line star line */
.title-decoration-branch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.decoration-line {
    height: 2px;
    background: #f59e0b;
    border-radius: 1px;
}

.decoration-line.left,
.decoration-line.right {
    width: 50px;
}

.decoration-star {
    color: #f59e0b;
    font-size: 12px;
    font-weight: bold;
}

.box-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 6px;
}

/* Legend Dots */
.legend-dots {
    margin-bottom: 20px;
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    position: relative;
}

/* Coming Soon Arrow */
.coming-soon-arrow {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-left: 10px;
}

/* Centered Arrow Button for Right Boxes */
.circular-arrow-btn-center {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1f2937;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.3);
}

.circular-arrow-btn-center:hover {
    background: #374151;
    transform: translateX(-50%) scale(1.1);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.green {
    background: #dc2626;
}

.status-dot.orange {
    background: #f59e0b;
}

.status-dot.gray {
    background: #6b7280;
}

.status-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

/* Map Container */
.map-container {
    background: #ffffff;
    border-radius: 12px;
    height: 90px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.rajasthan-map {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
}

.location-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #10b981;
    z-index: 2;
}

.location-pin i {
    font-size: 14px;
    margin-bottom: 3px;
}

.pin-label {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    white-space: nowrap;
}

/* View All Button */
.view-all-btn {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Seat Box - Light Orange */
.seat-box {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

/* Explore Box - Light Green */
.explore-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

/* Circular Icon */
.circular-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.circular-icon.orange-bg {
    background: #f59e0b;
}

.circular-icon.green-bg {
    background: #10b981;
}

/* Box Title */
.box-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 1px;
    margin-bottom: 12px;
    line-height: 1.2;
}

/* Box Description */
.box-description {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 200px;
}

/* Circular Arrow Button */
.circular-arrow-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1f2937;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.3);
}

.circular-arrow-btn:hover {
    background: #374151;
    transform: scale(1.1);
}

/* Features Footer */
.features {
    background: #f8fafc;
    padding: 25px 30px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 15px 10px;
}

.feature i {
    font-size: 18px;
    color: #1e40af;
}

.feature span {
    font-size: 11px;
    font-weight: 500;
    color: #1e40af;
    line-height: 1.2;
}

/* Modal Styles */
.booking-modal,
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #1f2937;
    text-align: center;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.contact-info {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 10px;
    margin: 15px 0;
}

.booking-form button {
    width: 100%;
    padding: 15px;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.contact-item i {
    width: 35px;
    height: 35px;
    background: #6366f1;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: #1f2937;
    font-size: 14px;
    margin-bottom: 2px;
}

.contact-item span {
    color: #6b7280;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding: 15px 20px;
    }
    
    .navigation {
        display: none;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .main-container {
        margin: 10px;
        border-radius: 15px;
        overflow: hidden;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .library-image-container {
        height: 220px;
    }
}