/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensure consistent box model */
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-size: 16px;
    background-color: #f8f9fa; /* Light background for sections */
}

/* Utility Classes (inspired by Tailwind, for consistency) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00f5ff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #00f5ff;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 70%;
    max-width: 300px;
    height: 100%;
    background: rgba(10, 10, 40, 0.98);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
    transition: right 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.mobile-menu ul li {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.8rem 0;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.mobile-menu ul li a:hover {
    background-color: rgba(0, 245, 255, 0.1);
    color: #00f5ff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 0 6rem; /* Generous padding for content */
    background: linear-gradient(135deg, #0a0a28 0%, #14283c 50%, #0f192d 100%); /* Main gradient */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 背景画像の設定 - ここにホストした画像のURLを貼り付けます */
    /* 現在はプレースホルダー画像を使用しています */
    background-image: url('./img/background-image.jpg');
    background-size: cover; /* セクション全体を覆うように画像を拡大縮小 */
    background-position: center; /* 画像を中央に配置 */
    background-repeat: no-repeat; /* 画像の繰り返しを防止 */
    opacity: 0.25; /* 背景画像の透明度を非常に低く設定し、文字の視認性を確保 */
    z-index: 0;
    animation: zoomPan 30s infinite alternate; /* Subtle zoom and pan */
}

@keyframes zoomPan {
    0% { transform: scale(1) translateX(0%) translateY(0%); }
    100% { transform: scale(1.1) translateX(5%) translateY(5%); }
}

/* Removed .hero-overlay as gradient is integrated */

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.hero-text .highlight {
    color: #00f5ff;
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-problems { /* Container for list and icon */
    display: flex; /* Keep as flex for desktop side-by-side */
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-text ul {
    list-style: none;
    font-size: 1.3rem;
    color: #e0e0e0;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    padding-left: 0;
    flex-grow: 1;
    text-align: left; /* Ensure list items text is left-aligned */
}

.hero-text ul li {
    position: relative;
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-text ul li::before {
    content: '•';
    color: #00f5ff;
    font-size: 1.5em;
    position: absolute;
    left: -1.5rem;
    top: -0.1em;
}
/* Animation delays for list items */
.hero-text ul li:nth-child(1) { transition-delay: 0.1s; }
.hero-text ul li:nth-child(2) { transition-delay: 0.2s; }
.hero-text ul li:nth-child(3) { transition-delay: 0.3s; }
.hero-text ul li:nth-child(4) { transition-delay: 0.4s; }
.hero-text ul li:nth-child(5) { transition-delay: 0.5s; }

.question-icon-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateY(10px);
}

.question-icon {
    width: 100%;
    height: 100%;
}

.question-mark {
    transform-origin: center;
    animation: bounceQuestion 2s infinite ease-in-out;
}

@keyframes bounceQuestion {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-10px) scale(1.1); opacity: 0.8; }
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    color: white;
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1.1rem 2.5rem;
    border: 2px solid #00f5ff;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #00f5ff;
    color: #0a0a28;
    box-shadow: 0 8px 20px rgba(0, 245, 255, 0.3);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ai-circle {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 245, 255, 0.1), rgba(0, 128, 255, 0.1));
    border: 2px solid rgba(0, 245, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.ai-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ai-icon {
    position: absolute;
    width: 65px;
    height: 65px;
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7rem;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
}

/* Dynamic orbit animation for AI icons */
.ai-icon:nth-child(1) { animation: orbit1 25s linear infinite; }
.ai-icon:nth-child(2) { animation: orbit2 25s linear infinite; }
.ai-icon:nth-child(3) { animation: orbit3 25s linear infinite; }
.ai-icon:nth-child(4) { animation: orbit4 25s linear infinite; }

/* Orbit animations - adjusted for better visual flow and larger circle */
@keyframes orbit1 {
    0% { transform: rotate(0deg) translateX(225px) translateY(0px) rotate(0deg); }
    25% { transform: rotate(90deg) translateX(225px) translateY(0px) rotate(-90deg); }
    50% { transform: rotate(180deg) translateX(225px) translateY(0px) rotate(-180deg); }
    75% { transform: rotate(270deg) translateX(225px) translateY(0px) rotate(-270deg); }
    100% { transform: rotate(360deg) translateX(225px) translateY(0px) rotate(-360deg); }
}
@keyframes orbit2 {
    0% { transform: rotate(90deg) translateX(225px) translateY(0px) rotate(-90deg); }
    25% { transform: rotate(180deg) translateX(225px) translateY(0px) rotate(-180deg); }
    50% { transform: rotate(270deg) translateX(225px) translateY(0px) rotate(-270deg); }
    75% { transform: rotate(360deg) translateX(225px) translateY(0px) rotate(-360deg); }
    100% { transform: rotate(450deg) translateX(225px) translateY(0px) rotate(-450deg); }
}
@keyframes orbit3 {
    0% { transform: rotate(180deg) translateX(225px) translateY(0px) rotate(-180deg); }
    25% { transform: rotate(270deg) translateX(225px) translateY(0px) rotate(-270deg); }
    50% { transform: rotate(360deg) translateX(225px) translateY(0px) rotate(-360deg); }
    75% { transform: rotate(450deg) translateX(225px) translateY(0px) rotate(-450deg); }
    100% { transform: rotate(540deg) translateX(225px) translateY(0px) rotate(-540deg); }
}
@keyframes orbit4 {
    0% { transform: rotate(270deg) translateX(225px) translateY(0px) rotate(-270deg); }
    25% { transform: rotate(360deg) translateX(225px) translateY(0px) rotate(-360deg); }
    50% { transform: rotate(450deg) translateX(225px) translateY(0px) rotate(-450deg); }
    75% { transform: rotate(540deg) translateX(225px) translateY(0px) rotate(-540deg); }
    100% { transform: rotate(630deg) translateX(225px) translateY(0px) rotate(-630deg); }
}


/* Sections Common Styles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
}

/* Solutions Section (Process Steps) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 245, 255, 0.1);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.15);
}

.process-step:hover::before {
    transform: translateY(0);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(10, 10, 40, 0.95) 0%, rgba(20, 30, 50, 0.95) 100%);
    color: white;
    position: relative;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #00f5ff;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #d0d0d0;
}

.experience-list {
    list-style: none;
    margin-top: 2rem;
}

.experience-list li {
    padding: 0.5rem 0;
    border-left: 3px solid #00f5ff;
    padding-left: 1rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

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

.stat-card {
    background: rgba(0, 245, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00f5ff;
    display: block;
}

.stat-label {
    color: #b0b0b0;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 245, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.15);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

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

.tech-tag {
    background: linear-gradient(45deg, rgba(0, 245, 255, 0.1), rgba(0, 128, 255, 0.1));
    color: #0080ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 128, 255, 0.2);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(10, 10, 40, 0.95) 0%, rgba(26, 26, 64, 0.95) 100%);
    color: white;
    position: relative;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00f5ff;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #b0b0b0;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00f5ff;
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.contact-form .btn-primary { /* Targeting the submit button specifically */
    display: block; /* Make it a block element */
    margin: 1.5rem auto 0; /* Center it horizontally and add top margin */
    max-width: 300px; /* Limit its width */
}

/* Footer */
.footer {
    background: #0a0a28;
    color: white;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 245, 255, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 900;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

.scroll-to-top:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 245, 255, 0.6);
}

/* Custom Message Box (Modal) */
.message-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.message-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.message-modal-content {
    background: linear-gradient(135deg, #0a0a28, #1a1a40);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.message-modal-overlay.show .message-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.message-modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #00f5ff;
}

.message-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #d0d0d0;
}

.message-modal-content button {
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-modal-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
    .hero-content {
        gap: 2rem;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-visual {
        margin-top: 2rem;
    }
    .ai-circle {
        width: 350px;
        height: 350px;
    }
    .ai-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    @keyframes orbit1 {
        0% { transform: rotate(0deg) translateX(175px) translateY(0px) rotate(0deg); }
        25% { transform: rotate(90deg) translateX(175px) translateY(0px) rotate(-90deg); }
        50% { transform: rotate(180deg) translateX(175px) translateY(0px) rotate(-180deg); }
        75% { transform: rotate(270deg) translateX(175px) translateY(0px) rotate(-270deg); }
        100% { transform: rotate(360deg) translateX(175px) translateY(0px) rotate(-360deg); }
    }
    @keyframes orbit2 {
        0% { transform: rotate(90deg) translateX(175px) translateY(0px) rotate(-90deg); }
        25% { transform: rotate(180deg) translateX(175px) translateY(0px) rotate(-180deg); }
        50% { transform: rotate(270deg) translateX(175px) translateY(0px) rotate(-270deg); }
        75% { transform: rotate(360deg) translateX(175px) translateY(0px) rotate(-360deg); }
        100% { transform: rotate(450deg) translateX(175px) translateY(0px) rotate(-450deg); }
    }
    @keyframes orbit3 {
        0% { transform: rotate(180deg) translateX(175px) translateY(0px) rotate(-180deg); }
        25% { transform: rotate(270deg) translateX(175px) translateY(0px) rotate(-270deg); }
        50% { transform: rotate(360deg) translateX(175px) translateY(0px) rotate(-360deg); }
        75% { transform: rotate(450deg) translateX(175px) translateY(0px) rotate(-450deg); }
        100% { transform: rotate(540deg) translateX(175px) translateY(0px) rotate(-540deg); }
    }
    @keyframes orbit4 {
        0% { transform: rotate(270deg) translateX(175px) translateY(0px) rotate(-270deg); }
        25% { transform: rotate(360deg) translateX(175px) translateY(0px) rotate(-360deg); }
        50% { transform: rotate(450deg) translateX(175px) translateY(0px) rotate(-450deg); }
        75% { transform: rotate(540deg) translateX(175px) translateY(0px) rotate(-540deg); }
        100% { transform: rotate(630deg) translateX(175px) translateY(0px) rotate(-630deg); }
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-text {
        text-align: center;
    }
    .experience-list {
        padding-left: 0;
        text-align: left; /* Keep list left-aligned even if text is centered */
        max-width: 500px; /* Constrain width for better readability */
        margin-left: auto;
        margin-right: auto;
    }
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide desktop nav links */
    }
    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .hero {
        padding: 6rem 0 4rem; /* Adjusted padding for mobile */
        min-height: auto; /* Allow height to adjust to content on mobile */
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem; /* Adjusted for mobile */
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .hero-problems {
        flex-direction: column; /* Stack list and icon vertically */
        align-items: center; /* Center items when stacked */
        gap: 1rem;
        margin-bottom: 1.5rem; /* Adjusted margin */
    }

    .hero-text ul {
        font-size: 1.1rem; /* Adjusted for mobile */
        line-height: 1.7;
        padding: 0 0.5rem;
        text-align: left; /* Keep left aligned for list */
        margin-left: auto; /* Center the list block */
        margin-right: auto; /* Center the list block */
        max-width: 90%; /* Constrain width */
    }

    .hero-text ul li {
        transform: translateX(0); /* Remove initial transform for mobile */
    }

    .question-icon-container {
        width: 60px; /* Smaller icon for mobile */
        height: 60px;
        transform: translateY(0); /* Reset vertical position */
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        border-radius: 30px;
    }

    .ai-circle {
        width: 250px;
        height: 250px;
        margin: 1rem auto;
    }

    .ai-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Adjust orbit animation for smaller circles */
    @keyframes orbit1 {
        0% { transform: rotate(0deg) translateX(125px) translateY(0px) rotate(0deg); }
        25% { transform: rotate(90deg) translateX(125px) translateY(0px) rotate(-90deg); }
        50% { transform: rotate(180deg) translateX(125px) translateY(0px) rotate(-180deg); }
        75% { transform: rotate(360deg) translateX(125px) translateY(0px) rotate(-360deg); }
        100% { transform: rotate(450deg) translateX(125px) translateY(0px) rotate(-450deg); }
    }
    @keyframes orbit2 {
        0% { transform: rotate(90deg) translateX(125px) translateY(0px) rotate(-90deg); }
        25% { transform: rotate(180deg) translateX(125px) translateY(0px) rotate(-180deg); }
        50% { transform: rotate(270deg) translateX(125px) translateY(0px) rotate(-270deg); }
        75% { transform: rotate(360deg) translateX(125px) translateY(0px) rotate(-360deg); }
        100% { transform: rotate(450deg) translateX(125px) translateY(0px) rotate(-450deg); }
    }
    @keyframes orbit3 {
        0% { transform: rotate(180deg) translateX(125px) translateY(0px) rotate(-180deg); }
        25% { transform: rotate(270deg) translateX(125px) translateY(0px) rotate(-270deg); }
        50% { transform: rotate(360deg) translateX(125px) translateY(0px) rotate(-360deg); }
        75% { transform: rotate(450deg) translateX(125px) translateY(0px) rotate(-450deg); }
        100% { transform: rotate(540deg) translateX(125px) translateY(0px) rotate(-540deg); }
    }
    @keyframes orbit4 {
        0% { transform: rotate(270deg) translateX(125px) translateY(0px) rotate(-270deg); }
        25% { transform: rotate(360deg) translateX(125px) translateY(0px) rotate(-360deg); }
        50% { transform: rotate(450deg) translateX(125px) translateY(0px) rotate(-450deg); }
        75% { transform: rotate(540deg) translateX(125px) translateY(0px) rotate(-540deg); }
        100% { transform: rotate(630deg) translateX(125px) translateY(0px) rotate(-630deg); }
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-title p {
        font-size: 1rem;
    }
    .section-padding {
        padding: 4rem 1rem;
    }
    .process-step, .service-card, .stat-card {
        padding: 1.5rem;
    }
    .about-text h2, .contact h2 {
        font-size: 2rem;
    }
    .contact p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem; /* Adjusted for smaller mobile */
    }

    .hero-text ul {
        font-size: 1rem; /* Adjusted for smaller mobile */
        padding: 0 0.2rem;
    }

    .ai-circle {
        width: 200px;
        height: 200px;
    }

    /* Adjust orbit animation for even smaller circles */
    @keyframes orbit1 {
        0% { transform: rotate(0deg) translateX(100px) translateY(0px) rotate(0deg); }
        25% { transform: rotate(90deg) translateX(100px) translateY(0px) rotate(-90deg); }
        50% { transform: rotate(180deg) translateX(100px) translateY(0px) rotate(-180deg); }
        75% { transform: rotate(270deg) translateX(100px) translateY(0px) rotate(-270deg); }
        100% { transform: rotate(360deg) translateX(100px) translateY(0px) rotate(-360deg); }
    }
    @keyframes orbit2 {
        0% { transform: rotate(90deg) translateX(100px) translateY(0px) rotate(-90deg); }
        25% { transform: rotate(180deg) translateX(100px) translateY(0px) rotate(-180deg); }
        50% { transform: rotate(270deg) translateX(100px) translateY(0px) rotate(-270deg); }
        75% { transform: rotate(360deg) translateX(100px) translateY(0px) rotate(-360deg); }
        100% { transform: rotate(450deg) translateX(100px) translateY(0px) rotate(-450deg); }
    }
    @keyframes orbit3 {
        0% { transform: rotate(180deg) translateX(100px) translateY(0px) rotate(-180deg); }
        25% { transform: rotate(270deg) translateX(100px) translateY(0px) rotate(-270deg); }
        50% { transform: rotate(360deg) translateX(100px) translateY(0px) rotate(-360deg); }
        75% { transform: rotate(450deg) translateX(100px) translateY(0px) rotate(-450deg); }
        100% { transform: rotate(540deg) translateX(100px) translateY(0px) rotate(-540deg); }
    }
    @keyframes orbit4 {
        0% { transform: rotate(270deg) translateX(100px) translateY(0px) rotate(-270deg); }
        25% { transform: rotate(360deg) translateX(100px) translateY(0px) rotate(-360deg); }
        50% { transform: rotate(450deg) translateX(100px) translateY(0px) rotate(-450deg); }
        75% { transform: rotate(540deg) translateX(100px) translateY(0px) rotate(-540deg); }
        100% { transform: rotate(630deg) translateX(100px) translateY(0px) rotate(-630deg); }
    }

    .ai-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
    .logo {
        font-size: 1.5rem;
    }
}

