/*!
Theme Name: Bliss IT Solutions
Theme URI: https://example.com/bliss-it-solutions-theme
Author: Bliss IT Solutions
Author URI: https://example.com
Description: A modern, Elementor-ready WordPress theme tailored for Bliss IT Solutions with a professional corporate layout and flexible customization options.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: bliss-it-solutions
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options, blog, portfolio, one-column, two-columns, right-sidebar, footer-widgets, translation-ready

Bliss IT Solutions WordPress Theme is distributed under the terms of the GNU GPL version 2.
*/

/*--------------------------------------------------------------
RESET & GLOBAL
--------------------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1b2a4a;
    background-color: #f4f6fb;
    line-height: 1.6;
}

a {
    color: #1e62ff;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #15358a;
    text-decoration: underline;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0d1b3d;
    margin-top: 0;
}

p {
    margin-top: 0;
}

/*--------------------------------------------------------------
LAYOUT
--------------------------------------------------------------*/
.site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/
.site-header {
    background: linear-gradient(135deg, #0b1c3c 0%, #1e62ff 100%);
    color: #fff;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-branding .site-title {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.site-description {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.primary-menu {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu > li > a {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: #f2f5ff;
    border-color: rgba(255, 255, 255, 0.7);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

/*--------------------------------------------------------------
HERO
--------------------------------------------------------------*/
.hero {
    position: relative;
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background: #f7f9ff;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(30, 98, 255, 0.12), transparent 60%),
        radial-gradient(circle at bottom right, rgba(11, 28, 60, 0.18), transparent 55%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
}

.hero-content p {
    font-size: 1.05rem;
    color: #33476d;
    margin-bottom: 1.75rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1e62ff, #0b1c3c);
    color: #fff;
    box-shadow: 0 10px 25px rgba(30, 98, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(11, 28, 60, 0.35);
}

.btn-outline {
    background: transparent;
    color: #1e62ff;
    border: 2px solid rgba(30, 98, 255, 0.4);
}

.btn-outline:hover {
    color: #0b1c3c;
    border-color: rgba(11, 28, 60, 0.7);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 18px 35px rgba(15, 36, 74, 0.08);
    border: 1px solid rgba(11, 28, 60, 0.06);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feature-card p {
    margin: 0;
    color: #546384;
}

/*--------------------------------------------------------------
SERVICES, SOLUTIONS, CTA
--------------------------------------------------------------*/
.section {
    padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-bg-alt {
    background: #fff;
}

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

.section-heading span {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: #1e62ff;
    margin-bottom: 0.75rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.section-heading p {
    color: #546384;
    max-width: 680px;
    margin: 0 auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid rgba(15, 36, 74, 0.08);
    box-shadow: 0 12px 24px rgba(15, 36, 74, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(11, 28, 60, 0.15);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card ul {
    margin: 1rem 0 0 1.1rem;
    padding: 0;
    color: #546384;
}

.solutions-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.solutions-cta .cta-card {
    background: linear-gradient(135deg, #0b1c3c, #1e62ff);
    color: #fff;
    border-radius: 18px;
    padding: clamp(2.5rem, 5vw, 3rem);
    box-shadow: 0 25px 45px rgba(11, 28, 60, 0.18);
    position: relative;
    overflow: hidden;
}

.solutions-cta .cta-card::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.solutions-cta ul {
    margin: 1.5rem 0 2rem 1.2rem;
    color: rgba(255, 255, 255, 0.85);
}

.solutions-cta img {
    border-radius: 16px;
    box-shadow: 0 18px 35px rgba(15, 36, 74, 0.18);
}

/*--------------------------------------------------------------
TESTIMONIALS & STATS
--------------------------------------------------------------*/
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem;
    text-align: center;
    border: 1px solid rgba(11, 28, 60, 0.08);
    box-shadow: 0 12px 24px rgba(15, 36, 74, 0.08);
}

.stat-card strong {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #1e62ff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem;
    border: 1px solid rgba(11, 28, 60, 0.08);
    box-shadow: 0 12px 24px rgba(15, 36, 74, 0.08);
}

.testimonial-card p {
    color: #3b4b6b;
}

.testimonial-card .client {
    margin-top: 1.25rem;
    font-weight: 600;
    color: #0d1b3d;
}

/*--------------------------------------------------------------
BLOG
--------------------------------------------------------------*/
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(11, 28, 60, 0.08);
    box-shadow: 0 14px 28px rgba(15, 36, 74, 0.12);
    display: flex;
    flex-direction: column;
}

.blog-card .blog-content {
    padding: 1.75rem;
}

.blog-card .blog-content h3 {
    margin-bottom: 0.75rem;
}

.blog-card .blog-content p {
    color: #546384;
}

.blog-card .blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-top: 1.25rem;
    color: #7a89a9;
}

/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/
.site-footer {
    background: #0b1c3c;
    color: rgba(255, 255, 255, 0.8);
    padding: 3.5rem 0 2rem;
}

.footer-widgets {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-widget h3 {
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 0.6rem;
}

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

/*--------------------------------------------------------------
BLOG & PAGE
--------------------------------------------------------------*/
.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    font-size: 0.9rem;
    color: #7a89a9;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 3rem 0;
}

.sidebar {
    border-left: 1px solid rgba(11, 28, 60, 0.08);
    padding-left: 2rem;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #0d1b3d;
}

/*--------------------------------------------------------------
MEDIA QUERIES
--------------------------------------------------------------*/
@media (max-width: 920px) {
    .header-inner {
        position: relative;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .primary-menu {
        flex-direction: column;
        background: rgba(8, 22, 48, 0.95);
        padding: 1.5rem;
        border-radius: 12px;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .primary-menu.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        box-shadow: 0 20px 35px rgba(11, 28, 60, 0.4);
    }

    .sidebar {
        border: none;
        padding-left: 0;
        margin-top: 3rem;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}
