@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    max-width: 1180px;
    margin: 0 auto;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #003399, #ffcc00);
    border-radius: 2px;
}

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

/* Hero Section - Block 1 */
.hero-section {
    min-height: 430px;
    background: linear-gradient(135deg, #003399 0%, #0066cc 50%, #003d82 100%);
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 204, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 204, 0, 0.05) 41%, rgba(255, 204, 0, 0.05) 43%, transparent 44%);
    background-size: 400px 400px, 300px 300px, 100px 100px;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-section h2 {
    font-size: 1.8rem;
    color: #ffcc00;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-section h2::after {
    background: linear-gradient(90deg, #ffcc00, #ffffff);
    left: 50%;
    transform: translateX(-50%);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #ffcc00, #ffd700);
    color: #003399;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
    background: linear-gradient(45deg, #ffd700, #ffcc00);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffcc00;
    color: #ffcc00;
    transform: translateY(-2px);
}

/* Services Section - Block 3 */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 51, 153, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 51, 153, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003399, #ffcc00);
    border-radius: 15px 15px 0 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 51, 153, 0.15);
}

.service-card.featured {
    border: 2px solid #ffcc00;
    transform: scale(1.05);
}

.service-card h3 {
    color: #003399;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #003399;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Article Section */
.article-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 51, 153, 0.1);
    border-left: 5px solid #ffcc00;
    margin-top: 3rem;
}

.article-section h3 {
    color: #003399;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.article-section p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    color: #495057;
}

/* Reviews Section - Block 5 */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #003399 0%, #0066cc 100%);
    color: white;
}

.reviews-section h2 {
    color: white;
    text-align: center;
}

.reviews-section h2::after {
    background: linear-gradient(90deg, #ffcc00, #ffffff);
    left: 50%;
    transform: translateX(-50%);
}

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

.review-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stars {
    color: #ffcc00;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.reviewer strong {
    color: #ffcc00;
}

.reviewer span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Team Section - Block 4 */
.team-section {
    padding: 80px 0;
    background: white;
}

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

.team-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #003399, #ffcc00);
}

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

.team-card h3 {
    color: #003399;
    margin-bottom: 0.5rem;
}

.position {
    color: #ffcc00;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Contact Form Section - Block 2 */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.contact-form-section h2 {
    text-align: center;
    color: #003399;
}

.contact-form-section p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #6c757d;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #003399;
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Contact Section - Block 6 */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.address {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #003399;
}

.address h3 {
    color: #003399;
    margin-bottom: 1.5rem;
}

.address p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.map iframe {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer - Block 7 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 450px;
        text-align: center;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card.featured {
        transform: none;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-section {
        padding: 2rem;
        margin-top: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .service-card,
    .review-card,
    .team-card {
        padding: 1.5rem;
    }

    section {
        padding: 60px 0 !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        min-height: 400px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .service-card,
    .review-card,
    .team-card,
    .article-section,
    .contact-form {
        padding: 1.2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .hero-section {
        background: #003399 !important;
        -webkit-print-color-adjust: exact;
    }

    .btn {
        border: 2px solid #003399 !important;
        color: #003399 !important;
        background: transparent !important;
    }
}
