/* styles.css — safesecure theme (mobile-first) */
/* CSS variables make theming easy */
/* ==================================================
ROOT VARIABLES
   ================================================== */
:root {
    --bg: #ffffff;
    --text: #072038;
    --muted: #6b7280;
    --primary: #0f4c81;
    /* deep blue */
    --accent: #0b7a6f;
    /* teal */
    --card: #f8fafc;
    --radius: 12px;
    --container: 1100px;
    --gap: 1rem;
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    --max-width: 1200px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset & base */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1rem
}

/* Header / nav */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eef2f6;
    position: sticky;
    top: 0;
    z-index: 60
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem
}

.brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none
}

.brand img {
    height: 40px
}

.brand .name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary)
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center
}

.nav-links a {
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: var(--muted);
    border-radius: 8px
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    font-weight: 600
}

.hamburger {
    display: none;
    background: none;
    border: 0;
    font-size: 1.25rem
}

/* Hero */
.hero {
    display: grid;
    gap: 1rem;
    align-items: center;
    padding: 2.5rem 1rem
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--text)
}

.hero-sub {
    color: var(--muted);
    margin: 0 0 1rem
}

.cta-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer
}

.btn-primary {
    background: var(--primary);
    color: #fff
}

.btn-ghost {
    background: transparent;
    border: 1px solid #e6f1f8;
    color: var(--primary)
}

/* Cards & sections */
.grid-3 {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr
}

.card {
    background: var(--card);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow)
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem
}

/* Projects grid */
.projects-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr
}

/* Team */
.team-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr
}

/* Footer */
.site-footer {
    border-top: 1px solid #eef2f6;
    padding: 1.25rem 1rem;
    color: var(--muted);
    text-align: center
}

/* Utilities */
.row {
    display: flex;
    gap: 1rem;
    align-items: center
}

.center {
    text-align: center
}

.p-small {
    color: var(--muted);
    font-size: 0.95rem
}

/* Responsive breakpoints */
@media(min-width:720px) {
    .hero-grid {
        grid-template-columns: 1fr 480px
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr)
    }

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

    .team-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .hamburger {
        display: none
    }
}

@media(max-width:720px) {
    .nav-links {
        display: none
    }

    .hamburger {
        display: block
    }
}

@media(min-width:1100px) {
    .container {
        padding: 2rem
    }

    .hero-title {
        font-size: 2.75rem
    }

    .hero-sub {
        font-size: 1.05rem
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

/* Small accessibility focus */
a:focus,
button:focus {
    outline: 3px solid rgba(15, 76, 129, 0.15);
    outline-offset: 2px;
    border-radius: 8px;
}

/* Team grid layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
    align-items: start;
}

/* three columns on medium+ screens */
@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card: center content vertically and horizontally */
.team-grid .card {
    display: flex;
    /* makes it easy to center children */
    flex-direction: column;
    /* stack avatar, name, role vertically */
    align-items: center;
    /* horizontal center */
    justify-content: flex-start;
    /* keep content top-aligned inside card */
    text-align: center;
    /* center text lines */
    padding: 1.25rem;
    background: var(--card-bg, #fbfdff);
    /* replace with your variable or color */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(12, 17, 25, 0.04);
}

/* Avatar sizing (use instead of inline styles) */
.team-grid .card .avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border-radius: 9999px;
    /* circular if image is square */
}

/* Name + role spacing + typography */
.team-grid .card strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.125rem;
    line-height: 1.1;
    color: #0b2233;
}

.team-grid .card .p-small {
    margin-top: 0.25rem;
    color: #6b7280;
    /* gray */
    font-size: 0.95rem;
}

/* poject.hmtl css */
.projects-section {
    background: #f7e6d1;
    padding: 3rem 1rem;
}

.projects-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #334;
}

.projects-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.project-category {
    padding: 0 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.project-category:last-child {
    border-right: none;
}

.category-title {
    color: #e65c00;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.project-item {
    background: white;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: default;
}

.project-item span {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .projects-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-category {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        padding-bottom: 1.5rem;
    }

    .project-category:last-child {
        border-bottom: none;
    }
}

/* project.html css */
/* ---------- Global Typography ---------- */
body {
    font-family: "Inter", "Poppins", sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.7;
    background: #fafafa;
}

h1.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

h2 {
    font-size: 1.4rem;
    color: #e65c00;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

/* ---------- Paragraph Styling ---------- */
.p-small {
    font-size: 1rem;
    color: #444;
    max-width: 900px;
    margin: 0 auto 1rem auto;
}

/* ---------- Container Alignment ---------- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ---------- About Section Background (Your Request Added) ---------- */
/* ---------- About Page Section ONLY ---------- */
/* Background for all pages except home */
body:not(.home) main {
    background: #f7e6d1;
    padding: 3rem 1rem;
}

/* For nice centered content */
body:not(.home) main section {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
}



/* ---------- List Styling ---------- */
ul.p-small {
    padding-left: 1.2rem;
}

ul.p-small li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

ul.p-small li::marker {
    color: #e65c00;
    font-size: 1.2rem;
}

/* ---------- Header Navigation ---------- */
.site-header {
    background: #fff;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    margin-left: 1.2rem;
    text-decoration: none;
    color: #444
}

/* CSS for our founder image adjustment and styling */
/* Founders Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Card Alignment */
.card.center {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Hover */
.card.center:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

/* Founder Image */
.card.center img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1rem;
    border: 3px solid #eaeaea;
}

/* Founder Name */
.card.center strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

/* Founder Role */
.p-small {
    font-size: 0.85rem;
    color: #777;
    text-transform: none;
    letter-spacing: 1px;
}

/* Partners Section */
.partners-section {
    padding: 3rem 1rem;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.partner-card img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.partner-card img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: none;
    /* IMPORTANT */
    transition: transform 0.25s ease;
}

.partners-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* =========================
   OUR SERVICES – HOME PAGE
   ========================= */

.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
}

@media (min-width: 720px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 260px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text overlay */
.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.25));
    color: #fff;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-overlay h3 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.service-overlay p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.95;
}

/* Optional hover effect */
.service-card:hover img {
    transform: scale(1.05);
}

.service-card img {
    transition: transform 0.4s ease;
}



/* mission, vision , values  */


.mv-section {
    background: #e6f2f8;
    padding: 4rem 1rem;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mv-text h2 {
    color: #0f4c81;
    margin-bottom: 0.5rem;
}

.mv-text p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.mv-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}