/*
Theme Name:spotless
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A simple, lightweight WordPress classic theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: spotless
*/

:root {
    --primary: #2563eb;
    --text: #222;
    --muted: #666;
    --background: #fff;
    --surface: #f7f7f7;
    --border: #e5e5e5;
    --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

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

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover { text-decoration: underline; }

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-logo {
    max-height: 55px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.site-title a {
    color: var(--text);
    text-decoration: none;
}

.site-description {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-navigation a {
    color: var(--text);
    font-weight: 600;
}

.main-navigation .current-menu-item > a,
.main-navigation a:hover {
    color: var(--primary);
}

.site-main {
    padding: 55px 0;
    min-height: 60vh;
}

.content-area {
    max-width: 850px;
    margin: 0 auto;
}

.page-title,
.entry-title {
    line-height: 1.25;
}

.entry-title a {
    color: var(--text);
}

.entry-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.entry-thumbnail {
    margin-bottom: 25px;
}

.entry-thumbnail img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.post-item {
    padding-bottom: 35px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border);
}

.post-item:last-child {
    border-bottom: 0;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}

.pagination {
    margin-top: 35px;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: 5px;
}

.pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    line-height: 1.35;
    margin-top: 1.5em;
}

.entry-content blockquote {
    margin: 25px 0;
    padding: 10px 20px;
    border-left: 4px solid var(--primary);
    background: var(--surface);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: 10px;
    border: 1px solid var(--border);
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.site-footer {
    margin-top: 40px;
    padding: 35px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.widget-title {
    margin-top: 0;
}

.site-info {
    text-align: center;
    color: var(--muted);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
}

input,
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font: inherit;
}

button,
input[type="submit"] {
    cursor: pointer;
    padding: 10px 18px;
    border: 0;
    border-radius: 5px;
    background: var(--primary);
    color: #fff;
}

.alignwide {
    width: min(100%, 1200px);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
}

.wp-caption { max-width: 100%; }

.gallery { margin-bottom: 1.5em; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .header-inner {
        min-height: 65px;
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        z-index: 99;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        display: block;
        padding: 10px 15px;
    }

    .main-navigation li {
        border-bottom: 1px solid var(--border);
    }

    .main-navigation li:last-child {
        border-bottom: 0;
    }

    .main-navigation a {
        display: block;
        padding: 10px 0;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .site-main {
        padding: 35px 0;
    }
}
.floathead {
    position: absolute;
    left: 0;
    right: 0;
    width: 92%;
    background: #fff;
    padding: 0px 20px !important;
}
.serimg img {
    background: #EAF7FC;
    padding: 12px;
    border-radius: 50%;
    position: absolute;
    z-index: 999;
    top: 22px;
    left: 16px;
}
.hover-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hover-section img {
    width: 100%;
    display: block;
}

.hover-section::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background: #0b2a5ba1;
    transition: bottom 0.5s ease;
    z-index: 1;
	opacity:0;
	
}

/* Overlay moves from bottom to top */
.hover-section:hover::before {
    opacity: 1;
}
.hover-section:hover .content  {
    opacity: 1;
}
.hover-section:hover .heading {
    z-index:999;
}
.hover-section .content {
    position: absolute;
    left: 0;
    bottom: 28%;
    width: 100%;
    padding: 30px;
    color: #fff;
    z-index: 2;
	opacity:0;
}