/* ===== Zoomtel7 Solutions Limited - Professional Styles ===== */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #eab308;          /* Yellow matching logo */
    --accent-hover: #ca8a04;
    --accent-dark: #a16207;
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

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

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}
.logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Header logo – soft white background for better contrast on white header */
.header .logo-img,
header .logo-img {
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 10px;
    height: 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.logo-img-footer {
    height: 42px;
    filter: brightness(0) invert(1); /* make logo white-ish on dark footer if needed - or remove filter */
}

/* Better for colored logo on dark footer - keep original colors */
.footer .logo-img-footer {
    filter: none;
    height: 46px;
    background: white;
    padding: 6px 10px;
    border-radius: 8px;
}


.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

.nav a:hover,
.nav a.active {
    color: var(--accent-dark);
}

.header-cta {
    display: none;
}

@media (min-width: 900px) {
    .header-cta {
        display: inline-flex;
    }
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: #0f172a;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #0f172a;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.btn-white:hover {
    background: #f1f5f9;
}

.btn-full {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #fef9c3;
    color: #a16207;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== Stats ===== */
.stats {
    padding: 48px 0;
    background: var(--primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section.alt {
    background: var(--bg);
}

.section.dark {
    background: var(--primary);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 750;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.section-header.light h2 {
    color: white;
}

.section-header.light p {
    color: #94a3b8;
}

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

.mt-40 {
    margin-top: 40px;
}

/* ===== Cards ===== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.25s;
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #bfdbfe;
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.card-link:hover {
    text-decoration: underline;
}

/* ===== Why Us ===== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.why-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.why-item p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 72px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    text-align: center;
}

.cta-banner h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-banner p {
    margin-bottom: 28px;
    opacity: 0.9;
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 70px 0 50px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Solutions Blocks ===== */
.solution-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .solution-block {
        grid-template-columns: 1.2fr 0.8fr;
    }
    .solution-block.reverse {
        grid-template-columns: 0.8fr 1.2fr;
    }
    .solution-block.reverse .solution-content {
        order: 2;
    }
    .solution-block.reverse .solution-visual {
        order: 1;
    }
}

.solution-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.solution-content h2 {
    font-size: 1.8rem;
    font-weight: 750;
    color: var(--primary);
    margin-bottom: 16px;
}

.solution-content p {
    margin-bottom: 20px;
    color: var(--text);
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--text);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.solution-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #0f172a, #1e293b 60%, #a16207);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: var(--shadow-lg);
}

/* ===== Expertise ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.expertise-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.expertise-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.industry-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    color: white;
}

/* ===== About ===== */
.about-intro {
    max-width: 800px;
}

.about-text h2 {
    font-size: 1.8rem;
    font-weight: 750;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.mv-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.mv-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.values-list {
    display: grid;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.value-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 750;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-info > p {
    margin-bottom: 32px;
    color: var(--text-light);
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--accent);
    font-weight: 500;
}

.contact-form-wrapper {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: #94a3b8;
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h5,
.footer-contact h5 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #93c5fd;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== Mobile Nav ===== */
@media (max-width: 899px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav.open {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }
}

/* ===== Form Alerts ===== */
.form-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-alert.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ===== Hero with background image ===== */
.hero-with-bg {
    background-image: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.72)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-with-bg .hero-badge {
    background: rgba(234, 179, 8, 0.25);
    color: #fde047;
}

.hero-with-bg h1 {
    color: white;
}

.hero-with-bg .hero-sub {
    color: #cbd5e1;
}

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

.btn-outline-light:hover {
    background: white;
    color: #0f172a;
    border-color: white;
}

/* ===== Solution images ===== */
.solution-img {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.solution-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Richer section backgrounds */
.section.alt {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.page-hero h1 {
    color: white;
}

.page-hero p {
    color: #94a3b8;
}
