/* CSS Variables for Theme */
:root {
    --primary-color: #1e3a8a; /* Deep Blue */
    --secondary-color: #3b82f6; /* Bright Blue */
    --accent-color: #f59e0b; /* Amber/Gold */
    --whatsapp-color: #25D366;
    --text-main: #1f2937; /* Dark Gray */
    --text-muted: #4b5563; /* Gray */
    --bg-color: #f3f4f6; /* Light Gray */
    --bg-card: #ffffff;
    --font-english: 'Poppins', sans-serif;
    --font-hindi: 'Noto Sans Devanagari', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: var(--font-english);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.hindi-text {
    font-family: var(--font-hindi);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand .icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.brand .text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.brand small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button.secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.cta-button.whatsapp-btn {
    background-color: var(--whatsapp-color);
    color: white;
}

.cta-button.whatsapp-btn:hover {
    background-color: #20b858;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    margin-top: 80px; /* Offset for navbar */
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

/* Background blob */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1.2;
}

.badge {
    display: inline-block;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-graphics {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 400px;
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.glass-card h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.glass-card .highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.icon-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Partners Marquee */
.partners-marquee {
    background-color: white;
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

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

.marquee::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 20s linear infinite;
}

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

.partner-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 40px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.partner-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.partner-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.4s ease;
}

.partner-logo:hover {
    transform: scale(1.08);
}

.partner-logo:hover span {
    color: var(--primary-color);
}


/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

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

.card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, rgba(255,255,255,0) 70%);
    bottom: -50px;
    right: -50px;
    border-radius: 50%;
    transition: all 0.5s ease;
    opacity: 0;
}

.service-card:hover .card-glow {
    opacity: 1;
    transform: scale(2);
}


/* Floating Contacts */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.fab::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s;
}

.fab:hover {
    transform: scale(1.1) rotate(5deg);
}

.fab:hover::after {
    transform: scale(1.5);
    opacity: 0;
}

.fab.whatsapp {
    background-color: var(--whatsapp-color);
}

.fab.whatsapp::after {
    background-color: var(--whatsapp-color);
}

.fab.phone {
    background-color: var(--secondary-color);
}

.fab.phone::after {
    background-color: var(--secondary-color);
}

.fab.email {
    background-color: #ef4444; /* Red for email to stand out */
}

.fab.email::after {
    background-color: #ef4444;
}

/* Pulse animation for WhatsApp */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fab.whatsapp {
    animation: pulse 2s infinite;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.footer-brand p {
    color: #cbd5e1;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

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

.footer-brands-text {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-graphics {
        width: 100%;
        margin-top: 40px;
    }
    
    .glass-card {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        margin-top: 120px;
        padding: 50px 0;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}
