

/* ===== HERO SECTION ===== */
.a-hero {
    background: linear-gradient(to bottom right, #f5f5ff, #ffffff, #f5f5ff);
    padding: 30px 0;
}

.a-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    height: 60%;
}

/* LEFT TEXT */
.a-hero-text {
    flex: 1;
}

.a-hero-subtitle {
    font-size: 16px;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.a-hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.highlight {
    color: #7b014c;
}

.a-hero-desc {
    margin-top: 20px;
    font-size: 18px;
    color: #555;
    max-width: 500px;
}

/* CTA BUTTON */
.a-hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 32px;
    background: #7b014c;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid #7b014c;
    transition: all 0.3s ease-in-out;
}

.a-hero-btn:hover {
    background: #5a0138;
    border-color: #5a0138;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 1, 76, 0.25);
}

.a-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.a-hero-image img {
    width: 450px;
    height: 450px; /* fixed height for all images */
    object-fit: contain;
    transition: opacity 0.6s ease-in-out;
}


/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .a-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .a-hero-image img {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .a-hero-text h1 {
        font-size: 34px;
    }

    .a-hero-desc {
        font-size: 16px;
    }
}








/* ===== Service Section ===== */

.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* ===== Service Card Style ===== */

.service-card {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: 0.3s ease;
    opacity: 0;                 /* for animation */
    transform: translateY(40px);/* for animation */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Number Bubble */
.service-number {
    background: #7b014c20;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #7b014c;
    margin-bottom: 25px;
}

/* Titles */
.service-title {
    color: #333;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Description */
.service-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Link */
.service-link {
    text-decoration: none;
    color: #7b014c;
    font-weight: 600;
    transition: 0.25s;
}

.service-link:hover {
    color: #5a0138;
}

/* ===== Fade-Up Animation ===== */

/* Allow reverse animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}












/* ===== Strategy Section ===== */

.strategy-section {
    padding: 80px 0;
    background: #ffffff;
}

.strategy-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* LEFT content (bigger) — RIGHT cards */
    gap: 40px;
    align-items: center;
}

/* ===== LEFT CONTENT ===== */

.strategy-content h2 {
    color: #333;
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.strategy-content p {
    color: #555;
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Button */
.strategy-btn {
    background: linear-gradient(90deg, #7b014c, #5a0138);
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.strategy-btn:hover {
    opacity: 0.85;
}

/* ===== RIGHT CARDS ===== */

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-items: center;
    position: relative;
}

.strategy-card {
    background: #fff;
    width: 260px;
    height: 320px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #000;
    padding: 35px 30px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
    /* Allow floating animation */
}

/* Hover glow + pause floating */
.strategy-card:hover {
    transform: translateY(-8px);
    border-color: #7b014c;
    box-shadow: 0 0 25px 8px rgba(123, 1, 76, 0.5);
    animation-play-state: paused; /* PAUSE floating on hover */
}

/* Independent floating animations */
.strategy-card:nth-child(1) {
    animation: floatCard 4s ease-in-out infinite;
}

.strategy-card:nth-child(2) {
    animation: floatCard 4.5s ease-in-out infinite;
}

.strategy-card:nth-child(3) {
    animation: floatCard 5s ease-in-out infinite;
}

.strategy-card:nth-child(4) {
    animation: floatCard 4.7s ease-in-out infinite;
}

/* Keyframes for floating */
@keyframes floatCard {
    0% { transform: translateY(0px); }
    25% { transform: translateY(-8px); }
    50% { transform: translateY(0px); }
    75% { transform: translateY(6px); }
    100% { transform: translateY(0px); }
}

/* Slight vertical shift for left/right cards */
.strategy-card:nth-child(1),
.strategy-card:nth-child(2) {
    margin-top: -10px; /* left cards slightly up */
}

.strategy-card:nth-child(3),
.strategy-card:nth-child(4) {
    margin-top: 10px; /* right cards slightly down */
}

/* Show animation on scroll */
.strategy-card.show {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .strategy-cards {
        grid-template-columns: 1fr;
    }

    .strategy-card {
        width: 90%;
        margin: 10px auto;
        animation: floatCard 4s ease-in-out infinite;
    }
}






.icon-box {
    font-size: 40px;
    color: #7b014c;
    margin-bottom: 15px;
}

.strategy-card h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 10px;
}

.strategy-card p {
    color: #555;
    line-height: 1.6;
}

/* ===== Fade Animation ===== */

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 992px) {
    .strategy-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .strategy-cards {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .strategy-cards {
        grid-template-columns: 1fr;
    }
}
