/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Prevent horizontal scroll on all sections */
section {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Typography */
h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 64rem;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: #000;
    border-bottom: 1px solid #374151;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    white-space: nowrap;
}

.desktop-nav {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #d1d5db;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1),
                0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    min-width: min(280px, 90vw);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateX(-50%) rotate(45deg);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    color: #111827;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateX(4px);
}

.dropdown-item-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
}

.dropdown-item-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

.get-started-btn {
    margin-left: 1rem;
    background-color: white;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.get-started-btn:hover {
    background-color: #f3f4f6;
}

.mobile-menu-btn {
    display: block;
}

.menu-toggle {
    color: white;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    background-color: #000;
    border-top: 1px solid #374151;
    max-width: 100vw;
    overflow-x: hidden;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    padding: 0.5rem;
}

.mobile-nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: #d1d5db;
}

/* Mobile Dropdown Styles */
.mobile-nav-item {
    width: 100%;
}

.mobile-nav-link-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.mobile-dropdown-arrow.active {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    margin: 0.5rem 0;
}

.mobile-submenu.active {
    max-height: 300px;
}

.mobile-submenu-link {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.mobile-submenu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #6366f1;
    padding-left: 2rem;
}

.mobile-get-started-btn {
    margin: 1rem 0.75rem;
    background-color: white;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    width: calc(100% - 1.5rem);
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom right, #000, #111827, #374151);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    max-width: 100vw;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
    z-index: 10;
}

.geometric-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}

.animated-bg-1 {
    position: absolute;
    top: 5rem;
    right: 2rem;
    width: min(24rem, 50vw);
    height: min(24rem, 50vw);
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    filter: blur(48px);
    animation: pulse 2s infinite;
}

.animated-bg-2 {
    position: absolute;
    bottom: 5rem;
    left: 2rem;
    width: min(16rem, 40vw);
    height: min(16rem, 40vw);
    background: rgba(59,130,246,0.1);
    border-radius: 50%;
    filter: blur(32px);
    animation: pulse 2s infinite 1s;
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1rem;
}

.hero-text {
    max-width: 64rem;
}

.hero-heading {
    margin-bottom: 2rem;
}

.hero-heading h1 {
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.heading-line {
    display: block;
}

.heading-bold {
    color: white;
    font-weight: 700;
}

.heading-light {
    color: #d1d5db;
    font-weight: 300;
}

.heading-subtitle {
    display: block;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    color: #9ca3af;
    margin-top: 1rem;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    margin-bottom: 3rem;
}

.hero-subtitle p {
    font-size: clamp(1.125rem, 3vw, 2rem);
    color: #d1d5db;
    line-height: 1.6;
    max-width: 48rem;
}

.highlight {
    color: white;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-primary {
    background-color: white;
    color: black;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.btn-primary:hover {
    background-color: #f3f4f6;
    transform: scale(1.05);
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(0.25rem);
}

.btn-secondary {
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: black;
    border-color: white;
    transform: scale(1.05);
}

.btn-icon {
    transition: transform 0.3s;
}

.btn-secondary:hover .btn-icon {
    transform: rotate(12deg);
}

.trust-indicators {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.trust-dot.red {
    background-color: #ef4444;
}

.trust-dot.blue {
    background-color: #3b82f6;
}

.trust-dot.purple {
    background-color: #8b5cf6;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.scroll-arrow {
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* Technologies Section */
.technologies {
    padding: 4rem 0;
    background-color: #f9fafb;
    overflow: hidden;
}

.tech-carousel {
    position: relative;
}

.tech-track {
    display: flex;
    animation: techScroll 60s linear infinite;
}

.tech-track:hover {
    animation-play-state: paused;
}

.tech-item {
    flex-shrink: 0;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.tech-item:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tech-item img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    transition: transform 0.3s;
}

.tech-item:hover img {
    transform: scale(1.1);
}

@keyframes techScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

.service-content {
    padding: 2rem;
    text-align: center;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: black;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.products-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.product-content {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.product-image {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.product-info {
    flex: 1;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-category {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-info p {
    color: #666;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Team Section */
.team {
    padding: 5rem 0;
    background-color: white;
}

.team-grid {
    display: grid;
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.team-card:hover {
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-avatar {
    margin-bottom: 1rem;
}

.team-avatar img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin: 0 auto;
    object-fit: cover;
}

.team-content h3 {
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.team-description {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
}

.registration-info {
    margin-top: 4rem;
    text-align: center;
}

.registration-content {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.flag-icon {
    width: 1.5rem;
    height: 1rem;
    object-fit: cover;
    border-radius: 0.125rem;
}

.footer-registration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonials-carousel {
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
}

.testimonials-track {
    position: relative;
    min-height: 20rem;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-content {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: #000;
    font-family: Georgia, serif;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: #6b7280;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.indicator.active {
    width: 2rem;
    border-radius: 0.25rem;
    background-color: #000;
}

.indicator:hover {
    background-color: #9ca3af;
}

@media (max-width: 768px) {
    .testimonial-content {
        padding: 2rem;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    margin-top: 1rem;
}

.contact-email a {
    color: black;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Contact Content Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

/* Contact Info Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.5rem;
    background: #f3f4f6;
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #374151;
}

.contact-info-item p {
    color: #6b7280;
    margin: 0;
}

.contact-info-item a {
    color: #0066cc;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f3f4f6;
    border-radius: 8px;
    text-align: center;
}

.contact-cta p {
    margin-bottom: 1rem;
    color: #374151;
}

/* Responsive Contact Layout */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

.contact-form-container {
    max-width: 32rem;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.contact-card-header {
    text-align: center;
    padding: 2rem 2rem 0;
}

.contact-card-content {
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    height: 3rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #374151;
}

.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    resize: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: #374151;
}

.form-submit-btn {
    width: 100%;
    background-color: black;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.form-submit-btn:hover {
    background-color: #374151;
}

.form-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Toast notification styling */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Modal Overlay Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.modal-close span {
    font-size: 1.25rem;
    color: #6b7280;
}

.modal-content {
    padding: 3rem 2rem 2rem;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.modal-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.consultation-form .form-input,
.consultation-form .form-textarea {
    width: 100%;
    background: #f9fafb;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.consultation-form .form-input:focus,
.consultation-form .form-textarea:focus {
    background: white;
    border-color: #111827;
}

.consultation-form select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments for modal */
@media (max-width: 640px) {
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.75rem;
    }
}

/* Footer */
.footer {
    background-color: black;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-logo-img {
    height: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-text {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    white-space: nowrap;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-contact p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #d1d5db;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom-content p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-8px);
    }
    70% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(-2px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .animated-bg-1,
    .animated-bg-2,
    .scroll-arrow,
    .trust-dot {
        animation: none !important;
    }
    .tech-track {
        animation: none !important;
    }
}

/* Large screen hero background tweaks */
@media (min-width: 1024px) {
    .animated-bg-1 {
        width: min(20rem, 30vw);
        height: min(20rem, 30vw);
    }
    .animated-bg-2 {
        width: min(12rem, 20vw);
        height: min(12rem, 20vw);
    }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 70vh;
  }
  .hero-content {
    padding: 3rem 1rem;
  }
  .hero-heading h1 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
  }
  .hero-subtitle p {
    font-size: clamp(1rem, 1.6vw, 1.5rem);
  }
  .hero-buttons {
    margin-bottom: 2.5rem;
  }
}

/* Service Pages Styles */

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #f9fafb;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: #9ca3af;
}

.breadcrumb-list a {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: #1976D2;
}

.breadcrumb-list li[aria-current="page"] {
    color: #6b7280;
}

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23374151' stroke-width='0.5' opacity='0.1'%3E%3Cpath d='M0 50h100M50 0v100M0 0l100 100M100 0L0 100'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.service-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Service Overview Section */
.service-overview {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.overview-content {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.overview-text h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.overview-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.25rem;
}

.overview-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2196F3;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
}

/* Enhanced Service Cards */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    font-size: 0.875rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #6b7280;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2196F3;
    font-weight: bold;
}

/* Process Timeline */
.process-section {
    padding: 4rem 0;
    background: #f9fafb;
    position: relative;
    min-height: 400px; /* Ensure minimum height to prevent layout shift */
    opacity: 1;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-timeline {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 3rem;
    bottom: 3rem;
    width: 2px;
    background: #e5e7eb;
    transition: opacity 0.3s ease;
}

.process-step {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 2rem;
    align-items: start;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInLeft 0.5s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: #2196F3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.4);
}

.step-content {
    flex: 1;
}

.process-step h3,
.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 600;
}

.process-step p,
.step-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0,0,0,0.1);
    border-color: #2196F3;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Industries Section */
.industries-section {
    padding: 4rem 0;
    background: white;
}

.industries-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-item {
    padding: 1.5rem;
    border-left: 4px solid #2196F3;
    background: #f9fafb;
    border-radius: 0.5rem;
    transition: transform 0.2s;
}

.industry-item:hover {
    transform: translateX(10px);
    background: #f3f4f6;
}

.industry-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.industry-item p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #2196F3;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #2563eb;
}

/* Contact Alternative */
.contact-alternative {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.contact-alternative p {
    color: #6b7280;
}

.contact-alternative a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.contact-alternative a:hover {
    text-decoration: underline;
}

/* Responsive Design for Service Pages */
@media (min-width: 768px) {
    .service-hero h1 {
        font-size: 4rem;
    }
    
    .overview-content {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        gap: 3rem;
    }
    
    .process-timeline::before {
        left: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-hero h1 {
        font-size: 4.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .industries-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Loading States */
.process-section.loading {
    opacity: 0.6;
    pointer-events: none;
}

.process-section.loading .process-timeline::before {
    background: linear-gradient(180deg, #e5e7eb 0%, #f3f4f6 50%, #e5e7eb 100%);
    background-size: 100% 200%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 0% -200%;
    }
}

/* Ensure proper rendering */
.process-section * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.process-timeline {
    will-change: transform;
}

/* Focus styles for accessibility */
.process-step:focus {
    outline: 3px solid #2196F3;
    outline-offset: 2px;
}

.process-step:focus-visible {
    outline: 3px solid #2196F3;
    outline-offset: 2px;
}

/* Animation class for JavaScript */
.process-step.animate-in {
    animation: slideInLeft 0.5s ease-out forwards;
}

/* Prevent layout shift during loading */
.process-timeline:empty::before {
    content: '';
    display: block;
    min-height: 400px;
}

/* Cross-browser compatibility */
@supports not (gap: 2rem) {
    .process-timeline {
        margin-top: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .process-step:last-child {
        margin-bottom: 0;
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    /* Ensure no horizontal overflow on mobile */
    html, body {
        max-width: 100%;
        overflow-x: hidden !important;
    }
    
    main, section, .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix animated backgrounds on mobile */
    .animated-bg-1, .animated-bg-2 {
        max-width: 80vw;
        max-height: 80vw;
    }
    
    .service-hero {
        padding: 4rem 0;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-subtitle {
        font-size: 1.125rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .process-section {
        padding: 3rem 0;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-number {
        margin: 0 auto 1rem;
        width: 4rem;
        height: 4rem;
        font-size: 1.25rem;
    }

    .step-content h3 {
        font-size: 1.25rem;
    }

    .process-timeline {
        display: none;
    }
}

/* Ensure images don't cause overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix button overflow on mobile */
.btn-primary, .btn-secondary, button {
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Fix any absolute positioned elements */
@media (max-width: 767px) {
    [style*="position: absolute"] {
        max-width: 100vw !important;
    }
    
    /* Ensure all flex containers wrap properly */
    .flex, [class*="flex"] {
        flex-wrap: wrap;
    }
    
    /* Fix grid containers */
    .grid, [class*="grid"] {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    /* Reset any fixed widths on mobile */
    [style*="width:"], [style*="min-width:"] {
        max-width: 100% !important;
    }
}