@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0b5bd3;
    --secondary-color: #073b8a;
    --accent-color: #f26b3a;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f4f7fb;
    --white: #ffffff;
    --border-color: #dbe3ef;
    --surface: #f8fbff;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 14px 34px rgba(8, 30, 74, 0.08);
    --shadow-card: 0 18px 42px rgba(8, 30, 74, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background:
        radial-gradient(circle at 15% -10%, rgba(11, 91, 211, 0.08), transparent 35%),
        radial-gradient(circle at 85% -20%, rgba(242, 107, 58, 0.09), transparent 32%),
        var(--white);
}

a {
    color: var(--primary-color);
}

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

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.95rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--secondary-color);
    text-decoration: none;
}

.logo img {
    height: 58px;
    width: auto;
}

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

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: 10px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

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

nav a:hover::after {
    transform: scaleX(1);
}

.btn-enquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1.12rem;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), #1a75ee);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(11, 91, 211, 0.24);
}

.btn-enquiry::after {
    display: none;
}

.btn-enquiry:hover {
    color: var(--white);
    filter: brightness(0.98);
}

/* Shared section shell */
section {
    padding: clamp(2.25rem, 3vw, 4.25rem) 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
    font-size: clamp(1.12rem, 2vw, 1.35rem);
}

p {
    color: var(--text-light);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a4eb5 0%, #062b6b 100%);
    color: var(--white);
}

.page-hero {
    max-width: 1200px;
    min-height: clamp(360px, 55vw, 530px);
    margin: 1.25rem auto 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: clamp(1.25rem, 3vw, 2.8rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(11, 91, 211, 0.15);
    overflow: hidden;
    background-image:
        linear-gradient(to top, rgba(7, 24, 58, 0.9), rgba(7, 24, 58, 0.25), transparent),
        var(--page-hero-image, url('/images/page-banner.webp'));
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.24), transparent 28%),
        radial-gradient(circle at 20% 90%, rgba(242, 107, 58, 0.24), transparent 26%);
    pointer-events: none;
}

.page-hero::before {
    background: none;
}

.page-hero .hero-content {
    max-width: 680px;
    margin: 0;
    text-align: left;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.hero h1,
.hero h2,
.hero h3,
.hero p {
    color: var(--white);
}

.hero p {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    opacity: 0.95;
    margin-top: 0.7rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.15rem;
    padding: 0.85rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-color), #ff844f);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(242, 107, 58, 0.33);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(242, 107, 58, 0.35);
}

/* Carousel */
.slider-container {
    padding: 1.25rem 1.5rem 0;
    background: transparent;
}

.slider-container + .why-acent {
    padding-top: 1rem;
}

.carousel {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(11, 91, 211, 0.15);
    background: #0b357d;
}

.carousel-inner {
    position: relative;
    height: clamp(360px, 55vw, 530px);
}

.carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1.25rem, 3vw, 2.8rem);
    background: linear-gradient(to top, rgba(7, 24, 58, 0.9), rgba(7, 24, 58, 0.2), transparent);
    text-align: left;
}

.carousel-content h2 {
    color: #fff;
    margin-bottom: 0.4rem;
}

.carousel-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
}

.carousel-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.35);
}

.carousel-indicators {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
}

.indicator.active {
    width: 30px;
    background: #fff;
}

/* Section variants */
.why-acent,
.industries,
.partners {
    background: transparent;
}

.why-acent .container,
.industries .container,
.partners .container {
    background: var(--surface);
    border: 1px solid rgba(11, 91, 211, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.4rem, 2vw, 2.1rem);
}

.why-acent h2,
.industries h2,
.testimonials h2,
.partners h2 {
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.why-acent > .container > p,
.industries > .container > p,
.partners > .container > p {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 1.8rem;
}

.benefits-grid,
.industries-grid,
.testimonials-grid,
.partners-grid {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.industries-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}

.partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.benefit-card,
.industry-card,
.testimonial-card,
.partner-logo {
    background: #fff;
    border: 1px solid rgba(11, 91, 211, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 22px rgba(11, 38, 90, 0.08);
}

.benefit-card,
.industry-card,
.testimonial-card {
    padding: 1.3rem;
}

.benefit-card,
.industry-card {
    display: flex;
    flex-direction: column;
}

.benefit-card img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.benefit-card h3,
.industry-card h3,
.testimonial-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.45rem;
}

.benefit-card p,
.industry-card p,
.testimonial-card p {
    font-size: 0.95rem;
}

.benefit-card p:last-of-type,
.industry-card p:last-of-type {
    margin-bottom: 1.15rem;
}

.benefit-card:hover,
.industry-card:hover,
.testimonial-card:hover,
.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px rgba(11, 38, 90, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-card {
    border-top: 4px solid var(--primary-color);
}

.industry-card a,
.benefit-card a {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    margin-top: auto !important;
    color: #fff !important;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), #1a75ee) !important;
    border-radius: 999px !important;
    padding: 0.72rem 1rem 0.52rem !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.testimonials {
    background: linear-gradient(140deg, #08204d 0%, #0a3c8f 100%);
}

.testimonials h2 {
    color: #fff;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.testimonial-card p,
.testimonial-author,
.testimonial-author-title {
    color: rgba(255, 255, 255, 0.92);
}

.testimonial-author {
    margin-top: 0.9rem;
    font-weight: 700;
}

.testimonial-author-title {
    font-size: 0.88rem;
}

.partner-logo {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0c1527 0%, #060b16 100%);
    color: #e6edf8;
    padding: 2.6rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.45rem;
}

.footer-section a {
    color: #b7c6de;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #132340;
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9db0cd;
    font-size: 0.88rem;
}

/* Contact form */
.contact-form {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    padding: 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(11, 91, 211, 0.16);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #cfdbee;
    border-radius: 10px;
    padding: 0.72rem 0.86rem;
    font: inherit;
    color: var(--text-dark);
    background: #fcfdff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 91, 211, 0.15);
}

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

/* Generic utility polish for inline-content blocks */
section ul {
    color: var(--text-light);
}

section li {
    margin-bottom: 0.32rem;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        align-items: center;
    }

    .logo {
        width: auto;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 0.8rem 0 0.4rem;
    }

    .navbar.menu-open nav {
        max-height: 520px;
    }

    .navbar.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .navbar.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .carousel-content {
        text-align: center;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }

    nav ul {
        width: 100%;
    }

    .btn-enquiry {
        margin-top: 0.25rem;
    }

    .carousel-controls {
        padding: 0 0.35rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
