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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --hover-color: #0d47a1;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.654);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 0px solid #e0e0e0;
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: auto;
    max-height: 65px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding-right: 20px;
    gap: 15px;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #090909;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    font-style: normal;
    line-height: 26px;
    text-transform: uppercase;
    padding: 10px 15px;
    display: block;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
}

.nav-menu a:hover {
    color: #666666;
    opacity: 0.8;
}

.nav-menu a.active {
    color: rgb(0, 148, 144);
    font-weight: 500;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333333;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 360px;
    text-align: left;
    color: var(--text-light);
    overflow: hidden;
    max-width: 1540px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 360px;
    /* Fixed height like original banner */
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.497) 65%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0;
    margin-right: 20px;
    /* align to left with no inset, cutout style */
    background: rgba(255, 255, 255, 0.6);
    padding: 0px 20px;
    border-radius: 0 8px 8px 0;
    display: inline-block;
}

.hero-title {
    /* Closer to original site banner size on desktop */
    font-size: clamp(1.8rem, 3.0vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    background: linear-gradient(90deg, rgb(50, 180, 175) 0%, rgb(19, 105, 98) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: left;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-decoration {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: var(--bg-white);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

/* Digital Services */
.digital-services {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.digital-content {
    width: 100%;
    padding: 0 10px;
}

/* Automation Page Background */
.automation-page .digital-services {
    /* Background image removed */
}

.service-section {
    min-height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 40px;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    width: 100%;
    max-width: none;
}

.service-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(0, 148, 144);
    margin-bottom: 20px;
    background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}

.service-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: rgb(0, 148, 144);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: rgb(0, 120, 116);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(86, 239, 234, 0.01), rgba(19, 105, 98, 0.01));
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(2px);
    z-index: 0;
}

.floating-shape.shape-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 2%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.floating-shape.shape-2 {
    width: 450px;
    height: 450px;
    top: 40%;
    right: 5%;
    animation-delay: 3s;
    animation-duration: 12s;
}

.floating-shape.shape-3 {
    width: 600px;
    height: 600px;
    bottom: 15%;
    left: 8%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.floating-shape.shape-4 {
    width: 400px;
    height: 400px;
    top: 25%;
    right: 2%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.floating-shape.shape-5 {
    width: 550px;
    height: 550px;
    bottom: 30%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.floating-shape.shape-6 {
    width: 480px;
    height: 480px;
    top: 65%;
    left: 5%;
    animation-delay: 7s;
    animation-duration: 16s;
}

.floating-code {
    position: absolute;
    background: rgba(26, 26, 46, 0.33);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1rem;
    color: #e0e0e0;
    animation: codeFloat 12s ease-in-out infinite;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(86, 239, 234, 0.3);
    z-index: 0;
    min-width: 280px;
}

.floating-code pre {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.6;
}

.floating-code code {
    color: #56efea;
    font-weight: 500;
}

.floating-code .comment {
    color: #7f8c8d;
    font-style: italic;
}

.floating-code .keyword {
    color: #ff6b6b;
    font-weight: bold;
}

.floating-code .string {
    color: #ffd93d;
}

.floating-code .function {
    color: #4ecdc4;
}

.floating-automation-flow {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    animation: codeFloat 12s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(86, 239, 234, 0.2);
    z-index: 0;
    max-width: 400px;
}

.floating-automation-flow .automation-flow-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 0.8;
}

.floating-automation-flow {
    bottom: 25%;
    left: 8%;
    animation-delay: 4s;
    animation-duration: 15s;
    z-index: 0;
}

.floating-youtube-thumbnail {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    animation: codeFloat 12s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(86, 239, 234, 0.2);
    z-index: 0;
    max-width: 300px;
}

.floating-youtube-thumbnail .youtube-thumbnail-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.floating-youtube-thumbnail .youtube-thumbnail-image:hover {
    opacity: 1;
}

.floating-youtube-thumbnail {
    top: 30%;
    right: 8%;
    animation-delay: 6s;
    animation-duration: 18s;
    z-index: 0;
}

.floating-ai-video {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    animation: codeFloat 12s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(86, 239, 234, 0.2);
    z-index: 0;
    max-width: 320px;
    overflow: hidden;
}

.floating-ai-video .ai-video-element {
    width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 0.9;
    display: block;
}

.floating-ai-video {
    top: 25%;
    right: 5%;
    animation-delay: 8s;
    animation-duration: 20s;
    z-index: 0;
}

.floating-microsoft-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: codeFloat 12s ease-in-out infinite;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(86, 239, 234, 0.2);
    z-index: 0;
    max-width: 80px;
    overflow: hidden;
}

.floating-microsoft-icon .microsoft-icon-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    opacity: 0.9;
    display: block;
}

.floating-microsoft-icon.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.floating-microsoft-icon.icon-2 {
    top: 50%;
    left: 5%;
    animation-delay: 3s;
    animation-duration: 18s;
}

.floating-microsoft-icon.icon-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
    animation-duration: 20s;
}

.floating-microsoft-icon.icon-4 {
    top: 35%;
    right: 10%;
    animation-delay: 7s;
    animation-duration: 17s;
}

.floating-microsoft-icon.icon-5 {
    bottom: 35%;
    right: 5%;
    animation-delay: 9s;
    animation-duration: 19s;
}

.floating-code.code-1 {
    top: 20%;
    right: 12%;
    animation-delay: 0s;
    animation-duration: 18s;
    z-index: 0;
}

.floating-code.code-2 {
    bottom: 25%;
    left: 8%;
    animation-delay: 4s;
    animation-duration: 15s;
    z-index: 0;
}

.floating-code.code-3 {
    top: 40%;
    left: 3%;
    animation-delay: 7s;
    animation-duration: 20s;
    z-index: 0;
}

.floating-code.code-4 {
    bottom: 10%;
    right: 6%;
    animation-delay: 2s;
    animation-duration: 16s;
    z-index: 0;
}

.floating-code.code-5 {
    top: 55%;
    right: 20%;
    animation-delay: 5s;
    animation-duration: 19s;
    z-index: 0;
}

.floating-code.code-6 {
    bottom: 40%;
    left: 15%;
    animation-delay: 8s;
    animation-duration: 17s;
    z-index: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.05;
    }

    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg) scale(1.1);
        opacity: 0.08;
    }

    50% {
        transform: translateY(-60px) translateX(-20px) rotate(180deg) scale(0.9);
        opacity: 0.12;
    }

    75% {
        transform: translateY(-30px) translateX(-10px) rotate(270deg) scale(1.05);
        opacity: 0.06;
    }
}

@keyframes codeFloat {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.22;
    }

    20% {
        transform: translateY(-40px) translateX(30px) rotate(5deg) scale(1.1);
        opacity: 0.33;
    }

    40% {
        transform: translateY(-80px) translateX(-20px) rotate(-5deg) scale(0.95);
        opacity: 0.275;
    }

    60% {
        transform: translateY(-60px) translateX(-40px) rotate(3deg) scale(1.05);
        opacity: 0.385;
    }

    80% {
        transform: translateY(-20px) translateX(10px) rotate(-2deg) scale(0.98);
        opacity: 0.308;
    }
}

.automation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-item h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ai-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.capability {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.capability h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.capability p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.ai-applications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.application {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.application h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.m365-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.m365-service {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.m365-service:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.m365-service h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.m365-service p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.m365-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-item h3 {
    color: rgb(0, 148, 144);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-weight: 500;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(0, 148, 144);
    box-shadow: 0 0 0 3px rgba(0, 148, 144, 0.1);
}

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

/* Footer */
.footer {
    background: #222222;
    color: var(--text-light);
    padding: 60px 20px 30px;
    margin-top: 80px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    font-family: 'Open Sans', sans-serif;
}

.footer-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0;
}

.footer-section a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.social-links a {
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
}

.social-icon {
    height: 26px;
    width: auto;
    display: block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.9;
    font-size: 0.8rem;
}

.footer-bottom-left p {
    margin: 0;
    line-height: 1.6;
}

.footer-bottom-right .footer-logo {
    max-height: 55px;
    width: auto;
    opacity: 0.9;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid #e0e0e0;
    }

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

    .nav-menu li {
        width: 100%;
        padding: 0;
    }

    .nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero {
        padding: 120px 0 40px 0;
        align-items: flex-end;
    }

    .hero-content {
        margin-right: 20px;
        border-radius: 0 8px 8px 0;
    }

    .service-section {
        padding: 60px 20px;
    }

    .automation-features,
    .ai-capabilities,
    .m365-services {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .ai-applications,
    .m365-features,
    .contact-info {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-bottom-right {
        align-self: flex-end;
    }

    /* Mobile Text Readability Improvements */
    .service-section p,
    .service-section h3,
    .feature p,
    .capability p,
    .m365-service p,
    .automation-flow-container p {
        color: #333333;
        background: rgba(255, 255, 255, 0.4);
        padding: 8px 12px;
        border-radius: 6px;
        line-height: 1.5;
    }

    .service-section h2 {
        background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        padding: 12px 16px;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .feature h3,
    .capability h3,
    .m365-service h3,
    .benefit-item h4,
    .application h4,
    .feature-item h4 {
        background: linear-gradient(90deg, rgb(86, 239, 234) 0%, rgb(19, 105, 98) 80%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .floating-code {
        font-size: 0.8rem;
        padding: 10px;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 1rem;
}

/* Automation Flow Container */
.automation-flow-container {
    margin-top: 2rem;
    text-align: center;
}

.automation-flow-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
