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

:root {
    --primary-color: #00917E;
    --secondary-color: #007566;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --hover-color: #006b5c;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 145, 126, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.card .btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

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

/* Header Upper */
.header-upper {
    background-color: var(--bg-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.header-nav {
    display: flex;
    gap: 25px;
}

.header-nav a {
    font-size: 14px;
    color: var(--text-color);
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.language-selector {
    display: flex;
    gap: 15px;
}

.language-selector a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 3px;
}

.language-selector a:hover,
.language-selector a.active {
    color: var(--primary-color);
    background-color: rgba(0, 145, 126, 0.1);
}

.header-actions {
    display: flex;
    gap: 20px;
}

.header-link {
    font-size: 14px;
    color: var(--text-color);
}

.header-link:hover {
    color: var(--primary-color);
}

.search-btn,
.mobile-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
    display: flex;
    align-items: center;
}

.search-btn:hover,
.mobile-search-btn:hover {
    color: var(--primary-color);
}

/* Main Header */
.header-main {
    background-color: var(--bg-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background-color: var(--bg-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu ul {
    padding: 20px;
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    color: var(--text-color);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
    background-color: white;
    padding: 15px 0;
}

.breadcrumb ol {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .active {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: visible;
    margin-bottom: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.hero-content h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    color: white;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 10;
    line-height: 0;
    height: 80px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Main Content */
.main-content {
    background-color: var(--bg-white);
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
}

/* Grid 3 Columns */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: #00917E;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.card-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-info {
    margin: 10px 0;
}

.phone-link,
.email-link {
    color: white;
    font-weight: 500;
    font-size: 18px;
}

.phone-link:hover,
.email-link:hover {
    text-decoration: underline;
}

/* Image Text Section */
.image-text-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-text-content {
    text-align: center;
    max-width: 800px;
}

.image-text-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.image-text-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.image-text-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: white;
    color: var(--text-color);
}

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

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.cta-section .btn-primary:hover {
    background-color: var(--hover-color);
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: white;
}

.footer-campaign {
    background-color: #1a1a1a;
    padding: 40px 0;
    text-align: center;
}

.campaign-slogan {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 300;
}

.campaign-claim {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.footer-navigation {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-meta {
    background-color: #1a1a1a;
    padding: 30px 0;
    border-top: 1px solid #444;
}

.footer-meta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-meta p {
    font-size: 14px;
    color: #999;
}

.footer-meta-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-meta-links a {
    font-size: 13px;
    color: #999;
}

.footer-meta-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #444;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.search-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
}

.search-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-suggestions h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.search-suggestions ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-suggestions a {
    color: var(--primary-color);
    padding: 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.search-suggestions a:hover {
    background-color: var(--bg-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-upper {
        display: none;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .header-main .btn-primary {
        display: none;
    }

    .mobile-search-btn {
        display: block;
    }

    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .image-text-content h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-meta-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-meta-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .image-text-content h2 {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.image-text-section,
.cta-content {
    animation: fadeIn 0.6s ease-out;
}

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