/* ================================
   HERO CAROUSEL SECTION
   ================================ */
.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.carousel-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0 80px;
}

.hero-overlay-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.85));
    z-index: 1;
}

/* Hero Content - Updated for carousel */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 100vh;
        margin: 0;
    }

    .hero-content {
        padding: 0 20px;
        text-align: center;
    }

    .hero-overlay {
        justify-content: center;
        padding-left: 0;
        padding-top: 80px;
    }
}

/* Hero Welcome Text Styles */
.hero-welcome {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 24px 0;
}

.welcome-cursive {
    font-family: 'Dancing Script', cursive;
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    line-height: 1;
    margin-bottom: -10px;
}

.welcome-bold {
    font-family: 'Oswald', sans-serif;
    font-size: 110px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 32px 0;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    opacity: 0.95;
}

.hero-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.hero-read-more:hover {
    background: rgba(74, 124, 89, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-read-more::after {
    content: '↓';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-read-more:hover::after {
    transform: translateY(3px);
}

/* ================================
   WHAT WE DO SECTION
   ================================ */
.what-we-do-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fafaf8 0%, #f5f3ef 100%);
}

.what-we-do-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.what-we-do-title {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin: 0 0 var(--space-2xl) 0;
}

.what-we-do-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.what-we-do-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.what-we-do-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.what-we-do-image img:hover {
    transform: scale(1.05);
}

.what-we-do-content {
    max-width: 100%;
}

.what-we-do-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0 0 24px 0;
}

.what-we-do-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .what-we-do-section {
        padding: 60px 20px;
    }

    .what-we-do-title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .what-we-do-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .what-we-do-content p {
        font-size: 16px;
    }

    .welcome-cursive {
        font-size: 32px;
    }

    .welcome-bold {
        font-size: 48px;
    }

    .hero-tagline {
        font-size: 16px;
    }
}

/* ================================
   FOUR ARMS SECTION
   ================================ */
.four-arms-section {
    padding: 100px 0;
    background: #ffffff;
}

.four-arms-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.four-arms-title {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin: 0 0 var(--space-3xl) 0;
}

.four-arms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Individual Arm Card */
.arm-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.arm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

/* Background Image */
.arm-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.arm-card:hover .arm-card-bg {
    transform: scale(1.1);
}

/* Dark Overlay */
.arm-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.7) 100%);
    transition: background 0.3s ease;
}

.arm-card:hover .arm-card-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.9) 100%);
}

/* Card Content */
.arm-card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.arm-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, margin 0.3s ease;
}

.arm-card:hover .arm-card-title {
    transform: translateY(-8px);
    margin: 0 0 16px 0;
}

/* Description - Hidden by default */
.arm-card-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 0 20px 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
}

.arm-card:hover .arm-card-description {
    opacity: 1;
    max-height: 200px;
    margin: 0 0 20px 0;
}

/* Read More Button */
.arm-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--color-primary);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(20px);
    width: fit-content;
}

.arm-card:hover .arm-card-btn {
    opacity: 1;
    transform: translateY(0);
}

.arm-card-btn:hover {
    background: rgba(74, 124, 89, 1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.arm-card-btn::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.arm-card-btn:hover::after {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .four-arms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .four-arms-section {
        padding: 60px 20px;
    }

    .four-arms-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .four-arms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .arm-card {
        height: 350px;
    }

    .arm-card-title {
        font-size: 24px;
    }

    .arm-card-description {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .hero-overlay {
        padding: 0 40px;
    }
}

/* ================================
   PARTNERS SECTION
   ================================ */
.partners-section {
    padding: 100px 0;
    background: #f9f9f9;
    position: relative;
    overflow: visible;
    z-index: 50;
}

.ant-decoration {
    position: absolute;
    top: -40px;
    width: 250px;
    height: 250px;
    z-index: 1000;
    pointer-events: none;
}

.ant-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

.ant-left {
    left: 5%;
}

.ant-right {
    right: 5%;
    transform: scaleX(-1);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.ant-right img {
    animation: floatRight 6s ease-in-out infinite;
}

@keyframes floatRight {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scaleX(-1);
    }

    50% {
        transform: translateY(-15px) rotate(-5deg) scaleX(-1);
    }
}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-title {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin: 0 0 var(--space-2xl) 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: scale(1.1);
}

.partner-card img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 40px 20px;
    }

    .partners-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-card {
        padding: 10px;
    }

    .partner-card img {
        max-height: 80px;
    }

    .ant-decoration {
        width: 120px;
        height: 120px;
        top: -30px;
    }

    .ant-left {
        left: 2%;
    }

    .ant-right {
        right: 2%;
    }
}

/* ================================
   COLLABORATORS SECTION
   ================================ */
.collaborators-section {
    padding: 100px 0 120px;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    margin-bottom: 80px;
}

.collaborators-section .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.collaborators-title {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    margin: 0 0 var(--space-3xl) 0;
}

.logo-loop-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-loop {
    display: flex;
    width: fit-content;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scroll 40s linear infinite;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 70px;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .collaborators-section {
        padding: 60px 20px;
    }

    .collaborators-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .logo-track {
        gap: 40px;
        animation: scroll 30s linear infinite;
    }

    .logo-item {
        width: 140px;
        height: 80px;
    }

    .ant-decoration {
        width: 120px;
        height: 120px;
        top: -30px;
    }
}

/* Animations removed or kept if needed */

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}