* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    padding-top: 90px; /* Adjust this value based on your header height */
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed; /* Changed from relative to fixed */
    top: 0; /* Stick to top */
    left: 0; /* Align to left edge */
    right: 0; /* Align to right edge */
    width: 100%; /* Full width */
    padding: 8px 15px;
    z-index: 1001; /* Higher than dropdown z-index (1000) */
    transition: all 0.3s ease; /* Smooth transition for any changes */
}

/* Optional: Add a subtle shadow enhancement when scrolling */
.header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: rgba(255,255,255,0.98);
    backdrop-filter: blur(5px);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 70px;
}

.nav-container img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin-bottom: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 18px 15px;
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #1e4a73;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: #1e4a73;
    background-color: rgba(30, 74, 115, 0.05);
}

/* Find Product Button with Font Awesome Icon */
.find-product-btn {
    background-color: #003A70;
    color: white;
    padding: 6px 8px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 11px;
    border: 2px solid #003A70;
}

.find-product-btn:hover {
    background-color: transparent;
    color: #003A70;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 58, 112, 0.2);
}

/* Search icon styling */
.find-product-btn i {
    font-size: 12px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    min-width: 1000px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000; /* Keep dropdown below header */
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    overflow: hidden;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    flex: 1;
    min-width: calc(100% / 6);
    display: flex;
    text-wrap: auto;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    color: #333;
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    border-right: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
}

.dropdown-item:hover {
    background-color: #1e4a73;
    color: white;
    transform: translateY(-2px);
}

.dropdown-item:last-child {
    border-right: none;
}

/*Home Page*/
/* ===========================
   CAROUSEL BASE STYLES
=========================== */
.carousel-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: #000; /* fallback background */
}

.carousel-slide {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;

    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    z-index: 2;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
}

/* ===========================
   SLIDE ANIMATIONS
=========================== */

/* Left Slide */
.animation-slide-left {
    transform: translateX(-40px);
}
.animation-slide-left.active {
    transform: translateX(0);
}

/* Right Slide */
.animation-slide-right {
    transform: translateX(40px);
}
.animation-slide-right.active {
    transform: translateX(0);
}

/* Fade In */
.animation-fade-in {
    transform: scale(1);
    opacity: 0;
}
.animation-fade-in.active {
    opacity: 1;
}

/* Fade Up */
.animation-fade-up {
    transform: translateY(40px);
}
.animation-fade-up.active {
    transform: translateY(0);
}

/* Slide Down */
.animation-slide-down {
    transform: translateY(-40px);
}
.animation-slide-down.active {
    transform: translateY(0);
}

/* Zoom In */
.animation-zoom-in {
    transform: scale(0.9);
}
.animation-zoom-in.active {
    transform: scale(1);
}

/* Gentle Scale */
.animation-gentle-scale {
    transform: scale(0.97);
}
.animation-gentle-scale.active {
    transform: scale(1);
}

/* Fade Left */
.animation-fade-left {
    transform: translateX(20px);
    opacity: 0.5;
    filter: blur(1px);
}
.animation-fade-left.active {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
}

/* Fade Right */
.animation-fade-right {
    transform: translateX(-20px);
    opacity: 0.5;
    filter: blur(1px);
}
.animation-fade-right.active {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
}

/* ===========================
   HERO CONTENT ANIMATIONS
=========================== */
.hero-content {
    position: relative;
    margin-left: 30px;
    z-index: 5;
    max-width: 600px;
    color: white;
    opacity: 0;
    transform: translateX(-30px);
    transition: transform 0.8s ease-out 0.2s, opacity 0.8s ease-out 0.2s;
}

.carousel-slide.active .hero-content {
    transform: translateX(0);
    opacity: 1;
}

/* Hero Title & Description */
.hero-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.85;
    line-height: 1.6;
}

/* Hero Button */
.hero-btn {
    background-color: white;
    color: #1e4a72;
    padding: 14px 14px;
    border: none;
    border-radius: 5px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ===========================
   CAROUSEL CONTROLS
=========================== */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 5;
}

.carousel-arrow {
    background-color: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
    background-color: rgba(255,255,255,0.3);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

/* ===========================
   CAROUSEL INDICATORS
=========================== */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-indicator.active {
    background-color: white;
    border-color: white;
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* Progress Ring Animation */
.carousel-indicator.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===========================
   Z-INDEX HIERARCHY
=========================== */
.carousel-slide { z-index: 2; }
.hero-content { z-index: 3; }
.carousel-controls,
.carousel-indicators { z-index: 5; }
.particles { z-index: 1; pointer-events: none; }


/* Section 2: About Us */
.about-section {
    padding: 50px 50px;
    background-color: #FFFFFF;
    text-align: center;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-title {
    font-size: 30px;
    color: #1e4a72;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-text {
    font-size: 15px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-btn {
    background-color: #1e4a72;
    display: inline-block;
    color: white;
    padding: 0.6em 1.2em;
    margin: 15px;
    border: none;
    border-radius: 0px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease-in;
}

.about-btn:hover {
    background-color: #2d5a8a;
    transform: translateY(-2px);
}

/* Section 3: Our Products */
.products-section {
    padding: 50px 100px;
    background-color: #F8F8F8;
}

.products-container {
    max-width: 1200px;
    margin: auto;
}

a {
  text-decoration: none;    
}

.products-title {
    font-size: 30px;
    color: #000000;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

.product-item {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* Section 4: Our Network */
.network-section {
    padding: 50px 100px;
    background-color: #FFFFFF;
}

.network-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.network-title {
    font-size: 30px;
    color: #1e4a72;
    font-weight: bold;
    margin-bottom: 50px;
}

.network-map {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.network-map img {
    max-width: 1000px;
    max-height: 850px;
    height: auto;
}

.location-marker {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: transparent;
    border: 2px solid black;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: locationPulse 2s ease-in-out infinite;
}

.location-marker:hover {
    transform: scale(1.3);
    background-color: black;
}

.location-marker::after {
    content: attr(data-location);
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-marker:hover::after {
    opacity: 1;
}

/* Simple pulse animation */
@keyframes locationPulse {
    0% {
        box-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 0 0 0 rgba(0, 0, 0, 0.5);
        background-color: transparent;
    }
    50% {
        box-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 0 0 10px rgba(0, 0, 0, 0);
        background-color: rgba(0, 0, 0, 0.7);
    }
    100% {
        box-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 0 0 0 rgba(0, 0, 0, 0);
        background-color: transparent;
    }
}

/* Location positions (approximate) */
.japan {top: 52%; left: 85%;}
.taiwan {top: 59%; left: 80%;}
.malaysia {top: 67%; left: 74.5%;}      
.singapore {top: 69%; left: 75.5%;}

/* Footer */
.footer {
    background-color: #F2F2F2;
    padding: 20px 0;
    border-top: 1px solid #d1d3d4;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-copyright-text {
    color: #333333;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    font-weight: 600;
}

/* Partner Page*/
/* Partner Section */
.partner-section {
    background-color: #003A70;
    padding: 50px 0;
}

.partner-section h2 {
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: left;
}

.partner-content {
    font-size: 15px;
    color: white;
    line-height: 1.8;
    text-align: justify;
    padding-left: 100px;
}

.partner-content p {
    margin-bottom: 20px;
}




/* About Us Page*/
/* History Section */
.history-section {
    background-color: #003A70;
    padding: 50px 0;
}

.history-section h2 {
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: left;
}

.history-content {
    font-size: 15px;
    color: white;
    line-height: 1.8;
    text-align: left;
    padding-left: 100px;
    max-width: 1200px;
}

.history-content p {
    margin-bottom: 20px;
}

/* ASUKI Way Section */
.asuki-way-section {
    background-color: #f7f7f7;
    padding: 40px 0;
    color: #003a70;
}

.asuki-way-section h2 {
    color: #003a70;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 40px;
}

.asuki-way-content {
    font-size: 15px;
    line-height: 1.8;
    padding-left: 100px;
    max-width: 1200px;
}

.asuki-way-content p {
    margin-bottom: 20px;
}

.asuki-logo {
    text-align: center;
    margin-top: 20px;

}

.asuki-image {
    width: 350px;
    height: 100px;
}

 /* Vision and Mission Combined Section */
.vision-mission-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #003A70 50%, #0056a3 50%);
    position: relative;
    overflow: hidden;
}

.vision-mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
    position: relative;
}

/* Vision Side */
.vision-side {
    background-color: #f8f8f8;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-radius: 20px 0 0 20px;
    box-shadow: 0 10px 30px rgba(0, 58, 112, 0.1);
}

.vision-side::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #003A70, #0056a3);
}

/* Mission Side */
.mission-side {
    background-color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 10px 30px rgba(0, 58, 112, 0.1);
}

/* Headers */
.vision-h2, .mission-h2 {
    color: #003A70;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.vision-h2::after, .mission-h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 150px;
    height: 4px;
    background: #003A70;
    border-radius: 2px;
}

/* Content */
.vision-content, .mission-content {
    color: #333333;
    font-size: 18px;
    line-height: 1.6;
    font-weight: bold;
    position: relative;
}

.vision-content p, .mission-content p {
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Decorative Elements */
.vision-side::after {
    font-family: "Font Awesome 6 Free";
    content: "\f05b";  /* fa-crosshairs (target icon) */
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 24px;
    color: #003A70;
    opacity: 0.7;
    font-weight: 900;
}

.mission-side::after {
    font-family: "Font Awesome 6 Free";
    content: "\f135";  /* fa-rocket */
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 24px;
    color: #003A70;
    opacity: 0.7;
    font-weight: 900;
}

/* Hover Effects */
.vision-side:hover, .mission-side:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.vision-side:hover {
    box-shadow: 0 15px 40px rgba(0, 58, 112, 0.15);
}

.mission-side:hover {
    box-shadow: 0 15px 40px rgba(0, 58, 112, 0.15);
}


/* Alternative Creative Layout Option */
.creative-layout {
    display: none; /* Toggle this to show alternative design */
}

.creative-layout .vision-mission-container {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 58, 112, 0.1);
}

.creative-layout .vision-side {
    flex: 1;
    background-color: #f8f8f8;
    padding: 80px 50px;
    position: relative;
    border-radius: 0;
}

.creative-layout .mission-side {
    flex: 1;
    background-color: white;
    padding: 80px 50px;
    border-radius: 0;
}

.creative-layout .vision-side::before {
    display: none;
}

/* Values Section */
.values-section {
    background-color: #f7f7f7;
    padding: 50px 0;
}

.values-section h2 {
    color: #003a70;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 1rem;
}




/* Contact Us Page */
/* Offices Section */
.offices-section {
    padding: 70px 0;
    background: white;
}

.office-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}   

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);            
    gap: 30px;
    margin-top: 35px;
    margin-bottom: 35px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.office-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #667eea;
    position: relative;
    overflow: hidden;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.office-card:hover::before {
    left: 100%;
}

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

.office-country {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.office-type {
    font-size: 1rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
}

.office-address {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: bold;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    min-height: 200px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #003A70 100%);
    color: white;
    border: none;
    padding: 10px 10px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Animations - Your existing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================ */
/* AJAX ADDITIONS - Add these to your CSS */
/* ============================================ */

/* Error message styling for AJAX */
.error-message {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Error state for inputs - Enhanced to match your style */
.form-input.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.form-input.is-invalid:focus {
    border-color: #dc3545;
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

/* Success/Error Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid transparent;
    border-radius: 15px; /* Match your form's border radius style */
    position: relative;
    font-weight: 500;
}

.alert-success {
    color: #155724;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); /* Match your gradient style */
    border-color: #c3e6cb;
    box-shadow: 0 5px 15px rgba(21, 87, 36, 0.1); /* Add shadow like your form */
}

.alert-danger {
    color: #721c24;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%); /* Match your gradient style */
    border-color: #f5c6cb;
    box-shadow: 0 5px 15px rgba(114, 28, 36, 0.1); /* Add shadow like your form */
}

.btn-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    padding: 0;
    font-weight: bold;
    transition: opacity 0.3s ease; /* Add smooth transition */
}

.btn-close:hover {
    opacity: 0.8;
    transform: scale(1.1); /* Add slight scale effect on hover */
}

.btn-close::before {
    content: '×';
}

/* Loading state for button - Enhanced */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none; /* Disable hover transform when disabled */
}

.submit-btn:disabled:hover {
    transform: none; /* Ensure no hover effects when disabled */
    box-shadow: none;
}

/* Message fade-in animation - Match your existing animation style */
.fade-in-message {
    animation: fadeInUp 0.6s ease-out;
}

/* Additional enhancement: Loading spinner style */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



/* ===== RESPONSIVE DESIGN MEDIA QUERIES ===== */

/*Home Page*/
/* ✅ Large Screens (≥1200px) */
@media screen and (min-width: 1200px) {
    /* Carousel */
    .hero-title {
        font-size: 30px;
    }
    .hero-description {
        font-size: 15px;
    }
    .hero-btn {
        font-size: 16px;
        padding: 12px 12px;
    }

    /* About Us, Products, Network Titles */
    .about-title,
    .products-title,
    .network-title {
        font-size: 30px;
    }

    .about-text {
        font-size: 15px;
    }
}

/* ✅ Tablets (768px – 1199px) */
@media screen and (max-width: 1199px) and (min-width: 768px) {
    /* Carousel */
    .carousel-slide {
        padding: 20px 30px;
    }
    .hero-content {
        max-width: 500px;
    }
    .hero-title {
        font-size: 25px;
    }
    .hero-description {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .hero-btn {
        font-size: 13px;
        padding: 12px 12px;
    }
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .carousel-indicator {
        width: 12px;
        height: 12px;
    }

    /* About Us */
    .about-section {
        padding: 40px 35px;
    }
    .about-title {
        font-size: 26px;
    }
    .about-text {
        font-size: 13px;
    }

    /* Products */
    .products-title {
        margin-bottom: 30px;
    }
    .products-section {
        padding: 40px 50px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    .product-image {
        height: 220px;
    }

    /* Our Network */
    .network-title {
        margin-bottom: 30px;
    }
    .network-section {
        padding: 40px 30px;
    }
    .network-map img {
        max-width: 100%;
    }
}

/* ✅ Mobile Devices (≤767px) */
@media screen and (max-width: 767px) {
    /* Carousel */
    .carousel-slide {
        flex-direction: column;
        justify-content: center;
        padding: 20px;
    }
    .hero-content {
        max-width: 300px;
        margin-left: 0%;
    }
    .hero-title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .hero-description {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .hero-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* Hide carousel controls on mobile */
    .carousel-controls {
        display: none !important;
    }

    /* Make carousel swipeable on touch devices */
    .carousel {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

    .carousel-indicators {
        bottom: 20px;
        gap: 10px;
    }
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    /* About Us */
    .about-section {
        padding: 20px 30px;
    }
    .about-title {
        font-size: 22px;
    }
    .about-text {
        font-size: 12px;
        line-height: 1.5;
    }
    .about-btn {
        font-size: 12px;
        padding: 5px 10px;
    }

    /* Products */
    .products-section {
        padding: 30px 20px;
    }
    .products-title {
        margin-bottom: 30px;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .product-image {
        width: 375px;
        height: 200px;
    }

    /* Our Network */
    .network-section {
        padding: 30px 20px;
    }
    .network-title {
        font-size: 22px;
    }
    .network-map img {
        width: 100%;
        height: auto;
    }
    .location-marker {
        width: 10px;
        height: 10px;
    }
    .location-marker::after {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* About Us Page */
/* Tablet and smaller screens */
@media screen and (max-width: 1024px) {
    /* History Section */
    .history-section h2 {
        font-size: 26px;
        text-align: center;
        max-width: 100%;
    }
    
    .history-content {
        padding-left: 50px;
        padding-right: 20px;
        max-width: 100%;
    }
    
    /* ASUKI Way Section */
    .asuki-way-section h2 {
        font-size: 26px;
        text-align: center;
        padding: 0 20px;
    }
    
    .asuki-way-content {
        padding-left: 30px;
        padding-right: 30px;
        max-width: 100%;
    }
    
    .asuki-logo {
        padding-left: 20px;
    }

    .asuki-image {
        width: 275px;
        height: 75px;
    }
    
    /* Vision Mission Section */
    .vision-mission-section {
        padding: 60px 20px;
    }
    
    .vision-side, .mission-side {
        padding: 40px 30px;
    }
    
    .vision-h2, .mission-h2 {
        font-size: 28px;
    }
    
    .vision-h2::after, .mission-h2::after {
        width: 100px;
    }
    
    .vision-content, .mission-content {
        font-size: 16px;
    }
    
    /* Values Section */
    .values-section h2 {
        font-size: 26px;
        text-align: center;
        padding: 0 20px 30px;
    }
}

/* Mobile screens */
@media screen and (max-width: 768px) {
    /* History Section */
    .history-section {
        padding: 20px 0;
    }
    
    .history-section h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .history-content {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
        text-align: left;
    }
    
    /* ASUKI Way Section */
    .asuki-way-section {
        padding: 30px 0;
    }
    
    .asuki-way-section h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .asuki-way-content {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .asuki-logo {
        padding-left: 0;
        margin-top: 15px;
    }

    .asuki-image {
        width: 200px;
        height: 75px;
    }
    
    /* Vision Mission Section - Stack vertically */
    .vision-mission-section {
        padding: 40px 15px;
    }
    
    .vision-mission-container {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .vision-side {
        border-radius: 20px;
        padding: 30px 20px;
        margin-bottom: 0;
    }
    
    .vision-side::before {
        display: none;
    }
    
    .mission-side {
        border-radius: 20px;
        padding: 30px 20px;
    }
    
    .vision-h2, .mission-h2 {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .vision-h2::after, .mission-h2::after {
        width: 80px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .vision-content, .mission-content {
        font-size: 15px;
        text-align: center;
    }
    
    .vision-side::after, .mission-side::after {
        top: 20px;
        right: 20px;
        font-size: 20px;
    }
    
    .vision-side:hover, .mission-side:hover {
        transform: none;
    }
    
    /* Values Section */
    .values-section {
        padding: 30px 0;
    }
    
    .values-section h2 {
        font-size: 22px;
    }
}

/* Small mobile screens */
@media screen and (max-width: 480px) {
    /* History Section */
    .history-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .history-content p{
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    /* ASUKI Way Section */
    .asuki-way-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .asuki-way-content {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .asuki-image {
        width: 150px;
        height: 50px;
    }
    
    /* Vision Mission Section */
    .vision-mission-section {
        padding: 30px 10px;
    }
    
    .vision-side, .mission-side {
        padding: 25px 15px;
    }
    
    .vision-h2, .mission-h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .vision-h2::after, .mission-h2::after {
        width: 60px;
        height: 3px;
    }
    
    .vision-content, .mission-content {
        font-size: 12px;
        font-weight: normal;
    }
    
    .vision-side::after, .mission-side::after {
        font-size: 18px;
        top: 15px;
        right: 15px;
    }
    
    /* Values Section */
    .values-section h2 {
        font-size: 20px;
        padding: 0px 0px;
    }
}

/* ===== RESPONSIVE DESIGN FOR OFFICES & CONTACT SECTIONS ===== */

/* Tablet and smaller screens */
@media screen and (max-width: 1024px) {
    /* Offices Section */
    .offices-section {
        padding: 25px 50px;
    }
    
    .office-container {
        padding: 0 1.5rem;
    }
    
    .offices-grid {
        gap: 25px;
        margin-top: 30px;
        margin-bottom: 30px;
        max-width: 100%;
    }
    
    .office-card {
        padding: 1.5rem;
    }
    
    .office-country {
        font-size: 1.3rem;
    }
    
    .office-type {
        font-size: 0.9rem;
    }
    
    .office-address {
        font-size: 0.9rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-form {
        padding: 2.5rem;
        margin: 0 1.5rem;
    }
    
    .form-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .form-input {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .form-textarea {
        min-height: 180px;
    }
    
    .submit-btn {
        font-size: 14px;
        padding: 12px 10px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    }

    .submit-btn:active {
        transform: translateY(0);
    }
}

/* Mobile screens */
@media screen and (max-width: 768px) {
    /* Offices Section */
    .offices-section {
        padding: 30px 40px;
    }
    
    .office-container {
        padding: 0 1rem;
    }
    
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);   
        gap: 20px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    
    .office-card {
        padding: 1.25rem;
    }
    
    .office-card:hover {
        transform: translateY(-5px);
    }
    
    .office-country {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .office-type {
        font-size: 0.85rem;
    }
    
    .office-address {
        font-size: 0.8rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
        border-radius: 15px;
    }
    
    .form-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-input {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .form-textarea {
        min-height: 150px;
    }
    
    .submit-btn {
        padding: 12px 10px;
        font-size: 13px;
        margin: 1.5rem auto 0;
        border-radius: 25px;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    .alert {
        padding: 0.875rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
}

/* Small mobile screens */
@media screen and (max-width: 480px) {
    /* Offices Section */
    .offices-section {
        padding: 30px 35px;
    }
    
    .office-container {
        padding: 0 0.75rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .office-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .office-country {
        font-size: 1.1rem;
    }
    
    .office-type {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .office-address {
        font-size: 0.8rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 0.75rem;
        border-radius: 12px;
    }
    
    .form-title {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 0;
    }
    
    .form-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .form-row > *:nth-child(3) {
        grid-column: 1 / -1;
    }

    .form-input {
        padding: 0.75rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .form-input.email{
        padding: 0.75rem;
        font-size: 0.85rem;
        border-radius: 6px;
        width: 200px;
    }

    .form-textarea {
        min-height: 120px;
    }
    
    .submit-btn {
        padding: 8px 10px;
        font-size: 12px;
        margin: 1.25rem auto 0;
        border-radius: 20px;
    }

    .alert {
        padding: 0.5rem 0.5rem;
        max-width: 432px;
        margin-bottom: 1rem;
        margin-left: 0.75rem;
        border-radius: 10px;
    }

    .alert-success {
        text-align: center;
        font-size: 12px;
    }

    .btn-close {
        top: 0.25rem;
        right: 0.65rem;
        font-size: 1.1rem;
    }
    
    .error-message {
        font-size: 12px;
    }
}

/* Large screens - enhance the existing design */
@media screen and (min-width: 1200px) {
    .history-content {
        padding-left: 120px;
    }
    
    .asuki-way-content {
        padding-left: 60px;
    }
    
    .vision-mission-section {
        padding: 100px 0;
    }
    
    .vision-side, .mission-side {
        padding: 80px 50px;
    }
    
    .vision-h2, .mission-h2 {
        font-size: 36px;
    }
    
    .vision-content, .mission-content {
        font-size: 20px;
    }
    
    /* Enhanced Offices Section for Large Screens */
    .offices-section {
        padding: 90px 0;
    }
    
    .office-container {
        padding: 0 2.5rem;
    }
    
    .offices-grid {
        gap: 40px;
        margin-top: 45px;
        margin-bottom: 45px;
    }
    
    .office-card {
        padding: 2.5rem;
    }
    
    .office-country {
        font-size: 1.7rem;
    }
    
    .office-type {
        font-size: 1.1rem;
    }
    
    .office-address {
        font-size: 1rem;
    }
    
    /* Enhanced Contact Section for Large Screens */
    .contact-section {
        padding: 90px 0;
    }
    
    .contact-form {
        padding: 3.5rem;
        max-width: 1000px;
    }
    
    .form-title {
        font-size: 2.8rem;
        margin-bottom: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        gap: 1.25rem;
    }
    
    .form-input {
        padding: 1.1rem;
        font-size: 1.05rem;
    }
    
    .form-textarea {
        min-height: 220px;
    }
    
    .submit-btn {
        padding: 10px 15px;
        font-size: 15px;
    }
}