/* Slightly reduce the size of li items in .prize-benefits */
.prize-benefits li {
    padding: 0.35em 0.7em !important;
    font-size: 0.97em !important;
    margin-bottom: 0.35em !important;
    min-height: unset !important;
}
/* Reduce size of 2nd and 3rd prize cards */
.prize-3d-card.second-place,
.prize-3d-card.third-place {
    max-width: 320px;
    padding: 1.2rem 1rem !important;
    min-width: 22px;
    /* margin-left: auto;
    margin-right: auto; */
}
/* Shift hero-features to the left */
.hero-features {
    align-items: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
/* Redesigned Mentor Card Styles for clarity and modern look */
.mentor-card {
    background: rgba(30, 30, 30, 0.95);
    border: 1.5px solid #ffd54f;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(255, 213, 79, 0.13), 0 2px 8px #18181c;
    padding: 1.2rem 1rem 1.1rem 1rem;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: box-shadow 0.3s, transform 0.2s;
    margin-bottom: 10px;
}
.mentor-card:hover {
    box-shadow: 0 16px 48px rgba(255, 213, 79, 0.25), 0 4px 16px #18181c;
    transform: translateY(-6px) scale(1.03);
}
.mentor-card img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    object-position: center center;
    border-radius: 16px;
    margin: 0 auto 0.7rem auto;
    background: #181818;
    box-shadow: 0 2px 12px rgba(255, 213, 79, 0.13);
    display: block;
    overflow: hidden;
}
.mentor-card h3 {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0.5rem 0 0.2rem 0;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    letter-spacing: 0.2px;
    line-height: 1.2;
}
.mentor-card p {
    font-size: 0.98rem;
    color: #ffd54f;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.2;
}
.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    justify-items: center;
    align-items: stretch;
    width: 100%;
    margin: 0 auto 24px auto;
    max-width: 1400px;
}

/* Mobile optimization for 2x2 grid layout */
@media (max-width: 768px) {
    .mentor-grid {
        display: block;
    }
    
    .mentor-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px 8px;
        margin-bottom: 16px;
        justify-items: center;
        align-items: start;
    }
    
    .mentor-card {
        width: 100% !important;
        max-width: 170px !important;
        height: 190px !important;
        min-height: 190px !important;
        padding: 14px 10px 8px 10px !important;
    }
    
    .mentor-card img {
        width: 140px !important;
        height: 140px !important;
        margin-bottom: 4px !important;
    }
    
    .mentor-card h3 {
        font-size: 0.9rem !important;
        margin: 4px 0 1px 0 !important;
        line-height: 1.0 !important;
    }
    
    .mentor-card p {
        font-size: 0.8rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0 !important;
    }
}
/* Reset and Base Styles */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;700&family=Source+Sans+Pro:wght@400;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Two-Color Palette */
    --primary: #483434;
    --secondary: #677d6a;

    /* Color Variations */
    --primary-light: rgba(72, 52, 52, 0.8);
    --primary-lighter: rgba(72, 52, 52, 0.6);
    --primary-lightest: rgba(72, 52, 52, 0.1);
    --secondary-light: rgba(103, 125, 106, 0.8);
    --secondary-lighter: rgba(103, 125, 106, 0.6);
    --secondary-lightest: rgba(103, 125, 106, 0.1);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #f0f0f0;
    --text-muted: #cccccc;

    /* Gradients */
    --gradient-primary: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    --gradient-secondary: linear-gradient(
        135deg,
        var(--secondary) 0%,
        var(--primary) 100%
    );
    --gradient-accent: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 50%,
        var(--primary) 100%
    );

    /* Shadows */
    --shadow-primary: 0 10px 30px rgba(72, 52, 52, 0.3);
    --shadow-secondary: 0 20px 40px rgba(103, 125, 106, 0.2);
    --shadow-dark: 0 20px 40px rgba(72, 52, 52, 0.5);

    /* Typography */
    --font-primary: "Inter", sans-serif;
    --font-secondary: "Poppins", sans-serif;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(
        180deg,
        #0a0a0a 0%,
        rgba(160, 82, 45, 0.04) 10%,
        rgba(205, 133, 63, 0.06) 20%,
        rgba(255, 140, 0, 0.08) 30%,
        rgba(222, 184, 135, 0.1) 40%,
        rgba(255, 165, 0, 0.08) 50%,
        rgba(205, 133, 63, 0.09) 60%,
        rgba(160, 82, 45, 0.07) 70%,
        rgba(222, 184, 135, 0.05) 80%,
        rgba(255, 140, 0, 0.06) 90%,
        #0a0a0a 100%
    );
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.total-prize-pool {
    margin-top: 80px;
    text-align: center;
}

.pool-container {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #e5641e;
    border-radius: 30px;
    padding: 40px;
    display: inline-flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 20px 40px rgba(229, 100, 30, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.pool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eeab00, #e5641e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pool-icon i {
    font-size: 2rem;
    color: #0a0a0a;
}

.pool-content h4 {
    color: #e5641e;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pool-amount {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #eeab00, #e5641e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.pool-content p {
    color: #cccccc;
    margin: 0;
}
.themes-section {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        #18181c 0%,
        #23232a 60%,
        #ffb30067 100%
    );

    position: absolute;
    overflow: hidden;
}

.themes-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    opacity: 0.3;
    z-index: 1;
}

.themes-section .container {
    position: relative;
    z-index: 2;
    max-width: 1000px !important;
}

.themes-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin-top: 50px;
    padding: 0 20px;
    max-width: 1200px;
    height: 700px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
}

/* Add scroll indicator for mobile */
@media (max-width: 768px) {
    .themes-grid::-webkit-scrollbar {
        height: 8px;
    }

    .themes-grid::-webkit-scrollbar-track {
        background: rgba(255, 140, 66, 0.1);
        border-radius: 4px;
    }

    .themes-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 140, 66, 0.5);
        border-radius: 4px;
    }

    .themes-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 140, 66, 0.7);
    }
}

.theme-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(24, 24, 28, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 140, 66, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    height: 600px;
    flex: 1;
    max-width: 500px;
    min-width: 450px;
    transition: all 0.3s ease;
}

.theme-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 140, 66, 0.05) 50%,
        transparent 100%
    );
    z-index: 1;
}

.theme-container:hover {
    /* Hover effect removed */
}

.theme-content {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.theme-icon {
    font-size: 2.5rem;
    color: #ff8c42;
    margin-bottom: 15px;
    display: inline-block;
    animation: iconPulse 2s ease-in-out infinite;
}

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

/* Theme Container Layout - Original Style */
.theme-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-container:hover {
    /* Hover effect removed */
}

.theme-content {
    margin-bottom: 20px;
}

.theme-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
    text-align: center;
}

/* Team Capacity Styling */
.theme-description .team-capacity {
    display: block;
    margin-top: 15px;
    padding: 8px 16px;
    
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    color: #a6c700;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.theme-description .team-capacity:hover {
    /* Hover effect removed */
}

.theme-animation {
    text-align: center;
    margin-top: 20px;
}

.theme-animation img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== TEAM CAPACITY BOX DESIGN - SAVED FOR FUTURE USE ===== */
/*
.team-capacity-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 20px auto;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team-capacity-box:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.capacity-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.capacity-value {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}
*/

/* Themes Grid Layout - Column Design */
.themes-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .themes-grid {
        gap: 40px;
        max-width: 1100px;
    }
}

@media (min-width: 1200px) {
    .themes-grid {
        gap: 50px;
        max-width: 1200px;
    }
}

/* Laptop and Desktop Optimization */
@media (min-width: 768px) {
    .theme-container {
        padding: 35px;
        margin-bottom: 40px;
    }
    
    .theme-title {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }
    
    .theme-description {
        font-size: 1.1rem;
        margin-bottom: 25px;
        line-height: 1.7;
    }
    
    .team-capacity-box {
        margin-bottom: 30px;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .capacity-label {
        font-size: 1rem;
    }
    
    .capacity-value {
        font-size: 1.1rem;
    }
    
    .theme-animation {
        margin-top: 25px;
    }
    
    .theme-animation img {
        max-height: 200px;
        width: auto;
    }
}

/* Tablet Optimization */
@media (min-width: 768px) and (max-width: 1024px) {
    .theme-description {
        margin-bottom: 22px;
    }
    
    .team-capacity-box {
        margin-bottom: 28px;
        padding: 10px 15px;
    }
}

/* Mobile Optimization */
@media (max-width: 767px) {
    .theme-container {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .theme-title {
        font-size: 1.8rem;
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .theme-description {
        font-size: 0.9rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }
    
    .team-capacity-box {
        margin-bottom: 18px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .capacity-label {
        font-size: 0.85rem;
    }
    
    .capacity-value {
        font-size: 0.9rem;
    }
    
    .theme-animation {
        margin-top: 15px;
    }
    
    .theme-animation img {
        max-height: 150px;
        width: auto;
    }
}

.team-capacity-box:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.capacity-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.capacity-value {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.theme-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-tag {
    background: rgba(255, 140, 66, 0.2);
    border: 1px solid rgba(255, 140, 66, 0.5);
    color: #ff8c42;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 140, 66, 0.3);
    transform: translateY(-2px);
}

.theme-animation {
    width: 100%;
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

/* ===== AI/ML Animation ===== */
.ai-animation {
    width: 100%;
    height: 100%;
    position: relative;
}

.neural-network {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.layer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    z-index: 2;
}

.neuron {
    width: 20px;
    height: 20px;
    background: #ff8c42;
    border-radius: 50%;
    position: relative;
    animation: neuronPulse 2s ease-in-out infinite;
}

@keyframes neuronPulse {
    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 140, 66, 0.8);
        transform: scale(1.2);
    }
}

.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection {
    stroke: rgba(255, 140, 66, 0.6);
    stroke-width: 2;
    animation: connectionFlow 3s ease-in-out infinite;
}

@keyframes connectionFlow {
    0%,
    100% {
        stroke-dasharray: 0, 100;
        opacity: 0.3;
    }
    50% {
        stroke-dasharray: 50, 100;
        opacity: 1;
    }
}

/* ===== Gaming AR/VR Animation ===== */
.gaming-animation {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-scene {
    position: relative;
    width: 180px;
    height: 180px;
}

.vr-headset {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 50px;
    z-index: 3;
}

.headset-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border-radius: 10px;
    position: relative;
    animation: headsetFloat 3s ease-in-out infinite;
}

@keyframes headsetFloat {
    0%,
    100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(5deg);
    }
}

.headset-strap {
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    height: 8px;
    background: #444;
    border-radius: 4px;
}

.lens {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(
        circle,
        rgba(255, 140, 66, 0.8) 0%,
        transparent 70%
    );
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.lens-left {
    left: 15px;
}
.lens-right {
    right: 15px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.game-cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff8c42 0%, #ff6b1a 100%);
    animation: cubeFloat 4s ease-in-out infinite;
}

.cube-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.cube-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.cube-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes cubeFloat {
    0%,
    100% {
        transform: translateY(0px) rotateZ(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotateZ(180deg);
        opacity: 1;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff8c42;
    border-radius: 50%;
    animation: particleMove 5s linear infinite;
}

.p1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}
.p2 {
    top: 80%;
    right: 10%;
    animation-delay: 1s;
}
.p3 {
    bottom: 10%;
    left: 80%;
    animation-delay: 2s;
}
.p4 {
    top: 60%;
    right: 60%;
    animation-delay: 3s;
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(50px, -30px) scale(0.5);
        opacity: 0.8;
    }
    50% {
        transform: translate(-30px, 50px) scale(1.2);
        opacity: 0.6;
    }
    75% {
        transform: translate(-50px, -20px) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

.ar-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
}

.ar-marker {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 140, 66, 0.7);
    border-radius: 8px;
    position: relative;
    animation: markerScan 2s ease-in-out infinite;
}

@keyframes markerScan {
    0%,
    100% {
        border-color: rgba(255, 140, 66, 0.7);
        transform: scale(1);
    }
    50% {
        border-color: rgba(255, 140, 66, 1);
        transform: scale(1.1);
    }
}

.ar-object {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff8c42, #ffaa66);
    border-radius: 4px;
    animation: arObjectFloat 3s ease-in-out infinite;
}

@keyframes arObjectFloat {
    0%,
    100% {
        transform: translateX(-50%) translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-15px) rotateY(180deg);
    }
}

/* ===== Cloud Computing Animation ===== */
.cloud-animation {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud-infrastructure {
    position: relative;
    width: 200px;
    height: 140px;
}

.cloud-layer {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.layer-1 {
    top: 20px;
    height: 60px;
}

.layer-2 {
    bottom: 20px;
    height: 80px;
}

.cloud-node {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #ff8c42 0%, #ff6b1a 100%);
    border-radius: 50%;
    position: relative;
    animation: nodeActivity 3s ease-in-out infinite;
}

.node-1 {
    animation-delay: 0s;
}
.node-2 {
    animation-delay: 0.5s;
}
.node-3 {
    animation-delay: 1s;
}

@keyframes nodeActivity {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(255, 140, 66, 0.8);
    }
}

.server-rack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(68, 68, 68, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(255, 140, 66, 0.3);
}

.server {
    width: 60px;
    height: 12px;
    background: linear-gradient(90deg, #444 0%, #666 50%, #444 100%);
    border-radius: 2px;
    position: relative;
    animation: serverBlink 2s ease-in-out infinite;
}

.server::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #ff8c42;
    border-radius: 50%;
    animation: inherit;
}

.server-1 {
    animation-delay: 0s;
}
.server-2 {
    animation-delay: 0.3s;
}
.server-3 {
    animation-delay: 0.6s;
}
.server-4 {
    animation-delay: 0.9s;
}
.server-5 {
    animation-delay: 1.2s;
}
.server-6 {
    animation-delay: 1.5s;
}

@keyframes serverBlink {
    0%,
    90% {
        opacity: 1;
    }
    95% {
        opacity: 0.3;
    }
}

.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.data-packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff8c42;
    border-radius: 50%;
    animation: dataTransfer 4s linear infinite;
}

.packet-1 {
    top: 25%;
    left: 10%;
    animation-delay: 0s;
}

.packet-2 {
    top: 75%;
    right: 10%;
    animation-delay: 1s;
}

.packet-3 {
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

.packet-4 {
    bottom: 30%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes dataTransfer {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(100px, -50px) scale(0.5);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50px, 100px) scale(1.2);
        opacity: 0.5;
    }
    75% {
        transform: translate(-100px, -100px) scale(0.8);
        opacity: 0.7;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

.cloud-shape {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    opacity: 0.6;
    animation: cloudFloat 6s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%,
    100% {
        transform: translateX(-50%) translateY(0px);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
        opacity: 0.8;
    }
}

/* Responsive Design for Themes */
@media (max-width: 992px) {
    .themes-grid {
        gap: 20px;
        padding: 0 15px;
    }

    .theme-container {
        padding: 20px;
        height: 350px;
        min-width: 250px;
        max-width: 300px;
    }

    .theme-animation {
        height: 140px;
    }

    .theme-title {
        font-size: 1.6rem;
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .theme-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .themes-section {
        padding: 60px 0;
    }

    .themes-grid {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
        gap: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .theme-container {
        padding: 18px;
        height: 280px;
        min-width: 260px;
        max-width: 260px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .theme-title {
        font-size: 1.8rem;
        line-height: 1.3;
        word-break: break-word;
        hyphens: auto;
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .theme-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .theme-animation {
        height: 80px;
        width: 80px;
    }

    .neural-network,
    .vr-scene,
    .cloud-infrastructure {
        transform: scale(0.75);
    }
}

@media (max-width: 480px) {
    .themes-section {
        padding: 40px 0;
    }

    .themes-grid {
        gap: 10px;
        padding: 0 15px;
    }

    .theme-container {
        padding: 15px;
        height: 250px;
        min-width: 240px;
        max-width: 240px;
    }

    .theme-title {
        font-size: 1.6rem;
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .theme-description {
        font-size: 0.8rem;
    }

    .theme-animation {
        height: 70px;
        width: 70px;
    }
}

@media (max-width: 360px) {
    .themes-section {
        padding: 30px 0;
    }

    .themes-grid {
        gap: 8px;
        padding: 0 10px;
    }

    .theme-container {
        padding: 12px;
        height: 220px;
        min-width: 220px;
        max-width: 220px;
    }

    .theme-title {
        font-size: 1.4rem;
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .theme-description {
        font-size: 0.75rem;
    }

    .theme-animation {
        height: 60px;
        width: 60px;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid var(--text-secondary);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent !important;
    padding: 1.2rem 0;
    z-index: 1000;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.navbar.scrolled {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-container {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border: none;
    box-shadow: none;
    background: transparent !important;
}
.amity-presents {
    position: absolute;
    top: 12%;
    font-family: var(--font-secondary);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 200;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 120px;
    padding: 10px 20px;
    background: transparent !important;
    z-index: 10;
    pointer-events: none;
    box-sizing: border-box;
    border: none !important;
    box-shadow: none !important;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.amity-logo {
    height: 120px !important;
    width: 120px;
    object-fit: contain;
    filter: brightness(1.15) contrast(1.1);
    transition: all 0.3s ease;
}

.amity-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    background: transparent !important;
}

.nav-menu a:hover {
    background: transparent;
    border: 1px solid transparent;
    transform: translateY(-2px);
    box-shadow: none;
}

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

.nav-menu a:hover::before {
    width: 80%;
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 105vh;
    min-height: 115dvh; /* Dynamic viewport height */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    container-type: inline-size;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 30% 20%,
            rgba(72, 52, 52, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 80%,
            rgba(103, 125, 106, 0.1) 0%,
            transparent 50%
        );
    z-index: 0;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none !important;
}

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

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    /* Ensure network elements roam properly on top of the image */
    mix-blend-mode: overlay;
}

.network-line {
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(72, 52, 52, 0.6),
        transparent
    );
    height: 1px;
    width: 120px;
    animation: networkGlow 4s ease-in-out infinite, networkFloat 8s ease-in-out infinite;
    transform-origin: center;
    /* Ensure lines are visible on top of the image */
    mix-blend-mode: normal;
}

.network-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(72, 52, 52, 0.8);
    border-radius: 50%;
    animation: dotPulse 3s ease-in-out infinite, dotFloat 6s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(72, 52, 52, 0.6);
    transform-origin: center;
    /* Ensure dots are visible on top of the image */
    mix-blend-mode: normal;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
    z-index: 2;
    box-shadow: 0 0 80px rgba(82, 55, 55, 0.6);
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    bottom: -20%;
    left: -10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-accent);
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: var(--gradient-secondary);
    top: 20%;
    left: 25%;
    animation-delay: 6s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-40px) rotate(180deg) scale(1.15);
        opacity: 1;
    }
}

@keyframes networkGlow {
    0%,
    100% {
        opacity: 0.4;
        box-shadow: 0 0 15px rgba(72, 52, 52, 0.4);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 25px rgba(72, 52, 52, 0.7);
    }
}

@keyframes dotPulse {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
        box-shadow: 0 0 8px rgba(72, 52, 52, 0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 15px rgba(72, 52, 52, 0.8);
    }
}

@keyframes networkFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(30px) translateY(-20px) rotate(8deg);
    }
    50% {
        transform: translateX(-25px) translateY(25px) rotate(-8deg);
    }
    75% {
        transform: translateX(35px) translateY(15px) rotate(5deg);
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

@keyframes dotFloat {
    0% {
        transform: translateX(0) translateY(0);
    }
    33% {
        transform: translateX(20px) translateY(-15px);
    }
    66% {
        transform: translateX(-15px) translateY(20px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
    max-width: min(1550px, 95vw);
    margin: clamp(120px, 15vh, 195px) auto;
    margin-left: calc(50% - min(775px, 47.5vw) + 60px);
    margin-right: calc(50% - min(775px, 47.5vw) - 35px);
    padding: 0 clamp(15px, 3vw, 30px);
    padding-left: clamp(25px, 4vw, 40px);
    position: relative;
    z-index: 1001;
}

.hero-text {
    padding-top: 20px;
    position: relative;
    z-index: 1002;
    text-align: justify;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6.2rem);
    font-weight: 800;
    margin-bottom: clamp(0.5rem, 1.5vw, 0.8rem);
    line-height: 1.1;
    color: var(--primary);
    text-align: justify;
    left: clamp(-6%, -3vw, -2%);
    top: clamp(10px, 2vh, 20px);
    position: relative;
    word-wrap: break-word;
    hyphens: auto;
}

.gradient-text {
    background: linear-gradient(135deg, #483434 0%, #677d6a 50%, #483434 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(72, 52, 52, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: clamp(0.5rem, 1.5vw, 0.8rem);
    font-weight: 600;
    text-align: justify;
    left: clamp(-5%, -2.5vw, -2%);
    top: clamp(10px, 2vh, 20px);
    position: relative;
}

.typing-container {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--secondary);
    margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
    min-height: clamp(1.5rem, 3vw, 2rem);
    text-align: justify;
    left: clamp(-5%, -2.5vw, -2%);
    top: clamp(10%, 1.5vw, 15%);
    position: relative;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.6;
    max-width: clamp(100%, 105vw, 110%);
    width: clamp(100%, 105vw, 110%);
    text-align: justify;
    margin-left: clamp(-5%, -2.5vw, -2%);
    margin-right: clamp(-5%, -2.5vw, -2%);
    letter-spacing: normal;
    word-spacing: normal;
    word-wrap: break-word;
    position: relative;
    z-index: 1003;
    overflow-wrap: break-word;
    hyphens: auto;
    /* Ensure no overlap with right-hand image */
    box-sizing: border-box;
    /* Add right padding to prevent overlap */
    padding-right: clamp(1rem, 3vw, 2rem);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--mouse);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.hero-features {
    display: flex;
    gap: clamp(1rem, 2vw, 1.5rem);
    flex-wrap: wrap;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 140, 66, 0.1);
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 140, 66, 0.3);
    color: #ff8c42;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(255, 140, 66, 0.2);
    animation: fadeInUp 0.6s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.6s; }
.feature-item:nth-child(2) { animation-delay: 0.7s; }
.feature-item:nth-child(3) { animation-delay: 0.8s; }
.feature-item:nth-child(4) { animation-delay: 0.9s; }
.feature-item:nth-child(5) { animation-delay: 1.0s; }

.feature-item i {
    color: #ff8c42;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 140, 66, 0.2);
    border-color: rgba(255, 140, 66, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.3);
    color: #ffa726;
}

.feature-item:hover i {
    color: #ffd54f;
    transform: scale(1.1);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(103, 125, 106, 0.1);
    border: 2px solid rgba(103, 125, 106, 0.6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    animation: floatIcon 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(103, 125, 106, 0.3);
    opacity: 0;
    animation-fill-mode: both;
}

.floating-icon:hover {
    background: var(--gradient-primary);
    color: var(--text-primary);
    transform: scale(1.1);
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.floating-icon:nth-child(2) {
    top: 70%;
    right: 20%;
    animation-delay: 1s;
    animation-duration: 6s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 25%;
    animation-delay: 2s;
    animation-duration: 4.5s;
}

.floating-icon:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 3s;
    animation-duration: 5.5s;
}

.floating-icon:nth-child(5) {
    bottom: 50%;
    right: 10%;
    animation-delay: 4s;
    animation-duration: 4s;
}

.floating-icon:nth-child(6) {
    top: 60%;
    left: 40%;
    animation-delay: 5s;
    animation-duration: 5.8s;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-8px) translateX(3px) rotate(2deg) scale(1.02);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-12px) translateX(-2px) rotate(-1deg) scale(1.05);
        opacity: 1;
    }
    75% {
        transform: translateY(-6px) translateX(4px) rotate(1deg) scale(1.03);
        opacity: 0.9;
    }
}

.floating-icon.visible {
    opacity: 1;
    animation: fadeInFloat 1s ease-out forwards,
        floatIcon 4s ease-in-out infinite 1s;
}

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

.hero-3d-element {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    z-index: 3;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--primary);
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
}

/* Ensure themes section title has orange color */
.themes-section .section-title {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 0 25px rgba(255, 140, 66, 0.6) !important;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        rgba(205, 133, 63, 0.05) 0%,
        rgba(222, 184, 135, 0.07) 25%,
        rgba(160, 82, 45, 0.04) 50%,
        rgba(255, 140, 0, 0.06) 100%
    );
    position: relative;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 15px;
    padding: 1.5rem;
}

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

.feature h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.university-logo {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-primary);
    margin: 0 auto;
    box-shadow: var(--shadow-primary);
}

.stats-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Schedule Section */
.schedule {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        rgba(255, 69, 0, 0.04) 0%,
        rgba(255, 140, 0, 0.05) 25%,
        rgba(205, 133, 63, 0.03) 50%,
        rgba(255, 99, 71, 0.06) 100%
    );
    position: relative;
}

.schedule .container {
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.timeline-content {
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 15px;
    padding: 2rem;
    margin-left: 3rem;
    position: relative;
}

.timeline-content::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--primary-lightest);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-date {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-events {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--primary-lightest);
    border-radius: 10px;
    border: 1px solid var(--primary-lighter);
}

.event-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.time {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

.duration {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.event-details {
    flex: 1;
    margin-left: 1rem;
}

.event-name {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.event-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Prizes Section */
.prizes {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        rgba(255, 140, 0, 0.05) 0%,
        rgba(255, 165, 0, 0.06) 25%,
        rgba(205, 133, 63, 0.04) 50%,
        rgba(222, 184, 135, 0.07) 100%
    );
    position: relative;
}

.prizes .container {
    position: relative;
    z-index: 1;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.prize-card {
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prize-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.prize-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.prize-card:hover::before {
    opacity: 0.1;
}

.prize-card.first {
    border-color: var(--secondary);
}

.prize-card.second {
    border-color: var(--secondary);
}

.prize-card.third {
    border-color: var(--primary);
}

.prize-medal {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0 auto 1rem;
}

.prize-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.prize-card p {
    color: var(--text-secondary);
    font-weight: 500;
}

.prize-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prize-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.prize-features .feature i {
    color: var(--primary);
    font-size: 0.8rem;
}

.additional-rewards {
    text-align: center;
}

.additional-rewards h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.rewards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.reward {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 15px;
    padding: 1rem;
    color: var(--text-secondary);
}

.reward i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Sponsors Section */
.sponsors {
    padding: 6rem 0;
    background: var(--gradient-secondary);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sponsor-card {
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.sponsor-logo {
    width: 140px;
    height: 140px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-primary);
    margin: 0 auto 1rem;
}

.sponsor-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.sponsor-card p {
    color: var(--text-secondary);
    font-weight: 500;
}

.become-sponsor {
    text-align: center;
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 20px;
    padding: 2rem;
}

.become-sponsor h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.become-sponsor p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Registration Section */
.register {
    padding: 6rem 0;
    background: var(--primary);
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.registration-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 15px;
    padding: 1.5rem;
}

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

.info-item h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

.registration-benefits {
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 15px;
    padding: 1.5rem;
}

.registration-benefits h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.registration-benefits ul {
    list-style: none;
}

.registration-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.registration-benefits li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.registration-form {
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 20px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(72, 52, 52, 0.5);
    border: 1px solid var(--primary-lighter);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-lightest);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        rgba(222, 184, 135, 0.03) 0%,
        rgba(255, 140, 0, 0.04) 25%,
        rgba(205, 133, 63, 0.03) 50%,
        rgba(160, 82, 45, 0.05) 100%
    );
    position: relative;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 15px;
    padding: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.newsletter {
    background: var(--primary-lightest);
    border: 1px solid var(--primary-lighter);
    border-radius: 15px;
    padding: 1.5rem;
}

.newsletter h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(72, 52, 52, 0.5);
    border: 1px solid var(--primary-lighter);
    border-radius: 10px;
    color: var(--text-primary);
}

.newsletter-form input::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--primary-lighter);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
   
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.footer-newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(72, 52, 52, 0.5);
    border: 1px solid var(--primary-lighter);
    border-radius: 10px;
    color: var(--text-primary);
}

.footer-newsletter button {
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-lighter);
    color: var(--text-secondary);
}

/* Key Info Section */
.key-info {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(222, 184, 135, 0.03) 0%,
        rgba(255, 140, 0, 0.04) 25%,
        rgba(205, 133, 63, 0.05) 50%,
        rgba(160, 82, 45, 0.03) 100%
    );
}

.key-info .container {
    position: relative;
    z-index: 1;
}

.key-info-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.2rem 1rem;
    border-radius: 16px;
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
    opacity: 0;
    transition: 0.4s;
}

.info-card:hover::after {
    opacity: 1;
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Terms Section */
/* Terms Section */
.terms {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(160, 82, 45, 0.03) 0%,
        rgba(205, 133, 63, 0.02) 25%,
        rgba(222, 184, 135, 0.04) 50%,
        rgba(255, 140, 0, 0.03) 100%
    );
    position: relative;
}

.terms .section-title {
    font-size: 2.5rem !important;
}

.terms .container {
    position: relative;
    z-index: 1;
}

.terms-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.terms-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Faculty Mentors */
.faculty-mentors {
    padding: 100px 0;
}

.mentor-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.mentor-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.mentor-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(20%) contrast(1.05);
    transition: 0.4s;
}

.mentor-card h3 {
    font-size: 0.95rem;
    margin: 0.7rem 0 0.2rem;
    max-width: 98%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-secondary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.mentor-card p {
    font-size: 1.01rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-height: none;
    line-height: 1.3;
}

.mentor-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        140deg,
        rgba(103, 125, 106, 0.15),
        transparent 60%
    );
    opacity: 0;
    transition: 0.4s;
}

.mentor-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mentor-card {
    /* subtle gradient border and layered backdrop */
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.01)
    );
    border: 1px solid rgba(229, 100, 30, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.mentor-card:hover {
    transform: translateY(-12px) scale(1.06);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.mentor-card .mentor-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #eeab00, #e5641e);
    color: #0a0a0a;
    padding: 6px 8px;
    font-weight: 700;
    border-radius: 8px;
    font-size: 0.75rem;
    box-shadow: 0 6px 18px rgba(229, 100, 30, 0.12);
    transform: translateZ(0);
}

.mentor-card:hover img {
    filter: grayscale(0) brightness(1.08) saturate(1.03);
    transform: scale(1.06);
}

/* Focus styles for accessibility */
.mentor-link:focus {
    outline: 3px solid rgba(238, 171, 0, 0.18);
    outline-offset: 6px;
}

.mentor-card:hover::before {
    opacity: 1;
}

/* Organising Heads */
.organising-heads {
    padding: 100px 0;
}

.heads-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.head-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.8rem;
    text-align: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.head-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(25%);
    transition: 0.4s;
}

.head-card h3 {
    font-size: 0.85rem;
    margin: 0.5rem 0 0;
    letter-spacing: 0.5px;
}

.head-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.45);
}

.head-card:hover img {
    filter: grayscale(0);
}

/* Memories */
.memories {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(205, 133, 63, 0.05) 0%,
        rgba(222, 184, 135, 0.07) 25%,
        rgba(160, 82, 45, 0.04) 50%,
        rgba(255, 140, 0, 0.06) 100%
    );
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}











.memories .container {
    position: relative;
    z-index: 3;
}

.memories .section-header {
    position: relative;
    z-index: 3;
}

.memories .memories-slider-outer {
    position: relative;
    z-index: 3;
}

.memories-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.memories-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    filter: grayscale(20%) brightness(0.9);
    transition: 0.5s;
    position: relative;
}

.memories-grid img:hover {
    filter: grayscale(0) brightness(1);
    transform: scale(1.03);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Schedule Redesign */
.schedule.redesigned {
    padding: 90px 0 40px;
    position: relative;
}
.timeline-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
}
.phase-card {
    position: relative;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px 22px 30px;
    border-radius: 24px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.55s cubic-bezier(0.16, 0.8, 0.24, 1),
        box-shadow 0.5s, border-color 0.4s;
    box-shadow: 0 6px 24px -6px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.phase-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at 75% 15%,
            rgba(35, 168, 255, 0.25),
            transparent 65%
        ),
        radial-gradient(
            circle at 10% 85%,
            rgba(127, 90, 240, 0.3),
            transparent 70%
        );
    opacity: 0.75;
    pointer-events: none;
    mix-blend-mode: overlay;
}
.phase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(35, 168, 255, 0.6);
    box-shadow: 0 14px 38px -6px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phase-head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.phase-time {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    font-family: monospace;
    background: linear-gradient(135deg, #23a8ff, #7f5af0);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    background-clip: text;
}
.phase-head h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    color: #fff;
    flex: 1;
}
.phase-desc {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}
.phase-card.night:after,
.phase-card.dawn:after {
    content: "Night";
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.phase-card.dawn:after {
    content: "Dawn";
}
@media (max-width: 680px) {
    .timeline-grid {
        gap: 22px;
    }
    .phase-time {
        font-size: 26px;
    }
    .phase-head h3 {
        font-size: 16px;
    }
}

/* Scroll reveal for new cards */
.theme-panel,
.phase-card {
    opacity: 0;
    transform: translateY(30px);
}
.theme-panel.reveal,
.phase-card.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.16, 0.8, 0.24, 1);
}

/* AI Theme Static Design */
.ai-theme-static {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.ai-content-area {
    display: flex;
    width: 100%;
    height: 100%;
}

.ai-text-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ai-text-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ai-text-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.ai-demo-area {
    flex: 1;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.1);
}

/* Demo Sections */
.ai-demo-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.demo-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Neural Network Demo */
.neural-nodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
    position: relative;
}

.node-layer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.node {
    width: 12px;
    height: 12px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    animation: neuralPulse 2s ease-in-out infinite;
}

.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection {
    stroke: rgba(0, 255, 136, 0.4);
    stroke-width: 1;
    animation: connectionFlow 3s ease-in-out infinite;
}

/* ML Process Demo */
.ml-pipeline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.ml-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    animation: mlStepActive 4s ease-in-out infinite;
}

.step-icon {
    font-size: 1.2rem;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.step-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.ml-arrow {
    color: rgba(0, 255, 136, 0.6);
    font-weight: bold;
    animation: arrowPulse 2s ease-in-out infinite;
}

/* Computer Vision Demo */
.cv-scanner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cv-image {
    position: relative;
    width: 60px;
    height: 45px;
    margin: 0 auto;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 4px;
}

.cv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1px;
    width: 100%;
    height: 100%;
}

.cv-cell {
    background: rgba(0, 255, 136, 0.1);
    animation: cvPixelScan 3s ease-in-out infinite;
}

.cv-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: cvScanLine 2s linear infinite;
}

.cv-output {
    text-align: center;
}

.cv-detection {
    font-size: 0.6rem;
    color: #00ff88;
    padding: 0.2rem 0.4rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    animation: detectionBlink 1.5s ease-in-out infinite;
}

/* NLP Demo */
.nlp-text-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.nlp-word {
    font-size: 0.8rem;
    color: #00ccff;
    padding: 0.2rem 0.4rem;
    background: rgba(0, 204, 255, 0.1);
    border-radius: 4px;
    opacity: 0;
    animation: wordProcess 3s ease-in-out infinite;
}

.nlp-analysis {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
}

.sentiment-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.sentiment-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    width: 0%;
    animation: sentimentAnalysis 4s ease-in-out infinite;
}

.nlp-analysis span {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Data Flow Demo */
.data-stream {
    position: relative;
    width: 100%;
    height: 40px;
    background: linear-gradient(
        90deg,
        rgba(0, 255, 136, 0.1) 0%,
        rgba(0, 255, 136, 0.2) 50%,
        rgba(0, 255, 136, 0.1) 100%
    );
    border-radius: 20px;
    overflow: hidden;
}

.data-packet {
    position: absolute;
    top: 50%;
    left: -10px;
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.8);
    animation: dataPacketFlow 3s ease-in-out infinite;
}

/* Brain Activity Demo */
.brain-activity {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    animation: brainWave 3s ease-in-out infinite;
}

.pulse-1 {
    animation-delay: 0s;
}
.pulse-2 {
    animation-delay: 0.5s;
}
.pulse-3 {
    animation-delay: 1s;
}

.brain-center {
    font-size: 1.5rem;
    z-index: 2;
    animation: brainThink 2s ease-in-out infinite;
}

/* Animations */
@keyframes neuralPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.9);
    }
}

@keyframes connectionFlow {
    0%,
    100% {
        stroke-opacity: 0.2;
    }
    50% {
        stroke-opacity: 1;
    }
}

@keyframes mlStepActive {
    0%,
    70%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
    10%,
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.ml-step[data-step="data"] {
    animation-delay: 0s;
}
.ml-step[data-step="train"] {
    animation-delay: 1.3s;
}
.ml-step[data-step="predict"] {
    animation-delay: 2.6s;
}

@keyframes arrowPulse {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

@keyframes cvPixelScan {
    0%,
    100% {
        background: rgba(0, 255, 136, 0.1);
    }
    20% {
        background: rgba(0, 255, 136, 0.4);
    }
}

.cv-cell:nth-child(1) {
    animation-delay: 0s;
}
.cv-cell:nth-child(2) {
    animation-delay: 0.1s;
}
.cv-cell:nth-child(3) {
    animation-delay: 0.2s;
}
.cv-cell:nth-child(4) {
    animation-delay: 0.3s;
}
.cv-cell:nth-child(5) {
    animation-delay: 0.4s;
}
.cv-cell:nth-child(6) {
    animation-delay: 0.5s;
}
.cv-cell:nth-child(7) {
    animation-delay: 0.6s;
}
.cv-cell:nth-child(8) {
    animation-delay: 0.7s;
}
.cv-cell:nth-child(9) {
    animation-delay: 0.8s;
}

@keyframes cvScanLine {
    0%,
    100% {
        top: 0;
        opacity: 1;
    }
    50% {
        top: calc(100% - 2px);
    }
}

@keyframes detectionBlink {
    0%,
    70%,
    100% {
        opacity: 0.6;
    }
    35% {
        opacity: 1;
    }
}

@keyframes wordProcess {
    0%,
    90%,
    100% {
        opacity: 0;
        transform: translateY(5px);
    }
    10%,
    80% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sentimentAnalysis {
    0%,
    100% {
        width: 0%;
    }
    50%,
    90% {
        width: 87%;
    }
}

@keyframes dataPacketFlow {
    0% {
        left: -10px;
        opacity: 0;
    }
    10%,
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100% + 10px);
        opacity: 0;
    }
}

@keyframes brainWave {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
        border-color: rgba(0, 255, 136, 0.3);
    }
    50% {
        transform: scale(1.4);
        opacity: 0.8;
        border-color: rgba(0, 255, 136, 0.8);
    }
}

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

/* Responsive Design */
@media (max-width: 1800px) {
    .hero-description {
        max-width: clamp(100%, 104vw, 108%);
        width: clamp(100%, 104vw, 108%);
        margin-right: clamp(-4.5%, -2.5vw, -2%);
    }
}

@media (max-width: 1600px) {
    .hero-description {
        max-width: clamp(100%, 103vw, 107%);
        width: clamp(100%, 103vw, 107%);
        margin-right: clamp(-4%, -2vw, -1.5%);
    }
}

@media (max-width: 1400px) {
    .hero-description {
        max-width: clamp(100%, 102vw, 105%);
        width: clamp(100%, 102vw, 105%);
        margin-right: clamp(-3%, -1.5vw, -1%);
    }
}

@media (max-width: 1200px) {
    .hero-description {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Desktop Hero Text Justification */
@media (min-width: 992px) {
    .hero-text {
        text-align: justify;
    }
    
    .hero-title,
    .hero-subtitle,
    .typing-container,
    .hero-description {
        text-align: justify;
    }
    
    .hero-features {
        justify-content: space-between;
        text-align: justify;
    }
}

@media (max-width: 768px) {
    .ai-content-area {
        flex-direction: column;
    }

    .ai-demo-area {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        min-height: 200px;
    }

    .demo-title {
        font-size: 0.6rem;
    }

    .brain-activity {
        width: 40px;
        height: 40px;
    }

    .brain-center {
        font-size: 1.2rem;
    }

    /* Adjust section backgrounds for mobile */
    .about,
    .schedule,
    .prizes,
    .key-info,
    .terms,
    .faculty-mentors,
    .organising-heads,
    .memories,
    .contact {
        padding: 4rem 0; /* Reduce padding on mobile */
    }

    /* Hero content mobile optimization */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin: 120px auto;
        text-align: center;
        max-width: 95%;
    }

    .hero-title,
    .hero-subtitle,
    .typing-container,
    .hero-description {
        text-align: center;
    }
    
    /* Mobile hero features optimization */
    .hero-features {
        justify-content: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
        max-width: 100%;
    }
    
    .feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hero-description {
        max-width: 100%;
        width: 100%;
        line-height: 1.5;
        margin-left: 0;
        margin-right: 0;
        font-size: 1rem;
        margin-bottom: 1.2rem;
        letter-spacing: normal;
        word-spacing: normal;
    }
}

/* New Theme Card Design - Integrated with existing theme-container styling */
.themes-section {
    padding: 80px 0 !important;
    background: #121214 !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.themes-section .themes-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
    max-width: 1400px !important;
    margin: -30px auto 0 auto !important;
}

.themes-section .section-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
    display: block !important;
    visibility: visible !important;
}

.themes-section .section-title {
    color: #fff !important;
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    display: block !important;
    visibility: visible !important;
}

.themes-section .section-subtitle {
    color: #bbb !important;
    font-size: 1.2rem !important;
    margin-bottom: 0 !important;
    display: block !important;
    visibility: visible !important;
}

.themes-section .theme-card {
    background: linear-gradient(135deg, rgba(86, 28, 36, 0.95) 0%, rgba(3, 7, 18, 0.98) 50%, rgba(86, 28, 36, 0.95) 100%) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    width: 100% !important;
    min-height: 240px !important;
    border: 1px solid rgba(255, 177, 0, 0.2) !important;
    margin-bottom: 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.themes-section .theme-card:hover {
    /* Subtle shadow enhancement only */
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.4) !important;
}

.themes-section .theme-card h3 {
    font-size: 2.4rem !important;
    background: linear-gradient(90deg, #ffa500, #ff6b00) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    color: transparent !important;
    text-align: center !important;
}

.themes-section .theme-card p {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    color: #f0f0f0 !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

.themes-section .theme-capacity {
    border-radius: 6px !important;
    padding: 0.3rem 0.8rem !important;
    font-size: 1.2rem !important;
    color: #ffa500 !important;
    font-weight: bold !important;
    text-align: center !important;
    align-self: center !important;
    margin: 0.5rem 0 !important;
    transition: all 0.3s ease !important;
}

.themes-section .theme-capacity:hover {
    /* Hover effect removed */
}

.themes-section .theme-image {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.themes-section .theme-image img {
    max-width: 250px !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
}

/* Laptop layout - theme-image on right side */
@media (min-width: 768px) {
    .themes-section .theme-card {
        flex-direction: row !important;
        align-items: center !important;
        max-width: 1200px !important;
        margin: 0 auto 20px auto !important;
    }
    .themes-section .theme-card .text-content {
        flex: 2 !important;
        padding: 1rem !important;
        text-align: left !important;
    }
    .themes-section .theme-image {
        flex: 1 !important;
        order: 2 !important;
    }
}

/* Mobile layout - increase height for better GIF visibility */
@media (max-width: 767px) {
    .themes-section .theme-card {
        min-height: 400px !important;
        height: 450px !important;
        padding: 1.5rem !important;
        flex-direction: column !important;
    }
    .themes-section .theme-card .text-content {
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }
    .themes-section .theme-card h3 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }
    .themes-section .theme-card p {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }
    .themes-section .theme-image {
        order: 3 !important;
        margin-top: 1rem !important;
    }
    .themes-section .theme-image img {
        max-width: 280px !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .themes-section .theme-card {
        min-height: 450px !important;
        height: 500px !important;
        padding: 2rem !important;
    }
    .themes-section .theme-card .text-content {
        margin-bottom: 2rem !important;
    }
    .themes-section .theme-card h3 {
        margin-bottom: 2rem !important;
    }
    .themes-section .theme-card p {
        margin-bottom: 2rem !important;
    }
    .themes-section .theme-image {
        margin-top: 1.5rem !important;
    }
    .themes-section .theme-image img {
        max-width: 300px !important;
    }
}

/* Dark Red Gradient Theme Container Layout - Keeping for compatibility */
.themes-section .theme-container {
    height: 200px !important;
    max-height: 200px !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 25px 30px !important;
    overflow: hidden !important;
    position: relative !important;
    background: linear-gradient(135deg, #8B0000 0%, #4A0000 50%, #1a1a1a 100%) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 177, 0, 0.2) !important;
    box-shadow: 0 12px 40px rgba(139, 0, 0, 0.4) !important;
    margin-bottom: 30px !important;
}

.themes-section .theme-container .theme-title {
    text-align: left !important;
    margin: 0 0 20px 0 !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.2 !important;
    width: 100% !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

.themes-section .theme-container .theme-content-wrapper {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: calc(100% - 120px) !important;
    gap: 25px !important;
    margin-bottom: 20px !important;
}

.themes-section .theme-container .theme-gif {
    flex-shrink: 0 !important;
    width: 100px !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.themes-section .theme-container .theme-gif img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    transition: transform 0.3s ease !important;
}

.themes-section .theme-container .theme-gif:hover img {
    transform: scale(1.05) !important;
}

.themes-section .theme-container .theme-description {
    flex: 1 !important;
    text-align: left !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #fff !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px !important;
    opacity: 0.95 !important;
    padding-right: 25px !important;
}

.themes-section .theme-container .theme-btn {
    background: #444 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    align-self: flex-start !important;
    margin-top: auto !important;
}

.themes-section .theme-container .theme-btn:hover {
    background: #555 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .themes-section .theme-container {
        height: 180px !important;
        max-height: 180px !important;
        min-height: 180px !important;
        padding: 20px 25px !important;
    }
    
    .themes-section .theme-container .theme-title {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
        letter-spacing: 0.3px !important;
    }
    
    .themes-section .theme-container .theme-content-wrapper {
        height: calc(100% - 70px) !important;
        gap: 16px !important;
    }
    
    .themes-section .theme-container .theme-gif {
        width: 60px !important;
        height: 60px !important;
        border-radius: 10px !important;
    }
    
    .themes-section .theme-container .theme-description {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        -webkit-line-clamp: 3 !important;
    }
    
    .themes-section .theme-container .team-capacity {
        font-size: 0.85rem !important;
        margin-top: 6px !important;
    }
}

@media (max-width: 480px) {
    .themes-section .theme-container {
        height: 150px !important;
        max-height: 150px !important;
        min-height: 150px !important;
        padding: 14px 16px !important;
    }
    
    .themes-section .theme-container .theme-title {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }
    
    .themes-section .theme-container .theme-content-wrapper {
        height: calc(100% - 65px) !important;
        gap: 14px !important;
    }
    
    .themes-section .theme-container .theme-gif {
        width: 55px !important;
        height: 55px !important;
        border-radius: 8px !important;
    }
    
    .themes-section .theme-container .theme-description {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 3 !important;
    }
}

/* Responsive adjustments for new theme cards */
@media (max-width: 768px) {
    .themes-section .themes-container {
        gap: 2rem !important;
        padding: 0 1rem !important;
    }
    
    .themes-section .theme-card {
        min-height: 280px !important;
        padding: 1.2rem !important;
    }
    
    .themes-section .theme-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .themes-section .theme-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .themes-section .theme-image img {
        max-width: 240px !important;
    }
    
    .themes-section .theme-capacity {
        font-size: 1.2rem !important;
        padding: 0.25rem 0.6rem !important;
    }
}

@media (max-width: 480px) {
    .themes-section .themes-container {
        gap: 1.5rem !important;
        padding: 0 0.5rem !important;
    }
    
    .themes-section .theme-card {
        min-height: 260px !important;
        padding: 1rem !important;
    }
    
    .themes-section .theme-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .themes-section .theme-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    .themes-section .theme-image img {
        max-width: 240px !important;
    }
}
