/* ==========================================================================
   Patidar Infotech - Premium Futuristic IT Company Website
   ========================================================================== */

/* --- Variables --- */
:root {
    /* Colors */
    --bg-main: #07111F;
    --bg-secondary: #0B1628;
    --bg-tertiary: #101D33;
    --card-bg: #0F1C2E;
    --card-hover: #14243A;
    
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --accent: #06b6d4;
    --text-dark: #F8FAFC; /* Primary text */
    --text-muted: #CBD5E1; /* Secondary text */
    --text-light: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(15, 28, 46, 0.8) 0%, rgba(20, 36, 58, 0.6) 100%);
    --gradient-glow: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(7, 17, 31, 0) 70%);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.15);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.35);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-secondary);
}

/* --- Typography Helpers --- */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-blue {
    color: var(--primary);
}

.subtitle {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--bg-tertiary);
    border-radius: 50px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Scroll Progress Bar --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px var(--primary);
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.loader-line {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: loading 1s infinite ease-in-out;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- Glassmorphism UI --- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: -1;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    background: var(--card-hover);
    border-color: rgba(37, 99, 235, 0.3);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--bg-tertiary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-main);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.btn-circle:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.btn-block {
    width: 100%;
}

/* Button Magnetic Hover Effect */
.btn-hover-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.6s ease;
}

.btn-hover-effect:hover::after {
    left: 100%;
}

/* --- Floating Action Buttons --- */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
    z-index: 99;
    transition: var(--transition-normal);
}

.fab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-main);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--bg-tertiary);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
    transform: translateY(-5px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 99;
    transition: var(--transition-normal);
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn .tooltip {
    position: absolute;
    left: 70px;
    background: var(--bg-main);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.whatsapp-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    left: 80px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(7, 17, 31, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    animation: rotate 10s linear infinite;
}

.brand-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-accent);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-contact {
    background: var(--gradient-primary);
    color: var(--text-light) !important;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-glow);
}

.btn-contact::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(7, 17, 31, 0.95);
    backdrop-filter: blur(25px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.close-menu:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-links a:hover {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.2);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(6, 182, 212, 0.15);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.1);
    animation-duration: 15s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: var(--bg-tertiary);
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

.hero-image .image-wrapper {
    padding: 20px;
    background: rgba(15, 28, 46, 0.6);
    backdrop-filter: blur(15px);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    position: relative;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover .image-wrapper {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.floating-badge {
    position: absolute;
    background: rgba(15, 28, 46, 0.8);
    backdrop-filter: blur(15px);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-glow);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: var(--border-glass);
    z-index: 10;
    animation: floatBadge 4s infinite ease-in-out alternate;
}

.floating-badge i {
    color: var(--primary);
    font-size: 1.25rem;
}

.badge-1 {
    top: 10%;
    left: -20px;
}

.badge-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: -2s;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.mv-card {
    padding: 24px;
}

.mv-card .icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    border: var(--border-glass);
}

.mv-card h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.mv-card p {
    font-size: 0.9rem;
    margin: 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    padding: 30px 20px;
    text-align: center;
}

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

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

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

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    padding: 40px 30px;
    background: transparent; /* Rely on .glass-card */
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-accent);
}

.service-link i {
    transition: var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* --- Technology Section --- */
.tech-marquee-wrapper {
    margin: 60px 0;
    position: relative;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main), transparent);
}

.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main), transparent);
}

.tech-marquee {
    overflow: hidden;
    padding: 20px 0;
}

.tech-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.tech-track:hover {
    animation-play-state: paused;
}

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

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(15, 28, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 0 15px;
    font-weight: 600;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    border: var(--border-glass);
    transition: var(--transition-normal);
}

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

.tech-item:hover {
    background: var(--card-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.4);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 24px;
    margin-top: 40px;
}

.tech-cat {
    padding: 30px;
    text-align: center;
    background: transparent;
}

.tech-cat h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.tech-cat p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    overflow: hidden;
    background: var(--card-bg);
    padding: 0;
    position: relative;
    border-radius: var(--border-radius-lg);
    z-index: 1;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px; /* border thickness */
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientMove 3s linear infinite;
    pointer-events: none;
    z-index: 2;
}

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

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

.project-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 30px;
}

.project-info .tags {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.project-info .tags span {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    font-weight: 600;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Why Choose Us & Process --- */
.why-process-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.f-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent);
    border: var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.feature-item:hover .f-icon {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.f-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.f-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--bg-tertiary);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.t-dot {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg-main);
}

.t-content {
    padding: 20px 24px;
    background: transparent;
}

.t-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.t-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Testimonials --- */
.testimonial-slider-container {
    overflow: hidden;
    padding: 20px 0;
    margin-top: 40px;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-left 20s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-33.33% * 3 - 90px)); } /* Adjust based on card width and gap */
}

.testimonial-card {
    width: 400px;
    padding: 40px 30px;
    background: transparent;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--bg-tertiary);
    position: absolute;
    top: 20px;
    right: 30px;
    opacity: 0.5;
}

.review {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: transparent;
    overflow: hidden;
}

.contact-info {
    padding: 60px;
    background: linear-gradient(135deg, rgba(15, 28, 46, 0.9), rgba(20, 36, 58, 0.8));
    color: var(--text-light);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h2 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.contact-info .text-gradient {
    background: linear-gradient(to right, #fff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info > p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-item h5 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-item p {
    margin: 0;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-btn:hover {
    background: var(--text-light);
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-form {
    padding: 60px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 28, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    transition: var(--transition-normal);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(15, 28, 46, 0.9);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* --- Footer --- */
.footer {
    background: var(--bg-main);
    color: var(--text-light);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 0;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--text-light);
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-light);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: var(--text-light);
    outline: none;
}

.newsletter-form button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a:hover {
    color: var(--text-light);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-container,
    .about-grid,
    .why-process-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero {
        padding-top: 150px;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
        padding: 40px 20px;
    }
    
    .testimonial-card {
        width: 320px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 60px 0;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .contact-info, .contact-form {
        padding: 30px 15px;
    }
    .testimonial-card {
        width: 280px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    .stat-divider {
        width: 50px;
        height: 2px;
    }
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    .email-copy-container {
        flex-direction: column;
    }
}


/* Base animations for initial load */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* --- Email Copy Section --- */
.email-copy-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
    margin-top: 5px;
}

.email-copy-container:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.company-email {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition-fast);
}

.company-email:hover {
    color: #e0f2fe;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    opacity: 0.8;
}

.copy-btn:hover {
    opacity: 1;
    color: #e0f2fe;
    transform: scale(1.1);
}

/* --- WhatsApp Glassmorphism & Pulse --- */
.glass-btn {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Form Improvements --- */
.modern-form .form-group input,
.modern-form .form-group select,
.modern-form .form-group textarea {
    background: rgba(15, 28, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: var(--text-light);
}

.modern-form .form-group input:focus,
.modern-form .form-group select:focus,
.modern-form .form-group textarea:focus {
    background: rgba(15, 28, 46, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

/* --- Form Feedback Alerts --- */
.form-feedback {
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    display: none;
}

.form-feedback.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.feedback-success {
    background: rgba(37, 211, 102, 0.1);
    color: #16a34a;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.feedback-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.feedback-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
