/* IPR Project 2: Evolution of Subject-matter of Copyright - Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

/* Print Button */
.print-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.print-btn:hover {
    background: #ee5a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #00ff88, #00aaff);
    z-index: 1001;
    transition: width 0.3s;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
    transition: all 0.3s;
}

.back-to-top:hover {
    background: #45a049;
    transform: translateY(-3px);
}

/* Cover Page */
.cover-page {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.college-name {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.college-location {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    opacity: 0.9;
}

.project-title-box {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.project-label {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.project-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    text-transform: uppercase;
}

.submitted-info, .submitted-to {
    margin: 20px 0;
    font-size: 18px;
}

.student-name, .teacher-name {
    font-size: 22px;
    font-weight: bold;
    color: #ffd700;
    margin: 10px 0;
}

.submission-date {
    font-size: 18px;
    margin-top: 20px;
    font-weight: bold;
}

/* Navigation Menu */
.navigation-menu {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.navigation-menu h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

.nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.nav-buttons button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    text-align: left;
}

.nav-buttons button:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Section Styles */
.section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.section-title, .section h2 {
    color: #2c3e50;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 4px solid #667eea;
}

.content-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
}

.content-box h3 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0 15px 0;
}

.content-box p, .content-box li {
    font-size: 17px;
    font-weight: bold;
    color: #2c3e50;
    margin: 12px 0;
}

.content-box ul, .content-box ol {
    margin-left: 30px;
}

/* Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.info-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
}

.info-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: bold;
    font-size: 15px;
}

.info-table tr:hover {
    background: #f5f5f5;
}

/* Case Boxes */
.case-box {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 6px solid #ff6b6b;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.case-box h3, .case-box h4 {
    color: #c0392b;
    font-weight: bold;
    margin-bottom: 10px;
}

.case-box p {
    font-weight: bold;
    color: #2c3e50;
    margin: 8px 0;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 5px solid #f39c12;
}

.highlight-box h4 {
    color: #d35400;
    font-weight: bold;
    margin-bottom: 10px;
}

.highlight-box p, .highlight-box li {
    font-weight: bold;
    color: #2c3e50;
}

/* Flowchart */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.flow-box {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 600px;
    font-weight: bold;
    color: #2c3e50;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin: 5px 0;
}

.era1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.era2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.era3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; }
.era4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.era5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.era6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); color: white; }
.era7 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.era8 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.era9 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }

.flow-arrow {
    font-size: 30px;
    color: #667eea;
    font-weight: bold;
    margin: 0;
}

/* Mind Map */
.mindmap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mindmap-center {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.mindmap-branches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

.mindmap-branch {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.mindmap-branch h4 {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

.mindmap-branch p {
    font-weight: bold;
    color: #34495e;
    margin: 5px 0;
    font-size: 14px;
}

.b1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.b2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.b3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.b4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.b5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.b6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); color: white; }

/* Q&A Section */
.qa-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qa-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qa-question {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.qa-question:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.qa-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.qa-answer {
    display: none;
    padding: 25px;
    background: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.8;
}

.qa-answer.active {
    display: block;
}

/* Footer */
footer {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    font-weight: bold;
    color: #2c3e50;
}

.disclaimer {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #ffc107;
    margin: 20px 0;
    font-weight: bold;
    color: #856404;
}

/* TOC List */
.toc-list {
    list-style: none;
    counter-reset: toc-counter;
}

.toc-list li {
    counter-increment: toc-counter;
    margin: 10px 0;
    padding-left: 40px;
    position: relative;
}

.toc-list li::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #667eea;
    font-size: 18px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .print-btn, .back-to-top, .progress-bar, .navigation-menu {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .cover-page {
        page-break-after: always;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .section {
        padding: 20px;
    }
    
    .college-name {
        font-size: 28px;
    }
    
    .project-title {
        font-size: 20px;
    }
    
    .nav-buttons {
        grid-template-columns: 1fr;
    }
    
    .flow-box {
        width: 95%;
    }
}