/*
 * Narmada Infosys - Custom Design Enhancements
 * Modern, professional design for tech infrastructure company
 */

/* ============================================
   COLOR PALETTE
   ============================================ */
:root {
    --primary-dark: #1a2332;
    --primary-blue: #0066ff;
    --accent-teal: #00d4aa;
    --accent-gold: #fed136;
    --neutral-light: #f5f7fa;
    --neutral-gray: #6c757d;
    --text-dark: #212529;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.section-subheading {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
header {
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(0, 102, 255, 0.05) 50%, transparent 70%),
        radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

header .intro-text {
    position: relative;
    z-index: 2;
    padding: 200px 0 180px;
}

header .intro-heading {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

header .intro-lead-in {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* CTA Buttons */
.btn-xl {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-xl:first-of-type {
    background: var(--accent-teal);
    color: var(--white);
}

.btn-xl:first-of-type:hover {
    background: #00b892;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-xl:last-of-type {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-xl:last-of-type:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 100px 0;
}

section#what-we-do {
    background: linear-gradient(to bottom, var(--neutral-light), var(--white));
    padding: 80px 0;
}

/* ============================================
   SERVICES - CARD BASED DESIGN
   ============================================ */
#services {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-teal);
}

.service-card .fa-stack {
    margin-bottom: 20px;
}

.service-card .fa-circle {
    color: var(--accent-teal);
}

.service-card h4 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.service-card ul {
    text-align: left;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.service-card ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--neutral-gray);
    font-size: 0.95rem;
}

.service-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */
#why-us {
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

#why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#why-us ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}

#why-us ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.4rem;
}

/* ============================================
   TECHNOLOGY STACK
   ============================================ */
#tech-stack {
    background: var(--neutral-light);
    padding: 80px 0;
}

.tech-icon {
    display: inline-block;
    padding: 25px 35px;
    margin: 15px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    border: 2px solid transparent;
}

.tech-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    background: var(--white);
}

#about .large {
    font-size: 1.15rem;
    line-height: 1.9;
}

#about ul li {
    padding: 12px 0;
    font-size: 1.05rem;
}

/* ============================================
   TEAM SECTION
   ============================================ */
#team {
    background: var(--neutral-light);
}

.team-member img {
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2d3e50 100%);
    color: var(--white);
}

#contact .section-heading {
    color: var(--white);
}

#contact .section-subheading {
    color: rgba(255, 255, 255, 0.85);
}

#contact p {
    color: rgba(255, 255, 255, 0.95);
}

#contact a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

#contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--primary-dark);
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.7);
}

footer .copyright {
    color: var(--white);
    font-weight: 600;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-teal);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-default {
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-sm);
}

.navbar-default .navbar-brand {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-default .nav li a {
    color: var(--primary-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
    color: var(--accent-teal);
    background: transparent;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    header .intro-heading {
        font-size: 2.2rem;
    }

    header .intro-lead-in {
        font-size: 1.1rem;
    }

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

    .btn-xl {
        display: block;
        margin: 10px auto;
        max-width: 300px;
    }

    .service-card {
        margin-bottom: 20px;
    }

    .tech-icon {
        margin: 10px 5px;
        padding: 20px 25px;
        font-size: 0.95rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 102, 255, 0.03) 0%, transparent 50%);
}

.text-accent {
    color: var(--accent-teal);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
