/* ============================================
   T-Mobile Corporate Website - Japanese Style
   Modern, Clean, Professional Design
   ============================================ */

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

:root {
    --primary-color: #003d82;
    --secondary-color: #00a0e9;
    --accent-color: #e60012;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--bg-white);
    overflow-x: hidden;
}

/* ====== Typography ====== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.9;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ====== Header & Navigation ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.05em;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

.cta-button {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 160, 233, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 160, 233, 0.4);
}

.cta-button::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ====== Hero Banner Section ====== */
.hero-banner-section {
    margin-top: 80px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-slogan-overlay {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 61, 130, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeInRight 0.8s ease-out;
    z-index: 10;
}

.hero-slogan-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 61, 130, 0.1);
}

.hero-slogan-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-slogan-description {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-slogan-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-slogan-overlay .btn-outline {
    color: var(--primary-color);
    border: 2px solid var(--primary-color) !important;
    background: transparent;
}

.hero-slogan-overlay .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ====== Company Info Grid ====== */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.company-info-item {
    background: white;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 61, 130, 0.15);
}

.company-info-section {
    background: var(--bg-light);
    padding: 4rem 2rem;
}

/* ====== Old Hero Section (Backup) ====== */
.hero {
    margin-top: 80px;
    min-height: 650px;
    background: linear-gradient(135deg, #001f3f 0%, #003d82 25%, #0066cc 75%, #00a0e9 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 160, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255, 255, 255, 0.03) 50px,
        rgba(255, 255, 255, 0.03) 51px
    );
    animation: moveStripes 30s linear infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes moveStripes {
    0% {
        transform: translate(0, 0) rotate(45deg);
    }
    100% {
        transform: translate(50px, 50px) rotate(45deg);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-left: 5%;
}

.hero-banner {
    position: relative;
    z-index: 1;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s ease-out, titleGlow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3),
                 0 0 60px rgba(0, 160, 233, 0.2),
                 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    line-height: 1.9;
    animation: fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.3),
                     0 0 60px rgba(0, 160, 233, 0.2),
                     0 2px 10px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.5),
                     0 0 80px rgba(0, 160, 233, 0.4),
                     0 2px 15px rgba(0, 0, 0, 0.3);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s;
    animation-fill-mode: both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid rgba(0, 102, 204, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 160, 233, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(0, 102, 204, 0.6) !important;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.3),
                0 0 20px rgba(0, 160, 233, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

/* ====== Section Styles ====== */
.section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* ====== Services Grid ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.service-card ul li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* ====== Company Info Section ====== */
.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.company-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.company-image {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
}

/* ====== Features Section ====== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 160, 233, 0.1), rgba(0, 61, 130, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* ====== Contact Section ====== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 160, 233, 0.4);
}

/* ====== Footer ====== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

/* ====== Modern Flying Reveal Animations - IT Professional Style ====== */

/* Simple fade for containers */
.fade-in {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.revealed {
    opacity: 1;
}

/* Fly up - cards and elements */
.fly-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fly-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fly down - hero titles */
.fly-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fly-down.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fly from left - section titles */
.fly-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fly-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Fly from right - subtitles */
.fly-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fly-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up effect */
.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-up.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays for sequential animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ====== Brain-Waves Style Effects ====== */

/* Animated Gradient Background */
@keyframes gradientWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-wave-bg {
    background: linear-gradient(-45deg, #003d82, #0066cc, #00a0e9, #4a90e2);
    background-size: 400% 400%;
    animation: gradientWave 15s ease infinite;
}

/* Floating Animation */
@keyframes floatSmooth {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: floatSmooth 6s ease-in-out infinite;
}

/* Pulse Glow Effect */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 102, 204, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 160, 233, 0.6); }
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Wave Border Animation */
@keyframes waveBorder {
    0% { border-color: rgba(0, 102, 204, 0.3); }
    25% { border-color: rgba(0, 160, 233, 0.5); }
    50% { border-color: rgba(74, 144, 226, 0.7); }
    75% { border-color: rgba(0, 160, 233, 0.5); }
    100% { border-color: rgba(0, 102, 204, 0.3); }
}

.wave-border {
    border: 2px solid rgba(0, 102, 204, 0.3);
    animation: waveBorder 4s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer-effect {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Glowing Text Effect */
.glow-text {
    text-shadow: 0 0 10px rgba(0, 160, 233, 0.5),
                 0 0 20px rgba(0, 160, 233, 0.3),
                 0 0 30px rgba(0, 160, 233, 0.2);
}

/* Particle Background Effect */
.particle-bg {
    position: relative;
    overflow: hidden;
}

.particle-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 160, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 144, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

/* Wave SVG Background */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Rotating Border Effect */
@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rotate-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #003d82, #0066cc, #00a0e9, #4a90e2);
    border-radius: inherit;
    z-index: -1;
    animation: rotateBorder 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rotate-border:hover::before {
    opacity: 1;
}

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

/* ====== Responsive Design ====== */
/* ====== Tech Stack Grid ====== */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.tech-card-icon {
    font-size: 2rem;
    line-height: 1;
}

.tech-card-title {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin: 0;
    white-space: nowrap;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--bg-light);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

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

    .company-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-container {
        padding: 0 1.5rem;
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

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

    .hero-banner-section {
        margin-top: 70px;
    }

    .hero-banner-image {
        width: 100%;
        height: auto;
    }

    .hero-slogan-overlay {
        display: none;
    }

    .hero {
        margin-top: 70px;
        min-height: 500px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .hero-banner {
        order: 2;
    }

    .hero-content {
        order: 1;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 2.5rem 1.5rem;
    }

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

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

    .company-info-item {
        padding: 1.5rem 1rem !important;
    }

    .company-info-item > div:first-child {
        font-size: 2rem !important;
    }

    .company-info-section {
        padding: 2.5rem 1.5rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-stats {
        grid-template-columns: 1fr;
    }

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

    .tech-stack-grid {
        grid-template-columns: 1fr;
    }

    .tech-card-title {
        white-space: normal;
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-banner-section {
        margin-top: 70px;
    }

    .hero-banner-image {
        width: 100%;
        height: auto;
    }

    .hero-slogan-overlay {
        display: none;
    }

    .hero-container {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

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

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

    .service-card {
        padding: 2rem;
    }
}

/* ====== Utility Classes ====== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none;
}

/* ====== Access Map Styles ====== */
.access-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.access-map-item {
    width: 100%;
}

.access-map-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem 1.5rem;
}

.access-address {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.access-route {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Mobile responsive for access map */
@media (max-width: 768px) {
    .access-map-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .access-map-box {
        min-height: 280px;
        padding: 1.5rem 1rem;
    }

    .access-address {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .access-route {
        font-size: 0.85rem;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .access-map-box {
        min-height: 260px;
        padding: 1.25rem 0.75rem;
    }

    .access-address {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .access-route {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* ====== Office Cards Hover Effects ====== */
.office-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 61, 130, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.office-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 61, 130, 0.2);
    border-color: var(--secondary-color);
}

.office-card-header {
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.office-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

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