/* ------------------------------------
   Design Tokens
   ------------------------------------ */
:root {
    --red:        #D32F2F;   /* primary red — refined, not harsh */
    --red-dark:   #B71C1C;   /* deep red for hover/active */
    --red-glow:   rgba(211, 47, 47, 0.18);
    --dark:       #111111;   /* header & footer */
    --dark-alt:   #1C1C1C;
    --body-bg:    #FFFFFF;
    --surface:    #F7F8FA;   /* subtle section bg */
    --border:     #E8EAED;
    --text:       #1E1E1E;
    --muted:      #6B7280;
    --white:      #FFFFFF;
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  24px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
    --shadow-md:  0 6px 24px rgba(0,0,0,0.10);
    --shadow-red: 0 6px 24px rgba(211, 47, 47, 0.22);
    --input-radius: 10px;
    --transition: 0.22s ease;
}

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

body, p, a, ul, li {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.65;
}

body {
    background-color: var(--body-bg);
}

img {
    display: block;
}

/* ------------------------------------
   Header + Navigation
   ------------------------------------ */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark);
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--red);
}

.logo {
    height: 6rem;
    width: 6rem;
    padding: 8px;
    flex-shrink: 0;
}

.logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.navigation {
    position: relative;
}

/* Hamburger (mobile) */
.hamburger-menu {
    height: 44px;
    width: 36px;
    margin-left: auto;
    position: relative;
    z-index: 3;
    cursor: pointer;
}

.hamburger-menu span {
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 4px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.hamburger-menu span:nth-child(1) { top: 28%; }
.hamburger-menu span:nth-child(3) { top: 72%; }

.hamburger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Off-screen mobile menu */
.off-screen-menu {
    background-color: var(--dark-alt);
    height: 100vh;
    width: 70%;
    max-width: 300px;
    position: fixed;
    top: 0;
    right: -100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: right 0.3s ease-in-out;
    z-index: 50;
    box-shadow: -8px 0 32px rgba(0,0,0,0.4);
    border-left: 3px solid var(--red);
}

.off-screen-menu.active { right: 0; }

.off-screen-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    padding: 0 2rem;
}

.off-screen-menu a {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    display: block;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    width: 100%;
    text-align: center;
}

.off-screen-menu a:hover {
    background-color: var(--red);
    color: var(--white);
}

/* Desktop nav list */
.nav-list {
    display: none;
    list-style: none;
}

.nav-list.nav-open {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dark-alt);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    min-width: 160px;
    border: 1px solid rgba(255,255,255,0.08);
}

.nav-list li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-list li:last-child { border-bottom: none; }

.nav-list li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--transition);
}

.nav-list li a:hover {
    background-color: var(--red);
}


/* ------------------------------------
   Hero
   ------------------------------------ */
.hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 4rem 2rem 3rem;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Gradient overlay — dark at edges, slightly lighter at centre */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.40) 50%,
        rgba(0,0,0,0.65) 100%
    );
    z-index: 1;
}

.hero h1,
.hero h2,
.hero .cta {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    max-width: 700px;
}

.hero h2 {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
    max-width: 500px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* CTA button */
.cta {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    background: var(--red);
    border: 2px solid var(--red);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.cta:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
    color: var(--white);
}

/* Outlined CTA variant */
.cta-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--red);
}


/* ------------------------------------
   Trust Bar
   ------------------------------------ */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-transform: uppercase;
}

.trust-item:last-child { border-right: none; }

.trust-item i {
    color: var(--red);
    font-size: 0.9rem;
    flex-shrink: 0;
}


/* ------------------------------------
   Services Section
   ------------------------------------ */
.services-section {
    padding: 4rem 1.5rem;
    background-color: var(--surface);
}

.section-heading {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    letter-spacing: -0.3px;
}

.section-subheading {
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

/* Gallery grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto;
}

.gallery-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    min-height: 140px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
    position: relative;
    overflow: hidden;
}

/* Subtle top accent line */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.gallery-icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 0.75rem;
    transition: transform var(--transition), color var(--transition);
}

.gallery-item .current-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    transition: color var(--transition);
}

.gallery-item .hidden-text {
    display: none;
    margin-top: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Active state (clicked) */
.gallery-item.active {
    background: var(--red);
    border-color: var(--red-dark);
    box-shadow: var(--shadow-red);
    transform: translateY(-3px);
}

.gallery-item.active::before { transform: scaleX(1); }

.gallery-item.active .gallery-icon { color: rgba(255,255,255,0.9); }

.gallery-item.active .current-text { display: none; }

.gallery-item.active .hidden-text {
    display: block;
    color: rgba(255,255,255,0.95);
}


/* ------------------------------------
   CTA Strip
   ------------------------------------ */
.cta-strip {
    background: var(--dark);
    padding: 3.5rem 1.5rem;
    text-align: center;
    border-top: 3px solid var(--red);
}

.cta-strip-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cta-strip h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
    letter-spacing: -0.2px;
}

.cta-strip p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
}

.cta-strip-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-strip-actions .cta {
    min-width: 160px;
}


/* ------------------------------------
   Footer
   ------------------------------------ */
.footer {
    background-color: var(--dark-alt);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--white);
    transition: transform var(--transition), opacity var(--transition);
}

.facebook  { background-color: #1877F2; }
.instagram { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.twitter   { background-color: #1a1a1a; border: 1px solid rgba(255,255,255,0.15); }
.whatsapp  { background-color: #25D366; }
.linkedin  { background-color: #0A66C2; }

.social-link:hover {
    transform: scale(1.12) translateY(-2px);
    opacity: 0.9;
}

.copyright p {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
}


/* ------------------------------------
   Contact Page
   ------------------------------------ */
.contact-section {
    max-width: 680px;
    margin: 3.5rem auto;
    padding: 0 1.25rem;
}

.contact-section h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    letter-spacing: -0.3px;
}

.section-intro {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    border-left: 4px solid var(--red);
    transition: background var(--transition);
}

.info-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.info-item:hover { background: var(--surface); }

.info-item > i {
    font-size: 1.1rem;
    color: var(--red);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.info-item-text h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--muted);
    font-weight: 600;
    margin: 0 0 0.1rem;
}

.info-item-text p { margin: 0; }

.info-item p a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.info-item p a:hover { color: var(--red); }

/* Form */
.contact-form-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: #444;
    letter-spacing: 0.2px;
}

input, textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--input-radius);
    font: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

input:focus, textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    padding: 0.85rem 2.25rem;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: var(--input-radius);
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    letter-spacing: 0.2px;
}

.btn-submit:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-red);
}


/* ------------------------------------
   About Page
   ------------------------------------ */
.about-container {
    display: flex;
    flex-direction: column;
}

/* Hero banner */
.about-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--red-dark) 60%, var(--red) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.about-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.about-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    max-width: 480px;
    margin: 0 auto;
    font-weight: 400;
}

/* Sections */
.about-container section {
    max-width: 740px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.about-container section:last-of-type { border-bottom: none; }

.about-container h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
}

.about-story p,
.coverage p {
    color: #444;
    font-size: 1rem;
    line-height: 1.75;
}

/* USP list */
.usp-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.usp-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.97rem;
    font-weight: 500;
    color: #333;
}

.usp-list li::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background-color: var(--red);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}

/* How it works steps */
.how-it-works ol {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    counter-reset: steps;
}

.how-it-works li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    counter-increment: steps;
    color: #333;
    font-size: 0.97rem;
    line-height: 1.6;
}

.how-it-works li::before {
    content: counter(steps);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* CTA banner section */
.cta-banner {
    text-align: center !important;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 3rem 2rem !important;
    margin: 1rem 1.5rem 2rem !important;
    max-width: none !important;
    width: auto !important;
    border-bottom: none !important;
}

.cta-banner h2 {
    color: var(--text) !important;
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}


/* ------------------------------------
   404 Page
   ------------------------------------ */
#_404_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    min-height: 60vh;
}

#_404_image { max-height: 30vh; }


/* ------------------------------------
   Media Queries
   ------------------------------------ */
@media (min-width: 640px) {
    .trust-bar {
        flex-wrap: nowrap;
    }
    .trust-item {
        flex: 1;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hamburger-menu { display: none; }

    .nav-list {
        display: flex !important;
        position: static;
        gap: 0.25rem;
        background: transparent;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .nav-list li { border: none; }

    .nav-list li a {
        border-radius: var(--radius-sm);
        padding: 0.5rem 1rem;
        color: rgba(255,255,255,0.85);
        font-size: 0.9rem;
    }

    .nav-list li a:hover {
        background: rgba(255,255,255,0.1);
        color: var(--white);
    }

    .hero { min-height: 70vh; }

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

    .contact-info { flex-direction: row; }
    .info-item { flex: 1; }

    .footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 2.5rem;
    }

    .cta-strip-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 3rem;
    }

    .cta-strip { text-align: left; }
}

@media (min-width: 1024px) {
    .hero { min-height: 78vh; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .header { padding: 0 2.5rem; }
}

/* Hover-capable devices */
@media (hover: hover) and (pointer: fine) {
    .gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.10);
        border-color: var(--red);
    }

    .gallery-item:hover::before {
        transform: scaleX(1);
    }

    .gallery-item:hover .gallery-icon {
        transform: scale(1.1);
    }
}
