/* Sapts Theme - Main Styles */
:root {
    --primary-blue: #1976D2;
    --primary-blue-light: #72A0C1;
    --success-green: #4CAF50;
    --neutral-gray-bg: #F5F5F5;
    --neutral-gray-text: #B2BEB5;
    --accent-red: #F44336;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--success-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #3d8b40;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-branding .site-title a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo Styles */
.site-branding .custom-logo {
    max-height: 60px; /* Control the display height */
    width: auto; /* Let width adjust automatically */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
}

/* For square logos specifically */
.site-branding .custom-logo[src*="logo"] {
    width: 60px; /* Fixed width for square logos */
    height: 60px; /* Fixed height for square logos */
    object-fit: contain; /* Ensures entire logo fits without cropping */
    padding: 5px; /* Adds some space around logo */
    background-color: var(--white); /* Optional: white background */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

.sapts-logo-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.main-navigation a:hover {
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--neutral-gray-bg) 0%, #f9f9f9 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal columns - safe syntax */
    gap: 60px;
    align-items: center;
}

/* Hero Text */
.hero-text {
    max-width: 550px; /* Control text width */
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.hero-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
     display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero-image-wrapper {
    position: relative;
    max-width: 320px; /* Control image size */
    width: 100%;
}

.app-showcase {
    position: relative;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.app-showcase:hover {
    transform: translateY(-5px);
}

.app-showcase img {
    width: 100%;
    height: auto;
    display: block;
}


/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    color: var(--primary-blue);
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

.app-screenshot,
.hero-image-container img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.app-screenshot:hover,
.hero-image-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Lazy loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--neutral-gray-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--success-green);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-green);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--neutral-gray-bg);
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ========== SCREENSHOT GALLERY ========== */

.screenshot-gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, var(--neutral-gray-bg) 100%);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-btn {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: none;
}

.gallery-track {
    display: flex;
    overflow: hidden;
    gap: 30px;
    scroll-behavior: smooth;
    padding: 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.gallery-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    scroll-snap-align: start;
}

.screenshot-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.screenshot-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.device-indicator {
    display: flex;
    gap: 6px;
}

.device-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.8;
}

.device-dot:nth-child(1) { opacity: 0.6; }
.device-dot:nth-child(2) { opacity: 0.8; }
.device-dot:nth-child(3) { opacity: 1; }

.screen-label {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.screenshot-image {
    padding: 20px;
    background: #f8f9fa;
    text-align: center;
}

.screenshot-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}

.screenshot-caption {
    padding: 25px;
}

.screenshot-caption h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.screenshot-caption p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Gallery Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neutral-gray-text);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary-blue-light);
    transform: scale(1.1);
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    margin-top: 30px;
    overflow: hidden;
}

.thumbnails-track {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail.active {
    border-color: var(--primary-blue);
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
}

/* Blog Styles */
.blog-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-top: 40px;
}

.blog-grid {
    display: grid;
    gap: 40px;
}

.blog-post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-post-card .post-thumbnail {
    overflow: hidden;
    max-height: 250px;
}

.blog-post-card .post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.blog-post-card .post-content {
    padding: 30px;
}

.blog-post-card .entry-title {
    margin-bottom: 15px;
}

.blog-post-card .entry-title a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.blog-post-card .entry-title a:hover {
    color: var(--primary-blue-light);
}

.blog-post-card .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--neutral-gray-text);
    margin-bottom: 20px;
}

.blog-post-card .entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-post-card .entry-summary {
    margin-bottom: 25px;
}

.blog-post-card .read-more {
    display: inline-block;
    color: var(--success-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-post-card .read-more:hover {
    color: var(--primary-blue);
}

/* Single Post */
.entry-header .post-thumbnail {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

.entry-header .post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--neutral-gray-bg);
    border-radius: 12px;
    margin: 40px 0;
}

.author-bio .author-avatar img {
    border-radius: 50%;
}

.author-bio .author-info h4 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--neutral-gray-bg);
}

.comments-title {
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    margin-bottom: 40px;
}

.comment {
    padding: 30px;
    background: var(--neutral-gray-bg);
    border-radius: 12px;
    margin-bottom: 20px;
}

.comment .comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment .comment-author img {
    border-radius: 50%;
}

.comment-meta {
    font-size: 0.9rem;
    color: var(--neutral-gray-text);
    margin-bottom: 15px;
}

.comment-respond {
    background: var(--neutral-gray-bg);
    padding: 30px;
    border-radius: 12px;
}

.comment-reply-title {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--neutral-gray-bg) 0%, #f9f9f9 100%);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-slide .quote-icon {
    font-size: 4rem;
    color: var(--primary-blue-light);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-slide .testimonial-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author .author-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author .author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.testimonial-author .position,
.testimonial-author .company {
    font-size: 0.9rem;
    color: var(--neutral-gray-text);
    margin-bottom: 5px;
}

.testimonial-author .rating {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonials-cta {
    text-align: center;
    margin-top: 40px;
}

/* Logo Styles */
.site-logo {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 8px;
}

.sapts-logo-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    vertical-align: middle;
}

/* Logo in header */
.header-inner .site-branding img {
    width: 40px;
    height: 40px;
}

/* Footer logo */
.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* Testimonials Archive */
.testimonials-archive .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card .testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
}

.testimonial-card .testimonial-rating {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-card .testimonial-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-card .testimonial-author h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.testimonial-card .position,
.testimonial-card .company {
    font-size: 0.9rem;
    color: var(--neutral-gray-text);
    margin-bottom: 5px;
}

.testimonial-card .read-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--success-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.testimonial-card .read-more:hover {
    color: var(--primary-blue);
}

/* Single Testimonial */
.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--neutral-gray-bg);
}

.testimonial-meta .testimonial-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-meta .testimonial-author-info h1 {
    margin-bottom: 10px;
}

.author-position,
.author-company {
    font-size: 1.1rem;
    color: var(--neutral-gray-text);
    margin-bottom: 5px;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.testimonial-rating .star {
    color: #FFD700;
    font-size: 1.5rem;
}

.testimonial-rating .rating-text {
    color: var(--neutral-gray-text);
    font-size: 1rem;
}

.related-testimonials {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--neutral-gray-bg);
}

.related-testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.blog-sidebar .widget {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.blog-sidebar .widget-title {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.blog-sidebar ul {
    list-style: none;
}

.blog-sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--neutral-gray-bg);
}

.blog-sidebar ul li:last-child {
    border-bottom: none;
}

.blog-sidebar ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.blog-sidebar ul li a:hover {
    color: var(--primary-blue);
}

.sapts-recent-posts {
    list-style: none;
}

.sapts-recent-posts li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--neutral-gray-bg);
}

.sapts-recent-posts li:last-child {
    border-bottom: none;
}

.sapts-recent-posts .post-thumbnail {
    flex: 0 0 60px;
}

.sapts-recent-posts .post-thumbnail img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.sapts-recent-posts .post-info h5 {
    margin-bottom: 5px;
}

.sapts-recent-posts .post-info h5 a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sapts-recent-posts .post-info h5 a:hover {
    color: var(--primary-blue-light);
}

.sapts-recent-posts .post-date {
    font-size: 0.8rem;
    color: var(--neutral-gray-text);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.page-numbers.current {
    background: var(--primary-blue);
    color: var(--white);
}

.page-numbers:hover:not(.current) {
    background: var(--neutral-gray-bg);
    color: var(--primary-blue);
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: var(--white);
}

.footer-widgets {
    padding: 80px 0 40px;
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.widget-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary-blue-light);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-blue-light);
}

/* Logo in footer */
.footer-logo .custom-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-logo .custom-logo[src*="logo"] {
    width: 80px;
    height: 80px;
}

/* Hero Image Styles */
.hero-image-container {
    position: relative;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* App Mockup Styling */
.app-mockup {
    position: relative;
}

.mockup-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.1);
}


/* Device Frame for Screenshots */
.device-frame {
    display: none; /* Hidden by default, enable if you want phone frame */
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: #333;
    border-radius: 40px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    padding: 20px;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 25px;
    background: #333;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-home-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #444;
    border-radius: 50%;
}


/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-container {
        max-width: 100%;
    }
    
      .hero-section {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1; /* Move image above text on mobile */
        margin-bottom: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-image-wrapper {
        max-width: 240px;
    }
    
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary-blue);
        position: relative;
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: var(--primary-blue);
        left: 0;
    }
    
    .hamburger::before {
        top: -8px;
    }
    
    .hamburger::after {
        bottom: -8px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .testimonial-meta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials-archive .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slide {
        padding: 30px 20px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .site-branding .custom-logo {
        max-height: 50px;
        width: auto;
    }
    
    .site-branding .custom-logo[src*="logo"] {
        width: 50px;
        height: 50px;
    }
    
    .sapts-logo-text {
        font-size: 1.5rem;
    }
    
    .screenshot-gallery {
        padding: 60px 0;
    }
    
    .gallery-slide {
        flex: 0 0 100%;
    }
    
    .gallery-track {
        gap: 20px;
    }
    
    .thumbnails-track {
        gap: 10px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .testimonials-archive .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
     .hero-image-container {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .device-frame {
        display: block;
    }
    
    .hero-image-container img {
        border-radius: 30px;
    }
    
     .hero-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .gallery-slide {
        flex: 0 0 calc(50% - 15px);
    }
    
    .gallery-nav {
        gap: 10px;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
    }
}



@media (max-width: 576px) {
    .blog-post-card .post-content {
        padding: 20px;
    }
    
    .blog-post-card .entry-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment {
        padding: 20px;
    }
    
    .comment-respond {
        padding: 20px;
    }
}

/* Animation for gallery */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-slide {
    animation: slideIn 0.5s ease forwards;
}

.gallery-slide:nth-child(2) { animation-delay: 0.1s; }
.gallery-slide:nth-child(3) { animation-delay: 0.2s; }
.gallery-slide:nth-child(4) { animation-delay: 0.3s; }