:root {
    --header-height: 110px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: url("../images/background.jpg") center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    min-height: 100vh;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
}

.header {
    background-color: rgba(4, 72, 111, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #ff5277;
}

.hero {
    padding-top: calc(var(--header-height) + 10px);
    padding-bottom: 80px;
    scroll-margin-top: var(--header-height);
    text-align: center;
    background: linear-gradient(rgba(10, 20, 40, 0.4), rgba(0, 0, 0, 0.1)), url("../images/background_hero.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 1s forwards;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 400;
    animation: fadeInUp 1.2s forwards;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1.4s forwards;
    text-align: justify;
    text-indent: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #ff5277;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    margin-bottom: 40px;
    animation: fadeInUp 1.6s forwards;
}

.cta-button:hover {
    background: #04486f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.section {
    padding: 80px 0 calc(80px + var(--header-height));
    scroll-margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff5277;
}

.services {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    transition: 0.5s ease-out;
}

.service-icon {
    font-size: 40px;
    color: #04486f;
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
    text-indent: 15px;
    hyphens: auto;
}

.about {
        background:
        linear-gradient(rgba(240, 248, 255, 0.5), rgba(250, 252, 255, 0.3)),
        url("../images/background_about.png") center/cover no-repeat;
    color: #0a233a;

    }

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("../images/background.jpg") center/cover no-repeat;
    background-attachment: fixed;
    min-height: auto;
    padding-bottom: calc(80px + var(--header-height));
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #ff5277;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea { 
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border: none; 
    border-radius: 5px; 
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

textarea { 
    resize: none; 
    height: 120px; 
}

button { 
    width: 100%; 
    padding: 12px; 
    background: #ff5277; 
    color: white; 
    border: none; 
    cursor: pointer; 
    border-radius: 5px; 
    font-size: 16px; 
    transition: 0.3s;
    font-weight: 600;
}

button:hover { 
    background: #04486f; 
}

button:disabled {
    background: #999;
    cursor: not-allowed;
}

.footer {
    background: #04486f;
    padding: 30px 0;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    font-size: 24px;
    color: white;
    transition: 0.3s;
}

.social-icon:hover {
    color: #ff5277;
    transform: translateY(-3px);
}

#success-message {
    background: rgba(0, 128, 0, 0.1);
    color: #00ff00;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    display: none;
}

.is-invalid {
    border: 1px solid red !important;
}

.mobile-menu-button {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0 calc(60px + var(--header-height));
    }

    .contact {
        padding-bottom: calc(60px + var(--header-height));
    }

    .hero h1 {
        font-size: 36px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(4, 72, 111, 0.95);
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .about-content, .contact-container {
        flex-direction: column;
    }
}
