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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Three.js Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Ensure navigation is always clickable */
.navigation,
.navigation * {
    pointer-events: auto;
}

/* Logo */
.logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100;
    animation: float 3s ease-in-out infinite;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

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

/* Geometric Background Elements */
.geometric-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.large-circle {
    width: 700px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.small-circle {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
    animation-direction: reverse;
}

.curve-line {
    position: absolute;
    top: 15%;
    left: 35%;
    width: 400px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-bottom: none;
    transform: rotate(-15deg);
    animation: pulse 4s ease-in-out infinite;
}

.cross {
    position: absolute;
    width: 20px;
    height: 20px;
}

.cross::before,
.cross::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
}

.cross::before {
    width: 1px;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.cross::after {
    width: 20px;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
}

.cross-1 {
    top: 25%;
    left: 45%;
    animation: twinkle 2s ease-in-out infinite;
}

.cross-2 {
    bottom: 35%;
    right: 30%;
    animation: twinkle 2s ease-in-out infinite 1s;
}

.dimension-label {
    position: absolute;
    top: 22%;
    right: 20%;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-weight: 500;
}

/* Animations */
@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: rotate(-15deg) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: rotate(-15deg) scale(1.05);
    }
}

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

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 50;
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    pointer-events: none;
}

.hero-section * {
    pointer-events: auto;
}

.hero-title {
    font-family: 'Satisfy', cursive;
    font-size: 180px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    width: 100%;
}

#bozo-text {
    width: 90vw;
    height: auto;
    margin-top: 100px;
}

.bozo-svg-text {
    font-family: 'Satisfy', cursive;
    font-size: 800px;
    fill: #ffffff;
    stroke: none;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    animation: gentleGlow 4s ease-in-out infinite, floatMove 6s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes gentleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
        opacity: 0.95;
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.7));
        opacity: 1;
    }
}

@keyframes floatMove {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.01);
    }
    50% {
        transform: translateY(0px) scale(1);
    }
    75% {
        transform: translateY(8px) scale(0.99);
    }
}


.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px #ffffff;
    text-stroke: 1.5px #ffffff;
    font-weight: 700;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    font-weight: 400;
}

/* Navigation */
.navigation {
    display: inline-flex;
    gap: 0;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 6px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navigation.sticky {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDownBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto !important;
}

@keyframes slideDownBounce {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-50px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateX(-50%) translateY(5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #000000;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.navigation.sticky .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }

    .logo {
        top: 20px;
        left: 20px;
    }

    .logo svg {
        width: 30px;
        height: 30px;
    }

    .large-circle {
        width: 500px;
        height: 500px;
    }

    .small-circle {
        width: 300px;
        height: 300px;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 10px 18px;
        font-size: 14px;
    }

    .dimension-label {
        top: 10%;
        right: 10%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 14px;
    }

    .outline-text {
        -webkit-text-stroke: 1px #ffffff;
        text-stroke: 1px #ffffff;
    }
}

/* Content Sections */
.content-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 20px;
    z-index: 10;
}

.section-content {
    max-width: 800px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
}

.section-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-text {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.section-1 {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,10,10,0.8) 100%);
}

.section-2 {
    background: linear-gradient(180deg, rgba(20,20,20,0.3) 0%, rgba(0,0,0,0) 50%, rgba(30,30,30,0.3) 100%);
    position: relative;
}

/* About Section Styles */
#about-section {
    position: relative;
    overflow: hidden;
}

#about-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 100;
    max-width: 900px;
}

.about-title {
    font-size: 72px;
    margin-bottom: 50px;
    position: relative;
    z-index: 100;
}

.about-description {
    background: rgba(0, 0, 0, 0.7);
    padding: 60px 70px;
    border-radius: 24px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 100;
}

.about-role {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: 20px;
    line-height: 2;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    margin-bottom: 25px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.about-text strong {
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.about-cta {
    font-size: 22px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .about-title {
        font-size: 48px;
    }
    
    .about-role {
        font-size: 28px;
    }
    
    .about-text {
        font-size: 18px;
    }
    
    .about-description {
        padding: 30px 25px;
    }
}

.section-3 {
    background: linear-gradient(180deg, rgba(30,30,30,0.3) 0%, rgba(0,0,0,0) 50%, rgba(40,40,40,0.3) 100%);
}

/* Contact Section */
.contact-content {
    max-width: 1100px;
}

.contact-subtitle {
    font-size: 20px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.contact-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.95);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.contact-icon svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
    transition: all 0.5s ease;
}

.contact-card:hover .contact-icon {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1) rotate(5deg);
}

.contact-card:hover .contact-icon svg {
    color: #000000;
    transform: scale(1.1);
}

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

.contact-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.5s ease;
}

.contact-card:hover .contact-label {
    color: rgba(0, 0, 0, 0.6);
}

.contact-value {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    transition: color 0.5s ease;
}

.contact-card:hover .contact-value {
    color: #000000;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon svg {
        width: 30px;
        height: 30px;
    }
}

.section-4 {
    background: linear-gradient(180deg, rgba(40,40,40,0.3) 0%, rgba(0,0,0,0.5) 100%);
    min-height: 80vh;
}

/* Video Carousel Styles */
.video-carousel-container {
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
    position: relative;
    padding: 40px 0;
}

.video-carousel {
    display: flex;
    gap: 30px;
    animation: scrollCarousel 60s linear infinite;
    width: fit-content;
}

.video-carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.video-item {
    flex-shrink: 0;
    width: 400px;
    height: 225px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(80, 80, 80, 0.3);
}

.video-item:hover {
    transform: scale(1.1) translateY(-8px);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(150, 150, 150, 0.5);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7) contrast(1.1);
    transition: all 0.5s ease;
}

.video-item:hover .video-thumbnail {
    filter: grayscale(0%) brightness(1.05) contrast(1.1) saturate(1.1);
}


.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-item:hover .video-overlay {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.play-icon {
    width: 70px;
    height: 70px;
    opacity: 0.95;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.5));
}

.video-item:hover .play-icon {
    transform: scale(1.3);
    filter: drop-shadow(0 6px 25px rgba(255, 255, 255, 0.8));
}

/* Google Drive Section */
.drive-section {
    margin-top: 80px;
    padding: 50px 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
}

.drive-section:hover {
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.drive-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.drive-icon {
    width: 50px;
    height: 50px;
    animation: driveFloat 3s ease-in-out infinite;
}

.drive-path {
    transition: fill 0.5s ease;
}

.drive-section:hover .drive-path {
    fill: attr(data-color);
}

.drive-section:hover .drive-path:nth-child(1) {
    fill: #0066da;
}

.drive-section:hover .drive-path:nth-child(2) {
    fill: #00ac47;
}

.drive-section:hover .drive-path:nth-child(3) {
    fill: #ea4335;
}

.drive-section:hover .drive-path:nth-child(4) {
    fill: #00832d;
}

.drive-section:hover .drive-path:nth-child(5) {
    fill: #2684fc;
}

.drive-section:hover .drive-path:nth-child(6) {
    fill: #ffba00;
}

@keyframes driveFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.drive-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

.drive-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.drive-link:hover::before {
    left: 100%;
}

.drive-link:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.3), rgba(52, 168, 83, 0.3));
    border-color: rgba(66, 133, 244, 0.8);
    box-shadow: 0 10px 40px rgba(66, 133, 244, 0.4);
}

.drive-link-text {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
}

.drive-link:hover .drive-link-text {
    letter-spacing: 1px;
}

.drive-arrow {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.drive-link:hover .drive-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 42px;
    }
    
    .section-text {
        font-size: 16px;
    }
    
    .video-item {
        width: 300px;
        height: 169px;
    }
    
    .video-item:hover {
        transform: scale(1.05);
    }
    
    .drive-section {
        padding: 35px 25px;
        margin-top: 50px;
    }
    
    .drive-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .drive-icon {
        width: 40px;
        height: 40px;
    }
    
    .drive-title {
        font-size: 24px;
        text-align: center;
    }
    
    .drive-link {
        padding: 15px 30px;
    }
    
    .drive-link-text {
        font-size: 18px;
    }
}
