body {
    margin: 0;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    background: #f4f6fb;
    color: #222;
}

html {
    scroll-behavior: smooth;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #3949ab;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

main {
    margin: 0;
    padding: 0;
}

/* Focus indicators for accessibility */
*:focus {
    outline: 3px solid #ffb300;
    outline-offset: 2px;
}

a:focus,
button:focus {
    outline: 3px solid #ffb300;
    outline-offset: 3px;
}

.hero {
    background: linear-gradient(90deg, #3949ab 60%, #111b5e 100%);
    color: #fff;
    width: 100vw;
    min-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    height: 70vh;
    min-height: 400px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
}
    /* Carousel styles */
.carousel {
    position: relative;
    width: 105vw;
    max-width: 1350px;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(60,72,88,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-image {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 4s ease;
    z-index: 1;
}
.carousel-image.active {
    opacity: 1;
    z-index: 2;
}
.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 4s ease;
    z-index: 1;
    background: #000;
    pointer-events: none;
}
.carousel-video.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 35, 126, 0.7);
    color: #fff;
    padding: 1.2rem 0.8rem 1rem 0.8rem;
    z-index: 3;
    border-radius: 0 0 12px 12px;
    box-sizing: border-box;
}

/* Carousel control buttons */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(57, 73, 171, 0.7);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 4;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(255, 179, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-pause {
    position: absolute;
    bottom: 5rem;
    right: 1rem;
    background: rgba(57, 73, 171, 0.7);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 4;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-pause:hover {
    background: rgba(255, 179, 0, 0.9);
}

.hero-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    margin: 1.2rem 0 0.8rem 0;
    padding: 0;
}
.hero-nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.hero-nav li a:hover {
    background: #ffb300;
    color: #222;
}
    
@media (max-width: 700px) {
    .hero {
        height: 40vh;
        min-height: 200px;
    }
    .carousel {
        width: 95vw;
        height: 100%;
        max-width: 100vw;
    }
    .carousel-image,
    .carousel-video {
        height: 100%;
    }
    .carousel-caption {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
    .hero-nav {
        display: none;
    }
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .carousel-prev {
        left: 0.5rem;
    }
    .carousel-next {
        right: 0.5rem;
    }
    .carousel-pause {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        bottom: 4rem;
    }
}
section {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(60,72,88,0.07);
}
section h2 {
    color: #3949ab;
    margin-top: 0;
    }

    /* Modern Contact Card Styles */
.contact-card {
    max-width: 420px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(60,72,88,0.13);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
}
.contact-card h2 {
    text-align: center;
    color: #3949ab;
    margin-bottom: 1.5rem;
}
.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f4f6fb;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(60,72,88,0.07);
}
.contact-icon {
    font-size: 2rem;
    color: #3949ab;
    flex-shrink: 0;
    width: 3rem;
    text-align: center;
}
.contact-label {
    font-weight: 600;
    color: #222;
    font-size: 1.05rem;
    text-align: left;
}
.contact-link {
    color: #3949ab;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.2s;
}
.contact-link:hover {
    color: #ffb300;
    text-decoration: underline;
}
@media (max-width: 700px) {
    .contact-card {
        max-width: 98vw;
        padding: 1rem 0.5rem;
    }
    .contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Swiper styles for services section */
.swiper {
    position: relative;
    max-width: 700px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(60,72,88,0.07);
    overflow: hidden;
    padding: 2rem 1rem 3.5rem 1rem;
}
.swiper-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.7s;
    min-height: 340px;
}
.swiper-slide.active {
    display: flex;
}
.swiper-slide h3 {
    margin: 0.5rem 0 0.2rem 0;
    color: #3949ab;
    font-size: 1.5rem;
}
.swiper-slide p {
    margin: 0 0 1rem 0;
    color: #222;
    font-size: 1.1rem;
}
.swiper-slide img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(60,72,88,0.10);
}
.learn-more {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: #3949ab;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.learn-more:hover {
    background: #ffb300;
    color: #222;
}
.swiper-controls {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
}
.swiper-controls button {
    background: #3949ab;
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.swiper-controls button:hover {
    background: #ffb300;
    color: #222;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 700px) {
    .swiper {
        max-width: 98vw;
        padding: 1rem 0.5rem 3.5rem 0.5rem;
    }
    .swiper-slide img {
        width: 98vw;
        max-width: 220px;
        height: 110px;
    }
    .swiper-controls {
        padding: 0 0.5rem;
    }
}

/* Technologies Section */
.tech-section {
    background: #e8eaf0;
    max-width: 100%;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 3rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: none;
    border-radius: 0;
}

.tech-section h2 {
    text-align: center;
    color: #3949ab;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tech-logo {
    flex: 0 1 auto;
}

.tech-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s, transform 0.3s, opacity 0.3s;
}

.tech-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 700px) {
    .tech-section {
        padding: 2rem 1rem;
    }
    .tech-logos {
        gap: 2rem;
    }
    .tech-logo img {
        height: 45px;
    }
}

footer {
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    background: #1a237e;
    color: #fff;
    margin-top: 2rem;
    border-radius: 0 0 8px 8px;
}

