/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

.nav-menu.active {
    display: flex !important;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo a:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0;
}

.logo-text small {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Header Search Box */
.search-menu-item {
    display: flex;
    align-items: center;
}

.header-search-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-search-form input[type="search"] {
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    width: 180px;
    outline: none;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.header-search-form input[type="search"]:focus {
    width: 220px;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.header-search-form input[type="search"]::placeholder {
    color: #999;
}

.header-search-form button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.header-search-form button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content .lead {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 997;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background: #1da851;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #764ba2;
    transform: translateX(3px);
}

.btn-link i {
    transition: transform 0.3s;
}

.btn-link:hover i {
    transform: translateX(3px);
}

/* Services */
.services-overview, .features-section, .blog-section {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
    border-top-color: #667eea;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Blog Posts */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.post-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-content > p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.post-content h2 {
    margin: 0 0 0.8rem 0;
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 600;
}

.post-content h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content h2 a:hover {
    color: #667eea;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    color: #667eea;
    font-size: 0.85rem;
}

.post-description {
    background: linear-gradient(135deg, #e7f3ff 0%, #f0e7ff 100%);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.post-description p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
}

.post-category {
    display: inline-block;
    padding: 5px 12px;
    background: #e9ecef;
    color: #495057;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* Footer */
.main-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Single Post */
.single-post {
    background: white;
    padding: 2rem 0;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: #666;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.post-featured-image {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content-wrapper {
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 2rem 0;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.tag {
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Comments */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.comment-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.comments-list {
    margin-top: 2rem;
}

.comment {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
    border-radius: 5px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--primary);
    border-radius: 5px;
}

.page-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.text-center {
    text-align: center;
}

/* Social Media Buttons */
.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.facebook:hover {
    background: #145dbf;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.whatsapp:hover {
    background: #1da851;
}

.social-btn.youtube {
    background: #ff0000;
}

.social-btn.youtube:hover {
    background: #cc0000;
}

/* Contact Info Links */
.contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary);
}

/* Filter Buttons */
.services-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Services Grid Full */
.services-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card-full {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card-full:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details {
    padding: 1.5rem;
}

.service-price {
    margin: 1rem 0;
    font-size: 1.2rem;
    color: var(--primary);
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.blog-main {
    min-width: 0;
}

.blog-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem;
    border-radius: 5px;
}

.category-list a:hover,
.category-list a.active {
    color: var(--primary);
    background: #f8f9fa;
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.recent-posts a:hover {
    color: var(--primary);
}

.recent-posts small {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Services Page */
.services-page {
    padding: 3rem 0;
    background: #f8f9fa;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Page Styles */
.about-content {
    padding: 3rem 0;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.about-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-services {
    margin: 4rem 0;
}

.services-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-item i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.why-choose {
    margin: 4rem 0;
}

.why-choose .features-grid {
    margin-top: 2rem;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin: 4rem 0;
}

.cta-box h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-box .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-page {
    padding: 3rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-section,
.contact-info-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-section h2,
.contact-info-section h2 {
    margin-bottom: 1.5rem;
}

.contact-info-card {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.social-connect {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Base container */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 10px;
        width: 100%;
    }
    
    /* Mobile Search Box */
    .search-menu-item {
        padding: 15px 10px;
        border-bottom: none !important;
    }
    
    .header-search-form {
        width: 100%;
    }
    
    .header-search-form input[type="search"] {
        flex: 1;
        width: 100%;
        max-width: none;
    }
    
    .header-search-form input[type="search"]:focus {
        width: 100%;
    }
    
    .header-search-form button {
        flex-shrink: 0;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Stats Section */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 30px 15px;
    }
    
    .stat-box h3 {
        font-size: 1.8rem;
    }
    
    .stat-box p {
        font-size: 0.9rem;
    }
    
    /* Services Grid */
    .services-grid,
    .services-grid-full {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Posts Grid */
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Form Rows */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Blog Layout */
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 30px;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 150px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    /* Cards */
    .card,
    .service-card,
    .post-card {
        margin-bottom: 15px;
    }
    
    /* Pricing Cards */
    .pricing-card {
        padding: 20px;
    }
    
    /* Feature Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* About Page */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card {
        padding: 20px;
    }
    
    /* CTA Box */
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .container {
        padding: 0 10px;
    }

    .logo img {
        height: 35px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .service-card h3,
    .post-card h3 {
        font-size: 1.1rem;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 130px;
        right: 15px;
    }
}

/* Landscape orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

