
/* 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: linear-gradient(90deg, #1A5F7A, #57C5B6);
    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: 3rem;
}

nav li {
    padding: 0.5rem;
}

nav a {
    text-decoration: none;
    color: #C2E7F2;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.4s ease;
    background-color: transparent;
}

nav a:hover {
    color: #86C8E3;
    background-color: rgba(87, 197, 182, 0.1);
    transform: translateY(-2px);
}

/* ทำให้ 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 {
    position: relative;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #002B5B 0%, #1A5F7A 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

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

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 900;
    color: #C2E7F2;
}

.hero-title .highlight {
    display: block;
    background: linear-gradient(45deg, #57C5B6, #159895);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #E6F4F1;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.cta-button {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(45deg, #57C5B6, #159895);
    border: none;
    color: #FFFFFF;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #57C5B6;
    color: #FFFFFF;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(87, 197, 182, 0.4);;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #C2E7F2;
    margin-bottom: 5px;
}

.stat-label {
    color: #E6F4F1;
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    perspective: 1000px;
}

.image-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 43, 91, 0.5);;
    transform: translateZ(0);
    transition: all 0.5s ease;
}

.bg-effect {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    filter: blur(15px) opacity(0.5);
    z-index: -1;
    transform: translateZ(-50px);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 77, 77, 0.2),
        rgba(249, 203, 40, 0.2)
    );
    border-radius: 20px;
    z-index: 1;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #57C5B6, #159895);
    top: -20px;
    right: -20px;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.floating-square {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #57C5B6, #159895);
    bottom: -15px;
    left: -15px;
    transform: rotate(45deg);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite reverse;
}

/* Hover Effects */
.hero-image:hover .image-wrapper {
    transform: translateY(-10px) rotateY(-5deg);
}

.hero-image:hover .main-image {
    transform: translateZ(30px);
    box-shadow: 0 10px 30px rgba(0, 43, 91, 0.5);;
}

/* Animation Keyframes */
    @keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .floating-circle {
        width: 60px;
        height: 60px;
    }
    
    .floating-square {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-image {
        max-width: 100%;
    }
    
    .bg-effect {
        display: none;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Optional: Add this if you want to maintain the grid layout */
.hero-content {
    grid-template-columns: 1fr 1.2fr; /* Adjusted ratio */
    align-items: center;
    gap: 40px;
}

/* Optional: Add a container for better positioning */
.hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .hero-description {
        margin: 0 auto 40px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 20px;
    }

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

    .hero-description {
        font-size: 1.1rem;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}





/* About Section Styles */

.about-section {
    padding: 100px 0;
    background: #F0FAFF;
    color: #002B5B;
    overflow: hidden;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    background: linear-gradient(45deg, #002B5B, #002B5B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #002B5B, #002B5B);
    border-radius: 2px;
}

.content-block {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

.content-block.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.content-block.reverse .content-info {
    direction: ltr;
}

.content-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* สำหรับรูปพื้นหลัง */
.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
    filter: blur(8px);
    transform: scale(1.1);
}

/* สำหรับ grid รูปภาพ */
.image-grid {
    position: relative;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    z-index: 2;
}

.grid-item {
    width: 100%;
    height: auto;
    position: relative;
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #002B5B, #002B5B);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item:hover .hover-overlay {
    opacity: 1;
}

.content-info {
    padding: 20px;
}

.content-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #002B5B, #002B5B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #C2E7F2;
    margin-bottom: 30px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: #C2E7F2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: #86C8E3;
}

.learn-more:hover .arrow {
    transform: translateX(8px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-block,
    .content-block.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

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

    .image-grid {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }

    .image-grid {
        max-width: 100%;
    }
    
    .grid-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .content-title {
        font-size: 1.8rem;
    }
}
.about-section {
    padding: 100px 0;
    background: #F0FAFF;
    color: #002B5B;
    overflow: hidden;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    background: linear-gradient(45deg, #002B5B, #002B5B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #002B5B, #002B5B);
    border-radius: 2px;
}

.content-block {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

.content-block.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.content-block.reverse .content-info {
    direction: ltr;
}

.content-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* สำหรับรูปพื้นหลัง */
.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
    filter: blur(8px);
    transform: scale(1.1);
}

/* สำหรับ grid รูปภาพ */
.image-grid {
    position: relative;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    z-index: 2;
}

.grid-item {
    width: 100%;
    height: auto;
    position: relative;
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #002B5B, #002B5B);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item:hover .hover-overlay {
    opacity: 1;
}

.content-info {
    padding: 20px;
}

.content-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #002B5B, #002B5B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #C2E7F2;
    margin-bottom: 30px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: #C2E7F2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: #86C8E3;
}

.learn-more:hover .arrow {
    transform: translateX(8px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-block,
    .content-block.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

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

    .image-grid {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }

    .image-grid {
        max-width: 100%;
    }
    
    .grid-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }  

    .content-title {
        font-size: 1.8rem;
    }
}




/* Requirement Section Styles */

.requirements-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F5FCFF 0%, #F5FCFF 100%);
    color: white;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #1A5F7A, #1A5F7A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.requirement-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 0 4px 8px rgba(26, 95, 122, 0.12);
    transition: transform 0.3s ease;
}

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

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #57C5B6;
}

.card-icon {
    font-size: 24px;
    margin-right: 15px;
}

.requirement-title {
    font-size: 1.5rem;
    color: #002B5B;
    margin: 0;
}

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

.requirement-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px solid #57C5B6;
}

.requirement-list li:last-child {
    border-bottom: none;
}

.spec-label {
    color: #57C5B6;
    font-size: 0.9rem;
}

.spec-value {
    color: #1A5F7A;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .requirements-section {
        padding: 60px 0;
    }

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

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .requirement-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .requirement-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .spec-value {
        font-size: 0.9rem;
    }
} 




/* Contact Section */

.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0FAFF 0%, #F0FAFF 100%);
    color: white;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #002B5B 0%, #002B5B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

/* Form Styles */
.contact-form-wrapper, .line-contact-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header, .line-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.header-icon {
    font-size: 24px;
    margin-right: 15px;
}

.form-header h3, .line-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #002B5B;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #002B5B;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #57C5B6, #57C5B6);
    border: none;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* LINE Contact Styles */
.line-content {
    text-align: center;
}

.qr-section {
    margin-bottom: 30px;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.line-btn img {
    height: 40px;
    transition: transform 0.3s ease;
}

.line-btn:hover img {
    transform: scale(1.05);
}

.line-info p {
    color: #1A5F7A;
    margin-bottom: 20px;
}

.line-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.line-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #57C5B6;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: #57C5B6;
    transition: all 0.3s ease;
}

.line-link:hover {
    background: #57C5B6;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper, .line-contact-wrapper {
        padding: 20px;
    }

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

    .line-links {
        flex-direction: column;
    }
}



