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

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;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
}

h2 {
    font-size: 2rem;
    color: #2c5aa0;
}

h3 {
    font-size: 1.5rem;
    color: #3a7bd5;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.btn-primary {
    background-color: #25d366;
    color: white;
}

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

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

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

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Sticky Header */
.sticky-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #2c5aa0;
}

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

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #2c5aa0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

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

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero h2 {
    color: #e3f2fd;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 2rem;
    color: #666;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 2rem;
    text-align: left;
}

.about-content a {
    color: #2c5aa0;
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

/* Blog Section */
.blog {
    padding: 4rem 0;
    background-color: white;
}

.blog h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.blog-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.blog-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.blog-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.read-more {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Post Specific Styles */
.blog-content {
    padding: 4rem 0;
    background-color: white;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.blog-header h1 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
}

.blog-meta .date,
.blog-meta .author {
    margin-right: 1rem;
}

.blog-body {
    line-height: 1.8;
}

.blog-body h2 {
    color: #2c5aa0;
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
}

.blog-body h3 {
    color: #3a7bd5;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.blog-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.blog-body ul,
.blog-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-body li {
    margin-bottom: 0.5rem;
}

.blog-body a {
    color: #2c5aa0;
    text-decoration: none;
}

.blog-body a:hover {
    text-decoration: underline;
}

.blog-cta {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid #e9ecef;
}

.blog-cta h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.blog-cta p {
    margin-bottom: 2rem;
}

.related-posts {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

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

/* Contact Details Section */
.contact-details {
    padding: 4rem 0;
    background-color: white;
}

.contact-details h2 {
    text-align: center;
    margin-bottom: 3rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.contact-item ul {
    list-style: none;
    padding: 0;
}

.contact-item ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item ul li:last-child {
    border-bottom: none;
}

.contact-map {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-map h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.map-container {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    border-radius: 8px;
}

/* Footer */
.footer {
    background-color: #2c5aa0;
    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 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #e3f2fd;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3a7bd5;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Floating Phone Button (Mobile Only) */
.floating-phone {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: none; /* Hidden by default, shown on mobile */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-phone:hover {
    background-color: #1e3f7a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sticky-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-whatsapp {
        width: 56px;
        height: 56px;
    }
    
    .floating-phone {
        display: flex; /* Show on mobile */
        width: 56px;
        height: 56px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-post {
        padding: 0 1rem;
    }
    
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-body h2 {
        font-size: 1.5rem;
    }
    
    .blog-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .services, .about, .blog, .contact {
        padding: 2rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* Loading animation for images */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .floating-whatsapp,
    .sticky-header {
        display: none;
    }
}
