/*
Theme Name: Samari IT Solution
Theme URI: https://samariit.com
Author: Samari IT Solution Pvt. Ltd.
Description: Corporate Steel-Blue enterprise theme for IT & Security Solutions
Version: 2.0
Text Domain: samari-it
*/

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

/* ====================== COLOR PALETTE ======================
   Standard Blue  : #2879b9  (C:79 M:39 Y:13 K:0)
   Dark Navy      : #1b2d40  (C:100 M:80 Y:50 K:15)
   Medium Blue    : #2d5f8a  (C:80 M:50 Y:20 K:0)
   Bright Blue    : #3b8fd4  (C:77 M:30 Y:0 K:0)
   Sky Blue       : #52aad6  (C:68 M:15 Y:0 K:0)
   Light Blue     : #83c5e5  (C:48 M:0 Y:0 K:0)
   Near Black     : #262626  (C:0 M:0 Y:0 K:85)
   Red Accent     : #e63946
   ========================================================== */

:root {
    --blue-primary: #2879b9;
    --blue-dark: #1b2d40;
    --blue-medium: #2d5f8a;
    --blue-bright: #3b8fd4;
    --blue-sky: #52aad6;
    --blue-light: #83c5e5;
    --near-black: #262626;
    --red-accent: #e63946;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-900: #0f172a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--near-black);
    background: var(--slate-50);
    overflow-x: hidden;
}


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

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--near-black);
}

.logo-sub {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--blue-primary);
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.25s;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Red alert badge */
.header-badge {
    background: var(--red-accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: none;
}

.cta-button {
    background: var(--blue-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 121, 185, 0.3);
}

.cta-button:hover {
    background: var(--blue-medium);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 121, 185, 0.4);
}

.cta-button.red {
    background: var(--red-accent);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.cta-button.red:hover {
    background: #c1121f;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--blue-dark);
    cursor: pointer;
}

/* ====================== HERO ====================== */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--blue-dark);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(27, 45, 64, 0.95) 0%, rgba(27, 45, 64, 0.55) 60%, rgba(27, 45, 64, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2.5rem;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(83, 170, 214, 0.15);
    border: 1px solid rgba(83, 170, 214, 0.35);
    color: var(--blue-light);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.8rem;
}

.ping-dot {
    position: relative;
    width: 8px;
    height: 8px;
}

.ping-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--blue-sky);
    animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--blue-sky);
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.6rem;
    letter-spacing: -0.02em;
    max-width: 820px;
}

.hero-content h1 span {
    color: var(--blue-sky);
}

.hero-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-cta-wrap {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: var(--blue-primary);
    color: white;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(40, 121, 185, 0.4);
    transition: all 0.35s ease;
}

.hero-btn-primary:hover {
    background: var(--blue-bright);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(59, 143, 212, 0.5);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.35s ease;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ====================== STATS STRIP ====================== */
.stats-strip {
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 2.2rem 1.5rem;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    transition: background 0.3s;
}

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

.stat-item:hover {
    background: var(--slate-50);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--slate-500);
}

/* ====================== ABOUT ====================== */
.about-section {
    padding: 7rem 0;
    background: white;
}

.about-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--blue-primary);
    margin-bottom: 1rem;
}

.about-left h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--near-black);
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.about-left p {
    color: var(--slate-600);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.about-stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--blue-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.about-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--slate-500);
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    display: block;
}

.about-image-bg {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 240px;
    height: 240px;
    background: var(--blue-light);
    border-radius: 50%;
    opacity: 0.25;
    z-index: 0;
}

/* Red strip accent */
.red-strip {
    position: absolute;
    top: 2rem;
    left: -1rem;
    width: 6px;
    height: 80px;
    background: var(--red-accent);
    border-radius: 4px;
    z-index: 2;
}

/* ====================== SERVICES ====================== */
.services-section {
    padding: 7rem 0;
    background: var(--slate-50);
}

.section-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-center h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--near-black);
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.section-center p {
    color: var(--slate-500);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}

.services-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    cursor: default;
}

.service-card:hover {
    box-shadow: 0 20px 50px rgba(40, 121, 185, 0.12);
    transform: translateY(-8px);
    border-color: var(--blue-light);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    background: #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    transition: background 0.35s;
}

.service-card:hover .service-icon-wrap {
    background: var(--blue-primary);
}

.service-icon-wrap svg {
    width: 26px;
    height: 26px;
    color: var(--blue-primary);
    stroke: var(--blue-primary);
    transition: stroke 0.35s;
}

.service-card:hover .service-icon-wrap svg {
    stroke: white;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--near-black);
}

.service-card p {
    color: var(--slate-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Red accent service card */
.service-card.accent-red .service-icon-wrap {
    background: #fee2e2;
}

.service-card.accent-red .service-icon-wrap svg {
    stroke: var(--red-accent);
}

.service-card.accent-red:hover .service-icon-wrap {
    background: var(--red-accent);
}

.service-card.accent-red:hover .service-icon-wrap svg {
    stroke: white;
}

/* ====================== SECTORS ====================== */
.sectors-section {
    padding: 6rem 0;
    background: white;
}

.sectors-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.sector-card {
    padding: 2rem 1.5rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.35s ease;
    cursor: default;
}

.sector-card:hover {
    border-color: var(--blue-primary);
    background: var(--slate-50);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(40, 121, 185, 0.1);
}

.sector-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: var(--blue-primary);
}

.sector-card p {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--near-black);
}

/* ====================== WHY CHOOSE US ====================== */
.why-section {
    padding: 7rem 0;
    background: var(--blue-dark);
    color: white;
}

.why-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.why-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4.5rem;
}

.why-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.why-header h2 span {
    color: var(--blue-sky);
}

.why-header p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    transition: all 0.35s;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--blue-sky);
    transform: translateY(-6px);
}

.why-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(83, 170, 214, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.why-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue-sky);
}

.why-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.why-card p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ====================== CONTACT ====================== */
.contact-section {
    padding: 7rem 0;
    background: var(--slate-900);
    color: white;
}

.contact-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-left h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-left h2 span {
    color: var(--blue-sky);
}

.contact-left p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: var(--blue-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.contact-info-text h5 {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contact-info-text p {
    color: #94a3b8;
    font-size: 0.88rem;
    margin-bottom: 0;
}

.contact-info-text a {
    color: var(--blue-light);
    text-decoration: none;
}

.contact-info-text a:hover {
    color: white;
}

/* Emergency badge */
.emergency-banner {
    margin-top: 2rem;
    padding: 1rem 1.4rem;
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #fca5a5;
}

.emergency-banner strong {
    color: var(--red-accent);
}

/* Contact Form */
.contact-form-wrap {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    color: var(--near-black);
}

.contact-form-wrap h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: var(--near-black);
}

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--near-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--slate-100);
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--near-black);
    transition: all 0.25s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(40, 121, 185, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--blue-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(40, 121, 185, 0.35);
}

.form-submit:hover {
    background: var(--blue-medium);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(40, 121, 185, 0.45);
}

/* ====================== FOOTER ====================== */
.main-footer {
    background: #050d14;
    color: #64748b;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
}

.footer-logo-sub {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--blue-sky);
    margin-top: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.25s;
}

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

.footer-copy {
    font-size: 0.82rem;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

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

    .why-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1.5rem 2.5rem;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .header-socials,
    .cta-button {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .about-left h2,
    .section-center h2,
    .why-header h2,
    .contact-left h2 {
        font-size: 2rem;
    }

    .about-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-bg {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem 1.2rem;
    }

    .hero-content {
        padding: 5rem 1.2rem;
    }

    .about-inner,
    .services-grid,
    .contact-inner {
        padding: 0 1.2rem;
    }

    .sectors-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-inner {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-cta-wrap {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        text-align: center;
    }
}

/* ====================== BLOG PAGE STYLES ====================== */
.blog-hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, #1b2d40 0%, #2879b9 100%);
    position: relative;
}

.blog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: #f1f5f9;
}

.blog-tab.active,
.blog-tab:hover {
    background: #2879b9;
    color: #fff;
}

.blog-search input {
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    width: 320px;
    font-size: 1rem;
}

.blog-search button {
    background: #2879b9;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: all .3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(40, 121, 185, .15);
}

.blog-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-category-badge {
    background: #2879b9;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 12px;
}

.blog-excerpt {
    color: #64748b;
    line-height: 1.6;
}

.blog-meta {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin: 60px 0 40px;
}

.blog-pagination a {
    margin: 0 6px;
    padding: 12px 22px;
    border-radius: 50px;
    background: #f1f5f9;
}

/* Single post */
.single-blog {
    padding: 80px 20px;
    background: #f8fafc;
}

.blog-single-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .07);
}
.single-product .blog-single-container {
    max-width: none;
}
.featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    overflow:hidden;
}
.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    overflow:hidden;
}
.wp-post-image {
    width: 100% !important;
    height: auto;
    object-fit: cover;
    overflow:hidden;
}
@media (max-width: 768px) {
    .blog-single-container {
        padding: 30px;
    }

    .featured-image {
        margin-left: -30px;
        margin-right: -30px;
    }
}
/* ====================== BLOG PAGE STYLES ====================== */
.blog-hero {
    background: linear-gradient(135deg, #1b2d40 0%, #2879b9 100%);
    position: relative;
}

.blog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: #f1f5f9;
    transition: all 0.3s;
}

.blog-tab.active,
.blog-tab:hover {
    background: #2879b9;
    color: #fff;
}

.blog-search input {
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    width: 340px;
    font-size: 1rem;
}

.blog-search button {
    background: #2879b9;
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin-left: -52px;
    cursor: pointer;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: all .3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(40, 121, 185, .15);
}

.blog-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-category-badge {
    background: #2879b9;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 12px;
}

.blog-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-meta {
    font-size: 0.9rem;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin: 60px 0 40px;
}

.blog-pagination a {
    margin: 0 6px;
    padding: 12px 22px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
}

.blog-pagination .current {
    background: #2879b9;
    color: #fff;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-search {
        width: 100%;
    }

    .blog-search input {
        width: 100%;
    }
}

/* ====================== HEADER SOCIALS ====================== */
.header-socials {
    display: flex;
    /* ensures horizontal layout */
    gap: 0.75rem;
    /* spacing between icons */
}

.social-icon {
    display: flex;
    /* centers the icon */
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
    color: white;
    /* default icon color */
    font-size: 20px;
    /* icon size */
}

/* Brand colors default */
.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.instagram {
    background: #E1306C;
}

.social-icon.tiktok {
    background: #000000;
}

/* Hover: circle becomes blue, icon shows brand color */
.social-icon.whatsapp:hover {
    background: var(--blue-primary);
    color: #25D366;
}

.social-icon.facebook:hover {
    background: var(--blue-primary);
    color: #1877F2;
}

.social-icon.instagram:hover {
    background: var(--blue-primary);
    color: #E1306C;
}

.social-icon.tiktok:hover {
    background: var(--blue-primary);
    color: #000000;
}




