:root {
    --primary: #1a4d7a;
    --primary-dark: #0f3554;
    --secondary: #d35400;
    --accent: #e67e22;
    --dark: #1c1c1c;
    --gray-900: #2c3e50;
    --gray-800: #34495e;
    --gray-700: #4a5568;
    --gray-600: #718096;
    --gray-400: #cbd5e0;
    --gray-200: #edf2f7;
    --gray-100: #f7fafc;
    --white: #ffffff;
    --success: #27ae60;
    --max-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

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

.site-header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    text-decoration: none;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.92) 0%, rgba(15, 53, 84, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 80px 40px;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-cta {
    display: inline-block;
    padding: 18px 48px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(211, 84, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(211, 84, 0, 0.4);
}

main {
    padding: 100px 0;
    background: var(--white);
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.content {
    font-size: 18px;
    line-height: 1.9;
    color: var(--gray-800);
}

.content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin: 60px 0 30px;
    letter-spacing: -0.5px;
}

.content h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 40px 0 20px;
}

.content h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 30px 0 15px;
}

.content p {
    margin-bottom: 24px;
}

.content ul,
.content ol {
    margin: 30px 0 30px 30px;
}

.content li {
    margin-bottom: 16px;
    padding-left: 10px;
}

.content ul li::marker {
    color: var(--primary);
}

.content img {
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.content a:hover {
    border-bottom-color: var(--primary);
}

.content blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 40px 0;
    background: var(--gray-100);
    font-style: italic;
    color: var(--gray-700);
}

.site-footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 77, 122, 0.3);
}

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

.btn-secondary:hover {
    background: var(--accent);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.error-page {
    text-align: center;
    padding: 120px 40px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-page h1 {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1;
}

.error-page p {
    font-size: 24px;
    color: var(--gray-600);
    margin-bottom: 40px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .page-content h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .hero {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        padding: 16px 36px;
        font-size: 15px;
    }
    
    main {
        padding: 60px 0;
    }
    
    .page-content h1 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .content {
        font-size: 17px;
    }
    
    .content h2 {
        font-size: 28px;
        margin: 40px 0 20px;
    }
    
    .content h3 {
        font-size: 24px;
    }
    
    .site-footer {
        padding: 60px 0 30px;
        margin-top: 60px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .error-page h1 {
        font-size: 80px;
    }
    
    .error-page p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .page-content h1 {
        font-size: 28px;
    }
    
    .content h2 {
        font-size: 24px;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        flex-direction: column;
        padding: 0;
    }
    
    .main-nav.active {
        max-height: 500px;
        padding: 20px 0;
    }
    
    .main-nav a {
        padding: 15px 40px;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 122, 0.1);
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--gray-400);
}

a {
    transition: all 0.3s ease;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.content table th {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.content table td {
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.content table tr:last-child td {
    border-bottom: none;
}

.content table tr:hover {
    background: var(--gray-100);
}

.content iframe,
.content video {
    max-width: 100%;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.wp-block-image img,
.wp-block-gallery img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.wp-block-column {
    display: flex;
    flex-direction: column;
}

.wp-block-button__link,
.kt-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.wp-block-button__link:hover,
.kt-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(211, 84, 0, 0.3);
}

.wp-block-separator {
    border: none;
    border-top: 2px solid var(--gray-300);
    margin: 50px 0;
}

.wp-block-quote {
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 40px 0;
    background: var(--gray-100);
    font-style: italic;
}

.wp-block-spacer {
    clear: both;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* ==================== HOME PAGE STYLES ==================== */

.hero-home {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/uploads/media/1762454939_steelbuildings.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-home-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 80px 0;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-home h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(214, 84, 0, 0.3);
}

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.hero-trust {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-item span {
    font-size: 14px;
    opacity: 0.8;
}

/* Features Grid */
.features-grid {
    padding: 80px 0;
    background: var(--gray-100);
}

.features-grid .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-700);
}

/* Products Showcase */
.products-showcase {
    padding: 100px 0;
}

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

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.product-img {
    height: 240px;
    background: var(--gray-200) center/cover;
}

.product-content {
    padding: 32px;
}

.product-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--primary);
}

.product-content p {
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.6;
}

.link-arrow {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow:hover {
    gap: 12px;
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.calculator-info h2 {
    color: white;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin-top: 32px;
}

.check-list li {
    padding: 12px 0;
    font-size: 18px;
    opacity: 0.95;
}

.calculator-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    color: var(--dark);
}

.calculator-form h3 {
    margin-bottom: 24px;
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-900);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.stars {
    color: #ffa500;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--gray-600);
    font-size: 14px;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

.blog-scroll {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

.blog-scroll::-webkit-scrollbar {
    height: 8px;
}

.blog-scroll::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 4px;
}

.blog-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.blog-card {
    flex: 0 0 360px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card-img {
    height: 200px;
    background: var(--gray-200) center/cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card time {
    color: var(--gray-600);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
    line-height: 1.3;
}

.blog-card p {
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.faq-question {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-answer p {
    color: var(--gray-700);
    line-height: 1.7;
}

/* Final CTA */
.cta-final {
    padding: 100px 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .features-grid .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-home h1 {
        font-size: 36px;
    }
    .hero-lead {
        font-size: 16px;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .hero-trust {
        flex-direction: column;
        gap: 20px;
    }
    .features-grid .container {
        grid-template-columns: 1fr;
    }
    .section-header h2 {
        font-size: 32px;
    }
    .blog-card {
        flex: 0 0 300px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Dropdown Support */
.menu-item-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    margin-top: 8px;
}

.menu-item-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--gray-900);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* Hide page title on home template */
.page-content h1:first-child {
    display: none;
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.product-card,
.testimonial-card,
.blog-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Ensure footer always displays */
.site-footer {
    display: block !important;
    visibility: visible !important;
    clear: both;
    margin-top: 60px;
}

main {
    min-height: 400px;
    margin-bottom: 60px;
}

/* Fix iframe and content overflow issues */
iframe {
    max-width: 100%;
    display: block;
    margin: 20px auto;
}

.page-content {
    overflow: visible !important;
}

.content {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

body {
    overflow-x: hidden;
}

/* Force footer to bottom and visible */
.site-footer {
    position: relative !important;
    z-index: 100 !important;
    width: 100%;
}
