/* Digital / High-Tech Style - 3D Modeling Courses */

:root {
    --primary-color: #DC2345;
    --secondary-color: #810B0C;
    --accent-color: #F4DE66;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: rgba(220, 35, 69, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(220, 35, 69, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(220, 35, 69, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section - Fragmented/Collage Style */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--secondary-color) 50%, var(--dark-bg) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(220, 35, 69, 0.03) 2px, rgba(220, 35, 69, 0.03) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(220, 35, 69, 0.03) 2px, rgba(220, 35, 69, 0.03) 4px);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(220, 35, 69, 0.1), transparent 50%);
}

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

.hero-fragment {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-fragment.fragment-1 {
    animation-delay: 0.2s;
}

.hero-fragment.fragment-2 {
    animation-delay: 0.4s;
}

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

/* Collage Hero Images */
.hero-image-collage {
    position: relative;
    height: 600px;
}

.collage-item {
    position: absolute;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(220, 35, 69, 0.3);
    transition: all 0.3s ease;
}

.collage-item:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 50px rgba(220, 35, 69, 0.5);
    z-index: 10;
}

.collage-item.item-1 {
    top: 0;
    left: 0;
    width: 60%;
    height: 350px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.collage-item.item-2 {
    top: 50px;
    right: 0;
    width: 50%;
    height: 300px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    animation: slideInRight 0.8s ease-out 0.8s both;
}

.collage-item.item-3 {
    bottom: 0;
    left: 20%;
    width: 65%;
    height: 250px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    animation: slideInUp 0.8s ease-out 1s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #2a2a2a;
}

/* Page Hero */
.page-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(220, 35, 69, 0.15), transparent 70%);
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(220, 35, 69, 0.4);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--text-light);
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 8px 25px rgba(220, 35, 69, 0.5);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(220, 35, 69, 0.5);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* Sections */
.overlapping-section {
    position: relative;
    z-index: 2;
}

.bg-dark {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--secondary-color) 50%, var(--darker-bg) 100%) !important;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(220, 35, 69, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(220, 35, 69, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 35, 69, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Stat Box */
.stat-box {
    padding: 2rem;
    background: rgba(220, 35, 69, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(220, 35, 69, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 35, 69, 0.4);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.stat-box h4 {
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 700;
}

/* Program Cards */
.program-card {
    background: linear-gradient(135deg, rgba(129, 11, 12, 0.3), rgba(220, 35, 69, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(220, 35, 69, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.program-card:hover::before {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.program-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(220, 35, 69, 0.5);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(220, 35, 69, 0.4);
}

.program-features {
    list-style: none;
    padding: 0;
}

.program-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.program-features i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Advantage Cards */
.advantage-card {
    padding: 2rem;
    background: rgba(220, 35, 69, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background: rgba(220, 35, 69, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--primary-color);
    display: inline-block;
}

/* Schedule Cards */
.schedule-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(129, 11, 12, 0.3));
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
}

.schedule-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-header h4 {
    margin: 0;
    color: var(--text-light);
}

.schedule-body {
    padding: 2rem;
}

.schedule-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Class Description Cards */
.class-description-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(129, 11, 12, 0.2));
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.class-description-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(220, 35, 69, 0.4);
}

.class-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.class-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.class-body {
    color: var(--text-gray);
}

.class-topics {
    list-style: none;
    padding: 0;
}

.class-topics li {
    padding: 0.5rem 0;
}

.class-meta {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Class Detail Card */
.class-detail-card {
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.class-modules {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.module-item {
    padding: 0.8rem;
    background: rgba(220, 35, 69, 0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.module-item i {
    color: var(--accent-color);
}

/* Discipline Cards */
.discipline-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(129, 11, 12, 0.2));
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.discipline-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 35, 69, 0.4);
}

.discipline-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.discipline-topics {
    list-style: none;
    padding: 0;
}

.discipline-topics li {
    padding: 0.4rem 0;
    color: var(--text-gray);
}

/* Accordion */
.accordion-item {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: linear-gradient(135deg, rgba(129, 11, 12, 0.4), rgba(220, 35, 69, 0.2));
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.accordion-body {
    background: rgba(10, 10, 10, 0.9);
    color: var(--text-gray);
    padding: 2rem;
}

.curriculum-list {
    list-style: none;
    padding: 0;
}

.curriculum-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.curriculum-list li:last-child {
    border-bottom: none;
}

.curriculum-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Trust Badges */
.trust-badge {
    text-align: center;
    padding: 1.5rem;
    background: rgba(220, 35, 69, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(220, 35, 69, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.trust-badge p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
}

/* Instructor/Master Cards */
.instructor-card,
.master-card {
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.instructor-card:hover,
.master-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(220, 35, 69, 0.4);
    transform: translateY(-10px);
}

.instructor-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    background-color: #2a2a2a;
}

.master-achievements {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-info {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(220, 35, 69, 0.1);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(220, 35, 69, 0.2);
    border-color: var(--primary-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.contact-item a:hover {
    color: var(--accent-color);
}

/* Forms */
.form-control,
.form-select {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(10, 10, 10, 0.9);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(220, 35, 69, 0.25);
}

.form-control::placeholder {
    color: var(--text-gray);
}

.form-select option {
    background: var(--dark-bg);
    color: var(--text-light);
}

.enrollment-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(129, 11, 12, 0.3));
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Map Wrapper */
.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(220, 35, 69, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--secondary-color) 100%);
    border-top: 3px solid var(--primary-color);
}

.footer h5,
.footer h6 {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer hr {
    border-color: var(--border-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--darker-bg));
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(220, 35, 69, 0.4);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.cookie-banner a {
    color: var(--accent-color);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-warning {
    background-color: var(--accent-color) !important;
}

/* Image Placeholders */
img {
    max-width: 100%;
    height: auto;
}

img[src*="picture"] {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-image-collage {
        height: 400px;
        margin-top: 3rem;
    }
    
    .collage-item.item-1 {
        width: 70%;
        height: 250px;
    }
    
    .collage-item.item-2 {
        width: 60%;
        height: 200px;
    }
    
    .collage-item.item-3 {
        width: 75%;
        height: 180px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .page-hero {
        padding: 120px 0 80px;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .program-icon,
    .discipline-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .advantage-icon {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-image-collage {
        height: 300px;
    }
    
    .collage-item.item-1 {
        width: 80%;
        height: 180px;
    }
    
    .collage-item.item-2 {
        width: 70%;
        height: 150px;
    }
    
    .collage-item.item-3 {
        width: 85%;
        height: 140px;
    }
    
    .enrollment-card {
        padding: 2rem 1.5rem;
    }
    
    .schedule-card {
        margin-bottom: 1rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--text-light);
}
