/* Import Google Fonts - Added new font weights */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Index Page Styles */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* -- Navigation Bar -- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 5%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo .brand-text {
    color: #fff;
}

.logo .highlight {
    color: #3498db;
    font-weight: 800;
}
.highlight {
    font-style: italic;
    color: #ff88ff;
    margin: 1.5rem 0;
    padding: 1rem;
    border-left: 3px solid #ff88ff;
    background: rgba(255, 136, 255, 0.1);
    border-radius: 0 10px 10px 0;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a i {
    font-size: 18px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #3498db;
}

.btn-contact {
    background: #3498db;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-contact:hover {
    background: #2980b9 !important;
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 800px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    margin-top: 10px;
    pointer-events: auto;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.mega-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.menu-column {
    padding: 15px;
}

.menu-column h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.menu-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: #3498db;
    border-radius: 3px;
}

.menu-column a {
    color: #666 !important;
    padding: 8px 0 !important;
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-column a:hover {
    color: #3498db !important;
    background: rgba(52, 152, 219, 0.1) !important;
    padding-left: 10px !important;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px 15px;
    margin-left: 20px;
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px;
    width: 200px;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box button {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease;
}

.search-box button:hover {
    transform: scale(1.1);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
    touch-action: manipulation;
}

.bar {
    height: 3px;
    width: 30px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}
/* Responsive Design */
@media screen and (max-width: 1200px) {
    .dropdown-content {
        min-width: 600px;
    }
}

@media screen and (max-width: 992px) {
    .search-box {
        display: none;
    }
    
    .nav-links {
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #2c3e50;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li {
        margin: 10px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(0.1s * var(--i));
    }

    .dropdown-content {
        position: static;
        min-width: 100%;
        transform: none;
        box-shadow: none;
        padding: 10px;
        pointer-events: auto;
    }

    .mega-menu {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Animation Classes */
@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    50% {
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-20px);
    }
    70% {
        transform: scale(1.1) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.nav-links li {
    animation: slideInFade 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(0.08s * var(--i)), calc(0.08s * var(--i));
    transform-origin: top center;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/*-- Cursor Follower -- */
.cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
    z-index: 9999;
    mix-blend-mode: difference;
    backdrop-filter: invert(1);
}

.cursor.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    mix-blend-mode: normal;
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

/* Hide cursor on mobile/touch devices */
@media (hover: none) {
    .cursor {
        display: none;
    }
}

/*-- Hero Section -- */
body {
    background-color: #f5f5f5;
    overflow-x: hidden;
    scroll-behavior: smooth;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff, #f0f0ff);
    position: relative;
    flex-wrap: wrap;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #f0f0ff 20.5%);
    background-size: 15px 15px;
    opacity: 0.5;
    animation: gradientMove 20s linear infinite;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #333;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
    text-align: center;
}

.hero-content span {
    color: #7b4fff;
    background: linear-gradient(45deg, #7b4fff, #5a32cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-content span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #7b4fff, #5a32cc);
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineExpand 0.8s ease-out forwards 1s;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards 0.3s;
    line-height: 1.6;
    text-align: center;
}

.btn {
    background: linear-gradient(45deg, #7b4fff, #5a32cc);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.5s ease-out forwards 0.6s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(123, 79, 255, 0.3);
    display: block;
    margin: 0 auto;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 79, 255, 0.4);
}

.btn:active {
    transform: translateY(1px);
}

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

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

.hero-image {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05) rotate(2deg);
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes underlineExpand {
    to {
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        height: auto;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .btn {
        font-size: 1.1rem;
        padding: 12px 25px;
    }

    .hero-image {
        max-width: 90%;
    }
}

/*-- Who We Are Section -- */
body {
    background-color: #0e0e0e;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.who-we-are {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 60px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #111, #222);
    position: relative;
    overflow: hidden;
}
.who-we-are::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,149,0,0.1) 0%, rgba(255,77,77,0.05) 100%);
    animation: pulseGlow 8s infinite;
}
.who-we-are-text {
    max-width: 600px;
    position: relative;
    z-index: 1;
}
.who-we-are-text h2 {
    font-size: 3rem;
    background: linear-gradient(90deg, #ff9500, #ff4d4d, #ff9500);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;    
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards, gradientFlow 3s linear infinite;
}
.who-we-are-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 25px 0;
    color: #bbb;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards 0.3s;
    text-shadow: 0 0 20px rgba(187,187,187,0.1);
}
.who-we-are-btn {
    background: linear-gradient(90deg, #ff9500, #ff4d4d);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.5s ease-out forwards 0.6s;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}
.who-we-are-btn i {
    margin-left: 12px;
    transition: transform 0.3s ease;
}
.who-we-are-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-3px);
}
.who-we-are-btn:hover i {
    transform: translateX(5px);
}
.who-we-are-icons {
    display: flex;
    gap: 25px;
    margin-top: 40px;
}
.icon-card {
    display: flex;
    align-items: center;
    background: rgba(26, 26, 26, 0.8);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards 0.9s;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.icon-card i {
    font-size: 1.8rem;
    color: #ff9500;
    margin-right: 15px;
    transition: transform 0.3s ease;
}
.icon-card:hover {
    background: rgba(51, 51, 51, 0.9);
    transform: translateY(-5px);
}
.icon-card:hover i {
    transform: scale(1.2);
}
.who-we-are-images {
    display: flex;
    gap: 25px;
    perspective: 1000px;
}
.who-we-are-images img {
    width: 280px;
    height: auto;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 1.2s;
}
.who-we-are-images img:hover {
    transform: scale(1.05) rotateY(10deg);
    box-shadow: 0 20px 40px rgba(255, 149, 0, 0.2);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}
@media (max-width: 768px) {
    .who-we-are {
        flex-direction: column;
        text-align: center;
        padding: 60px 25px;
    }
    .who-we-are-text h2 {
        font-size: 2.5rem;
    }
    .who-we-are-images {
        justify-content: center;
        margin-top: 30px;
        flex-wrap: wrap;
    }
    .who-we-are-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .icon-card {
        min-width: 200px;
    }
}

/*-- Services Section -- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0F0F1A;
    color: #ffffff;
    text-align: center;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.services {
    padding: clamp(60px, 8vw, 120px) clamp(15px, 3vw, 20px);
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #1E1E2E, #0F0F1A, #2A1B3D);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    will-change: background-position;
}

.section-titleone {
    font-size: clamp(2.5em, 5vw, 4em);
    font-weight: 900;
    margin-bottom: clamp(30px, 5vw, 50px);
    background: linear-gradient(120deg, #FF3CAC, #784BA0, #2B86C5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: neonPulse 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    text-shadow: 0 0 15px rgba(255,60,172,0.3);
    letter-spacing: -1px;
}

.services-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: clamp(40px, 6vw, 80px) 0;
    margin: 0 auto;
    max-width: min(1600px, 95vw);
    perspective: 1500px;
    -webkit-overflow-scrolling: touch;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(20px, 3vw, 50px);
    margin: 0 auto;
    padding: clamp(15px, 2vw, 30px);
    transform-style: preserve-3d;
    width: 100%;
}

.service-card {
    width: 100%;
    background: rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: clamp(20px, 4vw, 40px);
    padding: clamp(30px, 4vw, 50px) clamp(20px, 3vw, 40px);
    text-align: left;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    position: relative;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card img {
    width: clamp(60px, 8vw, 90px);
    height: clamp(60px, 8vw, 90px);
    margin-bottom: clamp(20px, 3vw, 30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.8));
    animation: floatAndGlow 8s ease-in-out infinite;
}

.service-card h3 {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    margin-bottom: clamp(15px, 2.5vw, 25px);
    padding-bottom: clamp(15px, 2.5vw, 25px);
    background: linear-gradient(90deg, #FF3CAC, #784BA0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-card p {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: clamp(20px, 3vw, 30px);
    line-height: 1.8;
}

.services-navigation {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 2vw, 30px);
    margin-top: clamp(30px, 4vw, 50px);
    flex-wrap: wrap;
}

.services-navigation button {
    padding: clamp(12px, 2vw, 18px) clamp(25px, 3vw, 35px);
    font-size: clamp(1em, 1.5vw, 1.3em);
    background: linear-gradient(45deg, #FF3CAC, #784BA0);
    border: none;
    border-radius: 50px;
    color: white;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes gradientShift {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

@keyframes neonPulse {
    0% { background-position: 0% 50%; text-shadow: 0 0 10px rgba(255,60,172,0.3); }
    50% { background-position: 100% 50%; text-shadow: 0 0 20px rgba(255,60,172,0.5); }
    100% { background-position: 0% 50%; text-shadow: 0 0 10px rgba(255,60,172,0.3); }
}

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

@keyframes floatAndGlow {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.8));
    }
    50% {
        transform: translateY(-15px);
        filter: drop-shadow(0 0 35px rgba(124, 58, 237, 1));
    }
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        transform: translateY(-15px) scale(1.03);
        box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
    }
    
    .services-navigation button:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(255,60,172,0.3);
    }
}

@media (hover: none) {
    .service-card:active {
        transform: scale(0.98);
    }
    
    .services-navigation button:active {
        transform: scale(0.95);
    }
}

@supports not (backdrop-filter: blur(20px)) {
    .service-card {
        background: rgba(124, 58, 237, 0.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-slider,
    .service-card,
    .services-navigation button {
        animation: none;
        transition: none;
    }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
    .services {
        padding: 40px 15px;
    }
    
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (any-pointer: coarse) {
    .services-slider {
        scroll-snap-type: x mandatory;
    }
    
    .service-card {
        scroll-snap-align: center;
    }
}

@media print {
    .services {
        background: none;
        color: #000;
    }
    
    .service-card {
        break-inside: avoid;
        box-shadow: none;
    }
}
/*-- Why Us Section --*/

.why-choose-usindex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 10%;
    gap: 4rem;
    background: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.05));
}

.contentindex {
    max-width: 50%;
    opacity: 0;
    animation: fadeInLeft 1s ease forwards;
}

.section-title {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #00aaff;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00aaff, #8b00ff);
    animation: lineGrow 0.8s ease-out 0.5s forwards;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 15px 0;
    transform: translateY(20px);
    color: #000;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.gradient-text {
    background: linear-gradient(90deg, #00aaff, #8b00ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 17px;
    line-height: 1.8;
    color: #b8b8b8;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.2);
    border-color: rgba(0, 170, 255, 0.4);
}

.feature-box p {
    font-size: 17px;
    color: #00aaff;
    line-height: 1.8;
}

.feature-box h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    background: linear-gradient(90deg, #00aaff, #8b00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon {
    font-size: 35px;
    display: block;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00aaff, #8b00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.feature-box:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature-box:hover h4 {
    color: #00aaff;
}

.description {
    font-size: 15px;
    color: #00eeff;
    line-height: 1.6;
}

.image-sectionindex {
    position: relative;
    max-width: 40%;
    opacity: 0;
    animation: fadeInRight 1s ease 0.3s forwards;
}

.image-containerindex {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.image-containerindex img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-containerindex:hover img {
    transform: scale(1.08);
}

.overlayindex {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(90deg, #00aaff, #8b00ff);
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.image-containerindex:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay-text span {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.overlay-text p {
    font-size: 14px;
    color: blue;
}

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes lineGrow {
    to {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .why-choose-usindex {
        flex-direction: column;
        text-align: center;
        padding: 4rem 5%;
    }

    .contentindex {
        max-width: 100%;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .image-sectionindex {
        max-width: 80%;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }

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

    .image-sectionindex {
        max-width: 100%;
    }
}

/*-- Preloader --*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-content {
    position: relative;
    width: min(120px, 15vw);
    height: min(120px, 15vw);
}

.loader-spinner {
    width: 100%;
    height: 100%;
    border: 4px solid #ffffff1a;
    border-top: 4px solid #64ffda;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-progress {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #64ffda;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(14px, 2vw, 16px);
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

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

@media (max-width: 768px) {
    .loader-content {
        width: 80px;
        height: 80px;
    }
    
    .loader-spinner {
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    .loader-content {
        width: 60px;
        height: 60px;
    }
    
    .loader-spinner {
        border-width: 2px;
    }
}
  
  

/*-- Footer Section --*/
.footer {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #ffffff;
    padding: 70px 0 50px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #64ffda, #00bfa5, transparent);
    animation: shimmerEffect 3s infinite ease-in-out;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-section {
    opacity: 0;
    transform: translateY(30px);
    animation: sectionFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.footer-section:nth-child(2) { animation-delay: 0.3s; }
.footer-section:nth-child(3) { animation-delay: 0.6s; }

/* Section Titles */
.footer-section h2 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #64ffda;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #00bfa5);
    animation: lineExpand 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
    margin-top: 25px;
    perspective: 1000px;
}

.social-icons a {
    font-size: 24px;
    color: #ffffff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #64ffda, #00bfa5);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.social-icons a:hover {
    color: #ffffff;
    transform: translateY(-8px) rotateX(10deg);
    box-shadow: 0 15px 25px rgba(100, 255, 218, 0.2);
}

.social-icons a:hover::before {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.social-icons a:active {
    transform: translateY(-2px) scale(0.95);
}
/* Quick Links */
.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin: 15px 0;
    transform: translateX(-20px);
    opacity: 0;
    animation: linkSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.quick-links ul li:nth-child(2) { animation-delay: 0.2s; }
.quick-links ul li:nth-child(3) { animation-delay: 0.4s; }
.quick-links ul li:nth-child(4) { animation-delay: 0.6s; }

.quick-links ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
}

.quick-links ul li a::before {
    content: '→';
    margin-right: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.quick-links ul li a:hover {
    color: #64ffda;
    padding-left: 10px;
}

.quick-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Newsletter */
.subscribe-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.subscribe-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscribe-box input {
    padding: 15px 20px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.subscribe-box input:focus {
    border-color: #64ffda;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}

.subscribe-box button {
    background: linear-gradient(45deg, #64ffda, #00bfa5);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.subscribe-box button::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: 0.5s;
}

.subscribe-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(100, 255, 218, 0.3);
}

.subscribe-box button:hover::before {
    left: 100%;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-bottom ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.footer-bottom ul li a {
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-bottom ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.footer-bottom ul li a:hover {
    color: #64ffda;
}

.footer-bottom ul li a:hover::after {
    width: 100%;
}

/* Animations */
@keyframes sectionFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes linkSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmerEffect {
    0% { transform: translateX(-100%) scale(1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) scale(1); opacity: 0; }
}

@keyframes lineExpand {
    to {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        gap: 30px;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 30px;
    }
    
    .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .quick-links ul li a::before {
        display: none;
    }

    .subscribe-box {
        max-width: 400px;
        margin: 0 auto;
    }
}

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

    .container {
        padding: 0 20px;
    }

    .footer-section h2 {
        font-size: 20px;
    }

    .footer-bottom ul {
        gap: 15px;
    }
}
