/* ==========================================================================
   NAYUG Corporate Website Styles
   ========================================================================== */

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
  /* Color Palette */
  --color-primary: #009ab8;
  --color-primary-dark: #1c1935;
  --color-primary-light: #00bcd4;
  --color-white: #ffffff;
  --color-background-light: #f0f8ff;
  --color-background-lighter: #fafcff;
  --color-background-gray: #f8f9fa;
  --color-text-dark: #333333;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-border-light: #e8f4f8;
  --color-border: #dddddd;
  --color-error: #ff4757;
  --color-hover: rgba(0, 154, 184, 0.1);

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-xxl: 100px;

  /* Typography */
  --font-primary: 'Noto Sans JP', sans-serif;
  --font-heading: 'Bungee', cursive;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 15px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-xxl: 24px;
  --font-size-title: 92px;
  --font-size-subtitle: 30px;

  /* Layout */
  --container-width: 1390px;
  --container-small: 800px;
  --container-medium: 1200px;
  --border-radius-sm: 10px;
  --border-radius-md: 20px;
  --border-radius-lg: 30px;
  --border-radius-round: 50px;

  /* Shadows */
  --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 15px rgba(0, 154, 184, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 154, 184, 0.1);

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.6s ease;
  --transition-slow: 0.8s ease-out;

  /* Z-index scale */
  --z-index-dropdown: 100;
  --z-index-sticky: 200;
  --z-index-fixed: 300;
  --z-index-modal-backdrop: 400;
  --z-index-modal: 500;
  --z-index-popover: 600;
  --z-index-tooltip: 700;
  --z-index-notification: 800;
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-index-fixed);
    transition: var(--transition-fast);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 var(--spacing-md);
}

/* Logo Section */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

  .logo-link {
      display: block;
      transition: var(--transition-fast);
  }

  .logo-link:hover {
      opacity: 0.8;
  }

  .logo-img {
      width: 180px;
  }

/* Navigation Menu */
.nav-menu-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu {
    background: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: 25px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--color-primary-dark);
    font-weight: 500;
    font-size: var(--font-size-sm);
    letter-spacing: 0.5px;
    padding: var(--spacing-xs) 0;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

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

/* Contact Button */
.nav-contact {
    display: flex;
    align-items: center;
    justify-content: right;
}

.contact-btn {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: 25px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 154, 184, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary-dark);
    transition: var(--transition-fast);
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(28, 25, 53, 0.95);
    backdrop-filter: blur(10px);
    z-index: var(--z-index-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

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

.mobile-nav-item {
    margin: 20px 0;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #00bcd4;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.mobile-contact-btn {
    display: inline-block;
    margin-top: 40px;
    background: linear-gradient(135deg, #009ab8 0%, #00bcd4 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 154, 184, 0.4);
}

.mobile-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 154, 184, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-list {
        gap: 30px;
    }

    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .logo-img {
      width: 140px;
      margin-top: 10px;
    }
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        height: 70px;
    }

    .logo-text {
        font-size: 18px;
    }

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

/* Scroll Effect */
.navigation.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    zoom: 1; /* avoid unexpected layout overflow on mobile */
    scroll-behavior: smooth;
    overflow-x: hidden; /* lock horizontal scroll */
}

body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    color: var(--color-text-dark);
    background-color: var(--color-white);
}

/* Global utility classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-small {
    max-width: var(--container-small);
}

.container-medium {
    max-width: var(--container-medium);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.hero-title {
    font-family: var(--font-heading);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-title);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.subtitle {
    font-size: var(--font-size-subtitle);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.contents {
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Flexbox utilities */
.flex {
    display: flex;
}

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

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Grid utilities */
.grid {
    display: grid;
}

.grid-gap-sm {
    gap: var(--spacing-sm);
}

.grid-gap-md {
    gap: var(--spacing-md);
}

.grid-gap-lg {
    gap: var(--spacing-lg);
}

/* ==========================================================================
   Header Section
   ========================================================================== */

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 1120px;
    background-color: #fafcff;
    overflow: hidden;
}

.header-contents {
    background-image: url('./img/top/top_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 880px;
}

/* Header Copy Animation */
.header_copy {
    z-index: 10;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out forwards 1s;
}

/* Header Bubble Animation */
.header_babble {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    animation: expandAndFloat 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               floatUpDown 3s ease-in-out infinite alternate 2s;
}

/* Header Gadget Animations */
.header_gad1, .header_gad2, .header_gad3, .header_gad4,
.header_gad5, .header_gad6, .header_gad7 {
    position: absolute;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    width: 100%;
}

.header_gad1 {
    top: 550px;
    left: calc(50% + 200px);
    animation-name: bounce;
    animation-delay: 0.5s;
}

.header_gad2 {
    top: 600px;
    left: calc(50% + 500px);
    animation-name: swing;
    animation-delay: 1s;
}

.header_gad3 {
    top: 50px;
    left: calc(50% + 500px);
    animation-name: pulse;
    animation-delay: 1.5s;
}

.header_gad4 {
    top: 260px;
    left: calc(50% - 350px);
    animation-name: tada;
    animation-delay: 0.8s;
}

.header_gad5 {
    top: 660px;
    left: calc(50% - 750px);
    animation-name: rubberBand;
    animation-delay: 0s;
}

.header_gad6 {
    top: 140px;
    left: calc(50% - 700px);
    animation-name: tada;
    animation-delay: 0.3s;
}

.header_gad7 {
    top: 580px;
    left: calc(50% - 350px);
    animation-name: tada;
    animation-delay: 0.7s;
}

/* Header Mobile Styles */
@media (max-width: 768px) {
  .header {
      height: 600px;
  }

  .header-contents {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-repeat: no-repeat;
      min-height: 600px;
  }

  .header_copy {
      width: 100%;
      max-width: 500px;
      height: auto;
  }

  .header_babble {
      display: none;
  }

  /* Hide complex gadget animations on mobile */
  .header_gad1, .header_gad2, .header_gad3, .header_gad4,
  .header_gad5, .header_gad6, .header_gad7 {
      display: none;
  }
}

@media (max-width: 768px) {
  .header {
      height: 600px;
  }

  .header_copy {
      width: 90%;
      max-width: 250px;
  }
  .nav-logo img{
    width: 120px;
  }
}
/* ==========================================================================
   Lead Section
   ========================================================================== */

.lead {
    background-color: #009ab8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 850px;
    border-radius: 0 200px 0 0;
    margin-top: -200px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.lead-contents {
    width: 100%;
    height: 100%;
    background-image: url('./img/lead/lead_bg.png');
    background-size: auto;
    background-position: calc(50% - 50px) center;
    background-repeat: no-repeat;
}

.lead-text {
    font-size: 15px;
    color: #fff;
    text-align: left;
    margin-left: 250px;
    margin-top: -280px;
}

.lead-text p {
    line-height: 2.5;
    margin-top: 30px;
}

@media (max-width: 768px) {
  .lead{
    height: 1100px;
    margin-top: 0;
    border-radius: 0 75px 0 0;
  }

  .lead-contents {
    width: 100%;
    background-image: url('./img/lead/lead_bg_mobile.png');
    background-size: 110%;
    background-position: calc(50% - 20px) 50px;
    background-repeat: no-repeat;
  }
  .lead-text {
    font-size: 15px;
    color: #fff;
    text-align: left;
    margin: 100px 20px 10px 20px;
    /* margin-top: -280px; */
  }

  .lead-text p {
      line-height: 2.5;
      margin-top: 30px;
  }
}

@media (max-width: 480px) {

}

/* ==========================================================================
   Works Section
   ========================================================================== */

/* Demo Video Section */
.demo-video-section {
    margin: 60px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.video-info-panel{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.video-info-panel p{
  margin-bottom: 0px;
  text-align: center;
}


@supports not (aspect-ratio: 1 / 1) {
    .video-container {
        height: 0;
        padding-bottom: 56.25%;
    }
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Media defaults to avoid overflow */
img, video, iframe {
    max-width: 100%;
    height: auto;
}
.works {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 50% 5%;
    border-top-right-radius: 50% 5%;
    left: -100px;
    width: calc(100% + 200px);
    margin: -280px 0 0;
    padding: 0 20px;
    position: relative;
    z-index: 30;
    box-sizing: border-box;
}

.works-contents {
    width: calc(100% - 200px);
    max-width: 1390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

/* Works Articles */
.work-article {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 140px;
}

.work-content {
    width: 500px;
    margin-top: 100px;
}

.work-content.left1 {
    margin-right: 50px;
}

.work-content.right2 {
    margin-left: 50px;
}

.work-image {
    width: 100%;
    max-width: 700px;
}

.work-image.left2 img {
    width: 700px;
}

.work-image.right1 img {
    width: 700px;
}

/* Works Article Titles */
.work-article h3 {
    display: inline-block;
    font-size: var(--font-size-xxl);
    font-weight: bold;
    color: white;
    background-color: #1c1935;
    padding: 0px 20px;
    text-align: center;
    margin-top: -20px;
    margin-right: 10px;
}

/* Title Container for Multiple H3s */
.title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

/* Works Article Content */
.work-article p {
    font-size: 15px;
    line-height: 1.5;
}

/* Works Background Elements */
.work1_bg, .work2_bg, .work3_bg, .work4_bg {
    position: absolute;
    z-index: -1;
    width: 750px;
}

.work1_bg {
    left: calc(50% + 0px);
    top: 160px;
}

.work2_bg {
    left: calc(50% - 740px);
    top: 50px;
}

.work3_bg {
    width: 900px;
    left: calc(50% - 140px);
    top: -70px;
}

.work4_bg {
    left: calc(50% - 700px);
    top: 50px;
}

/* Works Point Elements */
.work1_point, .work2_point, .work3_point, .work4_point {
    position: absolute;
    z-index: 1;
}

.work1_point {
    width: 120px;
    left: calc(50% + 500px);
    top: 450px;
}

.work2_point {
    width: 200px;
    left: calc(50% - 650px);
    top: 430px;
}

.work3_point {
    width: 150px;
    left: calc(50% + 500px);
    top: 380px;
}

.work4_point {
    width: 140px;
    left: calc(50% - 660px);
    top: 450px;
}

/* Works Speech Bubbles */
.hukidashi_01, .hukidashi_02, .hukidashi_03, .hukidashi_04 {
    position: absolute;
    z-index: -1;
    opacity: 0.5;
}

.hukidashi_01 {
    width: 230px;
    left: calc(50% - 660px);
    top: 220px;
}

.hukidashi_02 {
    width: 200px;
    left: calc(50% + 400px);
    top: 220px;
}

.hukidashi_03 {
    width: 200px;
    left: calc(50% + 400px);
    top: 220px;
}

.hukidashi_04 {
    width: 220px;
    left: calc(50% - 660px);
    top: 220px;
}

/* Works Floating Balls */
.h2-ball-images-forWork {
    width: 600px;
    position: absolute;
    top: -60px;
    left: calc(50% - 300px);
}

.ball1-forWork {
    position: absolute;
    width: 40px;
    height: 40px;
    left: calc(50% - 250px);
    top: 260px;
}

.ball2-forWork {
    position: absolute;
    width: 25px;
    height: 25px;
    left: calc(50% - 300px);
    top: 230px;
}

.ball3-forWork {
    position: absolute;
    width: 40px;
    height: 40px;
    left: calc(50% + 210px);
    top: 180px;
}

.ball4-forWork {
    position: absolute;
    width: 20px;
    height: 20px;
    left: calc(50% + 260px);
    top: 230px;
}

.ball5-forWork {
    position: absolute;
    width: 20px;
    height: 20px;
    left: calc(50% + 290px);
    top: 205px;
}

/* Works Mobile Styles */
@media (max-width: 768px) {
    .works {
        padding: 0px 16px;
        min-height: auto;
        margin: -200px 0 0;
        border-top-left-radius: 50% 5%;
        border-top-right-radius: 50% 5%;
    }

    .works-contents {
      width: calc(100% - 200px);
    }

    .contents {
        padding: 0 16px;
        box-sizing: border-box;
    }

    .works-contents h3{
      font-size: var(--font-size-xl);
    }

    .work-article {
      position: relative;
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: center;
      margin-top: 30px;
      margin-bottom: 30px;
    }

    .work-content.left1 {
      margin:0;
    }

    .work-content.right2 {
      margin:0;
    }

    .work-image.left2 {
      display: none;
    }

    .work-image.right1 {
      display: none;
    }

    .work1_bg, .work2_bg, .work3_bg, .work4_bg {
      position: absolute;
      z-index: -1;
      width: 750px;
    }

    .work1_bg {
      left: calc(50% + 100px);
      top: 0;
    }

    .work2_bg {
        left: calc(50% - 500px);
        top: 0;
    }

    .work3_bg {
        left: calc(50% + 100px);
        top: -70px;
    }

    .work4_bg {
        left: calc(50% - 400px);
        top: 0px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    /* Works Point Elements */
    .work4_point {
      position: absolute;
      z-index: 1;
    }

    .work4_point {
      left: calc(50% + 100px) !important;
      top: 250px !important;
      width: 140px;
    }

    .work1_point, .work2_point, .work3_point {
      display: none;
    }

    /* Hide absolute positioned background elements on mobile */
    .hukidashi_01, .hukidashi_02, .hukidashi_03, .hukidashi_04 {
        display: none;
    }

    .h2-ball-images-forWork {
        display: none;
    }

    .ball1-forWork, .ball2-forWork, .ball3-forWork,
    .ball4-forWork, .ball5-forWork {
        position: static;
        display: inline-block;
        margin: 0 5px;
        width: 20px;
        height: 20px;
    }

    .demo-video-section {
        margin: 40px 0;
    }

    .video-container {
        margin: 0 auto;
        max-width: 100%;
    }

    .works-content {
        text-align: center;
    }

    .works-content h3 {
        font-size: 20px;
        margin: 20px 0;
    }

    .works-content p {
        font-size: 14px;
        line-height: 1.8;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 35px;
    }

    .video-container {
        max-width: 100%;
    }
}

/* ==========================================================================
   HR Message Section
   ========================================================================== */

.hr_message {
    margin-top: 100px;
    margin-bottom: 100px;
    width: 100%;
}

.hr_message_img {
    width: 100%;
}

/* Works Mobile Styles */
@media (max-width: 768px) {
    .hr_message {
      margin-top: 100px;
      margin-bottom: 40px;
    }

    .hr_message_img {
        width: 100%;
        min-width: 1000px;
    }
}
/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    background-color: #009ab8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 1200px;
    border-radius: 200px 0 0 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-contents {
    width: 100%;
    max-width: 1200px;
}

.about-title {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: left;
    color: white;
    width: 100%;
    margin-top: -400px;
}

.ball2-forabout {
    position: absolute;
    width: 25px;
    height: 25px;
    left: calc(50% - 90px);
    top: 130px;
}

.ball4-forabout {
    position: absolute;
    width: 15px;
    height: 15px;
    left: calc(50% - 110px);
    top: 120px;
}

.about_bg {
    position: absolute;
    width: 1100px;
    left: calc(40%);
    top: 220px;
}

.about_copy {
    position: absolute;
    width: 100px;
    left: calc(50% + 500px);
    top: 100px;
    z-index: 10;
}

/* About Mobile Styles */
@media (max-width: 768px) {
    .about {
        /* padding: 350px 20px 500px 20px; */
        height: 1300px;
        min-height: auto;
        border-radius: 75px 0 0 0;
        justify-content: center;
        align-items: center;
        height: 1400px;
    }

    .about-contents {
        padding: 0;
        width: 100%;
    }

    .about-title {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      width: 100%;
      margin-top: -200px;
    }

    .ball2-forabout, .ball4-forabout{
      display: none !important;
    }

    .message-wrapper {
      flex-direction: column !important;
      align-items: center;
      text-align: center;
      gap: 20px;
    }
    .message-img-wrapper {
      width: 100% !important;
    }

    .message-text {
      width: 100% !important;
      margin: 0 0 0 0 !important;
      font-size: 14px;
      line-height: 1.4;
      padding: 0 15px 100px 15px;
      text-align: left;
    }

    .about_bg {
        position: absolute;
        width: 1100px;
        left: calc(40%);
        top: 620px;
    }

    .about_copy {
      position: absolute;
      width: 70px;
      left: calc(50% + 130px);
      top: 60px;
      z-index: 10;
    }
    /* Hide absolute positioned elements on mobile */
    .ball2-forabout, .ball4-forabout {
        position: static;
        display: inline-block;
        margin: 0 5px;
        width: 15px;
        height: 15px;
    }

    .message-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .message-content {
        width: 100%;
        max-width: none;
    }

    .message-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .message-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .message-image {
        width: 100%;
        max-width: 300px;
        margin: 20px 0;
    }

    .message-image img {
        width: 100%;
        height: auto;
    }
}

/* @media (max-width: 480px) {
    .about {
        padding: 30px 15px;
    }

    .message-content h3 {
        font-size: 18px;
    }

    .message-content p {
        font-size: 13px;
    }
} */

.message-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    color: white;
}

.message-img-wrapper {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about_icon {
    width: 250px;
    height: 250px;
}

.message-text {
    width: 900px;
    margin-left: 50px;
    margin-top: -25px;
}

.message-text p {
    line-height: 2.5;
}

/* ==========================================================================
   Company Section
   ========================================================================== */

.company {
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 1000px;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 200px 0 0;
    margin-top: -400px;
    z-index: 1;

}

.company-contents {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

/* Company Title */
.company-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.title-for-company {
    color: #1c1935;
    margin: 0;
    position: relative;
    z-index: 2;
}

.company-title-dots {
    position: absolute;
    display: flex;
    gap: 15px;
    z-index: 1;
}

.ball1-forCompany {
  position: absolute;
  width: 40px;
  height: 40px;
  left: calc(50% - 300px);
  top: -20px;
}

.ball2-forCompany {
  position: absolute;
  width: 25px;
  height: 25px;
  left: calc(50% - 350px);
  top: 10px;
}

.ball3-forCompany {
  position: absolute;
  width: 40px;
  height: 40px;
  left: calc(50% + 250px);
  top: 0;
}

.ball4-forCompany {
  position: absolute;
  width: 20px;
  height: 20px;
  left: calc(50% + 300px);
  top: -15px;
}

.ball5-forCompany {
  position: absolute;
  width: 20px;
  height: 20px;
  left: calc(50% + 350px);
  top: 0;
}

/* Company Panel */
.company-panel {
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 154, 184, 0.1);
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.company-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid #e8f4f8;
    transition: all 0.3s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    background-color: #f8fcfd;
    margin: 0 -20px;
    padding: 25px 20px;
    border-radius: 15px;
}

.info-label {
    width: 120px;
    font-weight: bold;
    color: #1c1935;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 30px;
}

.info-value {
    flex: 1;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* Decorative Elements */
.company-decoration-left {
    position: absolute;
    bottom: -80px;
    left: 100px;
    z-index: 10;
}

.company-decoration-right {
    position: absolute;
    bottom: -80px;
    right: 150px;
    z-index: 10;
}

.company-person {
    width: 120px;
    height: auto;
}

.company-calendar {
    width: 100px;
    height: auto;
}

.company-background{
  position: absolute;
  width: 800px;
  top: 550px;
  left: calc(50% - 600px);
  z-index: -1;
}
.company-bg-image{
  width: 100%;
}
/* Responsive Design */
@media (max-width: 1200px) {
    .company-contents {
        width: 90%;
        max-width: 800px;
    }

    .company-panel {
        padding: 40px;
    }

    .info-label {
        width: 100px;
        font-size: 14px;
    }

    .info-value {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .company {
        padding: 40px 20px;
        min-height: auto;
        border-radius: 0 75px 0 0;
    }

    .company-contents {
        width: 100%;
        padding: 0;
    }

    .company-title {
        margin-bottom: 30px;
    }

    .company-panel {
        padding: 30px 20px;
        margin: 30px 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .company-info-grid {
        gap: 20px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        padding: 15px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.8);
    }

    .info-label {
        font-size: 14px;
        width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .info-value {
        font-size: 16px;
        text-align: left;
    }

    .company-decoration-left{
      left: calc(50% + 100px);
      bottom: 0px;
    }

    /* Hide absolute positioned elements on mobile */
    .company-decoration-right,
    .company-background,
    .company-title-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .company {
        padding: 30px 15px;
        margin-top: -200px;
    }

    .company-panel {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .info-item {
        padding: 12px;
    }

    .info-label {
        font-size: 13px;
    }

    .info-value {
        font-size: 15px;
    }
}

/* ==========================================================================
   Recruit Section
   ========================================================================== */

.recruit {
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 1400px;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.recruit-contents {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

/* Background Elements */
.recruit-bg-desk {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1200px;
    z-index: 1;
    border-radius: 200px;
    background-image: url('./img/recruite/bg_desk.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.recruit-bg-desk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 200px;
    z-index: 1;
}

.left-align-wrapper{
  display: flex;
  align-items: left;
  justify-content: left;
  width: 100%;
}

.recruit-bg-desk img {
    opacity: 0.8;
    object-fit: contain;
}

.recruit-bg-left {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}
.recruit-bg-left img {
    width: 50%;
    height: auto;
}

.recruit-bg-right {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.recruit-bg-right img {
    width: 50%;
    height: auto;
}

/* Main Content */
.recruit-main {
    position: relative;
    z-index: 5;
    margin-bottom: 100px;
}

/* Title Section */
.recruit-title-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.title-for-recruit {
    color: white;
    margin: 0;
    position: relative;
    z-index: 2;
}

.recruit-title-dots {
    position: absolute;
    left: 470px;
    z-index: 1;
}

.ball1-forRecruit {
    position: absolute;
    width: 30px;
    height: 30px;
    top: -25px;
    left: 30px;
    animation-delay: 0s;
}

.ball2-forRecruit {
    position: absolute;
    width: 20px;
    height: 20px;
    animation-delay: 0.5s;
}

.ball3-forRecruit {
    width: 15px;
    height: 15px;
    animation-delay: 1s;
}

/* Message Section */
.recruit-message-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

.recruit-text-left {
    flex: 1;
    color: white;
}

.recruit-intro {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}

.recruit-quote-image {
  width: 70%;
  height: auto;
  margin-bottom: 30px;
}

.recruit-quote-image img {
  width: 100%;
  height: auto;
}

.recruit-conclusion {
    font-size: 16px;
    line-height: 2;
    margin-top: 30px;
}

.recruit-message-right {
    position: absolute;
    left: calc(50% + 500px);
    top: 50px;
    width: 200px;
    flex-shrink: 0;
}

.recruit-message-img {
    width: 100%;
    height: auto;
}

/* Application Guidelines Panel */
.recruit-panel {
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto 60px;
}

.recruit-panel-title {
    font-size: 24px;
    font-weight: bold;
    color: #1c1935;
    margin-bottom: 40px;
}

.recruit-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.recruit-info-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid #e8f4f8;
    transition: all 0.3s ease;
}

.recruit-info-item:last-child {
    border-bottom: none;
}

.recruit-info-item:hover {
    background-color: #f8fcfd;
    margin: 0 -20px;
    padding: 25px 20px;
    border-radius: 15px;
}

.recruit-info-label {
    width: 120px;
    font-weight: bold;
    color: #1c1935;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 30px;
}

.recruit-info-value {
    flex: 1;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.recruit-info-value small {
    color: #666;
    font-size: 13px;
}

/* Contact Message */
.recruit-contact-message {
    text-align: center;
    color: #333;
    font-size: 16px;
    margin-top: 40px;
    border-radius: 0 200px 0 0;
}

/* Decorative Elements */
.recruit-decoration-left {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 10;
}

.recruit-decoration-right {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
}

.recruit-woman {
    width: 120px;
    height: auto;
}

.recruit-people {
    width: 100px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .recruit-contents {
        width: 90%;
        max-width: 900px;
    }

    .recruit-message-section {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 0px;
    }

    .recruit-message-right {
        display: none;
    }

    .recruit-panel {
        padding: 40px;
    }

    .recruit-info-label {
        width: 100px;
        font-size: 14px;
    }

    .recruit-info-value {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .recruit {
        padding: 40px 20px;
        min-height: auto;
    }

    .recruit-contents {
        width: 100%;
        padding: 0 0 100px 0;
    }

    .left-align-wrapper{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .recruit-title-section{
      margin-bottom: 20px;
    }

    .recruit-quote-image{
      width: 100%;
    }

    .recruit-bg-left {
      left: -100px;
    }
    .recruit-bg-left img {
      width: 45%;
  }
    .recruit-bg-right {
        right: -50px;
    }

    .recruit-bg-right img {
        width: 65%;
    }


    /* Hide complex background elements on mobile */
    .recruit-bg-desk {
      height: 1000px;
      border-radius: 75px;
    }

    .recruit-bg-desk::before {
      border-radius: 75px;
    }

    .recruit-message-img{
        display: none;
    }

    .recruit-decoration-left,
    .recruit-decoration-right {
        display: none;
    }

    .recruit-message-right {
        position: static;
        width: 100%;
        text-align: center;
        margin: 20px 0;
    }

    .recruit-title {
        margin-bottom: 30px;
    }

    .recruit-title-dots {
        display: none;
    }

    .ball1-forRecruit, .ball2-forRecruit, .ball3-forRecruit {
        position: static;
        display: inline-block;
        margin: 0 5px;
        width: 12px;
        height: 12px;
    }

    .recruit-main {
        text-align: center;
        margin: 30px 0;
    }

    .recruit-quote h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .recruit-quote p {
        font-size: 16px;
        line-height: 1.8;
    }

    .recruit-panel {
        padding: 30px 20px;
        margin: 30px 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .recruit-panel h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .recruit-panel p,
    .recruit-panel ul li {
        font-size: 14px;
        line-height: 1.8;
    }

    .recruit-contact-message {
        text-align: center;
        margin: 30px 0;
    }

    .recruit-contact-message h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .recruit-contact-message p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .recruit {
        padding: 30px 15px;
    }

    .recruit-quote h2 {
        font-size: 20px;
    }

    .recruit-quote p {
        font-size: 14px;
    }

    .recruit-panel {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .recruit-panel h3 {
        font-size: 18px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-bg{
  /* position: absolute; */
  top: -5px;
  left: 0;
  width: 100%;
  height: 300px;
  background-color: #00a3bf;
  z-index: 1;
}

.contact {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 1200px;
    padding: 100px 0 50px 0;
    position: relative;
    border-radius: 0 200px 0 0;
    top: -300px;
    margin-bottom: -300px;
}

.contact-contents {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 10;
}

/* Title Section */
.contact-title-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.title-for-contact {
    color: #1c1935;
    margin: 0;
    position: relative;
    z-index: 2;
}

.contact-title-dots {
    position: absolute;
    width: 100%;
    height: 200px;
    z-index: 1;
}

.ball1-forContact {
    position: absolute;
    width: 30px;
    height: 30px;
    left: calc(50% - 280px);
    top: 70px;
    animation-delay: 0s;
}

.ball2-forContact {
    position: absolute;
    width: 20px;
    height: 20px;
    left: calc(50% - 320px);
    top: 100px;
    animation-delay: 0.5s;
}

.ball3-forContact {
    position: absolute;
    width: 40px;
    height: 40px;
    left: calc(50% + 250px);
    top: 100px;
    animation-delay: 1s;
}

.ball4-forContact {
    position: absolute;
    width: 20px;
    height: 20px;
    left: calc(50% + 300px);
    top: 80px;
    animation-delay: 1.5s;
}

/* Description */
.contact-description {
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
}

.form-section:last-child {
    margin-bottom: 0;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Form Labels */
.form-label {
    font-weight: bold;
    color: #1c1935;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.required {
    background-color: #ff4757;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: normal;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #009ab8;
    background-color: #009ab8;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

/* Name Inputs */
.name-inputs {
    display: flex;
    gap: 20px;
}

.name-field {
    flex: 1;
}

/* Email Inputs */
.email-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Form Inputs */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e8f4f8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #009ab8;
    box-shadow: 0 0 0 3px rgba(0, 154, 184, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
    font-family: inherit;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #009ab8;
    background-color: #009ab8;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Privacy Section */
.privacy-section {
    background-color: #f8fcfd;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e8f4f8;
}

.privacy-notice {
    margin-bottom: 20px;
}

.privacy-notice p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.privacy-checkbox {
    margin-bottom: 20px;
}

/* Privacy Policy Details */
.privacy-policy {
    border: 1px solid #e8f4f8;
    border-radius: 10px;
    overflow: hidden;
}

.privacy-policy summary {
    background-color: #f0f8ff;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #1c1935;
    transition: background-color 0.3s ease;
}

.privacy-policy summary:hover {
    background-color: #e0f0ff;
}

.policy-content {
    padding: 20px;
    background-color: white;
}

.policy-content p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-content h4 {
    color: #1c1935;
    font-size: 16px;
    margin: 20px 0 10px 0;
}

.policy-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.policy-content li {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Submit Button */
.submit-section {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    background: linear-gradient(135deg, #009ab8 0%, #00bcd4 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0, 154, 184, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 154, 184, 0.4);
}

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

.arrow-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .arrow-icon {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 900px) {
    .contact-contents {
        width: 90%;
        max-width: 600px;
    }

    .contact-form {
        padding: 40px;
    }

    .name-inputs {
        flex-direction: column;
        gap: 15px;
    }

    .contact-title-dots {
        width: 100%;
        height: 100px;
    }

    .ball1-forContact {
        width: 18px;
        height: 18px;
        left: 0;
        top: 20px;
    }

    .ball2-forContact {
        width: 12px;
        height: 12px;
        left: 30px;
        top: 5px;
    }

    .ball3-forContact {
        width: 15px;
        height: 15px;
        left: 20px;
        top: 40px;
    }

    .ball4-forContact {
        width: 10px;
        height: 10px;
        left: 50px;
        top: 30px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 40px 20px 20px 20px;
        min-height: auto;
        top: -300px;
        margin-bottom: 0;
        border-radius: 0 75px 0 0;
        margin-bottom: -300px;
    }

    .contact-contents {
        width: 100%;
        padding: 0;
    }

    .contact-title {
        margin-bottom: 30px;
    }

    .contact-title-dots {
        display: none;
    }

    .ball1-forContact, .ball2-forContact,
    .ball3-forContact, .ball4-forContact {
        display: none;
    }

    .contact-description {
        font-size: 14px;
        margin: 20px 0;
    }

    .contact-form {
        padding: 30px 20px;
        margin: 30px 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .form-section {
        margin-bottom: 25px;
    }

    .form-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .name-inputs {
        flex-direction: column;
        gap: 15px;
    }

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

    .input-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 14px;
        padding: 12px;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .privacy-section {
        padding: 20px;
        margin: 25px 0;
    }

    .privacy-section summary {
        font-size: 16px;
        padding: 15px;
    }

    .privacy-content {
        font-size: 13px;
        line-height: 1.6;
    }

    .submit-button {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 30px 15px 15px;
        top: -300px;
        margin-bottom: 0;
        border-radius: 0 75px 0 0;
        margin-bottom: -300px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .form-section h3 {
        font-size: 16px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 13px;
        padding: 10px;
    }

    .privacy-section {
        padding: 15px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: #1c1935;
    color: white;
    text-align: center;
    padding: 40px 0 20px;
    position: relative;
    z-index: 5;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    width: 200px;
    height: auto;
}

.footer-copyright {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
    .footer {
        padding: 30px 20px 15px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-logo-img {
        width: 150px;
    }

    .footer-copyright {
        font-size: 11px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 15px 10px;
    }

    .footer-logo-img {
        width: 120px;
    }

    .footer-copyright {
        font-size: 10px;
    }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   Floating Ball Animation
   ========================================================================== */

.floating-ball {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Expand and Float Animation */
@keyframes expandAndFloat {
    0% {
        transform: scale(0) translateY(-2%);
    }
    100% {
        transform: scale(1) translateY(-2%);
    }
}

@keyframes floatUpDown {
    0% {
        transform: scale(1) translateY(-2%);
    }
    100% {
        transform: scale(1) translateY(2%);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Swing Animation */
@keyframes swing {
    20% {
        transform: rotate3d(0, 0, 1, 15deg);
    }
    40% {
        transform: rotate3d(0, 0, 1, -10deg);
    }
    60% {
        transform: rotate3d(0, 0, 1, 5deg);
    }
    80% {
        transform: rotate3d(0, 0, 1, -5deg);
    }
    100% {
        transform: rotate3d(0, 0, 1, 0deg);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale3d(1, 1, 1);
    }
    50% {
        transform: scale3d(1.05, 1.05, 1.05);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}

/* Wobble Animation */
@keyframes wobble {
    0% {
        transform: translate3d(0, 0, 0);
    }
    15% {
        transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    }
    30% {
        transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    }
    45% {
        transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    }
    60% {
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    }
    75% {
        transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Rubber Band Animation */
@keyframes rubberBand {
    0% {
        transform: scale3d(1, 1, 1);
    }
    30% {
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}

/* Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translate3d(-10px, 0, 0);
    }
    20%, 40%, 60%, 80% {
        transform: translate3d(10px, 0, 0);
    }
}

/* Tada Animation */
@keyframes tada {
    0% {
        transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%, 60%, 80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}

