/* =========================================
   GLOBAL RESET
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-blue: #55c4ec;
    --accent-red: #ED1C24;

    --text-dark: #222;
    --text-light: #666;

    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    --container-width: 1200px;

    --section-padding: clamp(60px, 8vw, 100px);

    --radius: 14px;

    --shadow:
        0 8px 30px rgba(0,0,0,0.08);

    --transition: 0.3s ease;
}

/* =========================================
   BODY
========================================= */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);

    background:
        linear-gradient(
            135deg,
            rgba(0,163,224,0.05),
            rgba(237,28,36,0.05)
        );

    line-height: 1.7;
    overflow-x: hidden;
}

/* =========================================
   TYPOGRAPHY
========================================= */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.3rem;
}

p {
    color: var(--text-light);
    font-size: 1rem;
}

/* =========================================
   LINKS
========================================= */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   CONTAINER
========================================= */
.container {
    width: min(92%, var(--container-width));
    margin-inline: auto;
}

/* =========================================
   HEADER
========================================= */
header {
    position: sticky;
    top: 0;
    z-index: 999;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 80px;
    gap: 20px;
}

.logo img {
    height: 70px;
    width: 75px;
    display: block;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    font-weight: 600;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0%;
    height: 2px;

    background: var(--primary-blue);

    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary-blue);
}

/* =========================================
   HERO
========================================= */
.home-hero {
    position: relative;

    padding:
        clamp(90px, 14vw, 180px)
        0;

    text-align: center;

    background:
        linear-gradient(
            rgba(255,255,255,0.92),
            rgba(255,255,255,0.95)
        ),
        url('text1.jpg');

    background-size: cover;
    background-position: center;
}

.home-hero h1 {
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 25px;
}

.home-hero p {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 40px;

    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 14px 30px;

    border-radius: 999px;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;

    overflow: hidden;

    transition: 0.35s ease;

    border: none;

    cursor: pointer;
}

.btn::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );

    transform: translateX(-100%);
    transition: 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: scale(0.96);
}

.btn-accent {
    background: var(--accent-red);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

/* =========================================
   SECTIONS
========================================= */
section {
    padding-block: var(--section-padding);
}

/* =========================================
   INTRO + WHY GRID
========================================= */
.intro-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 60px;
    align-items: center;
}

/* =========================================
   SERVICE GRID
========================================= */
.service-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 28px;

    margin-top: 50px;
}

.service-card {
    background: white;

    padding: 40px 30px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: 0.35s ease;

    border: 1px solid rgba(0,0,0,0.05);

    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    margin-bottom: 14px;
    color: var(--primary-blue);
}

/* =========================================
   INDUSTRY TAGS
========================================= */
.industry-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 40px;
}

.industry-tag {
    padding: 10px 18px;

    background: white;

    border-radius: 999px;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.06);

    font-weight: 600;
}

/* =========================================
   CTA
========================================= */
.global-cta {
    background: var(--primary-blue);

    text-align: center;

    color: white;
}

.global-cta h2,
.global-cta p {
    color: white;
}

.global-cta p {
    max-width: 760px;
    margin:
        0 auto
        35px;
}

/* =========================================
   FOOTER
========================================= */
footer {
    background: #1f2937;
    color: #cbd5e1;

    padding-top: 70px;
}

.footer-content {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 40px;

    padding-bottom: 50px;
}

.footer-logo img {
    height: 42px;
    margin-bottom: 18px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 18px;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;

    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 20px;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */

/* TABLETS */
@media (max-width: 900px) {

    header .container {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .intro-grid,
    .why-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-hero {
        padding: 100px 0;
    }

    .service-card {
        padding: 35px 25px;
    }
}

/* MOBILE */
@media (max-width: 600px) {

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .industry-list {
        gap: 10px;
    }

    .industry-tag {
        width: fit-content;
        max-width: 100%;
    }

    footer {
        text-align: center;
    }

    .footer-logo img {
        margin-inline: auto;
    }
    
}

/* EXTRA SMALL */
@media (max-width: 400px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 28px 20px;
    }

    .container {
        width: 94%;
    }
}