/* Global Styles inspired by termoteca.com */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'DM Sans', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgb(49, 49, 49);
    background-color: rgb(248, 246, 238);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
#mainHeader {
    background-color: #1e4d6b;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    font-family: 'DM Serif Display', serif;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s;
}

.main-nav a:hover,
.main-nav a.nav-active {
    font-weight: 700;
}

.header-btn {
    background-color: #ff9900;
    color: white;
    padding: 12px 24px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: background-color 0.3s;
}

.header-btn:hover {
    background-color: #e68a00;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e4d6b 0%, #2a6f8f 100%);
    padding: 120px 40px;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 60px;
    font-weight: 400;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: white;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Intro */
.services-intro {
    background: white;
    padding: 70px 0;
}

.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: rgb(17, 17, 17);
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.service-card {
    text-align: center;
}

.service-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: rgb(17, 17, 17);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.8;
    color: rgb(49, 49, 49);
}

.cta-center {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background-color: #1e4d6b;
    color: white;
    padding: 16px 40px;
    border-radius: 1px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #163a51;
}

/* Image Gallery */
.image-gallery {
    background-color: rgb(248, 246, 238);
    padding: 70px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(0.98);
}

/* Why Choose Section */
.why-choose {
    background: white;
    padding: 70px 0;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.numbered-features {
    display: grid;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    font-size: 55px;
    font-weight: 700;
    color: rgb(255, 153, 1);
    line-height: 1;
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: rgb(17, 17, 17);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgb(49, 49, 49);
}

/* Testimonials */
.testimonials-section {
    background-color: rgb(248, 246, 238);
    padding: 70px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 4px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgb(49, 49, 49);
}

.testimonial-author {
    font-size: 14px;
    color: rgb(49, 49, 49);
}

.testimonial-author strong {
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #1e4d6b;
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-btn {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 12px 24px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s;
}

.footer-btn:hover {
    background-color: #e68a00;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: rgb(17, 17, 17);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e4d6b;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #1e4d6b;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 1px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #163a51;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 4px;
    text-align: center;
    max-width: 500px;
}

.modal-icon {
    font-size: 60px;
    color: #4caf50;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: rgb(17, 17, 17);
    font-size: 28px;
    margin-bottom: 15px;
}

.modal-content p {
    color: rgb(49, 49, 49);
    margin-bottom: 25px;
}

.modal-btn {
    background-color: #1e4d6b;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-container {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    
    .logo {
        flex: 1;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        text-align: center;
        background-color: #1e4d6b;
        padding: 20px 0;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .header-btn {
        order: 3;
        margin-left: auto;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}