/* Home Main Prefix Styles */
:root {
    --white: #ffffff;
    --text-gray: #4a5568;
    --dark-blue: #003366;
    --light-gray: #f7f9fc;
    overflow: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ast-container {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    max-width: 100vw !important;
    width: 100vw !important;
}

.ast-mobile-header-wrap .ast-primary-header-bar,
.ast-primary-header-bar .site-primary-header-wrap {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw;
    max-width: 100vw;
}

.home-main-wrapper {
    font-family: 'Roboto', sans-serif;
    background: var(--white);
    color: var(--text-gray);
    overflow-x: hidden;
    line-height: 1.6;
    overflow-y: hidden;
}

.home-main-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #001428;
    overflow: hidden;
    color: var(--white);
    margin: 0;
    padding: 0;
    width: 100vw;
}

.home-main-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-main-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 21, 46, 0.85) 0%,
            rgba(0, 51, 102, 0.75) 100%);
    z-index: 1;
}

.home-main-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center,
            rgba(0, 168, 255, 0.1) 0%,
            transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

/* Allow clicks to pass through decorative overlays so slider controls remain clickable */
.home-main-hero::before,
.home-main-hero::after {
    pointer-events: none;
}

.home-main-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 69, 138, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 69, 138, 0.2) 0%, transparent 50%);
    animation: home-main-pulse 8s ease-in-out infinite;
}

@keyframes home-main-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.home-main-ship-icon {
    position: absolute;
    font-size: 120px;
    opacity: 0.05;
    animation: home-main-float 20s ease-in-out infinite;
}

.home-main-ship-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.home-main-ship-icon:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.home-main-ship-icon:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: -14s;
}

@keyframes home-main-float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    33% {
        transform: translateY(-30px) translateX(20px);
    }

    66% {
        transform: translateY(-15px) translateX(-20px);
    }
}

.home-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.home-main-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    max-width: 100vw;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out;
}

.home-main-hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 25px auto 35px;
    max-width: 700px;
    font-weight: 300;
}

.home-main-hero-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 12px 25px;
    background: rgba(0, 168, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-highlight i {
    color: #00a8ff;
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(0, 168, 255, 0.4));
}

.home-main-logo {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
    background: linear-gradient(to right, #ffffff, #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.home-main-tagline {
    font-size: 2rem;
    background: linear-gradient(to right, #ffffff, #7fdbff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.home-main-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-main-btn {
    padding: 16px 45px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.home-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.home-main-btn:hover::before {
    width: 100%;
}

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

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

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.home-main-btn-primary {
    background: #003366;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
    border: 2px solid transparent;
}

.home-main-btn-primary:hover {
    background: #004c99;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.4);
}

.home-main-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #d8d7d9;
}

.home-main-btn-secondary:hover {
    background: #d8d7d9;
    color: #00152e;
    transform: translateY(-3px);
}

.home-main-services {
    padding: 3rem 20px;
    background-color: #f7f9fc;
    position: relative;
}

.home-main-section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.home-main-section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 70px;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home-main-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.home-main-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.home-main-service-card:hover {
    transform: translateY(-5px);
    border-color: #003366;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.12);
    background: #ffffff;
}

.home-main-service-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: inline-block;
    color: #003366;
}

.home-main-service-title {
    font-size: 1.25rem;
    color: #003366;
    margin-bottom: 15px;
    font-weight: 600;
    min-height: 2.5rem;
    line-height: 1.25;
}

.home-main-service-desc {
    color: #718096;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Products Section Styles */
.home-main-products {
    padding: 100px 20px;
    background: #001428;
    position: relative;
    overflow: hidden;
}

.home-main-products::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></svg>') repeat;
    pointer-events: none;
}

.home-main-products .home-main-section-title {
    color: #ffffff;
    text-align: center;
}

.home-main-products .home-main-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 60px;
}

.home-main-products-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.home-main-product-card {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
    /* Blue gradient based on image */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px;
}

.home-main-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.home-main-product-image {
    width: 45%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.home-main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-main-product-card:hover .home-main-product-image img {
    transform: scale(1.05);
}

.home-main-product-info {
    width: 55%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
}

.home-main-product-card.reverse {
    flex-direction: row-reverse;
}

.home-main-product-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.home-main-product-name::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #00a8ff;
    margin-top: 10px;
    border-radius: 2px;
}

.home-main-product-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 768px) {
    .home-main-product-card {
        flex-direction: column;
        min-height: auto;
    }

    .home-main-product-card.reverse {
        flex-direction: column;
    }

    .home-main-product-image {
        width: 100%;
        height: 250px;
    }

    .home-main-product-info {
        width: 100%;
        padding: 30px;
    }

    .home-main-product-name {
        font-size: 1.8rem;
    }
}

.home-main-why-choose {
    padding: 100px 20px;
    background: #f7f9fc url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&q=80') center/cover fixed;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.home-main-why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 249, 252, 0.95);
    z-index: 1;
}

.home-main-why-choose .home-main-container {
    position: relative;
    z-index: 2;
}

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

.home-main-section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.home-main-section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.home-main-feature-item {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    display: block;
    opacity: 1;
    visibility: visible;
}

.home-main-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.home-main-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003366;
    background: #f0f7ff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.1);
}

.home-main-feature-icon i {
    font-size: 3rem;
    display: block;
}

.home-main-feature-item:hover .home-main-feature-icon {
    background: var(--dark-blue);
    color: var(--white);
    transform: rotateY(180deg);
}

.home-main-feature-title {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.home-main-feature-text {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.home-main-stats {
    padding: 80px 20px;
    background: linear-gradient(135deg, #00458a 0%, #003a75 100%);
    position: relative;
}

.home-main-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.home-main-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-main-stat-item {
    padding: 20px;
}

.home-main-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.home-main-stat-label {
    font-size: 1rem;
    color: #d8d7d9;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.home-main-contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #001428 0%, #002952 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.home-main-contact h2.home-main-section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.home-main-contact p.home-main-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

.home-main-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    opacity: 0.15;
}

.home-main-contact-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.home-main-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.home-main-contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-main-contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.home-main-contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-main-contact-icon i {
    font-size: 2rem;
    /* color: #ffffff; */
    color: #003366;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.home-main-contact-card:hover .home-main-contact-icon {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.home-main-contact-card:hover .home-main-contact-icon i {
    /* color: #003366; */
    color: #ffffff;
    text-shadow: none;
}

.home-main-contact-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.home-main-contact-value {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.home-main-contact-value a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.home-main-contact-value a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.home-main-contact-value a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.home-main-contact-value a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .home-main-logo {
        font-size: 2.2rem;
    }

    .home-main-anchor {
        font-size: 60px;
    }

    .home-main-tagline {
        font-size: 1.2rem;
    }

    .home-main-section-title {
        font-size: 2.2rem;
    }

    .home-main-cta {
        flex-direction: column;
        align-items: center;
    }

    .home-main-btn {
        width: 100%;
        max-width: 300px;
    }

    .home-main-stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .home-main-logo {
        font-size: 1.8rem;
    }

    .home-main-section-title {
        font-size: 1.8rem;
    }

    .home-main-service-icon {
        font-size: 3rem;
    }
}


/* Inline slider styles scoped to hero */
.home-main-hero {
    position: relative;
    overflow: hidden;
}

.home-main-hero .hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
}

.home-main-hero .hero-slider .slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-main-hero .hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 900ms cubic-bezier(.2, .9, .2, 1), transform 900ms cubic-bezier(.2, .9, .2, 1);
    z-index: 0;
    pointer-events: none;
}

.home-main-hero .hero-slider .slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 21, 46, 0.1) 0%, rgba(0, 51, 102, 0.5) 50%, rgba(0, 21, 46, 0.4) 100%);
    z-index: 1;
}

.home-main-hero .hero-slider .slide.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Animation variants (applied to the incoming slide before activation) */
.home-main-hero .slide.anim-fade {
    transform: scale(1.03);
}

.home-main-hero .slide.anim-zoom {
    transform: scale(1.12);
}

.home-main-hero .slide.anim-slide-left {
    transform: translateX(20px) scale(1.02);
}

.home-main-hero .slide.anim-slide-right {
    transform: translateX(-20px) scale(1.02);
}

.home-main-hero .slide.anim-slide-up {
    transform: translateY(18px) scale(1.02);
}

.home-main-hero .slide.anim-rotate {
    transform: rotate(-2deg) scale(1.03);
}

/* When active, the active selector resets transform; transitions animate between the above and this state */
.home-main-hero .slide.active.anim-fade,
.home-main-hero .slide.active.anim-zoom,
.home-main-hero .slide.active.anim-slide-left,
.home-main-hero .slide.active.anim-slide-right,
.home-main-hero .slide.active.anim-slide-up,
.home-main-hero .slide.active.anim-rotate {
    transform: translate3d(0, 0, 0) scale(1);
}

.home-main-hero .slider-dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.home-main-hero .slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
}

.home-main-hero .slider-dots button.active {
    background: #ffffff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}

/* Ensure hero content sits above slides */
.home-main-hero .home-main-container {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* Hide any img tags inside slides (we use background images) */
.home-main-hero .slide img {
    display: none;
}

@media (max-width: 768px) {
    .home-main-hero .slider-dots {
        bottom: 12px;
    }
}

/* Arrow controls */
.home-main-hero .slider-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
    border-radius: 50%;
    background: transparent;
    /* removed solid background */
    color: #ffffff;
    border: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    pointer-events: auto;
    transition: background .18s ease, transform .12s ease, color .12s ease;
}

.home-main-hero .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-50%) scale(1.03);
}

.home-main-hero .slider-arrow:active {
    transform: translateY(-50%) scale(.98);
}

.home-main-hero .slider-arrow--left {
    left: 18px;
}

.home-main-hero .slider-arrow--right {
    right: 18px;
}

@media (max-width: 768px) {
    .home-main-hero .slider-arrow {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1.5rem;
    }
}

/* Content animation keyframes */
@keyframes slideContentFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

@keyframes slideTitleSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

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

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

/* Per-slide content styling */
.home-main-hero .slide-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 20px;
    pointer-events: auto;
    width: 90%;
    max-width: 900px;
    opacity: 1;
}

.home-main-hero .slide-content {
    animation: slideContentFadeIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.home-main-hero .slide:not(.active) .slide-content {
    opacity: 0;
    animation: none;
}

.home-main-hero .slide-title {
    font-size: 3.5rem;
    margin-bottom: 12px;
    font-weight: 900;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    animation: slideTitleSlideUp 0.8s ease-out;
    animation-delay: 0.4s;
    animation-fill-mode: backwards;
}

.home-main-hero .slide:not(.active) .slide-title {
    animation: none;
}

.home-main-hero .slide-content {
    margin: 0 auto;
}

.home-main-hero .slide-desc {
    font-size: 1.05rem;
    max-width: 900px;
    line-height: 1.6;
    opacity: 0.95;
    animation: slideDescSlideUp 0.8s ease-out;
    animation-delay: 0.6s;
    animation-fill-mode: backwards;
}

.home-main-hero .slide:not(.active) .slide-desc {
    animation: none;
}

.home-main-hero .slide-desc-mobile {
    display: none;
}

@media (max-width: 768px) {
    .home-main-hero .slide-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 100%;
    }

    .home-main-hero .slide-title {
        font-size: 1.6rem;
    }

    .home-main-hero .slide-desc {
        display: none;
    }

    .home-main-hero .slide-desc-mobile {
        display: block;
        font-size: 1rem;
        opacity: 0.95;
    }
}

/* Wave Divider */
.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    margin-top: -1px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

/* Services Section Styles - Isolated */
.home-main-services {
    padding: 100px 20px;
    background-color: #f7f9fc;
    position: relative;
    margin-top: -1px;
}

.home-main-services .home-main-section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.home-main-services .home-main-section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home-main-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

.home-main-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.home-main-service-card:hover {
    transform: translateY(-10px);
    border-color: #003366;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366 0%, #00458a 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 2.5rem;
    color: #ffffff;
    transition: transform 0.4s ease;
}

.home-main-service-card:hover .service-icon {
    /* No animation on hover */
}

.home-main-service-title {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 15px;
    font-weight: 600;
}

.home-main-service-desc {
    color: #718096;
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
}

@media (max-width: 768px) {
    .home-main-services {
        padding: 50px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .home-main-services .home-main-section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 12px;
        padding: 0 10px;
        word-wrap: break-word;
    }

    .home-main-services .home-main-section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
        max-width: 100%;
    }

    .home-main-services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .home-main-service-card {
        padding: 30px 20px;
        border-radius: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .home-main-service-desc {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
    }

    .service-icon i {
        font-size: 2rem;
    }
}

.home-main-contact {
    padding: 100px 20px;
    background: #f8fafc;
    /* Match Why Choose Us background */
    color: #1e293b;
    text-align: center;
    border-top: none;
}

.home-main-contact .home-main-section-title {
    color: #003366 !important;
}

.home-main-contact .home-main-section-subtitle {
    color: #64748b;
    margin-bottom: 50px;
}

.home-main-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-main-contact-card {
    border: 1px solid #e2e8f0;
    padding: 50px 30px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.home-main-contact-card:hover {
    transform: translateY(-8px);
    border-color: #003366;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.home-main-contact-icon {
    width: 70px;
    height: 70px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #003366;
    transition: all 0.3s ease;
}

.home-main-contact-card:hover .home-main-contact-icon {
    background: #003366;
    color: #ffffff;
    transform: scale(1.1);
}

.home-main-contact-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 600;
}

.home-main-contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.home-main-contact-value a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.home-main-contact-value a:hover {
    color: #003366;
}

.home-main-testimonials {
    padding: 100px 20px;
    background: #001428;
    color: #fff;
}

.home-main-testimonials .home-main-section-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.home-main-testimonials .home-main-section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns per user request */
    gap: 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    /* Smooth curved border */
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.quote-icon {
    color: #00a8ff;
    font-size: 2rem;
    margin-bottom: 25px;
    opacity: 0.5;
}

.t-text {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 30px;
    min-height: 80px;
}

.t-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: auto;
    /* Push to bottom for alignment */
}

.t-author h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.t-author span {
    color: #00a8ff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.home-main-stats {
    padding: 80px 20px;
    background: #003366;
    /* Solid dark blue as base */
    position: relative;
    color: #fff;
}

.home-main-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.home-main-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
    color: #fff;
}

.home-main-stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@media (max-width: 992px) {
    .home-main-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 480px) {
    .home-main-stats-grid {
        grid-template-columns: 1fr;
    }
}

.home-main-why-choose {
    padding: 100px 20px;
    background: #f8fafc;
    position: relative;
}

.home-main-why-choose .home-main-section-title {
    color: #003366;
}

.home-main-why-choose .home-main-section-subtitle {
    color: #64748b;
    margin-bottom: 3rem;
}

.home-main-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-main-feature-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-main-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #003366;
}

.home-main-feature-icon {
    width: 80px;
    height: 80px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: #003366;
    transition: all 0.3s ease;
}

.home-main-feature-item:hover .home-main-feature-icon {
    background: #003366;
    color: #ffffff;
    transform: scale(1.1);
}

.home-main-feature-title {
    color: #003366;
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.home-main-feature-text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .home-main-features-grid {
        grid-template-columns: 1fr;
    }
}