/*
 * Integrated Stylesheet for ThinkAstra Consulting
 * Based on user-provided modern structure for Header and Hero sections.
 */

/* ------------------------------------------- */
/* 1. Global Reset & Typography */
/* ------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 { color: #2c3e50; line-height: 1.2; } /* Updated heading color */
a { text-decoration: none; color: #3498db; transition: color 0.3s; }
a:hover { color: #2980b9; }

.container {
    max-width: 1200px; /* Increased from 1000px */
    margin: 0 auto;
    padding: 0 20px; /* Updated padding (horizontal only) */
}

/* ------------------------------------------- */
/* 2. Header / Navigation */
/* ------------------------------------------- */

/* ------------------------------------------- */
/* 3. CTA Button (Adapted from .cta-button) */
/* ------------------------------------------- */
.cta-btn { /* Matches existing HTML element class */
    display: inline-block;
    background: #e74c3c; /* New primary CTA color */
    color: white !important; /* Overriding link color */
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 20px;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #c0392b;
}

/* ------------------------------------------- */
/* 4. Hero Section (Renaming .hero styles to .gov-hero to match HTML) */
/* ------------------------------------------- */

/* Applying visual styles to .gov-hero to match new .hero request */
.gov-hero {
    background: linear-gradient(135deg, #739ec4 0%, #151416 100%);
    color: white;
    padding: 160px 0 80px; /* Increased padding-top to clear the fixed navigation */
    text-align: center; 
}

/* Adjusting H1 and P within the Hero for the new colors and sizes */
.gov-hero h1 {
    color: white; /* Ensures text is readable on dark background */
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gov-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ------------------------------------------- */
/* 5. Content Layout & Tear Sheet */
/* ------------------------------------------- */
.divider {
    margin: 3rem 0; 
    border: 0; 
    border-top: 1px solid #eee;
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}
.card { 
    border: 1px solid #ddd; 
    padding: 1.5rem; 
    border-radius: 8px; 
}
.card ul { margin-top: 10px; padding-left: 1.5rem; }
.card li { margin-bottom: 5px; }

/* The "Tear Sheet" Data Block for SBLOs */
.tear-sheet { 
    background: #f4faff; 
    border-left: 5px solid #0f62fe; 
    padding: 2rem; 
    margin-top: 2rem; 
    border-radius: 8px;
}
.code-block { 
    font-family: monospace; 
    background: #fff; 
    padding: 10px; 
    border: 1px solid #ddd; 
    border-radius: 4px;
    display: block; 
    margin: 5px 0 15px 0; 
    font-size: 1rem;
}


/* ------------------------------------------- */
/* 6. Footer (Updated color to match new dark scheme) */
/* ------------------------------------------- */
footer {
    background: #2c3e50; /* New dark blue from provided CSS */
    color: white; 
    text-align: center; 
    padding: 2rem 0; 
    font-size: 0.8rem;
}


/* ------------------------------------------- */
/* 7. Media Queries (Responsiveness) */
/* ------------------------------------------- */
@media (max-width: 768px) {
    /* Remove top padding when nav is no longer fixed */
    .gov-hero {
        padding: 40px 20px 60px;
    }
    
    .gov-hero h1 {
        font-size: 2rem;
    }
    
    .gov-hero p {
        font-size: 1rem;
    }

    .container { 
        padding: 0 15px; 
    }
    
    /* Contact and Services grids from the new CSS */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}