/*
Theme Name: Al-Ma'oona Law
Theme URI: https://example.com/al-maoona-law
Author: Your Name
Author URI: https://example.com
Description: قالب ووردبريس احترافي متجاوب لمواقع المحاماة والاستشارات القانونية، مُصمم خصيصاً لـ "مجموعة المعاونة للمحاماة والاستشارات القانونية". يدعم اللغة العربية والاتجاه من اليمين لليسار (RTL) ويقدم أقساماً جاهزة للخدمات، الفريق، المقالات، والتواصل.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: al-maoona-law
Domain Path: /languages
Tags: law-firm, legal, rtl-language-support, translation-ready, responsive-layout, custom-logo, custom-menu, threaded-comments, featured-images
*/

/* ========================
   Table of Contents
   1. Variables
   2. Reset & Base
   3. Typography
   4. Layout
   5. Header & Navigation
   6. Hero Section
   7. Components (Buttons, Cards, Forms)
   8. Front Page Sections
   9. Blog & Archive
   10. Single Post & Page
   11. Sidebar
   12. Footer
   13. Utilities
   14. Responsive
======================== */

/* ------------------------
   1. Variables
------------------------ */
:root {
    --color-primary: #1a3a5c;
    --color-primary-dark: #122a42;
    --color-secondary: #c9a227;
    --color-secondary-light: #e0bc3b;
    --color-accent: #b98a35;
    --color-text: #444444;
    --color-text-light: #666666;
    --color-heading: #1a3a5c;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-bg-dark: #1a3a5c;
    --color-border: #e0e0e0;
    --color-overlay: rgba(26, 58, 92, 0.85);
    --font-main: 'Cairo', 'Tajawal', sans-serif;
    --font-heading: 'Cairo', 'Tajawal', sans-serif;
    --transition: all 0.3s ease;
    --radius: 6px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
    --container-width: 1200px;
}

/* ------------------------
   2. Reset & Base
------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover,
a:focus {
    color: var(--color-secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.4;
    margin: 0 0 1rem;
    font-weight: 700;
}

p {
    margin: 0 0 1rem;
}

ul, ol {
    margin: 0 0 1rem;
    padding-right: 1.25rem;
}

li {
    margin-bottom: 0.5rem;
}

blockquote {
    margin: 0 0 1.5rem;
    padding: 1.25rem 1.5rem;
    border-right: 4px solid var(--color-secondary);
    background: var(--color-bg-alt);
    font-style: italic;
    color: var(--color-text-light);
}

/* ------------------------
   3. Typography
------------------------ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ------------------------
   4. Layout
------------------------ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
    margin: 0.75rem auto 0;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

/* ------------------------
   5. Header & Navigation
------------------------ */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.site-title {
    font-size: 1.25rem;
    margin: 0;
    color: var(--color-primary);
    font-weight: 800;
}

.site-title a {
    color: inherit;
}

.site-description {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.75rem;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: var(--transition);
}

.consultation-btn {
    background: var(--color-secondary);
    color: var(--color-primary) !important;
    padding: 0.65rem 1.5rem !important;
    border-radius: var(--radius);
    font-weight: 700;
}

.consultation-btn:hover {
    background: var(--color-secondary-light);
}

.consultation-btn::after {
    display: none !important;
}

/* Dropdown */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    flex-direction: column;
    gap: 0;
    z-index: 100;
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu a:hover {
    background: var(--color-bg-alt);
}

/* ------------------------
   6. Hero Section
------------------------ */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: var(--color-primary);
    padding-top: 90px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ------------------------
   7. Components
------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background: var(--color-secondary-light);
    border-color: var(--color-secondary-light);
    color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--color-primary);
}

.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(201, 162, 39, 0.12);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: 0;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ------------------------
   8. Front Page Sections
------------------------ */
/* About Preview */
.about-preview .row {
    align-items: center;
}

.about-preview .col-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.about-preview .col-content {
    flex: 0 0 55%;
    max-width: 55%;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
}

.section-label {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Stats */
.stats-bar {
    background: var(--color-primary);
    color: #fff;
    padding: 3rem 0;
}

.stats-bar .row {
    justify-content: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

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

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

/* Why Choose Us */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.team-card {
    text-align: center;
    padding: 0;
    overflow: hidden;
}

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

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--color-secondary);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-primary);
}

/* CTA */
.cta-section {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
}

.cta-section .section-title {
    color: #fff;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Blog Preview */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    overflow: hidden;
    padding: 0;
}

.blog-card .post-thumbnail {
    overflow: hidden;
}

.blog-card .post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.blog-card .entry-content {
    padding: 1.5rem;
}

.blog-card .entry-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.blog-card .entry-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.read-more {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ------------------------
   9. Blog & Archive
------------------------ */
.page-header {
    background: var(--color-primary);
    color: #fff;
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header .page-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0;
}

.archive-description {
    max-width: 700px;
    margin: 1rem auto 0;
    opacity: 0.9;
}

.content-area {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.post-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-card .post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card .entry-header {
    padding: 1.5rem 1.5rem 0;
}

.post-card .entry-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.post-card .entry-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.post-card .entry-content {
    padding: 0 1.5rem 1.5rem;
}

/* Pagination */
.pagination,
.posts-navigation {
    margin-top: 3rem;
    text-align: center;
}

.pagination a,
.pagination .current,
.posts-navigation a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.pagination .current,
.pagination a:hover,
.posts-navigation a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ------------------------
   10. Single Post & Page
------------------------ */
.single-post .entry-header,
.page .entry-header {
    margin-bottom: 2rem;
}

.single-post .entry-title,
.page .entry-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
}

.entry-content a {
    text-decoration: underline;
}

.entry-content img {
    border-radius: var(--radius);
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.tags-links a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-bg-alt);
    border-radius: 20px;
    margin: 0.25rem;
    font-size: 0.85rem;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-metadata {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.comment-form input,
.comment-form textarea {
    margin-bottom: 1rem;
}

.form-submit input[type="submit"] {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.form-submit input[type="submit"]:hover {
    background: var(--color-primary-dark);
}

/* ------------------------
   11. Sidebar
------------------------ */
.widget-area {
    padding-right: 2rem;
    padding-left: 0;
}

.sidebar-col {
    flex: 0 0 320px;
    max-width: 320px;
    padding: 0 15px;
}

.widget {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-secondary);
}

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

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.widget li:last-child {
    border-bottom: none;
}

.widget_search .search-form {
    display: flex;
    gap: 0.5rem;
}

.widget_search .search-field {
    flex: 1;
}

.widget_search .search-submit {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0 1rem;
    border-radius: var(--radius);
    cursor: pointer;
}

/* ------------------------
   12. Footer
------------------------ */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-widgets {
    padding: 4rem 0 2rem;
}

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

.footer-widget .widget-title {
    color: #fff;
    border-bottom-color: var(--color-secondary);
}

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

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

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget a:hover {
    color: var(--color-secondary);
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-info i {
    color: var(--color-secondary);
    margin-top: 0.35rem;
}

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

.footer-bottom a {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* ------------------------
   13. Utilities
------------------------ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.alignwide {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

/* WordPress alignments */
.alignleft {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

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

.gallery-caption,
.wp-caption-text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: center;
}

.bypostauthor {
    display: block;
}

/* ------------------------
   14. Responsive
------------------------ */
@media (max-width: 991px) {
    .header-inner {
        height: 80px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        position: fixed;
        top: 80px;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .main-navigation.toggled ul {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

    .main-navigation a {
        display: block;
        padding: 1rem 0;
    }

    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 1rem 0 0;
        display: none;
    }

    .main-navigation li.menu-item-has-children.active .sub-menu {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .about-preview .col-image,
    .about-preview .col-content {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-preview .col-image {
        margin-bottom: 2rem;
    }

    .widget-area {
        padding-right: 0;
        margin-top: 3rem;
    }

    .sidebar-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stats-bar .stat-number {
        font-size: 2rem;
    }

    .page-header .page-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
