
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@100;300;400;500;700;900&display=swap');
body {
    font-family: 'Poppins', sans-serif;
}
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
}

.font-thin {
    font-weight: 100;
}
.font-extralight {
    font-weight: 200;
}
.font-light {
    font-weight: 300;
}
.font-regular {
    font-weight: 400;
}
.font-medium {
    font-weight: 500;
}
.font-semibold {
    font-weight: 600;
}
.font-bold {
    font-weight: 700;
}
.font-extrabold {
    font-weight: 800;
}
.font-black {
    font-weight: 900;
}
/* Navbar scroll effect */
:root {
  --navbar-scroll: 0;
}

/* Particle container styles */
/* Add padding to body to account for fixed navbar */
body {
  padding-top: 60px;
}
#particle-container {
pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    filter: blur(0.5px);
    opacity: 0.7;
}
:root {
  --bg: black;
  --dot: rgb(255 255 255 / 0.15);
}

body { 
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at center, transparent 0%, var(--bg) 70%),
    radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 20px 20px;
  background-attachment: fixed;
  z-index: -3;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  z-index: -4;
}
/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(11, 15, 25, 0.95) 0%, rgba(5, 7, 12, 0.98) 100%);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.progress-bar {
    position: absolute;
    bottom: 28%; /* Moved slightly lower */
    left: 50%;
    transform: translateX(-50%);
    width: 200px; /* Fixed width */
    max-width: 60%; /* Responsive max-width */
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: width 0.3s ease;
}
/* Vintage Camera Styles */
.vintage-camera {
    position: absolute;
    bottom: 32%; /* Positioned above the progress bar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    perspective: 1000px;
}
.camera-body {
    width: 120px;
    height: 90px;
    background: #2a2a2a;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transform-style: preserve-3d;
}

.camera-top {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 80px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 5px 5px 0 0;
}

.viewfinder {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 30px;
    height: 10px;
    background: #333;
    border-radius: 3px;
}

.flash-hotshoe {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 15px;
    height: 10px;
    background: #444;
    border-radius: 2px;
}

.camera-front {
    position: absolute;
    top: 25px;
    left: 30px;
}

.lens-ring {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #111;
    border: 3px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lens {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #444, #111);
    border: 2px solid #666;
}

.light-meter {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 20px;
    height: 10px;
    background: #333;
    border-radius: 3px;
}

.camera-bottom {
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 60px;
    height: 15px;
    background: #1a1a1a;
    border-radius: 0 0 5px 5px;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.film-advance {
    width: 20px;
    height: 10px;
    background: #333;
    border-radius: 3px;
    margin-top: 3px;
}

.shutter-button {
    width: 12px;
    height: 12px;
    background: #555;
    border-radius: 50%;
    margin-top: 2px;
    cursor: pointer;
}
.camera-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    z-index: 11;
    transform: scale(0);
    transform-origin: center;
}
.preloader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    will-change: transform, opacity;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.preloader-text span:nth-child(1) { animation: letterDrop 0.4s 0.1s ease-out forwards; }
.preloader-text span:nth-child(2) { animation: letterDrop 0.4s 0.2s ease-out forwards; }
.preloader-text span:nth-child(3) { animation: letterDrop 0.4s 0.3s ease-out forwards; }
.preloader-text span:nth-child(4) { animation: letterDrop 0.4s 0.4s ease-out forwards; }
.preloader-text span:nth-child(5) { animation: letterDrop 0.4s 0.5s ease-out forwards; }
.preloader-text span:nth-child(6) { animation: letterDrop 0.4s 0.6s ease-out forwards; }
.preloader-text span:nth-child(7) { animation: letterDrop 0.4s 0.7s ease-out forwards; }
.preloader-text span:nth-child(8) { animation: letterDrop 0.4s 0.8s ease-out forwards; }

@keyframes letterDrop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chromatic aberration effect for the whole page */
main {
    backdrop-filter: blur(2px);
}
/* Particle Text Container */
#particle-text-container {
    margin-bottom: 2.5rem;
    perspective: 1000px;
    overflow: visible;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 30vh; /* Use viewport height units */
    min-height: 120px;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-height: 600px) {
    #particle-text-container {
        height: 25vh;
        max-height: 180px;
    }
}

@media (min-width: 1600px) and (min-height: 900px) {
    #particle-text-container {
        height: 25vh;
        max-height: 220px;
    }
}
#particle-text {
    width: 100vw;
    height: 100%;
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 768px) {
    #particle-text-container {
        height: auto;
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #particle-text {
        display: none;
    }
    #particle-text-container h1 {
        margin: 0;
        text-shadow: 0 0 10px rgba(255,255,255,0.3);
        filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
        font-size: 3.5rem;
    }
    /* Mobile accordion styles */
    @media (max-width: 768px) {
        .service-accordion {
            margin-bottom: 1rem;
            width: 100%;
        }
        
        .accordion-toggle {
            width: 100%;
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 1rem;
        }
        
        .accordion-toggle i {
            transition: transform 0.3s ease;
        }
        
        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 1rem;
        }
        
        .accordion-content:not(.hidden) {
            max-height: 1000px;
            padding: 1rem;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
    }
}
/* Tagline styles */
.hero-section p {
    font-size: 1.5rem;
    max-width: 36rem;
    line-height: 1.5;
    margin: 1.5rem auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.letter:hover {
    transform: scale(1.05) !important;
}
.gradient-text {
    color: transparent;
    background: linear-gradient(
        270deg,
        #ff00cc,
        #3333ff,
        #00ffcc,
        #ffcc00,
        #ff00cc
    );
    background-size: 1000% 1000%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: holoAnim 8s ease infinite;
    text-shadow:
        0 0 5px #ff00cc,
        0 0 10px #3333ff,
        0 0 15px #00ffcc,
        0 0 20px #ffcc00;
    display: inline-block;
    padding: 0;
    position: relative;
    filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.5));
}

@keyframes holoAnim {
    0% {
        background-position: 0% 50%;
        text-shadow:
            0 0 5px #ff00cc,
            0 0 10px #3333ff,
            0 0 15px #00ffcc,
            0 0 20px #ffcc00;
    }
    50% {
        background-position: 100% 50%;
        text-shadow:
            0 0 10px #ff00cc,
            0 0 15px #3333ff,
            0 0 20px #00ffcc,
            0 0 25px #ffcc00;
    }
    100% {
        background-position: 0% 50%;
        text-shadow:
            0 0 5px #ff00cc,
            0 0 10px #3333ff,
            0 0 15px #00ffcc,
            0 0 20px #ffcc00;
    }
}
.letter {
    position: relative;
}

.letter::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 2px;
    color: rgba(0,0,0,0.3);
    z-index: -1;
    filter: blur(2px);
    transform: scale(1.02);
    opacity: 0.7;
    -webkit-text-stroke: 1px rgba(0,0,0,0.1);
}
.letter:hover .gradient-text {
    animation: holoAnim 4s ease infinite;
    filter: drop-shadow(0 0 12px rgba(138, 43, 226, 0.8));
    text-shadow:
        0 0 10px #ff00cc,
        0 0 20px #3333ff,
        0 0 30px #00ffcc,
        0 0 40px #ffcc00;
}
/* iOS Glass Button Effect */
a[href="#contact"] {
    position: relative;
    overflow: hidden;
    background: rgba(0,0,0,0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3) !important;
}
a[href="#services"]:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        linear-gradient(to bottom right, 
            rgba(255,0,0,0.05), 
            rgba(255,255,255,0.1), 
            rgba(0,255,255,0.05));
    transform: rotate(30deg);
    pointer-events: none;
    transition: all 0.3s ease;
}
a[href="#services"]:hover:before {
    transform: rotate(30deg) translateY(5px);
}
/* Services Section - iOS Glass Style */
#services {
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.03) 0%, 
        rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.08);
}

#services .bg-gray-800\/85 {
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    animation: serviceSlideIn 1s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

#services .bg-gray-800\/85:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.2) !important;
    transform: translateY(-5px) scale(1.01);
}

@keyframes serviceSlideIn {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#services .bg-gray-800\/85:nth-child(2) {
    animation-delay: 100ms;
}

#services .bg-gray-800\/85:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.2);
}
#services .bg-gray-700\/50 {
    background: rgba(255,255,255,0.03) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    animation: serviceItemSlideIn 0.8s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

#services .bg-gray-700\/50:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.15) !important;
}

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

#services .bg-gray-700\/50:nth-child(1) {
    animation-delay: 150ms;
}
#services .bg-gray-700\/50:nth-child(2) {
    animation-delay: 200ms;
}
#services .bg-gray-700\/50:nth-child(3) {
    animation-delay: 250ms;
}
/* Contact Section */
#contact {
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.03) 0%, 
        rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.08);
}
#contact .contact-method {
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    animation: contactSlideIn 0.8s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

#contact .contact-method a {
    word-break: break-all;
    max-width: 100%;
    padding: 0 1rem;
}
#contact .contact-method:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.2) !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

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

#contact .contact-method:nth-child(1) { animation-delay: 0ms; }
#contact .contact-method:nth-child(2) { animation-delay: 100ms; }
#contact .contact-method:nth-child(3) { animation-delay: 200ms; }
#contact .contact-method:nth-child(4) { animation-delay: 300ms; }
/* Work Section */
#work .work-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 20%;
}

#work .work-item:nth-child(1) { animation-delay: 0ms; }
#work .work-item:nth-child(2) { animation-delay: 100ms; }
#work .work-item:nth-child(3) { animation-delay: 200ms; }

#work .work-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

#work iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #111;
}

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

@media (max-width: 768px) {
    #work .work-gallery {
        grid-template-columns: 1fr;
    }
    
    #work iframe {
        min-height: 250px;
    }
}
/* Team Carousel */
.team-carousel {
    perspective: 1000px;
}

.team-member {
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 16px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: all 0.5s ease;
}

.team-nav button {
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.team-nav button:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .team-member {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    .team-member .w-32 {
        width: 100px;
        height: 100px;
    }
    
    .team-member i {
        width: 10px;
        height: 10px;
    }
}
.member-back img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(59, 130, 246, 0.5);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.member-back h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #3B82F6;
    text-align: center;
}

.member-back p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 90%;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.member-back .social-link {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.member-back .social-link:hover {
    color: #3B82F6;
}

@media (max-width: 768px) {
    .team-member-card {
        min-height: 250px;
    }
    
    .member-back img {
        width: 100px;
        height: 100px;
    }
    
    .member-back h3 {
        font-size: 1.3rem;
    }
    
    .member-back p {
        font-size: 0.85rem;
    }
}
.member-back img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}
.member-back h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #3B82F6;
    text-align: center;
}
.member-back p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 100%;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.member-back .social-link {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.member-back .social-link:hover {
    color: #3B82F6;
}
.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}
.team-member-card:hover::before {
    opacity: 1;
}
#team .bg-gray-800\/50:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
}
/* Update the grid layout for team section */
#team .grid {
    grid-auto-flow: dense;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
@media (max-width: 768px) {
    #team .team-carousel {
        padding: 0 1rem;
    }
    
    .team-member {
        padding: 2rem;
        min-height: auto;
        display: grid;
        grid-template-areas:
            "avatar name"
            "avatar role"
            "social social";
        grid-template-columns: 100px 1fr;
        gap: 1rem;
        align-items: center;
    }
    
    .team-member > div:first-child {
        grid-area: avatar;
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .team-member h3 {
        grid-area: name;
        text-align: left;
        margin: 0;
        font-size: 1.4rem;
    }
    
    .team-member p {
        grid-area: role;
        text-align: left;
        margin: 0;
        font-size: 1rem;
        color: rgba(255,255,255,0.7);
    }
    
    .team-member .flex {
        grid-area: social;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .team-nav {
        margin-top: 2rem;
    }
}
#team .team-member-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    #team .team-member-card:hover {
        transform: scale(1.03) !important;
    }
/* Icon containers */
[class*="bg-"]\/10 {
    transition: transform 0.3s ease;
}

[class*="bg-"]\/10:hover {
    transform: rotate(10deg) scale(1.1);
}
/* Scroll indicator animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}
.animate-bounce {
    animation: bounce 2s infinite;
}
/* --- ADD or UPDATE these styles --- */
#magic {
    position: relative;
    margin: 0 auto;
    width: 700px;   /* Adjust width for your layout */
    height: 220px;   /* Adjust height as you like */
    z-index: 3;
    background: transparent;
    pointer-events: auto;
}
@media (max-width: 800px) {
    #magic {
        width: 90vw;
        height: 120px;
    }
}
/* Optionally, hide the old spans/h1 in logo-container */
#logo-container h1, #logo-reflection, #logo-starburst {
    display: none !important;
}
