/* ==========================================================================
   ACS Developer Theme — Main Stylesheet
   Design: Dark blue gradient with particle effects, card grids, modern UI
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --acs-dark: #0a1628;
    --acs-dark-mid: #0f2039;
    --acs-blue: #142d54;
    --acs-blue-mid: #1a3a6b;
    --acs-blue-light: #1e73be;
    --acs-accent: #2b8fd9;
    --acs-white: #ffffff;
    --acs-grey-light: #c8d6e5;
    --acs-grey: #8395a7;
    --acs-text: #e8edf2;
    --acs-card-bg: rgba(20, 45, 84, 0.6);
    --acs-card-hover: rgba(30, 58, 107, 0.8);
    --acs-overlay: rgba(10, 22, 40, 0.85);
    --acs-border: rgba(255, 255, 255, 0.1);
    --acs-radius: 8px;
    --acs-radius-lg: 12px;
    --acs-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --acs-transition: 0.3s ease;
    --acs-font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --acs-font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --acs-max-width: 1200px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--acs-font);
    background: var(--acs-dark);
    color: var(--acs-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--acs-accent);
    text-decoration: none;
    transition: color var(--acs-transition);
}

a:hover {
    color: var(--acs-blue-light);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--acs-font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--acs-white);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--acs-grey-light);
}

/* ---------- Particle Background ---------- */
.acs-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(30, 115, 190, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(43, 143, 217, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(20, 45, 84, 0.2) 0%, transparent 60%),
        linear-gradient(180deg, var(--acs-dark) 0%, var(--acs-dark-mid) 50%, var(--acs-blue) 100%);
}

.acs-particles::before,
.acs-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: particle-float 20s infinite ease-in-out;
}

.acs-particles::before {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: -5s;
}

.acs-particles::after {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: -10s;
    animation-duration: 25s;
}

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(50px, -30px) scale(1.1); opacity: 0.5; }
    50% { transform: translate(-20px, 40px) scale(0.9); opacity: 0.4; }
    75% { transform: translate(30px, 20px) scale(1.05); opacity: 0.35; }
}

/* Additional star particles via box-shadow */
.acs-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.acs-stars::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow:
        50px 100px rgba(255,255,255,0.3),
        200px 50px rgba(255,255,255,0.2),
        350px 200px rgba(255,255,255,0.4),
        500px 80px rgba(255,255,255,0.15),
        650px 300px rgba(255,255,255,0.3),
        100px 400px rgba(255,255,255,0.2),
        800px 150px rgba(255,255,255,0.25),
        250px 350px rgba(255,255,255,0.35),
        900px 250px rgba(255,255,255,0.2),
        400px 500px rgba(255,255,255,0.3),
        750px 400px rgba(255,255,255,0.15),
        150px 250px rgba(255,255,255,0.4),
        550px 450px rgba(255,255,255,0.2),
        1000px 100px rgba(255,255,255,0.3),
        1100px 350px rgba(255,255,255,0.25),
        300px 150px rgba(255,255,255,0.2),
        700px 50px rgba(255,255,255,0.35),
        850px 450px rgba(255,255,255,0.15),
        450px 300px rgba(255,255,255,0.3),
        1200px 200px rgba(255,255,255,0.2),
        50px 550px rgba(255,255,255,0.25),
        600px 180px rgba(255,255,255,0.3),
        950px 380px rgba(255,255,255,0.2),
        175px 480px rgba(255,255,255,0.35);
    animation: star-drift 60s linear infinite;
}

.acs-stars::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow:
        120px 200px rgba(255,255,255,0.2),
        340px 120px rgba(255,255,255,0.3),
        560px 340px rgba(255,255,255,0.15),
        780px 60px rgba(255,255,255,0.25),
        230px 420px rgba(255,255,255,0.3),
        450px 240px rgba(255,255,255,0.2),
        670px 460px rgba(255,255,255,0.35),
        890px 180px rgba(255,255,255,0.15),
        1010px 400px rgba(255,255,255,0.25),
        80px 320px rgba(255,255,255,0.3);
    animation: star-drift 45s linear infinite reverse;
}

@keyframes star-drift {
    from { transform: translateY(0); }
    to { transform: translateY(-30px); }
}

/* ---------- Layout Container ---------- */
.acs-container {
    max-width: var(--acs-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.acs-section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.acs-section--compact {
    padding: 2rem 0;
}

/* ---------- Header ---------- */
.acs-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--acs-border);
    transition: background var(--acs-transition);
}

.acs-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--acs-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
}

.acs-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--acs-white);
    text-decoration: none;
}

.acs-header__logo img {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.acs-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.acs-header__logo-text small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--acs-grey);
    letter-spacing: 0.05em;
}

/* ---------- Navigation ---------- */
.acs-nav {
    display: flex;
    align-items: center;
}

.acs-nav__list {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.acs-nav__item {
    position: relative;
}

.acs-nav__link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--acs-grey-light);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--acs-radius);
    transition: all var(--acs-transition);
    white-space: nowrap;
}

.acs-nav__link:hover,
.acs-nav__link--active {
    color: var(--acs-white);
    background: rgba(255, 255, 255, 0.08);
}

/* Dropdown */
.acs-nav__item:hover .acs-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.acs-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(10px);
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--acs-transition);
    box-shadow: var(--acs-shadow);
}

.acs-nav__dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--acs-grey-light);
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all var(--acs-transition);
}

.acs-nav__dropdown a:hover {
    color: var(--acs-white);
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile Nav Toggle */
.acs-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.acs-nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--acs-white);
    border-radius: 2px;
    transition: all var(--acs-transition);
}

/* ---------- Hero Section ---------- */
.acs-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.acs-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--acs-dark), transparent);
    z-index: 2;
}

.acs-hero__content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.acs-hero__badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(30, 115, 190, 0.2);
    border: 1px solid rgba(30, 115, 190, 0.4);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--acs-accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.acs-hero__title {
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.acs-hero__title span {
    color: var(--acs-accent);
}

.acs-hero__description {
    font-size: 1.15rem;
    color: var(--acs-grey-light);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.acs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--acs-transition);
    text-decoration: none;
    line-height: 1;
}

.acs-btn--primary {
    background: linear-gradient(135deg, var(--acs-blue-light), var(--acs-accent));
    color: var(--acs-white);
    box-shadow: 0 4px 20px rgba(30, 115, 190, 0.35);
}

.acs-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(30, 115, 190, 0.5);
    color: var(--acs-white);
}

.acs-btn--outline {
    background: transparent;
    color: var(--acs-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.acs-btn--outline:hover {
    border-color: var(--acs-accent);
    color: var(--acs-accent);
    transform: translateY(-2px);
}

.acs-btn--small {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.acs-btn__arrow {
    font-size: 1.1em;
    transition: transform var(--acs-transition);
}

.acs-btn:hover .acs-btn__arrow {
    transform: translateX(4px);
}

/* ---------- Services Grid (Mockup 1) ---------- */
.acs-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.acs-service-card {
    position: relative;
    border-radius: var(--acs-radius-lg);
    overflow: hidden;
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    transition: all var(--acs-transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.acs-service-card:hover {
    transform: translateY(-4px);
    background: var(--acs-card-hover);
    border-color: rgba(30, 115, 190, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.acs-service-card__image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity var(--acs-transition);
}

.acs-service-card:hover .acs-service-card__image {
    opacity: 0.9;
}

.acs-service-card__icon {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: rgba(30, 115, 190, 0.1);
}

.acs-service-card__body {
    padding: 1.25rem;
    flex: 1;
}

.acs-service-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--acs-white);
    margin-bottom: 0.25rem;
}

.acs-service-card__desc {
    font-size: 0.8rem;
    color: var(--acs-grey);
    line-height: 1.5;
}

/* CTA Card (Get in touch) */
.acs-service-card--cta {
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.3), rgba(43, 143, 217, 0.15));
    border-color: rgba(30, 115, 190, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.acs-service-card--cta:hover {
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.45), rgba(43, 143, 217, 0.25));
}

.acs-service-card--cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ---------- Benefits Section (Mockup 3) ---------- */
.acs-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.acs-benefits__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.acs-benefits__text {
    color: var(--acs-grey-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.acs-benefits__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.acs-benefits__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--acs-grey-light);
    font-size: 0.95rem;
}

.acs-benefits__check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(30, 115, 190, 0.2);
    border: 1px solid rgba(30, 115, 190, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acs-accent);
    font-size: 0.75rem;
}

.acs-benefits__services {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.acs-benefits__service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    color: var(--acs-grey-light);
    font-size: 0.9rem;
    transition: all var(--acs-transition);
    text-decoration: none;
}

.acs-benefits__service-item:hover {
    background: var(--acs-card-hover);
    border-color: rgba(30, 115, 190, 0.3);
    color: var(--acs-white);
    transform: translateX(4px);
}

.acs-benefits__service-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(30, 115, 190, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acs-accent);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ---------- Section Headers ---------- */
.acs-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.acs-section-header__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--acs-accent);
    margin-bottom: 0.75rem;
}

.acs-section-header__title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.acs-section-header__desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--acs-grey);
    font-size: 1.05rem;
}

/* ---------- Partner Logos Bar ---------- */
.acs-partners {
    padding: 2.5rem 0;
    border-top: 1px solid var(--acs-border);
    position: relative;
    z-index: 1;
}

.acs-partners__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
    transition: opacity var(--acs-transition);
}

.acs-partners__inner:hover {
    opacity: 0.85;
}

.acs-partners__logo {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity var(--acs-transition);
}

.acs-partners__logo:hover {
    opacity: 1;
}

/* ---------- Footer (Mockup 2) ---------- */
.acs-footer {
    background: rgba(10, 22, 40, 0.95);
    border-top: 1px solid var(--acs-border);
    padding: 4rem 0 0;
    position: relative;
    z-index: 1;
}

.acs-footer__logo {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--acs-border);
}

.acs-footer__logo a {
    display: inline-block;
}

.acs-footer__logo img {
    height: 60px;
    width: auto;
}

.acs-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.acs-footer__heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--acs-white);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--acs-blue-light);
    display: inline-block;
}

.acs-footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.acs-footer__list li a {
    color: var(--acs-grey-light);
    font-size: 0.9rem;
    transition: color var(--acs-transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.acs-footer__list li a:hover {
    color: var(--acs-white);
}

.acs-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--acs-grey-light);
    font-size: 0.9rem;
}

.acs-footer__contact-icon {
    color: var(--acs-accent);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.acs-footer__cta {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.acs-footer__bottom {
    border-top: 1px solid var(--acs-border);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.acs-footer__copyright {
    font-size: 0.8rem;
    color: var(--acs-grey);
}

.acs-footer__legal {
    display: flex;
    gap: 1.5rem;
}

.acs-footer__legal a {
    font-size: 0.8rem;
    color: var(--acs-grey);
}

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

/* ---------- Page Content Styles ---------- */
.acs-page-header {
    padding-top: 90px;
    padding-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.acs-page-header__title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.acs-page-header__breadcrumb {
    font-size: 0.85rem;
    color: var(--acs-grey);
}

.acs-page-header__breadcrumb a {
    color: var(--acs-grey);
}

.acs-page-header__breadcrumb a:hover {
    color: var(--acs-accent);
}

.acs-content {
    position: relative;
    z-index: 1;
}

.acs-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.acs-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.acs-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.acs-content ul,
.acs-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.acs-content ul {
    list-style: disc;
}

.acs-content ol {
    list-style: decimal;
}

.acs-content li {
    margin-bottom: 0.5rem;
    color: var(--acs-grey-light);
}

/* ---------- Info Cards / Feature Boxes ---------- */
.acs-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.acs-info-card {
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius-lg);
    padding: 2rem;
    transition: all var(--acs-transition);
}

.acs-info-card:hover {
    background: var(--acs-card-hover);
    border-color: rgba(30, 115, 190, 0.3);
    transform: translateY(-2px);
}

.acs-info-card__icon {
    width: 50px;
    height: 50px;
    border-radius: var(--acs-radius);
    background: rgba(30, 115, 190, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acs-accent);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.acs-info-card__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.acs-info-card__text {
    font-size: 0.9rem;
    color: var(--acs-grey);
    line-height: 1.6;
}

/* ---------- Pricing Tables ---------- */
.acs-pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--acs-radius-lg);
    overflow: hidden;
    margin: 2rem 0;
}

.acs-pricing-table thead th {
    background: rgba(30, 115, 190, 0.2);
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--acs-white);
    border-bottom: 1px solid var(--acs-border);
}

.acs-pricing-table tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--acs-grey-light);
    border-bottom: 1px solid var(--acs-border);
    background: var(--acs-card-bg);
}

.acs-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.acs-pricing-table tbody tr:hover td {
    background: var(--acs-card-hover);
}

.acs-pricing-table .acs-price {
    font-weight: 700;
    color: var(--acs-accent);
}

/* ---------- Contact Form ---------- */
.acs-contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.acs-form-group {
    margin-bottom: 1.5rem;
}

.acs-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--acs-grey-light);
    margin-bottom: 0.5rem;
}

.acs-form-group label .required {
    color: #e74c3c;
}

.acs-form-group input,
.acs-form-group textarea,
.acs-form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    color: var(--acs-white);
    font-family: var(--acs-font);
    font-size: 0.95rem;
    transition: border-color var(--acs-transition);
}

.acs-form-group input:focus,
.acs-form-group textarea:focus,
.acs-form-group select:focus {
    outline: none;
    border-color: var(--acs-blue-light);
    box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.15);
}

.acs-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.acs-form-group input::placeholder,
.acs-form-group textarea::placeholder {
    color: var(--acs-grey);
}

.acs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.acs-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.acs-form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--acs-blue-light);
}

.acs-form-consent label {
    font-size: 0.85rem;
    color: var(--acs-grey);
    line-height: 1.5;
}

.acs-form-message {
    padding: 1rem 1.5rem;
    border-radius: var(--acs-radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.acs-form-message--success {
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #27ae60;
}

.acs-form-message--error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* ---------- Cookie Consent Banner ---------- */
.acs-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--acs-border);
    padding: 1.5rem 2rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.acs-cookie-banner--visible {
    transform: translateY(0);
}

.acs-cookie-banner__inner {
    max-width: var(--acs-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.acs-cookie-banner__text {
    font-size: 0.9rem;
    color: var(--acs-grey-light);
    flex: 1;
}

.acs-cookie-banner__text a {
    color: var(--acs-accent);
    text-decoration: underline;
}

.acs-cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ---------- Blog Styles ---------- */
.acs-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.acs-post-card {
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius-lg);
    overflow: hidden;
    transition: all var(--acs-transition);
}

.acs-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 115, 190, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.acs-post-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.acs-post-card__body {
    padding: 1.5rem;
}

.acs-post-card__meta {
    font-size: 0.8rem;
    color: var(--acs-grey);
    margin-bottom: 0.75rem;
}

.acs-post-card__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.acs-post-card__title a {
    color: var(--acs-white);
}

.acs-post-card__title a:hover {
    color: var(--acs-accent);
}

.acs-post-card__excerpt {
    font-size: 0.9rem;
    color: var(--acs-grey);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Single Post */
.acs-single-post {
    max-width: 800px;
    margin: 0 auto;
}

.acs-single-post__meta {
    font-size: 0.85rem;
    color: var(--acs-grey);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--acs-border);
}

/* ---------- Sidebar ---------- */
.acs-layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.acs-sidebar .widget {
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.acs-sidebar .widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--acs-white);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--acs-blue-light);
}

/* ---------- 404 Page ---------- */
.acs-404 {
    text-align: center;
    padding: 6rem 0;
}

.acs-404__code {
    font-size: 8rem;
    font-weight: 800;
    color: rgba(30, 115, 190, 0.3);
    line-height: 1;
    margin-bottom: 1rem;
}

/* ---------- Pagination ---------- */
.acs-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.acs-pagination a,
.acs-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--acs-radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--acs-transition);
}

.acs-pagination a {
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    color: var(--acs-grey-light);
}

.acs-pagination a:hover {
    background: var(--acs-card-hover);
    color: var(--acs-white);
}

.acs-pagination .current {
    background: var(--acs-blue-light);
    color: var(--acs-white);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .acs-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

@media (max-width: 768px) {
    :root {
        --acs-max-width: 100%;
    }

    h1, .acs-hero__title { font-size: 2rem; }
    h2, .acs-section-header__title { font-size: 1.5rem; }

    /* Mobile Nav */
    .acs-nav__toggle {
        display: flex;
    }

    .acs-nav__list {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--acs-border);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .acs-nav__list--open {
        display: flex;
    }

    .acs-nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        box-shadow: none;
        margin-top: 0.25rem;
        display: none;
    }

    .acs-nav__item--open .acs-nav__dropdown {
        display: block;
    }

    /* Grids */
    .acs-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .acs-benefits {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .acs-footer__grid {
        grid-template-columns: 1fr;
    }

    .acs-info-grid {
        grid-template-columns: 1fr;
    }

    .acs-post-grid {
        grid-template-columns: 1fr;
    }

    .acs-form-row {
        grid-template-columns: 1fr;
    }

    .acs-layout-with-sidebar {
        grid-template-columns: 1fr;
    }

    /* Cookie Banner Mobile */
    .acs-cookie-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .acs-hero {
        min-height: 70vh;
    }

    .acs-page-header__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .acs-services-grid {
        grid-template-columns: 1fr;
    }

    .acs-container {
        padding: 0 1rem;
    }

    .acs-hero__title {
        font-size: 1.75rem;
    }

    .acs-partners__inner {
        gap: 1.5rem;
    }

    .acs-partners__logo {
        height: 25px;
    }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ---------- WordPress Core Styles ---------- */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--acs-grey); margin-top: 0.5rem; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }

/* ---------- Yoast SEO Breadcrumbs ---------- */
.yoast-breadcrumbs {
    font-size: 0.85rem;
    color: var(--acs-grey);
    margin-bottom: 1rem;
}

.yoast-breadcrumbs a {
    color: var(--acs-grey);
}

.yoast-breadcrumbs a:hover {
    color: var(--acs-accent);
}

/* ---------- Font Awesome Icon Sizing ---------- */
.acs-service-card__icon .fa-solid,
.acs-info-card__icon .fa-solid,
.acs-benefits__service-icon .fa-solid,
.acs-benefits__check .fa-solid,
.acs-footer__contact-icon .fa-solid,
.acs-contact-detail__icon .fa-solid {
    line-height: 1;
}

/* ---------- Combined Contact Details ---------- */
.acs-contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--acs-border);
    color: var(--acs-grey-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.acs-contact-detail:first-child {
    padding-top: 0;
}

.acs-contact-detail:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.acs-contact-detail__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
    padding-top: 0.15rem;
}

.acs-contact-detail strong {
    color: var(--acs-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.acs-contact-detail a {
    color: var(--acs-accent);
    text-decoration: none;
}

.acs-contact-detail a:hover {
    color: var(--acs-white);
}

/* ---------- Legal Document (MSA, Terms, etc.) ---------- */
.acs-msa-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
}

.acs-msa-meta p {
    margin: 0;
    color: var(--acs-grey-light);
}

.acs-legal-document {
    max-width: 900px;
}

.acs-legal-toc {
    background: var(--acs-card-bg);
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    padding: 2rem;
    margin-bottom: 3rem;
}

.acs-legal-toc h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--acs-white);
}

.acs-legal-toc ol {
    columns: 2;
    column-gap: 2rem;
    padding-left: 1.5rem;
    margin: 0;
}

.acs-legal-toc li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    break-inside: avoid;
}

.acs-legal-toc a {
    color: var(--acs-accent);
    text-decoration: none;
}

.acs-legal-toc a:hover {
    color: var(--acs-white);
    text-decoration: underline;
}

.acs-legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--acs-border);
}

.acs-legal-section:last-child {
    border-bottom: none;
}

.acs-legal-section h2 {
    font-size: 1.35rem;
    color: var(--acs-white);
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
}

.acs-legal-section p {
    line-height: 1.75;
    margin-bottom: 0.75rem;
    color: var(--acs-grey-light);
    font-size: 0.95rem;
}

.acs-legal-section ol,
.acs-legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.acs-legal-section li {
    line-height: 1.75;
    margin-bottom: 0.5rem;
    color: var(--acs-grey-light);
    font-size: 0.95rem;
}

.acs-legal-indent {
    padding-left: 2rem;
}

.acs-legal-definitions {
    margin: 1rem 0;
}

.acs-legal-definitions dt {
    color: var(--acs-white);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.acs-legal-definitions dd {
    color: var(--acs-grey-light);
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.75;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .acs-legal-toc ol {
        columns: 1;
    }

    .acs-msa-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .acs-legal-indent {
        padding-left: 1rem;
    }
}

/* Telecoms Terms & Conditions - Footer Section */
.acs-footer__telecoms-tc {
    border-top: 1px solid var(--acs-border);
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.acs-footer__telecoms-heading {
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--acs-white);
    margin-bottom: 1.25rem;
}

.acs-footer__telecoms-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 320px;
}

.acs-footer__telecoms-list li {
    border-top: 1px solid var(--acs-border);
    padding: 0.7rem 0;
}

.acs-footer__telecoms-list li:last-child {
    border-bottom: 1px solid var(--acs-border);
}

.acs-footer__telecoms-list li a {
    color: var(--acs-grey-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--acs-transition);
}

.acs-footer__telecoms-list li a:hover {
    color: var(--acs-white);
}
