/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal scrolling globally */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
}

/* Ensure all containers respect viewport */
body > * {
    max-width: 100vw;
    overflow-x: hidden;
}

:root {
    --primary-color: #0cc0df;
    --primary-dark: #0aa5c0;
    --primary-light: #4dd0e8;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

* {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Startup Animation */
.startup-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeOut 0.3s ease-out 1s forwards;
}

.startup-logo {
    animation: logoFadeIn 0.7s ease-out;
}

.startup-logo img {
    max-width: 300px;
    height: auto;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.2s ease;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    will-change: box-shadow;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Corner Decorations */
.corner-decoration {
    position: fixed;
    width: 150px;
    height: 150px;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

/* Additional Decorative Elements */
.decorative-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.decorative-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.section-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light) 0%, var(--primary-color) 30%, transparent 70%);
    opacity: 0.12;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(20px);
}

/* Unique Decorative Elements */
.decorative-accent {
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.decorative-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
}

.decorative-line-vertical {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    opacity: 0.2;
}

/* Color Alignment Variations */
.section-alt-color {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.section-gradient {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 50%, var(--bg-light) 100%);
}

.corner-decoration.top-left {
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 70%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.1;
}

.corner-decoration.top-right {
    top: 0;
    right: 0;
    background: linear-gradient(225deg, var(--primary-color) 0%, transparent 70%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    opacity: 0.1;
}

.corner-decoration.bottom-left {
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 70%);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    opacity: 0.1;
}

.corner-decoration.bottom-right {
    bottom: 0;
    right: 0;
    background: linear-gradient(315deg, var(--primary-color) 0%, transparent 70%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.1;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 600px;
    margin-top: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-image: url('banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    position: relative;
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(12, 192, 223, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 192, 223, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: block;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(12, 192, 223, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    will-change: transform;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 0 0 0 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(12, 192, 223, 0.25);
    background: var(--white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Services Offering Section */
.services-offering-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-offering-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.services-offering-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.offering-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.offering-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.offering-content p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 30px 0;
    font-weight: 300;
}

.customer-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.customer-type {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    color: var(--white);
}

.customer-type:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Services Preview */
.services-preview {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    width: 100%;
    box-sizing: border-box;
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(12, 192, 223, 0.1);
    position: relative;
    overflow: hidden;
    will-change: transform;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(12, 192, 223, 0.1), transparent);
    transition: left 0.3s ease;
    will-change: left;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(12, 192, 223, 0.3);
    background: var(--white);
}

.service-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 192, 223, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
    will-change: transform;
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* References Section */
.references-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
    position: relative;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    width: 100%;
    box-sizing: border-box;
}

.reference-item {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(12, 192, 223, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    will-change: transform;
}

.reference-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 35px rgba(12, 192, 223, 0.25);
    border-color: var(--primary-color);
}

.reference-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    position: relative;
}

.reference-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 192, 223, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.reference-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
    will-change: transform;
}

.reference-item:hover .reference-image {
    transform: scale(1.1);
}

.reference-info {
    padding: 20px;
}

.reference-info h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.reference-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.references-cta {
    text-align: center;
    margin-top: 50px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 50%, var(--bg-light) 100%);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 50px;
    width: 100%;
    box-sizing: border-box;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 192, 223, 0.3);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-watermark {
    text-align: center;
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.watermark-image {
    max-width: 200px;
    height: auto;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(12, 192, 223, 0.3);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(12, 192, 223, 0.4);
}

.scroll-to-top.visible {
    display: flex;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
        font-size: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 100vw;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 15px;
        z-index: 999;
        box-sizing: border-box;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .header-container {
        padding: 10px 15px;
        max-width: 100%;
    }

    .logo {
        height: 38px;
    }

    .container {
        padding: 0 20px;
        max-width: 100%;
        width: 100%;
    }

    * {
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .hero-banner {
        height: 400px;
        min-height: 400px;
    }

    .hero-content {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 1.75rem;
        padding: 0 15px;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .section-subtitle {
        padding: 0 15px;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-content {
        display: block;
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .references-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-image-container {
        height: 200px;
    }

    .reference-image-container {
        height: 200px;
    }

    .service-detail-img {
        height: 350px;
    }

    .reference-image-large {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .expanded-image {
        max-width: 95vw;
        max-height: 95vh;
    }

    .close-modal {
        top: -30px;
        font-size: 30px;
        width: 70px;
        height: 70px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 22px;
        min-width: 48px;
        min-height: 48px;
    }

    section {
        padding: 50px 0;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 16px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-grid,
    .process-steps,
    .certifications-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-features {
        gap: 20px;
    }

    .feature-card {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
        width: 100%;
    }

    * {
        max-width: 100%;
    }

    .header-container {
        padding: 10px 16px;
        max-width: 100%;
    }

    .logo {
        height: 32px;
    }

    .nav-menu {
        top: 60px;
        padding: 15px;
    }

    .nav-link {
        font-size: 17px;
        padding: 14px 0;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        line-height: 1.3;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 20px;
        padding: 0 15px;
        line-height: 1.5;
    }

    .hero-banner {
        height: 350px;
        min-height: 350px;
    }

    .hero-content {
        padding: 15px 10px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        padding: 0 10px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.875rem;
        margin-bottom: 25px;
        padding: 0 15px;
        line-height: 1.6;
    }

    section {
        padding: 35px 0;
    }

    .contact-form {
        padding: 18px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
    }

    .corner-decoration {
        width: 50px;
        height: 50px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    .page-header-banner {
        height: 220px;
        min-height: 220px;
    }

    .page-header-banner .page-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        padding: 0 15px;
    }

    .page-header-banner .page-subtitle {
        font-size: 0.875rem;
        padding: 0 20px;
    }

    .service-image-container {
        height: 180px;
        max-width: 100%;
    }

    .reference-image-container {
        height: 180px;
        max-width: 100%;
    }

    .service-image-container,
    .reference-image-container {
        border-radius: 10px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .reference-item {
        max-width: 100%;
        width: 100%;
    }

    .reference-info h4 {
        font-size: 1.1rem;
    }

    .reference-info p {
        font-size: 0.85rem;
    }

    .service-detail-img {
        height: 220px;
    }

    .reference-image-large {
        height: 180px;
    }

    .feature-card,
    .why-item,
    .process-step,
    .certification-card,
    .testimonial-card {
        padding: 18px;
    }

    .feature-card h3,
    .why-item h3,
    .process-step h3,
    .certification-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p,
    .why-item p,
    .process-step p,
    .certification-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 15px;
        min-height: 48px;
        width: auto;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-item strong {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
    }
}

@media (max-width: 375px) {
    html, body {
        font-size: 13px;
    }

    .container {
        padding: 0 14px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-banner {
        height: 320px;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .page-header-banner {
        height: 200px;
    }

    .page-header-banner .page-title {
        font-size: 1.4rem;
    }

    .service-image-container,
    .reference-image-container {
        height: 160px;
    }

    .service-card,
    .feature-card,
    .why-item,
    .process-step,
    .certification-card,
    .testimonial-card {
        padding: 16px;
    }
}

@media (max-width: 320px) {
    html, body {
        font-size: 12px;
    }

    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .hero-banner {
        height: 300px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: var(--white);
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item {
    will-change: transform;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(12, 192, 223, 0.2);
}

.why-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.why-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.why-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Process Section */
.process-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step {
    will-change: transform;
    transition: transform 0.2s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Certifications Section */
.certifications-section {
    background-color: var(--white);
    padding: 80px 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.certification-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.certification-card {
    will-change: transform;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.certification-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(12, 192, 223, 0.2);
}

.cert-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.certification-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.certification-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card {
    will-change: transform;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    border-top: 2px solid var(--bg-light);
    padding-top: 20px;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Subpage Styles */
.page-header-banner {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 0;
    overflow: hidden;
}

.page-banner-image {
    width: 100%;
    height: 100%;
    background-image: url('banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    position: relative;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-banner .container {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.page-header-banner .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.page-header-banner .page-subtitle {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: var(--white);
    opacity: 0.95;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Service Detail Section */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-section.alt-bg {
    background-color: var(--bg-light);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-image {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.service-detail-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(12, 192, 223, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 3px solid rgba(12, 192, 223, 0.1);
    display: block;
}

.service-detail-image:hover .service-detail-img {
    transform: scale(1.02);
    box-shadow: 0 18px 45px rgba(12, 192, 223, 0.3);
    border-color: var(--primary-color);
}

.reference-image-large {
    width: 350px;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 12px 12px 0 0;
}

.reference-item-large:hover .reference-image-large {
    transform: scale(1.05);
}

.service-detail-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-detail-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.service-detail-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin: 20px 0;
}

.service-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 1.1rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .cta-button:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* References Page */
.references-page-section {
    padding: 80px 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 5px 15px rgba(12, 192, 223, 0.15);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(12, 192, 223, 0.3);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.expanded-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 90vw;
    max-height: 90vh;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2001;
}

.close-modal:hover {
    color: var(--primary-color);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.references-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.references-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.reference-item-large {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-item-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.reference-info-large {
    padding: 30px;
}

.reference-info-large h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.reference-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.reference-info-large p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.reference-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.reference-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.reference-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Page */
.contact-page-section {
    padding: 80px 0;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-card,
.contact-form-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-info-card h2,
.contact-form-card h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-detail-item h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-detail-item p {
    color: var(--text-light);
    margin: 5px 0;
}

.contact-note {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-note h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-note p {
    color: var(--text-light);
    line-height: 1.8;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Map Section */
.map-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.service-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.area-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.area-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.area-item p {
    color: var(--text-light);
}

/* Responsive for new modules */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .stat-item {
        padding: 15px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-header-banner {
        height: 280px;
    }

    .page-header-banner .page-title {
        font-size: 1.8rem;
    }

    .page-header-banner .page-subtitle {
        font-size: 0.95rem;
    }
}

/* Responsive for subpages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .service-image-placeholder-large {
        height: 300px;
    }

    .references-grid-large {
        grid-template-columns: 1fr;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .reference-features {
        grid-template-columns: 1fr;
    }
}

