/* Import Bebas Neue and Anek Telugu from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Anek+Telugu:wght@100..800&display=swap');

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

body {
    font-family: 'Bebas Neue', 'Arial Black', 'Arial Bold', Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    background: #000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.down-arrow{
    width: 40px;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: bounce 2s infinite;
}
/* Top Navigation */
.top-nav {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #2373D9;
    font-family: 'Anek Telugu', 'Arial Black', Arial, sans-serif;
    transition: color 0.3s ease;
}

.contact-nav-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    background: #2373D9;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-nav-btn svg {
    width: 24px;
    height: 24px;
}

.contact-nav-btn:hover {
    background: #1a5fb8;    
}

.contact-nav-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Split Screen Layout */
.split-container {
    display: flex;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

/* Left Panel - Fixed */
.left-panel {
    width: 50%;
    height: 100vh;
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 30px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.left-content {
    padding: 4rem;
    position: relative;
    z-index: 3;
}

.main-title {
    font-size: 12rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;

    /* Liquid Glass Effect */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.6) 25%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.5) 75%,
        rgba(255, 255, 255, 0.95) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;

    /* Glass reflection and glow */
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(255, 255, 255, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.1);

    /* Subtle backdrop blur effect */
    position: relative;
    filter: drop-shadow(0 4px 30px rgba(255, 255, 255, 0.2));

    /* Animation */
    animation: glassShimmer 4s ease-in-out infinite;
}

.progress-line {
    width: 100px;
    height: 4px;
    background: #fff;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.progress-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #2373D9;
    transition: width 0.3s ease;
}

/* Slide Counter */
.slide-counter {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.current-slide {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2373D9;
    transition: all 0.3s ease;
}

.slide-separator {
    opacity: 0.6;
    font-size: 1rem;
}

.total-slides {
    opacity: 0.7;
    font-size: 1rem;
}

/* Right Panel - Scrollable */
.right-panel {
    width: 50%;
    height: 100vh;
    margin-left: 50%;
    overflow-y: scroll;
    scroll-behavior: smooth;
    background: #f5f5f5;
    scroll-snap-type: y mandatory;
}

.right-panel::-webkit-scrollbar {
    display: none;
}

.right-panel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

/* Service Items */
.service-item {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    background: #f5f5f5;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}

/* Liquid transition effect */
.service-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: -1;
}

.service-item.transitioning-in::before {
    animation: liquidSlideIn 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.service-item.transitioning-out::before {
    animation: liquidSlideOut 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* Liquid wave overlay effect - DISABLED to prevent glitch */
.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(35, 115, 217, 0.1) 0%,
                transparent 50%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.service-item:nth-child(odd) {
    background: #fff;
}

.service-item:nth-child(even) {
    background: #f5f5f5;
}

.service-item[data-service="1"] {
    background: linear-gradient(135deg, rgba(35, 115, 217, 0.05) 0%, rgba(35, 115, 217, 0.02) 100%);
}

.service-item[data-service="2"] {
    background: #2a3b6b;
}

.service-item[data-service="3"] {
    background: #f5f5f5;
}

.service-item[data-service="4"] {
    background: #2a3b6b;
}

/* Service Number */
.service-number {
    font-size: 15rem;
    font-weight: 900;
    color: #2373D9;
    line-height: 1;
    position: absolute;
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
    z-index: 0;
    transition: all 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Number animations - DISABLED to prevent glitch */
/* .service-item.active .service-number {
    animation: numberPulse 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.service-item.leaving .service-number {
    animation: numberShrink 0.6s cubic-bezier(0.76, 0, 0.24, 1);
} */

.service-item[data-service="2"] .service-number {
    color: #fff;
    opacity: 0.1;
}

.service-item[data-service="4"] .service-number {
    color: #fff;
    opacity: 0.1;
}

/* Service Content */
.service-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Content animations - DISABLED to prevent glitch */
/* .service-item.active .service-content {
    animation: contentMorph 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.service-item.leaving .service-content {
    animation: contentFadeOut 0.6s cubic-bezier(0.76, 0, 0.24, 1);
} */

.service-title {
    font-size: 3rem;
    font-weight: 900;
    color: #2373D9;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.service-item[data-service="2"] .service-title {
    color: #fff;
}

.service-item[data-service="4"] .service-title {
    color: #fff;
}

.service-description {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
    font-family: Arial, sans-serif;
    font-weight: normal;
}

.service-item[data-service="2"] .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-item[data-service="4"] .service-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Expand Button */
.expand-btn {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #2373D9;
    color: white;
    border: none;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.expand-btn:hover {
    transform: scale(1.1) rotate(90deg);
    background: #1a5fb8;
}

.service-item[data-service="2"] .expand-btn {
    background: #fff;
    color: #2373D9;
}

.service-item[data-service="2"] .expand-btn:hover {
    background: #f0f0f0;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Liquid transition animations */
@keyframes liquidSlideIn {
    0% {
        transform: translateY(-100%) scaleY(1);
        filter: blur(0px);
    }
    50% {
        transform: translateY(-50%) scaleY(1.2);
        filter: blur(2px);
    }
    100% {
        transform: translateY(0%) scaleY(1);
        filter: blur(0px);
    }
}

@keyframes liquidSlideOut {
    0% {
        transform: translateY(0%) scaleY(1);
        filter: blur(0px);
    }
    50% {
        transform: translateY(50%) scaleY(1.2);
        filter: blur(2px);
    }
    100% {
        transform: translateY(100%) scaleY(1);
        filter: blur(0px);
    }
}

/* Bounce animation for down arrow */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Content morph animations */
@keyframes contentMorph {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02) translateY(0px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}

@keyframes contentFadeOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        transform: scale(0.95) translateY(-30px);
        filter: blur(10px);
    }
}

/* Ripple effect animation */
@keyframes rippleEffect {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* Number animations */
@keyframes numberPulse {
    0% {
        opacity: 0.05;
        transform: translateY(-50%) scale(0.9);
    }
    50% {
        opacity: 0.2;
        transform: translateY(-50%) scale(1.05);
    }
    100% {
        opacity: 0.15;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes numberShrink {
    0% {
        opacity: 0.15;
        transform: translateY(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) scale(0.9);
    }
}

/* Glass shimmer animation for liquid glass text */
@keyframes glassShimmer {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 4px 30px rgba(255, 255, 255, 0.25)) brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 4px 40px rgba(255, 255, 255, 0.4)) brightness(1.1);
    }
    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 4px 30px rgba(255, 255, 255, 0.25)) brightness(1);
    }
}

.service-item {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Contact Form Styles */
.contact-form {
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: text;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2373D9;
    box-shadow: 0 0 0 3px rgba(35, 115, 217, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Arial Black', Arial, sans-serif;
    letter-spacing: 1px;
    background: #2373D9;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-user-select: none;
}

.submit-btn:hover {
    background: #1a5fb8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(35, 115, 217, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.service-contact .service-content {
    max-width: 600px;
}

/* Mobile Intro Slide */
.mobile-intro {
    display: none;
    position: relative;
    overflow: hidden;
}

.mobile-intro .background-video {
    position: absolute;
    top: 50%;
    left: 56%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.mobile-intro .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.mobile-intro-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.mobile-intro .main-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 2rem;
    /* Inherits liquid glass effect from .main-title */
}

.mobile-intro .progress-line {
    width: 100px;
    height: 4px;
    background: #2373D9;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .split-container {
        flex-direction: column;
    }

    /* Hide desktop left panel on mobile */
    .left-panel {
        display: none;
    }

    /* Show mobile intro slide */
    .mobile-intro {
        display: flex !important;
    }

    .right-panel {
        width: 100%;
        margin-left: 0;
        height: 100vh;
        scroll-snap-type: y mandatory;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .service-number {
        font-size: 8rem;
        left: 2rem;
    }

    .service-title {
        font-size: 1.8rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .service-item {
        padding: 2rem;
        min-height: 100vh;
        height: 100vh;
    }

    .service-contact {
        padding: 6rem 2rem 2rem;
        overflow-y: auto;
    }

    .service-contact .service-content {
        max-width: 100%;
    }

  

    .logo {
        font-size: 1.5rem;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    }

    .contact-nav-btn {
        width: 50px;
        height: 50px;
    }

    .contact-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Phone specific styles */
@media (max-width: 768px) {


    .mobile-intro .main-title {
        font-size: 3rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-number {
        font-size: 6rem;
    }

    .contact-form {
        max-width: 100%;
        margin-top: 1rem;
    }

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

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.8rem 1rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Phone specific styles */
@media (max-width: 768px) {
    .mobile-intro .main-title {
        font-size: 6rem;
    }

    .slide-counter {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .current-slide {
        font-size: 1.3rem;
    }

    .slide-separator,
    .total-slides {
        font-size: 0.9rem;
    }

    .service-title {
        font-size: 3.5rem;
    }

    .service-number {
        font-size: 10rem;
    }

    .service-contact {
        padding: 5rem 1.5rem 1.5rem;
    }

    .service-contact .service-title {
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
    }

    .service-contact .service-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .service-contact .service-number {
        font-size: 5rem;
    }
}
