
/* Body Pattern 15 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar */

#navbar {
    position: fixed;
    width: 100%;
    top: 0;
    transition: top 0.3s ease-in-out;
    z-index: 1000;
}

nav {
    background: #1A5F7A;
    padding: 1.2rem;
    box-shadow: 0 3px 8px rgba(26, 95, 122, 0.2);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav li {
    padding: 0.5rem;
    position: relative;
}

nav a {
    text-decoration: none;
    color: #C2E7F2;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}

nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(87, 197, 182, 0.1);
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: -1;
}

nav a:hover::before {
    width: 200%;
    height: 200%;
    animation: ripple 0.6s ease-out;
}

nav a:hover {
    color: #86C8E3;
}

@keyframes ripple {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    to {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ทำให้ responsive สำหรับหน้าจอมือถือ */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
}


/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    /* Animation for hamburger menu */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}



/* Hero Section */

.hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #002B5B 0%, #1A5F7A 100%);
    color: #C2E7F2;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    padding-right: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(45deg, #57C5B6, #159895);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E6F4F1;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #57C5B6;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #159895;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 43, 91, 0.5);;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}
/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }  
}




/* About Section Styles */

.about-section {
    padding: 4rem 2rem;
    background-color: #F0FAFF;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #002B5B;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-block {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    overflow: hidden;
    min-height: 400px;
}

.content-overlay {
    background: rgba(0, 43, 91, 0.9);
    padding: 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

.content-text {
    color: #C2E7F2;
    text-align: center;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .content-block {
        min-height: 300px;
    }

    .content-overlay {
        padding: 1.5rem;
    }
}




/* Requirement Section Styles */

.requirements-section {
    padding: 4rem 2rem;
    background-color: #F5FCFF;
}

.requirements-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.requirement-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(26, 95, 122, 0.12);
    transition: transform 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
}

.requirement-title {
    color: #002B5B;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid 2px solid #57C5B6;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #1A5F7A;
}

.spec-label {
    font-weight: bold;
    color: #57C5B6;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .requirements-section {
        padding: 2rem 1rem;
    }
    
    .requirements-container {
        grid-template-columns: 1fr;
    }
    
    .requirement-card {
        padding: 1.5rem;
    }
}




/* Contact Section */

.contact-section {
    padding: 4rem 2rem;
    background-color: #F0FAFF;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Form selected_section */
.contact-form-wrapper {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(26, 95, 122, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #002B5B;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #57C5B6;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #57C5B6;
}

.submit-btn {
    background-color: #57C5B6;
    color: #FFFFFF;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #4DB1A3;
}

/* LINE Contact selected_section */
.line-contact-wrapper {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(26, 95, 122, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.line-add-friend {
    text-align: center;
}

.line-info {
    text-align: center;
}

.line-info h3 {
    margin-bottom: 1rem;
    color: #002B5B;
}

.line-info p {
    color: #1A5F7A;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.line-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.line-link {
    color: #57C5B6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.line-link:hover {
    color: #4DB1A3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .line-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}



