/* =============== ROOT VARIABLES =============== */
:root {
    --primary-color: #FFD700; /* Golden yellow */
    --secondary-color: #D4AF37; /* Metallic gold */
    --accent-color: #F0E68C; /* Light goldenrod */
    --dark-bg: #0f0f1e;
    --darker-bg: #0a0a14;
    --card-bg: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-muted: #8b8b9e;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    --gradient-accent: linear-gradient(135deg, #F0E68C 0%, #FFD700 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.3); /* Golden glow */
}

/* =============== GLOBAL STYLES =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* =============== NAVIGATION =============== */
.navbar {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

    .navbar.scrolled {
        background: rgba(10, 10, 20, 0.98);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.3rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

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

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 50%;
    }

.btn-contact {
    background: var(--gradient-primary);
    color: white !important;
    border-radius: 25px;
    padding: 0.6rem 1.5rem !important;
    margin-left: 1rem;
}

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

    .btn-contact:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-glow);
    }

/* =============== HERO SECTION =============== */
.navbar-logo {
    height: 85px;
    width: auto;
}

.footer-logo {
    height: 85px;
    width: auto;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Image properly crop hoil */
    border-radius: 50%;
    display: block;
}
.team-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden; /* Important */
    animation: pulse 2s ease-in-out infinite;
}


.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(255, 215, 0, 0.15) 0%, transparent 60%), radial-gradient(ellipse at bottom right, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    z-index: -1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-glow);
    }

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline-light:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: white;
        color: white;
    }

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =============== HERO IMAGE =============== */
.hero-image-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

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

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

.hero-image-main svg {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(255, 215, 0, 0.2));
}

/* =============== SECTION STYLES =============== */
.services-preview-section,
.why-choose-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.section-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* =============== SERVICE CARDS =============== */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 0;
    }

    .service-card:hover::before {
        opacity: 0.05;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-glow);
        border-color: rgba(255, 215, 0, 0.5);
    }

    .service-card > * {
        position: relative;
        z-index: 1;
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

    .service-icon i {
        font-size: 2rem;
        color: white;
    }

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

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .service-link:hover {
        gap: 0.8rem;
    }

/* =============== FEATURE LIST =============== */
.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 30px;
}

    .feature-icon i {
        font-size: 1.5rem;
        color: var(--primary-color);
    }

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* =============== TECH STACK GRID =============== */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tech-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

    .tech-item:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
    }

    .tech-item i {
        font-size: 3rem;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: block;
        margin-bottom: 0.5rem;
    }

    .tech-item span {
        display: block;
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

/* =============== CTA SECTION =============== */
.cta-section {
    background: var(--dark-bg);
    padding: 80px 0;
}

.cta-wrapper {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

    .cta-wrapper::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-wrapper > * {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* =============== FOOTER =============== */
.footer-section {
    background: var(--darker-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: var(--gradient-primary);
        color: white;
        transform: translateY(-3px);
    }

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: var(--text-secondary);
        transition: color 0.3s ease;
    }

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

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 3rem;
}

.copyright-text {
    color: var(--text-muted);
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

    .footer-bottom-links a {
        color: var(--text-secondary);
    }

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

/* =============== RESPONSIVE =============== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        height: 400px;
        margin-top: 3rem;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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