/* Digital ID Card System - Enhanced Styles with Multi-Item Carousel */

:root {
    --primary-black: #000000;
    --secondary-blue: #19184E;
    --accent-red: #CA2026;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --gradient-primary: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-blue) 100%);
    --gradient-accent: linear-gradient(45deg, var(--accent-red), var(--secondary-blue));
    --gap: 1.25rem;
    --speed: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --closed: 5rem;
    --open: 30rem;
    --accent: #CA2026;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Utility Classes */
.min-vh-75 {
    min-height: 75vh;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Header Section with Enhanced Dynamic Slider */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

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

.slider-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg,  rgba(202,32,38,0.5) 0%,rgba(202,32,38,0.5) 4%,rgba(25,24,78,0.5) 9%,rgba(202,32,38,0.5) 14%,rgba(25,24,78,0.5) 19%,rgba(202,32,38,0.5) 24%,rgba(25,24,78,0.5) 29%,rgba(202,32,38,0.5) 34%,rgba(25,24,78,0.5) 39%,rgba(202,32,38,0.5) 44%,rgba(25,24,78,0.5) 49%,rgba(202,32,38,0.5) 54%,rgba(25,24,78,0.5) 59%,rgba(202,32,38,0.5) 64%,rgba(25,24,78,0.5) 69%,rgba(202,32,38,0.5) 74%,rgba(25,24,78,0.5) 79%,rgba(202,32,38,0.5) 84%,rgba(25,24,78,0.5) 89%,rgba(202,32,38,0.5) 94%,rgba(25,24,78,0.5) 99%,rgba(25,24,78,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { transform: translateX(-60px); }
    100% { transform: translateX(0); }
}

.navbar {
    position: relative;
    z-index: 2;
    padding: 1rem 0;
    background: transparent !important;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white) !important;
    text-decoration: none;
}

.brand-text {
    background: #FFF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 10px;
}

.social-links {
    gap: 0.5rem;
}

.social-link {
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--white);
    background: var(--accent-red);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 5px 15px rgba(202, 32, 38, 0.4);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 25px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(202, 32, 38, 0.2);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section Enhanced */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    padding-top: 100px;
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(202, 32, 38, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(25, 24, 78, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-title .word {
    display: inline-block;
    margin-right: 1rem;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
    animation: wordReveal 0.8s ease forwards;
    text-shadow: 0 0 30px rgba(202, 32, 38, 0.5);
}

.hero-title .word:nth-child(1) { animation-delay: 0.2s; }
.hero-title .word:nth-child(2) { animation-delay: 0.4s; }
.hero-title .word:nth-child(3) { animation-delay: 0.6s; }
.hero-title .word:nth-child(4) { animation-delay: 0.8s; }

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
    max-width: 600px;
    margin: 0 auto;
}

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

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease 1.6s forwards;
}

/* Multi-Item Dynamic Carousel */
.carousel-separator {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--secondary-blue) 0%, var(--primary-black) 100%);
    position: relative;
}

.multi-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.multi-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-card {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.carousel-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.carousel-card:hover .card-overlay {
    transform: scale(1.1) rotate(360deg);
}

.card-content {
    padding: 2rem;
    color: var(--primary-black);
}

.card-content h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-content p {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-badge {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(202, 32, 38, 0.4);
}

.carousel-nav.prev {
    left: -30px;
}

.carousel-nav.next {
    right: -30px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: var(--accent-red);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Auto-scroll progress indicator */
.indicator.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    animation: progressRing 5s linear infinite;
}

@keyframes progressRing {
    0% {
        transform: rotate(0deg);
        border-color: var(--accent-red) transparent transparent transparent;
    }
    25% {
        border-color: var(--accent-red) var(--accent-red) transparent transparent;
    }
    50% {
        border-color: var(--accent-red) var(--accent-red) var(--accent-red) transparent;
    }
    75% {
        border-color: var(--accent-red) var(--accent-red) var(--accent-red) var(--accent-red);
    }
    100% {
        transform: rotate(360deg);
        border-color: var(--accent-red) var(--accent-red) var(--accent-red) var(--accent-red);
    }
}

/* Content Sections Enhanced */
.content-section {
    padding: 100px 0;
    position: relative;
}

.alt-section {
    background: var(--light-gray);
}

.section-badge {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(10px);
    color: var(--secondary-blue);
}

.feature-list i {
    color: var(--accent-red);
    margin-right: 1rem;
    width: 25px;
    font-size: 1.2rem;
}

/* Enhanced Image Styling */
.content-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-wrapper img {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-accent);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.image-decoration.alt {
    background: linear-gradient(45deg, var(--secondary-blue), var(--primary-black));
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
}

.image-wrapper:hover img {
    transform: translateY(-10px) translateX(-10px);
}

.image-wrapper:hover .image-decoration {
    transform: translateY(10px) translateX(10px);
    opacity: 0.6;
}

/* Stats Grid Enhanced */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 35px rgba(202, 32, 38, 0.2);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Enhanced Buttons */
.cta-button {
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.btn-primary.cta-button {
    background: var(--gradient-accent);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-outline-primary.cta-button,
.btn-outline-light.cta-button {
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    background: transparent;
}

.btn-outline-light.cta-button {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-primary.cta-button:hover,
.btn-outline-light.cta-button:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(202, 32, 38, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* News Section Enhanced */
.news-section {
    padding: 100px 0;
    background: var(--white);
}

.main-post {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(25, 24, 78, 0.1);
}

.main-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.post-category {
    background: var(--accent-red);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.post-content {
    padding: 2.5rem;
}

.post-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.post-summary {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 0.5rem;
    color: var(--accent-red);
}

/* Featured News Sidebar */
.featured-news {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(25, 24, 78, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    height: fit-content;
    border: 1px solid rgba(25, 24, 78, 0.1);
}

.sidebar-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-red);
}

.news-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(25, 24, 78, 0.1);
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-image {
    flex-shrink: 0;
}

.news-image img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--accent-red);
}

.news-excerpt {
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-date {
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Footer Section Enhanced */
.footer-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(202, 32, 38, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-section .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent-red);
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-red);
}

/* Social Posts Enhanced */
.social-posts .post-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-red);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-posts .post-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.post-header i {
    color: var(--accent-red);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.post-handle {
    font-weight: 600;
    color: var(--accent-red);
}

.post-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.post-actions {
    display: flex;
    gap: 1rem;
}

.post-actions span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Menu Enhanced */
.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-menu a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--white);
    padding-left: 1.5rem;
}

.footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

.social-links-footer .social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-links-footer .social-link:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

/* Contact Form Enhanced */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--light-gray);
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.2rem rgba(202, 32, 38, 0.25);
    color: var(--light-grays);
}

.contact-form select option{
    color: #6c757d;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design Enhanced */
@media (max-width: 1200px) {
    .carousel-card {
        flex: 0 0 320px;
    }
    
    .carousel-nav.prev {
        left: -20px;
    }
    
    .carousel-nav.next {
        right: -20px;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .social-links {
        display: none !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .carousel-card {
        flex: 0 0 280px;
    }
    
    .carousel-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-buttons a, .hero-buttons button{
        width: 100%;
    }
    .post-content{
        margin-top: -150px!important;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .word {
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-card {
        flex: 0 0 250px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .news-section {
        padding: 60px 0;
    }
    
    .footer-section {
        padding: 60px 0 20px;
    }
    
    .image-decoration {
        display: none;
    }
    
    .multi-carousel {
        padding: 20px 10px;
    }
    #logoucvprinc{ display: none; }
    #logosecreprinc{ margin-left: none; }
}

@media (max-width: 576px) {
    #logoucvprinc{ display: none; }
    #logosecreprinc{ margin-left: none; }
    .hero-buttons a, .hero-buttons button{
        width: 100%;
    }
    .post-content{
        margin-top: -150px!important;
    }
    .hero-title {
        font-size: 2rem;
    }
    
    .carousel-card {
        flex: 0 0 220px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .main-post {
        margin-bottom: 2rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .featured-news {
        padding: 1.5rem;
    }
    
    .news-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .news-image img {
        width: 100%;
        height: 150px;
    }
    
    .carousel-track {
        gap: 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-red);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#recoridos {
	scroll-snap-type: y mandatory;
}


#recoridos p {
	max-width: 40ch;
}

#recoridos section:nth-of-type(1) {
	scroll-snap-align: center;
	height: 100vh;
}

#recoridos section:nth-of-type(2) {
	scroll-snap-align: start;
}

#recoridos article {
	min-height: 100vh;
}
:is(h1, h2) {
	font-weight: 70;
	font-size: clamp(2.5rem, 3.35vw + 1rem, 8rem);
	letter-spacing: -0.075ch;
	margin: 0;
}

#recoridos h1 {
	color: hsl(0 0% 90%);
}

:is(section, article) {
	position: relative;
}

#recoridos .content {
	margin: 0 auto;
	width: 900px;
	max-width: 100%;
	height: 100%;
	z-index: 2;
	position: absolute;
	inset: 0;
  padding: 1rem;
}

#recoridos .fixed img {
	height: 100%;
	width: 150%;
	object-fit: cover;
	z-index: -1;
	position: absolute;
	inset: 0;
	left: 50%;
	translate: -50% 0;
	filter: brightness(0.5);
}

#recoridos section:first-of-type img {
	left: 50%;
	translate: -50% 0;
}

#recoridos section:first-of-type {
	padding: 2rem 1rem;
	display: grid;
	align-content: end;
	justify-content: start;
}

#recoridos section:first-of-type .fixed {
	z-index: 5;
}

#recoridos section:first-of-type .fixed .content {
	margin: 0 auto;
	width: 900px;
	max-width: 100%;
	display: grid;
	align-content: center;
	justify-content: start;
	padding: 6rem 2rem;
	height: 100%;
}

#recoridos section:first-of-type {
	background: black;
}

#recoridos section:first-of-type p {
	font-size: clamp(1rem, 0.2vw + 1rem, 2rem);
}

#recoridos section:nth-of-type(2) article:first-of-type .fixed {
	z-index: 2;
}

#recoridos section:nth-of-type(2) .content {
	display: grid;
	padding: 4rem 1rem;
	align-content: center;
}

#recoridos section:nth-of-type(2) article:first-of-type .content {
	align-content: end;
}

#recoridos section:nth-of-type(2) article:first-of-type .fixed::after {
	content: "";
	position: absolute;
	inset: 0;
	background: hsl(0 0% 0% / 0.25);
}

#recoridos section:nth-of-type(2) article:first-of-type h2 {
	padding: 1rem 0;
}

#recoridos section:nth-of-type(2) article:nth-of-type(2) .fixed {
	background: black;
	z-index: 2;
}

#recoridos section:nth-of-type(2) article:nth-of-type(3) .content {
	align-content: start;
}

#recoridos section:nth-of-type(2) article:nth-of-type(3) .fixed {
	z-index: 2;
}

#recoridos section:nth-of-type(2) article:nth-of-type(3) img {
	filter: saturate(0.5) brightness(0.5);
}

#recoridos .text-blocks {
	max-width: 100%;
	width: 40ch;
	justify-self: end;
	display: grid;
	place-items: center;
	gap: 2rem 0;
}

/* Text block styling */
#recoridos .chat-container {
	height: 100vh;
	width: 100%;
	position: sticky;
	top: 0;
	display: grid;
	place-items: center;
}
#recoridos .text-blocks p {
	display: inline-block;
	border-radius: 6px;
	margin: 0;
	font-size: clamp(1.5rem, 0.5vw + 1rem, 4rem);
	font-weight: 120;
}
#recoridos .text-blocks p:nth-of-type(even) {
	justify-self: end;
	text-align: right;
	color: hsl(173 100% 51%);
}
#recoridos .text-blocks p:nth-of-type(odd) {
	justify-self: start;
}

#recoridos .filler {
	display: none;
}

#main-container {
	display: flex;
	width: 100%;
	/*max-width: 1200px;*/
	height: 80vh;
	align-items: center;
	justify-content: center;
}

.carousel-section {
	flex: 2;
	display: flex;
	justify-content: center;
	align-items: center;
}

.controls-section {
	flex: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.carousel-container {
	width: 100%;
	max-width: 500px;
	height: 70vh;
	position: relative;
	perspective: 1000px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.carousel-container .nav-arrow {
	display: none;
}

.carousel-track {
	width: 450px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
	position: absolute;
	width: 400px;
	height: 225px;
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.card.center img {
	filter: none;
}

.card.up-2 {
	z-index: 1;
	transform: translateY(-300px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.up-2 img {
	filter: grayscale(100%);
}

.card.up-1 {
	z-index: 5;
	transform: translateY(-150px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.up-1 img {
	filter: grayscale(100%);
}

.card.down-1 {
	z-index: 5;
	transform: translateY(150px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.down-1 img {
	filter: grayscale(100%);
}

.card.down-2 {
	z-index: 1;
	transform: translateY(300px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.down-2 img {
	filter: grayscale(100%);
}

.card.down-2 img {
	filter: grayscale(100%);
}

.card.hidden {
	opacity: 0;
	pointer-events: none;
}

.member-info {
	text-align: center;
	margin-top: 20px;
	transition: all 0.5s ease-out;
}

.member-name {
	color: rgb(255,255,255);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 8px;
	position: relative;
	display: inline-block;
    text-shadow: 0px 0px 35px#CA2026;
}

.member-name::before,
.member-name::after {
	content: "";
	position: absolute;
	top: 100%;
	width: 80px;
	height: 2px;
	background: rgb(255,255,255);
    text-shadow: 0px 0px 35px#CA2026;
}

.member-name::before {
	left: -100px;
}

.member-name::after {
	right: -100px;
}

.member-role {
	color: #fff;
	font-size: 1.2rem;
	font-weight: 500;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 5px 0;
	margin-top: 10px;
	position: relative;
}
.dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(8, 42, 123, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
    border:1px solid #fff;
}

.dot.active {
	background: rgb(255,255,255);
	transform: scale(1.2);
}

.nav-arrow {
	position: relative;
	background: transparent;
	color: white;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	transition: all 0.3s ease;
	font-size: 1.5rem;
	border: none;
	outline: none;
	margin: 0;
	padding: 0;
	overflow: visible;
	box-shadow: none;
}

.nav-arrow:hover {
	background: transparent;
	transform: scale(1.2);
	box-shadow: none;
	border-color: transparent;
}

.nav-arrow img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	filter: none;
	transition: all 0.3s ease;
}

.nav-arrow:hover img {
	filter: none;
	transform: scale(1.1);
}

.nav-arrow.up {
	transform: none;
}

.nav-arrow.down {
	transform: none;
}

.nav-controls {
	display: flex;
	flex-direction: row;
	gap: 30px;
	align-items: center;
	justify-content: center;
}

.scroll-indicator {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: rgba(8, 42, 123, 0.8);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.8rem;
	text-align: center;
	z-index: 1000;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	animation: scrollFadeOut 5s ease-in-out forwards;
	font-weight: 500;
	line-height: 1;
}

.scroll-indicator span {
	font-size: 0.75rem;
	opacity: 0.9;
	display: block;
	margin-top: 2px;
}

@keyframes scrollFadeOut {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	10% {
		opacity: 1;
		transform: scale(1);
	}
	90% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(0.8);
		visibility: hidden;
	}
}

@media (max-width: 768px) {
	#main-container {
		flex-direction: column;
		height: auto;
		gap: 20px;
		max-width: 100%;
	}

	.carousel-section {
		flex: none;
		width: 100%;
	}

	.controls-section {
		flex: none;
		width: 100%;
		padding-left: 0;
		gap: 20px;
	}

	.carousel-container {
		height: 60vh;
		max-width: 350px;
	}

	.carousel-container .nav-arrow {
		display: flex;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: 70px;
		height: 70px;
		margin: 0;
		background: transparent;
		border: none;
		box-shadow: none;
	}

	.carousel-container .nav-arrow:hover {
		transform: translateX(-50%) scale(1.2);
		background: transparent;
		box-shadow: none;
	}

	.carousel-container .nav-arrow.up:hover {
		transform: translateX(-50%) scale(1.2);
	}

	.carousel-container .nav-arrow.down:hover {
		transform: translateX(-50%) scale(1.2);
	}

	.carousel-container .nav-arrow.up {
		top: 20px;
		transform: translateX(-50%);
	}

	.carousel-container .nav-arrow.down {
		bottom: 20px;
		transform: translateX(-50%);
	}

	.carousel-container .nav-arrow.up img {
		transform: rotate(-90deg);
		width: 50px;
		height: 50px;
	}

	.carousel-container .nav-arrow.down img {
		transform: rotate(90deg);
		width: 50px;
		height: 50px;
	}

	.nav-controls {
		display: none;
	}

	.card {
		width: 320px;
		height: 180px;
	}

	.carousel-track {
		width: 350px;
	}

	.card.up-2 {
		transform: translateY(-160px) scale(0.8) translateZ(-300px);
	}

	.card.up-1 {
		transform: translateY(-80px) scale(0.9) translateZ(-100px);
	}

	.card.down-1 {
		transform: translateY(80px) scale(0.9) translateZ(-100px);
	}

	.card.down-2 {
		transform: translateY(160px) scale(0.8) translateZ(-300px);
	}

	.member-name {
		font-size: 1.8rem;
	}

	.member-role {
		font-size: 1rem;
	}

	.member-name::before,
	.member-name::after {
		width: 40px;
	}

	.member-name::before {
		left: -60px;
	}

	.member-name::after {
		right: -60px;
	}

	.scroll-indicator {
		bottom: 20px;
		right: 20px;
		padding: 6px 12px;
		font-size: 0.7rem;
	}

	.scroll-indicator span {
		font-size: 0.7rem;
	}
}

/* foooter 2*/


.nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.nav-btn:hover {
  background: var(--accent);
}
.nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

#slider {
  max-width: 1400px;
  margin: auto;
  overflow: hidden;
}

#slider .controls {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.track {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  justify-content: center;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 40px;
}
.track::-webkit-scrollbar {
  display: none;
}

.project-card {
  position: relative;
  flex: 0 0 var(--closed);
  height: 26rem;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: flex-basis var(--speed), transform var(--speed);
}
.project-card[active] {
  flex-basis: var(--open);
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}
.project-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(75%);
  transition: filter 0.3s, transform var(--speed);
}
.project-card:hover .project-card__bg {
  filter: brightness(0.9) saturate(100%);
  transform: scale(1.06);
}

.project-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
}
.project-card__title {
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.project-card__thumb,
.project-card__desc,
.project-card__btn {
  display: none;
}

.project-card[active] .project-card__content {
  flex-direction: row;
  align-items: center;
  padding: 1.2rem 2rem;
  gap: 1.1rem;
}
.project-card[active] .project-card__title {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: 2.4rem;
}
.project-card[active] .project-card__thumb,
.project-card[active] .project-card__desc,
.project-card[active] .project-card__btn {
  display: block;
}

.project-card__thumb {
  width: 133px;
  height: 269px;
  border-radius: 0.45rem;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.project-card__desc {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 16rem;
}
.project-card__btn {
  padding: 0.55rem 1.3rem;
  border: none;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.project-card__btn:hover {
  background: #ff824f;
}

.dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 20px 0;
}
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 767px) {
  :root {
    --closed: 4rem;
    --open: 22rem;
  }
  .head {
    padding: 50px 20px 30px;
  }
  .track {
    flex-direction: column;
    scroll-snap-type: y mandatory;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .project-card {
    height: 20rem;
  }
  .project-card__title {
    font-size: 1.1rem;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
    padding-inline: 0.3rem;
  }
  .nav-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
}
@media (max-width: 767px) {
    
  :root {
    --closed: 100%;
    --open: 100%;
    --gap: 0.8rem;
  }

  .head {
    padding: 30px 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .slider {
    padding: 0 15px;
  }

  .track {
    flex-direction: column;
    scroll-snap-type: y mandatory;
    gap: 0.8rem;
    padding-bottom: 20px;
  }

  .project-card {
    height: auto;
    min-height: 80px;
    flex: 0 0 auto;
    width: 100%;
    scroll-snap-align: start;
  }

  .project-card[active] {
    min-height: 300px;
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }

  .project-card__content {
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem;
    align-items: center;
    gap: 1rem;
  }

  .project-card__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.2rem;
    margin-right: auto;
  }

  .project-card__thumb,
  .project-card__desc,
  .project-card__btn {
    display: none;
  }

  .project-card[active] .project-card__content {
    align-items: flex-start;
    padding: 1.5rem;
  }

  .project-card[active] .project-card__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }

  .project-card[active] .project-card__thumb {
    width: 200px;
    height: 267px;
    border-radius: 0.35rem;
    margin-bottom: 1rem;
  }

  .project-card[active] .project-card__desc {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .project-card[active] .project-card__btn {
    align-self: center;
    width: 100%;
    text-align: center;
    padding: 0.7rem;
  }

  .dots {
    display: none;
  }

  .controls {
    width: 100%;
    justify-content: space-between;
    padding: 0 15px 20px;
  }

  .nav-btn {
    position: static;
    transform: none;
  }
}

@keyframes turner{
  0%   { transform:rotateY(0deg); }
  10%   { transform:rotateY(0deg); }
  50% { transform:rotateY(360deg);}
  60% { transform:rotateY(360deg);}
  100% { transform:rotateY(0deg);}
  100% { transform:rotateY(0deg);}
}
.containerdor{
  margin-top: -330px;
  width:100%; 
}
.wrapperdor {
  width:400px;
  height:400px;
  margin-left: 100px;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.diver { /* image is 460px x 460px */
  width:400px;
  height:10px; /* 50 divisions */
  background-image: url(./public/images/carnet_1.jpg);
  background-size: cover;
  backface-visibility: visible;
  animation: turner 20s infinite;
}
.one {
  background-position:0 0;
  display: none;
}
.one2 {
  background-position:0 -100%;
  animation-delay: .1s;
}
.one3 {
  background-position:0 -200%;
  animation-delay: .2s;
}
.one4 {
  background-position:0 -300%;
  animation-delay: .3s;
}
.one5 {
  background-position:0 -400%;
  animation-delay: .4s;
}
.one6 {
  background-position:0 -500%;
  animation-delay: .5s;
}
.one7 {
  background-position:0 -600%;
  animation-delay: .6s;
}
.one8 {
  background-position:0 -700%;
  animation-delay: .7s;
}
.one9 {
  background-position:0 -800%;
  animation-delay: .8s;
}
.one10 {
  background-position:0 -900%;
  animation-delay: .9s;
}
.one11 {
  background-position:0 -1000%;
  animation-delay: 1s;
}
.one12 {
  background-position:0 -1100%;
  animation-delay: 1.1s;
}
.one13 {
  background-position:0 -1200%;
  animation-delay: 1.2s;
}
.one14 {
  background-position:0 -1300%;
  animation-delay: 1.3s;
}
.one15{
  background-position:0 -1400%;
  animation-delay: 1.4s;
}
.one16{
  background-position:0 -1500%;
  animation-delay: 1.5s;
}
.one17{
  background-position:0 -1600%;
  animation-delay: 1.6s;
}
.one18{
  background-position:0 -1700%;
  animation-delay: 1.7s;
}
.one19{
  background-position:0 -1800%;
  animation-delay: 1.8s;
}
.one20{
  background-position:0 -1900%;
  animation-delay: 1.9s;
}
.one21{
  background-position:0 -2000%;
  animation-delay: 2s;
}
.one22{
  background-position:0 -2100%;
  animation-delay: 2.1s;
}
.one23{
  background-position:0 -2200%;
  animation-delay: 2.2s;
}
.one24{
  background-position:0 -2300%;
  animation-delay: 2.3s;
}
.one25{
  background-position:0 -2400%;
  animation-delay: 2.4s;
}
.one26{
  background-position:0 -2500%;
  animation-delay: 2.5s;
}
.one27{
  background-position:0 -2600%;
  animation-delay: 2.6s;
}
.one28{
  background-position:0 -2700%;
  animation-delay: 2.7s;
}
.one29{
  background-position:0 -2800%;
  animation-delay: 2.8s;
}
.one30{
  background-position:0 -2900%;
  animation-delay: 2.9s;
}
.one31{
  background-position:0 -3000%;
  animation-delay: 3s;
}
.one32{
  background-position:0 -3100%;
  animation-delay: 3.1s;
}
.one32{
  background-position:0 -3100%;
  animation-delay: 3.1s;
}
.one33{
  background-position:0 -3200%;
  animation-delay: 3.2s;
}
.one34{
  background-position:0 -3300%;
  animation-delay: 3.3s;
}
.one35{
  background-position:0 -3400%;
  animation-delay: 3.4s;
}
.one36{
  background-position:0 -3500%;
  animation-delay: 3.5s;
}
.one37{
  background-position:0 -3600%;
  animation-delay: 3.6s;
}
.one38{
  background-position:0 -3700%;
  animation-delay: 3.7s;
}
.one39{
  background-position:0 -3800%;
  animation-delay: 3.8s;
}
.one40{
  background-position:0 -3900%;
  animation-delay: 3.9s;
}
.one41{
  background-position:0 -4000%;
  animation-delay: 4s;
}
.one42{
  background-position:0 -4100%;
  animation-delay: 4.1s;
}
.one43{
  background-position:0 -4200%;
  animation-delay: 4.2s;
}
.one44{
  background-position:0 -4300%;
  animation-delay: 4.3s;
}
.one45{
  background-position:0 -4400%;
  animation-delay: 4.4s;
}
.one46{
  background-position:0 -4500%;
  animation-delay: 4.4s;
}
.one47{
  background-position:0 -4600%;
  animation-delay: 4.4s;
}
.one48{
  background-position:0 -4700%;
  animation-delay: 4.4s;
}
.one49{
  background-position:0 -4800%;
  animation-delay: 4.4s;
}
.one50{
  background-position:0 -4900%;
  animation-delay: 4.5s;
}
.one51{
  background-position:0 -5000%;
  animation-delay: 4.6s;
}
.one52{
  background-position:0 -5100%;
  animation-delay: 4.7s;
}
.one53{
  background-position:0 -5200%;
  animation-delay: 4.8s;
}
.one54{
  background-position:0 -5300%;
  animation-delay: 4.9s;
}
.one55{
  background-position:0 -5400%;
  animation-delay: 5s;
}
.one56{
  background-position:0 -5500%;
  animation-delay: 5.1s;
}
.one57{
  background-position:0 -5600%;
  animation-delay: 5.2s;
}
.one58{
  background-position:0 -5700%;
  animation-delay: 5.3s;
}
.one59{
  background-position:0 -5800%;
  animation-delay: 5.4s;
}
.one60{
  background-position:0 -5900%;
  animation-delay: 5.5s;
}
.one61{
  background-position:0 -6000%;
  animation-delay: 5.6s;
  display: none;
}
.one62{
  background-position:0 -6100%;
  animation-delay: 5.7s;
  display: none;
}
.one63{
  background-position:0 -6200%;
  animation-delay: 5.8s;
  display: none;
}
.one64{
  background-position:0 -6300%;
  animation-delay: 5.9s;
  display: none;
}
/*imagens de estudios*/
.containerre {
  position: relative;
  width: 580px;
  height: 580px;
  margin-top: 200px;
  background: rgba(0, 0, 0, 0);
  transform: rotate(-30deg) skew(25deg) scale(0.8);
  transition: 0.5s;
}
.containerre img {
  position: absolute;
  width: 100%;
  transition: 0.5s;
}
.containerre img:nth-child(4) {
  transform: translate(160px, -160px);
  opacity: 1;
}
.containerre img:nth-child(3) {
  transform: translate(120px, -120px);
  opacity: 0.8;
}
.containerre img:nth-child(2) {
  transform: translate(80px, -80px);
  opacity: 0.6;
}
.containerre img:nth-child(1) {
  transform: translate(40px, -40px);
  opacity: 0.4;
}
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #0062cc, #0096ff);
    padding: 20px;
    border: none;
    color: white;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 30px;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0062cc;
    box-shadow: none;
}

.input-group-text {
    border: none;
    background: transparent;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    color: #666;
}

.input-group {
    position: relative;
}

.btn-login {
    padding: 12px 20px;
    background: linear-gradient(135deg, #0062cc, #0096ff);
    border: none;
    border-radius: 10px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 98, 204, 0.3);
}

.social-login {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #eee;
    background: white;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-social i {
    margin-right: 10px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #eee;
}

.divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #eee;
}

.divider span {
    background: white;
    padding: 0 10px;
    color: #666;
    font-size: 0.9rem;
}

.form-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.password-toggle {
    cursor: pointer;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}