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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo i {
    margin-right: 10px;
    color: #3498db;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo a:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3498db;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: #f8f9fa;
    color: #3498db;
    padding-left: 25px;
}

.nav-contact {
    display: flex;
    align-items: center;
    color: #2c3e50;
    font-weight: 500;
}

.nav-contact i {
    margin-right: 8px;
    color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #3498db;
}

.btn-light {
    background-color: white;
    color: #3498db;
}

.btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

.btn-whatsapp i {
    font-size: 1.1rem;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: white;
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
}

/* Tax Utilities Preview */
.tax-utilities-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tax-utilities-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.utility-preview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}

.utility-preview-card:hover {
    transform: translateY(-10px);
    border-color: #3498db;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
    cursor: pointer;
}

.utility-preview-card:hover h3 {
    color: #3498db;
}

.utility-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.utility-icon i {
    font-size: 2rem;
    color: white;
}

.utility-preview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.utility-preview-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.utilities-cta {
    text-align: center;
    margin-top: 3rem;
}

.utilities-cta .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* About Preview */
.about-preview {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
}

.about-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-text li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.about-text li i {
    color: #27ae60;
    margin-right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 80px;
}

.contact-form-section h2,
.contact-info-section h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.contact-info-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-top: 0.2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #3498db;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2980b9;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* About Page Styles */
.about-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-intro {
    margin-bottom: 80px;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 600;
}

.team-section {
    margin-bottom: 80px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.team-member .title {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.value-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
}

/* Services Page Styles */
.service-detail {
    margin-bottom: 80px;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-content.reverse {
    grid-template-columns: 1fr 2fr;
}

.service-content.reverse .service-text {
    order: 2;
}

.service-content.reverse .service-image {
    order: 1;
}

.service-text h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-text h2 i {
    color: #3498db;
}

.service-text h3 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
}

.service-text ul {
    margin-bottom: 2rem;
}

.service-text li {
    margin-bottom: 0.5rem;
    color: #666;
}

.service-benefits {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.benefits-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.benefit i {
    color: #3498db;
}

.benefit p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 2rem;
    border-radius: 15px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 35px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;
    color: #3498db;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer .contact-info i {
    color: #3498db;
    width: 20px;
}

.footer .social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .utilities-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-contact {
        display: none;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        margin: 10px 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 10px 0;
    }
    
    .dropdown-link {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .dropdown-link:hover {
        background: #e9ecef;
        padding-left: 20px;
    }
    
    .hero {
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 250px;
        text-align: center;
    }
    
    /* Tax Utilities Section Mobile */
    .tax-utilities-preview {
        padding: 60px 0;
    }
    
    .utilities-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .utility-preview-card {
        padding: 1.5rem;
    }
    
    .utility-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .utility-icon i {
        font-size: 1.5rem;
    }
    
    .utility-preview-card h3 {
        font-size: 1.2rem;
    }
    
    .utility-preview-card p {
        font-size: 0.9rem;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Utility Page Mobile */
    .utility-hero {
        padding: 60px 0;
    }
    
    .utility-hero h1 {
        font-size: 2.2rem;
    }
    
    .utilities-section {
        padding: 60px 0;
    }
    
    .utilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .utility-card {
        padding: 1.5rem;
    }
    
    .utility-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .utility-card h3 i {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .form-group input, 
    .form-group select {
        padding: 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .calculate-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    .result {
        padding: 12px;
    }
    
    .info-section {
        padding: 12px;
        margin-top: 15px;
    }
    
    /* Contact and other pages */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .service-content.reverse .service-text {
        order: 1;
    }
    
    .service-content.reverse .service-image {
        order: 2;
    }
    
    .benefits-grid {
        flex-direction: column;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header Mobile */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo span {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 15px;
    }
    
    /* Tax Utilities */
    .tax-utilities-preview {
        padding: 40px 0;
    }
    
    .tax-utilities-preview h2 {
        font-size: 2rem;
    }
    
    .utility-preview-card {
        padding: 1.25rem;
    }
    
    .utility-icon {
        width: 50px;
        height: 50px;
    }
    
    .utility-icon i {
        font-size: 1.2rem;
    }
    
    /* Sections Padding */
    .services-overview,
    .about-preview,
    .contact-cta,
    .utilities-section {
        padding: 40px 0;
    }
    
    .services-overview h2,
    .about-text h2,
    .contact-cta h2 {
        font-size: 1.8rem;
    }
    
    /* Utility Page */
    .utility-hero {
        padding: 40px 0;
    }
    
    .utility-hero h1 {
        font-size: 1.8rem;
    }
    
    .utility-hero p {
        font-size: 1rem;
    }
    
    .utility-card {
        padding: 1.25rem;
    }
    
    .utility-card h3 {
        font-size: 1.1rem;
    }
    
    /* Forms */
    .contact-form,
    .contact-info-section {
        padding: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Service Content */
    .service-content {
        padding: 1.5rem;
    }
    
    /* Contact CTA */
    .contact-cta h2 {
        font-size: 1.8rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .utility-preview-card,
    .service-card,
    .utility-card {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .tax-utilities-preview h2,
    .services-overview h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Touch-specific styles */
.touch-active {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Mobile-specific improvements */
.mobile-device {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Better button spacing for touch */
@media (max-width: 768px) {
    .hero-buttons {
        gap: 1rem;
    }
    
    .utilities-cta {
        padding: 0 1rem;
    }
    
    /* Improve touch targets */
    .nav-link {
        padding: 1rem;
        display: block;
    }
    
    .btn {
        min-height: 44px; /* Apple recommended touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better form spacing */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .tax-utilities-preview,
    .services-overview {
        padding: 50px 0;
    }
}

/* AI Tax Advisor Chatbot Styles */
.tax-advisor-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.chatbot-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bot-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bot-details h3 {
    margin: 0;
    font-size: 1.2rem;
}

.status {
    font-size: 0.9rem;
    opacity: 0.9;
}

.status.online:before {
    content: "●";
    color: #00ff88;
    margin-right: 5px;
}

.chat-actions button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-actions button:hover {
    background: rgba(255,255,255,0.3);
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.message {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
    gap: 10px;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.user-message .message-avatar {
    background: #3498db;
    color: white;
}

.message-content {
    max-width: 70%;
    padding: 15px;
    border-radius: 18px;
    line-height: 1.5;
}

.bot-message .message-content {
    background: white;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-message .message-content {
    background: #3498db;
    color: white;
    border-bottom-right-radius: 5px;
}

.message-content p {
    margin: 0 0 10px 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.message-content li {
    margin-bottom: 5px;
}

.quick-questions {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
}

.quick-questions h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1rem;
}

.question-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #495057;
}

.quick-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.chat-input-container {
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
}

.chat-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 25px;
    outline: none;
    font-size: 1rem;
}

.chat-input input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.chat-input button {
    background: #3498db;
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    background: #2980b9;
}

.typing-indicator .typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

.disclaimer {
    margin-top: 40px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
}

.disclaimer-content h3 {
    color: #856404;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-content p {
    color: #856404;
    margin-bottom: 15px;
}

.contact-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Responsive Chatbot */
@media (max-width: 768px) {
    .tax-advisor-page {
        padding: 60px 0;
    }
    
    .chatbot-container {
        margin: 0 10px;
        border-radius: 10px;
    }
    
    .chatbot-header {
        padding: 15px;
    }
    
    .bot-details h3 {
        font-size: 1.1rem;
    }
    
    .chat-messages {
        height: 350px;
        padding: 15px;
    }
    
    .message-content {
        max-width: 85%;
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .question-buttons {
        gap: 8px;
    }
    
    .quick-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .chat-input-container {
        padding: 15px;
    }
    
    .chat-input input {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .chat-input button {
        width: 45px;
        height: 45px;
    }
    
    .contact-cta {
        justify-content: center;
        text-align: center;
    }
}

/* Contact Page WhatsApp Styles */
.contact-item.whatsapp-contact {
    border: 2px solid #25D366;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item.whatsapp-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), transparent);
    transition: left 0.5s;
}

.contact-item.whatsapp-contact:hover::before {
    left: 100%;
}

.contact-item.whatsapp-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.contact-item.whatsapp-contact i {
    color: #25D366;
    font-size: 2rem;
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
    text-decoration: none;
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* No Posts Message */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.no-posts h3 {
    color: #2c3e50;
    margin: 20px 0 15px 0;
    font-size: 1.5rem;
}

.no-posts p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.8;
}

/* Blog Card Content Improvements */
.blog-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card .card-content p {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card .card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f8f9fa;
}

/* Featured Article Improvements */
.featured-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Blog Posts Grid Layout Fix */
.posts-grid {
    min-height: 200px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Category Badge Improvements */
.category-tag {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Post Meta Improvements */
.post-meta {
    font-size: 0.9rem;
}

.post-meta .author {
    color: #2c3e50;
}

.post-meta .date {
    color: #95a5a6;
}

/* Post Stats Improvements */
.post-stats {
    font-size: 0.85rem;
    color: #95a5a6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-stats i {
    font-size: 0.8rem;
}

/* Card Content Spacing */
.card-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

/* Read More Link */
.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
    text-decoration: none;
}

/* Blog Title Link Hover Effect */
.blog-card h3 a:hover,
.featured-text h2 a:hover {
    color: #3498db !important;
    text-decoration: none;
}

/* Responsive Improvements */
@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 576px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card .card-content {
        padding: 20px;
    }
    
    .featured-text {
        padding: 25px;
    }
    
    .no-posts {
        padding: 40px 15px;
    }
}

/* Blog Styles */
.blog-page {
    padding: 40px 0;
    background: #f8f9fa;
}

.blog-page .page-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-page .page-header h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.blog-page .page-header i {
    color: #3498db;
    margin-right: 10px;
}

/* Featured Article */
.featured-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    transition: transform 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e74c3c;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.featured-text {
    padding: 40px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.category {
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.featured-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-text h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-text h2 a:hover {
    color: #3498db;
}

.featured-text p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
    transform: translateX(5px);
}

/* Blog Filters */
.blog-filters {
    margin-bottom: 40px;
    text-align: center;
}

.blog-filters h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    transform: translateY(-2px);
}

.filter-btn .count {
    font-size: 0.9em;
    opacity: 0.8;
    margin-left: 5px;
}

.filter-btn:hover .count,
.filter-btn.active .count {
    opacity: 1;
}

/* Blog Posts Grid */
.blog-posts {
    margin-bottom: 50px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

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

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.1);
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.category-tag.tax-planning { background: #3498db; }
.category-tag.gst { background: #e74c3c; }
.category-tag.audit { background: #9b59b6; }
.category-tag.business { background: #27ae60; }
.category-tag.tips { background: #f39c12; }

.card-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.author {
    font-weight: 600;
}

.card-content h3 {
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-content h3 a:hover {
    color: #3498db;
}

.card-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #95a5a6;
}

.post-stats i {
    margin-right: 5px;
}

/* Load More Section */
.load-more-section {
    text-align: center;
}

.load-more-btn {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 50px;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.newsletter-content h3 i {
    margin-right: 10px;
}

.newsletter-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form .form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 25px;
    border-radius: 25px;
    white-space: nowrap;
}

.privacy-note {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Blog Post Page */
.blog-post-page {
    padding: 40px 0;
    background: #f8f9fa;
}

.breadcrumb {
    margin-bottom: 30px;
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 10px;
    color: #bdc3c7;
}

.current {
    color: #7f8c8d;
}

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

.post-header {
    padding: 40px 40px 0;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.post-header .category {
    font-size: 0.9rem;
}

.reading-time {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.reading-time i {
    margin-right: 5px;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 25px;
}

.author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.author-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    display: block;
}

.post-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.post-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: transparent;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.post-image {
    margin: 30px 0;
}

.post-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-content {
    padding: 0 40px 40px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content .lead {
    font-size: 1.25rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #3498db;
}

.post-content h2 {
    color: #2c3e50;
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.post-content h3 {
    color: #34495e;
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.info-box,
.warning-box {
    margin: 30px 0;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid;
}

.info-box {
    background: #e8f4fd;
    border-left-color: #3498db;
}

.info-box h4 {
    color: #2980b9;
    margin-bottom: 10px;
}

.warning-box {
    background: #fef9e7;
    border-left-color: #f39c12;
}

.warning-box h4 {
    color: #e67e22;
    margin-bottom: 10px;
}

.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: #3498db;
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.post-footer {
    background: #f8f9fa;
    padding: 30px 40px;
    border-top: 1px solid #e9ecef;
}

.post-tags {
    margin-bottom: 25px;
}

.post-tags h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1rem;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    color: #6c757d;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #3498db;
    color: white;
}

.social-share h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

.share-btn.facebook:hover { background: #2d4373; }
.share-btn.twitter:hover { background: #1a91da; }
.share-btn.linkedin:hover { background: #005885; }
.share-btn.whatsapp:hover { background: #1ebe57; }

/* Related Posts */
.related-posts {
    margin-bottom: 50px;
}

.related-posts h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

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

.related-content {
    padding: 20px;
}

.related-category {
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.related-content h4 {
    margin: 10px 0;
    line-height: 1.4;
}

.related-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #3498db;
}

.related-date {
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* Post CTA */
.post-cta {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-cta h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.post-cta p {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-text {
        padding: 30px 25px;
    }
    
    .featured-text h2 {
        font-size: 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .post-header {
        padding: 30px 25px 0;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-content {
        padding: 0 25px 30px;
        font-size: 1rem;
    }
    
    .post-footer {
        padding: 25px;
    }
    
    .author-info {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* AI Tax Advisor Section Base Styles */
.ai-advisor-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ai-advisor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}



.ai-advisor-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.ai-advisor-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.ai-advisor-title h2 {
    color: white;
    margin: 0;
    font-size: 2.5rem;
}

.ai-advisor-title p {
    color: rgba(255,255,255,0.9);
    margin: 5px 0 0 0;
    font-size: 1.1rem;
}

.ai-advisor-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
}

.ai-advisor-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

.ai-feature-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.ai-feature-badge i {
    margin-right: 5px;
}

.ai-advisor-cta {
    background: white;
    color: #667eea;
    padding: 15px 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ai-advisor-cta:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.ai-chat-demo {
    text-align: center;
}

.chat-container {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.chat-message {
    margin-bottom: 1.5rem;
}

.bot-message {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: left;
    color: #2c3e50;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.bot-avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.bot-avatar.small {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
}

.bot-message p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.user-message {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.message-bubble {
    background: #3498db;
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    border-bottom-right-radius: 5px;
    font-size: 0.9rem;
    margin-left: auto;
}

.bot-response {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    text-align: left;
    color: #2c3e50;
    font-size: 0.9rem;
}

.response-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.bot-response p {
    margin: 0;
    line-height: 1.3;
}

/* AI Tax Advisor Section Responsive Styles */
@media (max-width: 992px) {
    .ai-advisor-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ai-advisor-content {
        order: 2;
    }
    
    .ai-chat-demo {
        order: 1;
    }
    
    .ai-advisor-header {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ai-advisor-preview {
        padding: 60px 0;
    }
    
    .ai-advisor-title h2 {
        font-size: 2rem;
    }
    
    .ai-advisor-grid {
        gap: 1.5rem;
    }
    
    .ai-advisor-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .ai-advisor-features {
        justify-content: center;
    }
    
    .ai-advisor-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .chat-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ai-advisor-preview {
        padding: 40px 0;
    }
    
    .ai-advisor-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .ai-advisor-title h2 {
        font-size: 1.8rem;
    }
    
    .ai-advisor-title p {
        font-size: 1rem;
    }
    
    .ai-advisor-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .ai-feature-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .chat-container {
        padding: 1rem;
    }
    
    .bot-message {
        padding: 1rem;
    }
    
    .bot-response {
        padding: 0.8rem;
    }
    
    .ai-advisor-cta {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}