/* Global Styles & Variables */
:root {
    --primary-color: #ffd700; /* Gold/Yellow to match logo */
    --secondary-color: #38bdf8; /* Brighter blue */
    --accent-color: #10b981; /* Green for success/stats */
    --background-dark: #020617; /* Even deeper navy */
    --card-bg: #0f172a;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s ease;
    padding: 15px 0;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: 0.3s;
    font-size: 1.05rem;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.05), transparent 50%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    transform: rotate(15deg);
    top: -50%;
    left: -50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight {
    color: var(--primary-color);
}

.founding-date {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: float 4s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 2s;
}

.stat-card.highlighted {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.highlight-special {
    background: linear-gradient(135deg, var(--primary-color), #daa520) !important;
    animation: pulse 2s infinite;
}

.sub-stats-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.stat-card.small {
    padding: 15px 20px;
    flex: 1;
    gap: 12px;
}

.stat-card.small .icon-small {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.stat-card.small h4 {
    font-size: 1.2rem;
    font-weight: 800;
}

.stat-card.small p {
    font-size: 0.8rem;
}

.stat-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
}

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

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

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

.service-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--neon-shadow);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

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

.service-card p {
    color: var(--text-muted);
}

.service-card.active {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--primary-color);
}

.exp-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.custom-work-highlight {
    margin-top: 50px;
    text-align: center;
    padding: 25px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px dashed var(--accent-color);
    border-radius: 12px;
}

.custom-work-highlight p {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #0a0f1d;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    position: relative;
    min-height: 400px;
    background: #1e293b;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-overlay {
    font-family: 'Courier New', Courier, monospace;
    background: #000;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-left: 4px solid var(--primary-color);
}

.code-keyword { color: #c678dd; }
.code-var { color: #e06c75; }
.code-bracket { color: #abb2bf; }

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: #000;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255,215,0,0.4);
}

.experience-badge span {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.experience-badge p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

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

.about-text ul {
    list-style: none;
}

.about-text ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.about-text ul li i {
    color: var(--primary-color);
}

/* Terms Section */
.terms {
    padding: 100px 0;
}

.terms-card {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 60px;
    border: 1px solid var(--glass-border);
}

.terms-card h3 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.term-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.term-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

.terms-note {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.info-item h4 {
    margin-bottom: 5px;
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), #ffcc00);
    padding: 50px;
    border-radius: 24px;
    color: #000;
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-cta p {
    margin-bottom: 30px;
    font-weight: 500;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}


/* Contact Socials */
.social-connect {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: 0.3s;
    background: var(--glass-bg);
}

.social-icon.fb:hover { background: #1877f2; }
.social-icon.yt:hover { background: #ff0000; }
.social-icon.wa:hover { background: #25d366; }

/* Footer Tweaks */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 35px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

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

footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-icon {
    width: 65px;
    height: 65px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    position: relative;
}

.ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    animation: ping 1.5s infinite;
    z-index: -1;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 20px;
    color: #000;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.chat-box.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: #075e54;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.chat-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.chat-header-info h5 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.chat-header-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.close-chat {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.chat-body {
    padding: 25px;
    background: #e5ddd5;
    position: relative;
}

.chat-body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.chat-body p {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.chat-footer {
    padding: 20px;
    text-align: center;
}

.chat-btn {
    display: block;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 700;
}

/* Responsive Design Refinements */
@media (max-width: 968px) {
    .container { padding: 0 30px; }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-text h1 { font-size: 3rem; }
    .hero-text p { margin: 0 auto 35px; }
    .hero-btns { justify-content: center; }
    
    .about-flex {
        flex-direction: column;
        gap: 50px;
    }
    
    .about-image { min-height: 300px; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Full width for cleaner mobile look */
        height: 100vh;
        background: var(--background-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active { right: 0; }
    
    .nav-links li { margin: 15px 0; }
    .nav-links a { font-size: 1.5rem; }
    
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
        font-size: 1.8rem;
    }
    
    .hero-text h1 { font-size: 2.5rem; }
    
    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .sub-stats-row {
        flex-direction: row; /* Keep them side-by-side unless very small */
    }
    
    .terms-card { padding: 40px 20px; }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    
    .sub-stats-row { flex-direction: column; }
    
    .stat-card.small { width: 100%; }
    
    .experience-badge {
        right: 0;
        bottom: -10px;
        padding: 15px;
    }
    
    .experience-badge span { font-size: 1.8rem; }
}
