/* -------------------------------------------------------------
 * AS Estate - Main Stylesheet
 * Premium Dark Luxury UI (#151d30, white, slight blue accents)
 * ------------------------------------------------------------- */
/* Variables */
:root {
   --bg-primary: #151d30;--bg-secondary: #0f1626;--bg-card: #1d273f;--bg-card-hover: #263352;--text-primary: #ffffff;--text-secondary: #94a3b8;--text-muted: #64748b;--accent: #3b82f6;--accent-light: #60a5fa;--accent-glow: rgba(96, 165, 250, 0.2);--border-color: #2b395c;--success: #10b981;--danger: #ef4444;--font-heading: 'Playfair Display', Georgia, serif;--font-body: 'Inter', system-ui, -apple-system, sans-serif;--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);--border-radius: 8px;--border-radius-lg: 16px;--shadow: 0 10px 30px rgba(0, 0, 0, 0.25);--shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
}
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}
/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}
/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.section-padding {
    padding: 100px 0;
}
.section-header {
    margin-bottom: 60px;
    text-align: center;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-light);
    border-radius: 2px;
}
.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}
.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    background-color: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--bg-primary);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}
/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    background-color: rgba(21, 29, 48, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.main-header.scrolled {
    padding: 10px 0;
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow);
}
.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Logo Setup */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-svg {
    width: 44px;
    height: 44px;
    transition: var(--transition);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--text-primary);
}
.brand-tagline {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    font-weight: 500;
}
/* Nav Menu */
.navbar {
    display: flex;
    align-items: center;
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-light);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-btn {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    border: 1px solid var(--accent);
    padding: 8px 18px;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
}
.nav-btn:hover {
    background-color: var(--accent);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger-bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}
/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, rgba(21, 29, 48, 0.4) 0%, var(--bg-primary) 100%), 
                url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 22, 38, 0.7);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.2s forwards;
}
.hero-tag {
    display: inline-block;
    color: var(--accent-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-light);
    padding-left: 12px;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}
.hero p.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}
/* Grid & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-light);
    box-shadow: var(--shadow);
}
/* Feature Cards (Home/Services) */
.feature-card {
    padding: 40px 30px;
    text-align: center;
}
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    font-size: 1.8rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
}
.feature-card:hover .feature-icon-wrapper {
    background-color: var(--accent);
    color: var(--text-primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}
.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
/* Property Cards */
.property-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.card:hover .property-img-wrapper img {
    transform: scale(1.08);
}
.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
}
.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(15, 22, 38, 0.9);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--accent-light);
}
.property-info {
    padding: 24px;
}
.property-type {
    font-size: 0.75rem;
    color: var(--accent-light);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.property-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.property-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.property-specs {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.property-specs span i {
    color: var(--accent-light);
    margin-right: 6px;
}
/* About Page (Founders Grid) */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-intro-text h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    margin-bottom: 20px;
}
.about-intro-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.about-intro-img {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    height: 450px;
}
.about-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.founder-card {
    text-align: center;
}
.founder-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 3px solid var(--border-color);
    transition: var(--transition);
}
.founder-card:hover .founder-img-wrapper {
    border-color: var(--accent-light);
    transform: scale(1.05);
}
.founder-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.founder-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.founder-title {
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.founder-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    
    margin: 0 auto;
}
/* Blog List Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.blog-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}
.blog-item-img {
    height: 100%;
    min-height: 240px;
}
.blog-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-item-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-meta {
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}
.blog-meta span i {
    margin-right: 5px;
}
.blog-item h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
}
.blog-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.blog-readmore {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.blog-readmore:hover {
    color: var(--accent-light);
}
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius-lg);
}
.widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.widget-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.widget-list li a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}
/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.page-num {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    font-weight: 600;
    transition: var(--transition);
}
.page-num:hover, .page-num.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}
/* Blog Single Post */
.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}
.blog-post-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.blog-post-banner {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}
.blog-post-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}
.blog-post-content p {
    margin-bottom: 25px;
    color: var(--text-secondary);
}
.blog-post-content h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 35px 0 15px 0;
}
/* Contact Page Form styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
}
.contact-info-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}
.contact-info-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 25px;
}
.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.contact-info-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 45px;
    border-radius: var(--border-radius-lg);
}
.form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 30px;
}
/* Inputs & Form layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-control {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}
select.form-control option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success);
    color: #a7f3d0;
}
.alert-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--danger);
    color: #fca5a5;
}
/* Admin Styling */
.admin-login-body {
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.login-card {
    width: 100%;
    max-width: 440px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.login-card .logo-area {
    justify-content: center;
    margin-bottom: 30px;
}
.login-card h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}
/* Admin Dashboard Interface */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}
.admin-logo {
    margin-bottom: 40px;
    padding-left: 10px;
}
.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-weight: 500;
}
.admin-nav-link:hover, .admin-nav-link.active {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-left: 3px solid var(--accent-light);
}
.admin-logout {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.admin-main {
    padding: 40px;
    overflow-y: auto;
}
.admin-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.admin-header-flex h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
}
/* Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stat-info h3 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.stat-val {
    font-size: 2rem;
    font-weight: 700;
}
.stat-icon {
    font-size: 2.2rem;
    color: var(--accent-light);
    opacity: 0.7;
}
/* Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
}
.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.table th, .table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}
.table th {
    background-color: rgba(15, 22, 38, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
}
.table tr:last-child td {
    border-bottom: none;
}
.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge-buy { background-color: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.badge-sell { background-color: rgba(16, 185, 129, 0.2); color: #a7f3d0; }
.badge-rent { background-color: rgba(245, 158, 11, 0.2); color: #fde68a; }
.badge-res { background-color: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.badge-com { background-color: rgba(236, 72, 153, 0.2); color: #fbcfe8; }
.actions-cell {
    display: flex;
    gap: 8px;
}
.action-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    cursor: pointer;
}
.action-btn-edit { color: var(--accent-light); }
.action-btn-edit:hover { background-color: var(--accent); color: white; border-color: var(--accent); }
.action-btn-delete { color: var(--danger); }
.action-btn-delete:hover { background-color: var(--danger); color: white; border-color: var(--danger); }
/* Rich Text / Custom Editor Textarea override */
.editor-textarea {
    min-height: 250px;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Mobile Media Queries */
@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-intro-img {
        height: 320px;
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-item {
        grid-template-columns: 1fr;
    }
    
    .blog-item-img {
        height: 220px;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    
    .navbar.active {
        max-height: 500px;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 30px 24px;
        align-items: stretch;
        gap: 20px;
    }
    
    .nav-link {
        display: block;
        padding: 10px 0;
    }
    
    .header-btn {
        margin-top: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* -------------------------------------------------------------
 * Compact Footer Redesign
 * ------------------------------------------------------------- */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: auto; /* Push to bottom if content is short */
}
.footer-compact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-compact-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}
.footer-compact-left .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.footer-compact-right {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-horizontal-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.footer-horizontal-links li a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}
.footer-horizontal-links li a:hover {
    color: var(--text-primary);
}
.social-icons-compact {
    display: flex;
    align-items: center;
    gap: 12px;
}
.social-icons-compact a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.social-icons-compact a:hover {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}
/* Responsive Overrides for Compact Footer */
@media (max-width: 768px) {
    .footer-compact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .footer-compact-left {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-compact-right {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-horizontal-links {
        justify-content: center;
        gap: 15px;
    }
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-tagline {
    color: #60a5fa;
    font-size: 0.75rem;
    letter-spacing: 2px;
}
.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 55px;
    height: auto;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-brand-tagline {
    color: #60a5fa;
    font-size: 0.7rem;
    letter-spacing: 2px;
}