/*
Theme Name: SEO Web Design Hub
Theme URI: https://www.seowebdesignhub.com
Author: SEO Web Design Hub
Author URI: https://www.seowebdesignhub.com
Description: A professional SEO and Digital Marketing WordPress theme for seowebdesignhub.com. Features responsive design, hero slider, services, portfolio, blog, testimonials, and contact forms.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seowebdesignhub
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, blog
*/

/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6b35;
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a2e;
}

h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

p {
    margin-bottom: 15px;
    color: #555;
}

/* ========================================
   Utility Classes
   ======================================== */
.wrapper,
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.bg-blue { background-color: #0a1628; }
.bg-orange { background-color: #ff6b35; }
.bg-gray { background-color: #f8f9fa; }

.section-padding { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.title-border {
    position: relative;
    padding-bottom: 20px;
    text-align: center;
}

.title-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff6b35;
}

.title-border h3 {
    color: #ff6b35;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.title-border h2 {
    color: #0a1628;
    font-size: 36px;
    margin-bottom: 15px;
}

.title-border h2 strong {
    color: #ff6b35;
}

.title-border p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* ========================================
   Buttons
   ======================================== */
.btn-more,
.btn-slider,
.btn-primary {
    display: inline-block;
    background-color: #ff6b35;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-more:hover,
.btn-slider:hover,
.btn-primary:hover {
    background-color: #e55a2b;
    color: #fff;
}

.btn-submit {
    width: 100%;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #e55a2b;
}

.btn-cta {
    background-color: #ff6b35;
    color: #fff !important;
    padding: 12px 25px !important;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-cta:hover {
    background-color: #e55a2b;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background-color: #0a1628;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar a:hover {
    color: #ff6b35;
}

/* ========================================
   Header
   ======================================== */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    min-height: 60px;
}
.logo img {
    max-height: 60px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.logo a {
    display: inline-flex;
    line-height: 0;
}

/* ========================================
   Navigation
   ======================================== */
.main-nav ul {
    display: flex;
    gap: 5px;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 10px 15px;
    font-weight: 500;
    color: #1a1a2e;
    font-size: 15px;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
    color: #ff6b35;
}

.main-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-top: 3px solid #ff6b35;
    z-index: 1000;
}

.main-nav ul li:hover > ul {
    display: block;
}

.main-nav ul li ul li a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

/* Mega-menu panel (add CSS class "mega-menu" to a menu item in WP Admin) */
.main-nav ul li.mega-menu > ul {
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    padding: 20px 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
    background: #fff;
    border-top: 3px solid #ff6b35;
    box-shadow: 0 8px 30px rgba(10, 22, 40, 0.15);
}
.main-nav ul li.mega-menu > ul li {
    border: none;
}
.main-nav ul li.mega-menu > ul li a {
    border-bottom: 1px solid #f0f0f0;
    padding: 9px 10px;
    font-size: 14px;
    color: #3a4556;
}
.main-nav ul li.mega-menu > ul li a:hover {
    color: #ff6b35;
    padding-left: 14px;
}
.main-nav ul li.mega-menu > ul > li > a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #0a1628;
    font-size: 15px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #ff6b35;
    margin-bottom: 6px;
}

/* Header Contact */
.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0a1628;
}

.header-quote {
    background: #ff6b35;
    color: #fff;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.header-quote:hover {
    background: #e55a2b;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a1a2e;
}

/* Fixed Call & WhatsApp Buttons */
.fixed-call-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    background: #ff6b35;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(255,107,53,0.4);
}

.fixed-whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(37,211,102,0.4);
}

/* ========================================
   Hero Slider
   ======================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slide {
    position: relative;
    display: none;
}

.slide.active {
    display: block;
}

.slide .slide-media {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(26,26,46,0.6) 100%);
    z-index: 5;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    max-width: 600px;
    color: #fff;
    z-index: 10;
}

.slide-content h3 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.slide-content h3 strong {
    color: #ff6b35;
}

.slide-content p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,107,53,0.8);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 20;
    font-size: 20px;
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.slider-dot.active {
    background: #ff6b35;
}

/* ========================================
   Quote Form Section
   ======================================== */
.quote-section {
    padding: 30px;
    margin-top: -40px;
    position: relative;
    z-index: 100;
}

.quote-wrapper {
    background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 100%);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.quote-form h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.quote-form .form-row {
    display: flex;
    gap: 15px;
}

.quote-form .form-row .form-group {
    flex: 1;
}

.quote-call-section {
    margin-top: 25px;
    text-align: center;
}

.quote-call-section h4 {
    color: #fff;
    margin-bottom: 15px;
}

.btn-call-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff6b35;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-call-now:hover {
    background: #e55a2b;
    color: #fff;
}

.quote-call-section p {
    color: #aaa;
    font-size: 14px;
    margin-top: 15px;
}

/* ========================================
   Welcome / About Section
   ======================================== */
.welcome-section {
    padding: 80px 0;
}

.welcome-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.welcome-image {
    flex: 1;
}

.welcome-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.welcome-text {
    flex: 1;
}

.welcome-text h3 {
    color: #0a1628;
    margin-bottom: 20px;
    font-size: 28px;
}

.welcome-text h3 span {
    color: #ff6b35;
}

.welcome-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    color: #fff;
}

.service-box h4 {
    color: #0a1628;
    margin-bottom: 15px;
    font-size: 22px;
}

.service-box p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.service-box a {
    color: #ff6b35;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-choose-section {
    padding: 80px 0;
    background-color: #fff;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-choose-box {
    text-align: center;
    padding: 30px 20px;
}

.why-choose-icon {
    width: 100px;
    height: 100px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #ff6b35;
}

.why-choose-box h4 {
    color: #0a1628;
    margin-bottom: 15px;
}

.why-choose-box p {
    color: #666;
    font-size: 14px;
}

/* ========================================
   Statistics Section
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 100%);
    padding: 60px 0;
    color: #fff;
}

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

.stat-item h3 {
    color: #ff6b35;
    font-size: 48px;
    margin-bottom: 10px;
}

.stat-item p {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-item {
    display: none;
    padding: 30px;
}

.testimonial-item.active {
    display: block;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    color: #ff6b35;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

.testimonial-author {
    font-weight: 600;
    color: #0a1628;
}

.testimonial-designation {
    color: #666;
    font-size: 14px;
}

/* ========================================
   Portfolio
   ======================================== */
.portfolio-section {
    padding: 80px 0;
    background-color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10,22,40,0.9);
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    color: #fff;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: #ff6b35;
    margin-bottom: 0;
    font-size: 14px;
}

/* ========================================
   Clients Section
   ======================================== */
.clients-section {
    padding: 60px 0;
    background-color: #fff;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.client-logo {
    max-height: 60px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 36px;
}

.cta-section p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-white {
    display: inline-block;
    background-color: #fff;
    color: #ff6b35;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    background-color: #0a1628;
    color: #fff;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: #0a1628;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff6b35;
}

.footer-about p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

.footer-about .footer-logo {
    max-height: 50px;
    max-width: 220px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: #ff6b35;
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #ff6b35;
}

.footer-bottom {
    background-color: #060d18;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
    margin: 0;
}

.footer-bottom a {
    color: #ff6b35;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 42px;
}

.breadcrumb {
    margin-top: 15px;
}

.breadcrumb a {
    color: #aaa;
}

.breadcrumb span {
    color: #ff6b35;
}

/* ========================================
   Blog
   ======================================== */
.blog-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #ff6b35;
}

.blog-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.blog-card h3 a:hover {
    color: #ff6b35;
}

.blog-card p {
    color: #666;
    font-size: 15px;
}

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

/* Single Post Content */
.single-content {
    padding: 60px 0;
}

.entry-content {
    font-size: 1.06rem;
    line-height: 1.8;
    color: #444;
}

.entry-content img {
    border-radius: 10px;
    margin: 20px 0;
}

.wp-block-image img {
    border-radius: 10px;
}

/* ========================================
   Contact / Forms
   ======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: #0a1628;
    margin-bottom: 20px;
}

.contact-info-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-detail i {
    color: #ff6b35;
    font-size: 22px;
    width: 25px;
    margin-top: 3px;
}

.contact-info-detail h4 {
    color: #0a1628;
    margin-bottom: 5px;
}

.contact-info-detail p {
    color: #666;
    margin: 0;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: #fff;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.contact-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

/* Form CSS for CF7 */
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: #fff;
}

.wpcf7-form input[type="submit"] {
    width: auto;
    background: #ff6b35;
    border: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 14px 35px;
}

.wpcf7-form input[type="submit"]:hover {
    background: #e55a2b;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    .services-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .welcome-content,
    .contact-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }

    .top-bar .wrapper {
        flex-direction: column;
        gap: 8px;
    }
    .top-bar-right {
        display: none;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 15px;
    }
    .main-nav ul li ul {
        position: static;
        box-shadow: none;
        border-top: none;
        padding-left: 15px;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header-contact {
        display: none;
    }

    .services-grid,
    .portfolio-grid,
    .blog-grid,
    .why-choose-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slide .slide-media {
        height: 420px;
    }

    .quote-wrapper {
        padding: 25px;
    }
    .quote-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .welcome-content {
        flex-direction: column;
    }
}

/* ========================================
   ezrankings-inspired page types & components
   ======================================== */

/* Page Hero (shared banner) */
.page-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.18) 0%, transparent 40%);
}
.page-hero .wrapper {
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #fff;
}
.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 15px;
}
.breadcrumb {
    margin-top: 12px;
    font-size: 14px;
    color: #ff6b35;
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #ff6b35;
}
.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 6px;
}

/* Trust strip */
.trust-strip {
    background: #0a1628;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-strip .wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
}
.trust-item {
    background: #0a1628;
    text-align: center;
    padding: 28px 10px;
}
.trust-count {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ff6b35;
}
.trust-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Check list */
.check-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #3a4556;
}
.check-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #ff6b35;
    font-size: 16px;
}

/* Service detail */
.service-detail-section {
    padding: 70px 0;
}
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}
.service-detail-image,
.case-detail-image,
.industry-detail-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}
.service-detail-image img,
.case-detail-image img,
.industry-detail-image img {
    width: 100%;
    display: block;
}
.service-detail-content h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 34px;
    color: #0a1628;
    margin-bottom: 15px;
}
.service-detail-content p {
    margin-bottom: 16px;
    color: #4a5568;
    line-height: 1.8;
}
.service-detail-content h2, .service-detail-content h3, .service-detail-content h4,
.case-detail-content h2, .case-detail-content h3, .case-detail-content h4,
.industry-detail-content h2, .industry-detail-content h3, .industry-detail-content h4,
.package-detail-content h2, .package-detail-content h3, .package-detail-content h4 {
    margin-top: 20px;
    color: #0a1628;
}
.service-detail-content ul,
.case-detail-content ul,
.industry-detail-content ul,
.package-detail-content ul {
    margin: 12px 0 18px;
    padding-left: 20px;
    color: #4a5568;
}
.service-detail-content li,
.case-detail-content li,
.industry-detail-content li,
.package-detail-content li {
    margin-bottom: 8px;
}

/* Sidebars */
.service-detail-sidebar,
.case-detail-sidebar,
.industry-detail-sidebar,
.package-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
}
.sidebar-card h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    color: #0a1628;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.sidebar-card p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.sidebar-services {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-services li {
    border-bottom: 1px solid #e9ecef;
}
.sidebar-services li:last-child {
    border-bottom: none;
}
.sidebar-services a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: #3a4556;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.sidebar-services a i {
    margin-right: 10px;
    color: #ff6b35;
    font-size: 12px;
}
.sidebar-services a:hover {
    color: #ff6b35;
}
.sidebar-phone {
    display: block;
    text-align: center;
    background: #0a1628;
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 12px;
    font-size: 14px;
}
.sidebar-phone i {
    margin-right: 6px;
    color: #ff6b35;
}
.cta-card {
    background: linear-gradient(135deg, #0a1628, #1a1a2e);
    color: #fff;
    border: none;
}
.cta-card h4 {
    color: #fff;
}
.cta-card p {
    color: rgba(255, 255, 255, 0.8);
}
.cta-card .btn-submit {
    width: 100%;
    text-align: center;
}
.results-card .case-results-big {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    color: #ff6b35;
}
.results-card .case-results-big i {
    margin-right: 8px;
}

/* Case studies grid + cards */
.case-studies-grid,
.industries-grid,
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.case-study-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10, 22, 40, 0.12);
}
.case-study-card img,
.industry-card img a {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.case-study-body,
.industry-body,
.package-body {
    padding: 22px;
}
.case-study-body h4,
.industry-body h4,
.package-body h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
}
.case-study-body h4 a,
.industry-body h4 a,
.package-body h4 a {
    color: #0a1628;
    text-decoration: none;
}
.case-study-body h4 a:hover,
.industry-body h4 a:hover,
.package-body h4 a:hover {
    color: #ff6b35;
}
.case-study-body p,
.industry-body p,
.package-body p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.7;
}
.case-results {
    display: inline-block;
    margin: 12px 0;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: #e55a2b;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}
.read-more {
    display: inline-flex;
    align-items: center;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.read-more i {
    margin-left: 6px;
    transition: transform 0.3s;
}
.read-more:hover i {
    transform: translateX(4px);
}

/* Industry cards */
.industry-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    text-align: center;
}
.industry-card:hover {
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.1);
}
.industry-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.industry-body {
    text-align: center;
}

/* Package cards */
.package-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
    transition: transform 0.3s;
}
.package-card:hover {
    transform: translateY(-6px);
}

/* FAQ accordion */
.faqs-section {
    padding: 70px 0;
}
.faq-category {
    margin-bottom: 40px;
}
.faq-category h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    color: #0a1628;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 4px solid #ff6b35;
    padding-left: 12px;
}
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #0a1628;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.faq-question:hover {
    color: #ff6b35;
}
.faq-toggle {
    color: #ff6b35;
    margin-left: 15px;
    flex-shrink: 0;
}
.faq-answer {
    display: none;
    padding: 0 20px 18px;
    color: #4a5568;
    line-height: 1.7;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
}
.faq-item.open .faq-question {
    color: #ff6b35;
}

/* Testimonials page */
.testimonials-page-section {
    padding: 70px 0;
}
.testimonials-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
}
.testimonial-card .testimonial-stars {
    color: #f5b301;
    font-size: 14px;
    margin-bottom: 12px;
}
.testimonial-card .testimonial-text {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
}
.testimonial-card .testimonial-author {
    margin-top: 18px;
    font-weight: 700;
    color: #0a1628;
}
.testimonial-card .testimonial-designation {
    color: #ff6b35;
    font-size: 13px;
    margin-top: 4px;
}
.testimonial-card .testimonial-text p {
    margin: 0;
}

/* Free analysis page */
.free-analysis-section {
    padding: 70px 0;
    background: #f8f9fa;
}
.page-header.alt-header {
    background: linear-gradient(135deg, #0a1628, #1a1a2e);
    color: #fff;
    text-align: center;
    padding: 70px 0;
}
.page-header.alt-header h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 46px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}
.page-header.alt-header p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto;
}
.free-analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.free-analysis-form {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(10, 22, 40, 0.08);
}
.free-analysis-form h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    color: #0a1628;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.free-analysis-benefits h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    color: #0a1628;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.free-analysis-process ol {
    padding-left: 20px;
    color: #4a5568;
    line-height: 2;
}
.free-analysis-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}
.free-analysis-contact p {
    color: #4a5568;
    font-size: 14px;
}
.btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
}
.btn-whatsapp:hover {
    background: #1cb959;
}

/* Form styling for sidebars and free-analysis */
.simple-contact-form .form-row {
    display: flex;
    gap: 15px;
}
.simple-contact-form .form-group {
    flex: 1;
}
.simple-contact-form input,
.simple-contact-form textarea,
.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 15px;
    background: #f8f9fa;
    box-sizing: border-box;
}
.simple-contact-form input:focus,
.simple-contact-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background: #fff;
}
.simple-contact-form .btn-submit {
    width: 100%;
}

/* Industries intro section */
.industries-section,
.packages-section,
.case-studies-section {
    padding: 70px 0;
}

/* Package detail */
.package-detail-section {
    padding: 70px 0;
}
.package-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}
.package-detail-main h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 34px;
    color: #0a1628;
    margin-bottom: 15px;
}
.package-detail-content p {
    color: #4a5568;
    line-height: 1.8;
}

/* Case detail */
.case-detail-section {
    padding: 70px 0;
}
.case-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}
.case-detail-content {
    color: #4a5568;
    line-height: 1.8;
}

/* Pagination */
.pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}
.pagination .nav-links span,
.pagination .nav-links a {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    color: #3a4556;
    text-decoration: none;
    font-size: 14px;
}
.pagination .nav-links .current {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

/* Responsive for new components */
@media (max-width: 992px) {
    .main-nav ul li.mega-menu > ul {
        position: static;
        transform: none;
        width: auto;
        display: block;
        padding: 0;
        box-shadow: none;
        border-top: none;
    }
    .main-nav ul li.mega-menu > ul li a {
        border-bottom: none;
        padding-left: 30px;
    }
    .case-studies-grid,
    .industries-grid,
    .packages-grid,
    .testimonials-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-detail-grid,
    .case-detail-grid,
    .industry-detail-grid,
    .package-detail-grid,
    .free-analysis-grid {
        grid-template-columns: 1fr;
    }
    .trust-strip .wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .case-studies-grid,
    .industries-grid,
    .packages-grid,
    .testimonials-page-grid,
    .trust-strip .wrapper {
        grid-template-columns: 1fr;
    }
    .page-hero h1,
    .page-header.alt-header h1 {
        font-size: 34px;
    }
}
