:root {
    font-size: 80%;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    width: 100%;
    position: relative;
    color: white;
    padding: 20px;
    background-color: #0a0a0a;
}

a {
    color: white;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomEffect 15s ease-in-out infinite alternate;
    filter: brightness(0.8);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.main-container {
    width: 95%;
    max-width: 1400px;
    margin: 20px auto;
    background: rgba(20, 20, 20, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
    min-height: 85vh;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #e74c3c, #ff9f43, #e74c3c);
    background-clip: initial;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 3s ease infinite;
}

.header p{
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 2px solid transparent;
}

.main-button:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.main-button.primary {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.main-button.secondary {
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.button-icon {
    font-size: 1.8rem;
    margin-right: 15px;
}

.tabs-container {
    margin-top: 30px;
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 15px;
}

.tab-button {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: none;
    border-radius: 10px 10px 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    line-height: 1.7;
    padding: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* max-height: 500px; */
    overflow-y: auto;
    font-size: 1.1rem;
}

.image-container {
    margin: 30px auto;
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.image-frame {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.image-frame:hover {
    border-color: rgba(231, 76, 60, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.styled-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.image-caption {
    text-align: center;
    font-style: italic;
    padding: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 10px;
    border-left: 3px solid #e74c3c;
}

.double-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.tab-content h3 {
    color: #ff9f43;
    margin-bottom: 20px;
    font-size: 1.8rem;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 159, 67, 0.3);
}

.tab-content h4 {
    color: #3498db;
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.tab-content p {
    margin-bottom: 20px;
    opacity: 0.9;
    text-align: justify;
}

.tab-content ul, .tab-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 10px;
}

.tab-content li {
    margin-bottom: 12px;
    opacity: 0.9;
    padding-left: 10px;
    position: relative;
}

.tab-content li:before {
    content: "•";
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

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

.tab-content::-webkit-scrollbar {
    width: 10px;
}

.tab-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.tab-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
    border-radius: 5px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ff6b6b, #e74c3c);
}

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

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

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: linear-gradient(45deg, #ff6b6b, #e74c3c);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.6);
}

@media (max-width: 1200px) {
    .main-container {
        width: 97%;
        padding: 30px;
        max-width: 1200px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .tab-content {
        /* max-height: 450px; */
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .main-container {
        width: 98%;
        padding: 25px;
    }
    
    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tab-button {
        flex: 1;
        min-width: 160px;
        text-align: center;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .main-container {
        padding: 20px;
        margin: 10px auto;
        border-radius: 20px;
    }
    
    .header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .main-button {
        padding: 20px;
        font-size: 1.2rem;
    }
    
    .tab-content {
        /* max-height: 400px; */
        padding: 20px;
        font-size: 1rem;
    }
    
    .tabs-header {
        justify-content: center;
    }
    
    .tab-button {
        min-width: 140px;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .image-container {
        width: 100%;
    }
    
    .double-images {
        grid-template-columns: 1fr;
    }
    
    .scroll-top {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 15px;
        border-radius: 15px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .tab-button {
        min-width: 120px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .tab-content h3 {
        font-size: 1.5rem;
    }
}