/* Project: New Swarajya Infotech Landing Page */

/* --- 1. Variables & Reset --- */
:root {
    --color-red: #e8231a;
    --color-green: #31783a;
    --color-blue: #2563eb;
    --color-orange: #f59e0b;
    
    --bg-body: #f8fafc;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --border-color: #e2e8f0;
    
    --container-width: 1200px;
    --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Mukta', sans-serif; 
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.font-eng { font-family: 'Outfit', sans-serif; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 5px; }

/* --- 2. Header (Refined Spacing) --- */
.main-header {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    border-top: 4px solid var(--color-green);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-content { display: flex; justify-content: space-between; align-items: center; }

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.brand-title-mr {
    font-family: 'Mukta', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0;
    /* Added Spacing here */
    margin-bottom: 4px; 
    letter-spacing: -0.5px;
}

.brand-subtitle-en {
    font-family: 'Outfit', sans-serif;
    font-weight: 600; /* Made slightly bolder for black color */
    font-size: 0.8rem;
    color: #000; /* Pure Black as requested */
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-contact {
    background-color: var(--color-green);
    color: white;
    padding: 10px 25px; 
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 10px rgba(49, 120, 58, 0.3);
}

.btn-contact:hover {
    background-color: var(--color-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(232, 35, 26, 0.3);
}

/* --- 3. Hero Section --- */
.hero-section {
    text-align: center;
    padding: 110px 20px 90px;
    position: relative;
    background: linear-gradient(135deg, rgba(232, 35, 26, 0.06) 0%, rgba(49, 120, 58, 0.06) 100%);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    z-index: 0;
}

.hero-label {
    font-size: 1.5rem; color: #334155; margin-bottom: 20px; font-weight: 700;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem; line-height: 1.15; font-weight: 800;
    margin-bottom: 30px; letter-spacing: -0.5px;
}

.text-brand-red { color: var(--color-red); }
.text-brand-green { color: var(--color-green); }

.hero-desc {
    font-size: 1.3rem; color: #334155; max-width: 800px; margin: 0 auto 40px;
    line-height: 1.8; font-weight: 500;
}

.hero-badge {
    font-size: 1.5rem; color: white; font-weight: 800;
    background: var(--color-orange);
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 45px; border-radius: 50px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}
.badge-icon { color: white; }

/* --- 4. Services Grid --- */
.services-section { padding: 60px 0; }

.section-heading {
    text-align: center; font-size: 2rem; font-weight: 800;
    margin-bottom: 60px; position: relative;
    display: table; margin-left: auto; margin-right: auto;
}
.section-heading::after {
    content: ''; display: block; width: 100px; height: 6px;
    background: linear-gradient(to right, var(--color-red), var(--color-green));
    margin: 12px auto 0; border-radius: 3px;
}

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.service-card {
    background: white; border: 1px solid var(--border-color);
    border-radius: 20px; padding: 35px 25px;
    text-align: center; display: flex; flex-direction: column; align-items: center;
    height: 100%; transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: transparent; }

/* Hover Border Colors */
.border-green-hover:hover { border-top: 5px solid var(--color-green); }
.border-blue-hover:hover { border-top: 5px solid var(--color-blue); }
.border-red-hover:hover { border-top: 5px solid var(--color-red); }
.border-orange-hover:hover { border-top: 5px solid var(--color-orange); }

.icon-box {
    width: 100px; height: 100px; margin-bottom: 25px;
    display: flex; align-items: center; justify-content: center;
    background: #f8fafc; border-radius: 20px; padding: 15px;
    border: 1px solid var(--border-color); transition: 0.3s;
}
.service-card:hover .icon-box { background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.icon-box img { width: 100%; height: 100%; object-fit: contain; }

.card-title { font-weight: 800; font-size: 1.35rem; margin-bottom: 15px; line-height: 1.3; }
.card-text { font-size: 1rem; color: var(--text-gray); margin-bottom: 30px; flex-grow: 1; }

.btn-card {
    font-size: 0.95rem; color: white; font-weight: 600;
    padding: 12px 28px; border-radius: 10px; background: var(--text-dark);
    display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase;
}

.border-green-hover .btn-card:hover { background: var(--color-green); transform: translateY(-2px); }
.border-blue-hover .btn-card:hover { background: var(--color-blue); transform: translateY(-2px); }
.border-red-hover .btn-card:hover { background: var(--color-red); transform: translateY(-2px); }
.border-orange-hover .btn-card:hover { background: var(--color-orange); transform: translateY(-2px); }

/* --- 5. Stats Bar --- */
.stats-bar {
    background: #1e293b; color: white; padding: 50px 0; margin: 40px 0;
    border-radius: 24px; box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    position: relative; overflow: hidden;
}
.stats-bar::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: flex; justify-content: space-around; align-items: center;
    text-align: center; flex-wrap: wrap; gap: 30px; position: relative; z-index: 2;
}

.stat-item h3 { font-size: 3rem; font-weight: 800; margin-bottom: 5px; line-height: 1; }
.stat-item p { font-size: 1.1rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; }
.icon-star { fill: #fbbf24; stroke: none; width: 30px; }

/* --- 6. Footer --- */
.main-footer {
    background: white; border-top: 1px solid var(--border-color);
    padding: 60px 0; text-align: center;
}
.footer-brand { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.8rem; margin-bottom: 20px; }

.legal-links { color: var(--text-gray); font-size: 1rem; margin-bottom: 30px; }
.legal-links a { font-weight: 600; margin: 0 5px; text-decoration: underline; }
.legal-links a:hover { color: var(--color-blue); }

.disclaimer-area {
    max-width: 800px; margin: 0 auto;
    border-top: 1px solid #f1f5f9; padding-top: 20px;
    font-size: 0.8rem; color: #94a3b8; text-align: center;
}
.disclaimer-area p { margin-bottom: 10px; }
.education-tag span { color: var(--color-orange); font-weight: bold; }
.dev-tag strong { color: var(--text-dark); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-title { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .brand-logo-img { height: 40px; }
    .brand-title-mr { font-size: 1rem; margin-bottom: 2px; }
    .brand-subtitle-en { font-size: 0.65rem; }
    .btn-text { display: none; }
    .btn-contact { padding: 8px; border-radius: 50%; }
    
    .hero-section { padding: 80px 20px 60px; }
    .hero-title { font-size: 2.5rem; }
    .hero-badge { font-size: 1.1rem; padding: 12px 30px; }
    
    .services-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { flex-direction: column; gap: 40px; }
    .stats-bar { margin: 20px 0; border-radius: 12px; padding: 40px 0; }
}