/* =========================================
   APSA India - Global CSS
   ========================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
    --primary-red: #9b0101;
    --primary-red-dark: #7a0000;
    --primary-red-light: #c0392b;
    --accent-yellow: #fbff05;
    --dark-bg: #1a1a1a;
    --dark-bg-2: #111111;
    --dark-footer: #1c1c1c;
    --text-dark: #333333;
    --text-grey: #666666;
    --text-light: #999999;
    --white: #ffffff;
    --light-bg: #f5f5f5;
    --border-color: #e0e0e0;
    --font-main: 'Roboto', 'Open Sans', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-red-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-grey);
    line-height: 1.8;
}

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

.section {
    padding: 70px 0;
}

.section-sm {
    padding: 40px 0;
}

/* ---- Grid System ---- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

.col-2 { flex: 0 0 16.666%; max-width: 16.666%; padding: 0 15px; }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 15px; }
.col-9 { flex: 0 0 75%; max-width: 75%; padding: 0 15px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-white  { color: var(--white) !important; }
.text-red    { color: var(--primary-red) !important; }
.text-yellow { color: var(--accent-yellow) !important; }

.bg-red      { background-color: var(--primary-red); }
.bg-dark     { background-color: var(--dark-bg); }
.bg-light    { background-color: var(--light-bg); }
.bg-white    { background-color: var(--white); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }

.d-flex          { display: flex; }
.align-center    { align-items: center; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap       { flex-wrap: wrap; }
.flex-col        { flex-direction: column; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-red:hover {
    background-color: var(--primary-red-dark);
    color: var(--white);
}

.btn-outline-red {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline-red:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

/* ---- Section Heading ---- */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-grey);
    margin-bottom: 40px;
}

/* ---- Page Hero / Breadcrumb ---- */
.page-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../imgs/bg-services-n.jpg') center/cover no-repeat;
    padding: 60px 0;
    color: var(--white);
    position: relative;
}

.page-hero__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

/* ---- Inquire Button (floating-style on hero) ---- */
.inquire-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.inquire-btn:hover {
    background-color: var(--primary-red-dark);
    color: var(--white);
}

.inquire-btn i {
    font-size: 18px;
}

/* ---- Icon Text ---- */
.icon-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.icon-text i {
    color: var(--primary-red);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.icon-text span {
    color: var(--text-grey);
    font-size: 14px;
    line-height: 1.6;
}

/* ---- CTA Banner ---- */
.cta-banner {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.cta-banner h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* ---- Responsive Grid ---- */
@media (max-width: 992px) {
    .col-3, .col-4 { flex: 0 0 50%; max-width: 50%; }
    .col-8, .col-9 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 768px) {
    .col-2, .col-3, .col-4, .col-6, .col-8, .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.5rem; }
    .page-hero__title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
}
