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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* Background video + dark overlay */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* Top logo */
.top-logo {
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    background: transparent;
    z-index: 10;
    position: relative;
}
.top-logo img {
    width: 360px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    max-width: 95%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 48px 64px;
    margin-top: -100px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.24rem;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.section-subtitle {
    text-align: center;
    font-size: 1.04rem;
    color: #eee;
    margin-bottom: 48px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
}

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 0;
    align-items: start;
}

.banner-wrapper {
    margin-top: -70px;
    padding: 0 16px 32px;
    text-align: center;
}

.service-card {
    background: transparent;
    border-radius: 24px;
    padding: 48px 24px 60px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 215, 0, 0.12);
}

/* Circular logo wrapper */
.circle-wrapper {
    width: 154px;
    height: 154px;
    margin: 0 auto 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    perspective: 1000px;
    transition: transform 0.6s linear;
}
.circle-wrapper::after {
    display: none;
}
.circle-wrapper svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 6;
}
.circle-progress {
    fill: none;
    stroke: #ffd700;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    animation: spinLoadingBar 2.5s linear infinite;
}
@keyframes spinLoadingBar {
    0% {
        stroke-dashoffset: 440;
    }
    100% {
        stroke-dashoffset: 0;
    }
}
@keyframes rotateLogo {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.logo-center {
    width: 106px;
    height: 106px;
    min-width: 106px;
    min-height: 106px;
    max-width: 106px;
    max-height: 106px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    margin: 0;
    padding: 0;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.btn-experience {
    display: inline-block;
    margin-top: 16px;
    padding: 11px 26px;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    color: #1a0033;
    font-weight: bold;
    font-size: 0.84rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn-experience:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.7);
}
.btn-experience:active {
    transform: translateY(-1px);
}

.service-card h3 {
    font-size: 2.16rem;
    margin-bottom: 30px;
    color: #ffd700;
    min-height: 65px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Responsive - Tablet and small desktop */
@media (max-width: 1200px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .container {
        padding: 24px 32px 48px;
        margin-top: -80px;
    }
    .banner-wrapper {
        margin-top: -50px;
    }
    .circle-wrapper {
        width: 134px;
        height: 134px;
        margin: 0 auto 48px;
    }
    .logo-center {
        width: 91px;
        height: 91px;
        min-width: 91px;
        min-height: 91px;
        max-width: 91px;
        max-height: 91px;
    }
    .service-card {
        padding: 36px 18px 48px;
    }
}

.hero-image {
    margin-top: 100px !important;
}

/* Hero image: default and responsive sizes */
.hero-img {
    width: 60%;
    max-width: 560px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.services {
    margin-top: -10px !important;
}
/* Keep original lifted layout on large desktops only */
@media (min-width: 1201px) {
    .services {
        margin: -150px auto 0;
    }
    .banner-wrapper {
        margin-top: -140px;
    }
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .top-logo img {
        width: 90%;
        max-width: 240px;
    }
    .container {
        padding: 20px 16px 40px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 32px;
    }
    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .circle-wrapper {
        width: 125px;
        height: 125px;
        margin: 0 auto 40px;
    }
    .logo-center {
        width: 82px;
        height: 82px;
        min-width: 82px;
        min-height: 82px;
        max-width: 82px;
        max-height: 82px;
    }
    .service-card {
        padding: 30px 18px 42px;
    }
    .service-card h3 {
        font-size: 1.56rem;
    }
    .btn-experience {
        padding: 10px 22px;
        font-size: 0.76rem;
        margin-top: 12px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .top-logo img {
        width: 85%;
        max-width: 200px;
        padding-top: 12px;
    }
    /* Use 2 columns on typical phones to match provided design */
    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 0 auto 0;
    }
    .container {
        padding: 12px 10px 24px;
        margin-top: -56px;
    }
    .banner-wrapper {
        margin-top: -26px;
        padding: 0 10px 24px;
    }
    .section-title {
        font-size: 1.12rem;
        margin-bottom: 6px;
    }
    .section-subtitle {
        font-size: 0.68rem;
        margin-bottom: 20px;
    }
    .circle-wrapper {
        width: 70px;
        height: 70px;
        margin: 0 auto 16px;
    }
    .logo-center {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
        max-width: 54px;
        max-height: 54px;
    }
    .service-card {
        padding: 16px 8px 24px;
    }
    .service-card h3 {
        font-size: 0.76rem;
        min-height: auto;
        margin-bottom: 12px;
    }
    .btn-experience {
        padding: 8px 19px;
        font-size: 0.72rem;
        margin-top: 10px;
    }
    /* Shrink hero image on small screens */
    .hero-img {
        width: 78%;
        max-width: 240px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 360px) {
    .top-logo img {
        width: 85%;
        max-width: 176px;
    }
    .section-title {
        font-size: 0.96rem;
    }
    .section-subtitle {
        font-size: 0.64rem;
    }
    .circle-wrapper {
        width: 64px;
        height: 64px;
        margin: 0 auto 12px;
    }
    .logo-center {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        max-width: 42px;
        max-height: 42px;
    }
    .service-card {
        padding: 14px 6px 22px;
    }
    .service-card h3 {
        font-size: 0.68rem;
    }
}

/* Ensure hero image and banner spacing are responsive (removed inline negative margins) */
.hero-img {
    filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.4));
    transform: scale(0.67);
    max-width: 80%;
    width: auto;
    display: inline-block;
}
.banner-img {
    max-width: 32%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Prevent hover transforms on touch devices; use a pressed class instead */
.touch-device .service-card:hover {
    transform: none;
}
.service-card.pressed {
    transform: scale(0.98);
    transition: transform 0.12s ease;
}

/* Mobile overrides to prevent layout jumps from negative margins */
@media (max-width: 768px) {
    .services {
        margin: 0 auto 0;
    }
    .banner-img {
        max-width: 45%;
    }
    .hero-img {
        transform: scale(0.85);
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .services {
        margin: 0 auto 0;
        gap: 14px;
    }
    .container {
        margin-top: -44px;
    }
    .banner-img {
        max-width: 60%;
    }
    .hero-img {
        transform: scale(0.95);
        max-width: 95%;
    }
}
