/**
 * About Page Specific Styles
 *
 * This file contains CSS specific to the about page layout,
 * particularly for removing container constraints to allow full-width sections
 * while preserving header/navigation styling.
 */

.site-content > .ast-container{
    padding: 0!important;
}

 /* Remove container constraints for content sections only (exclude header) */

.about-page .about-team-section .ast-container
 {
    max-width: 100% !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important; 
} 

/* Target the main site-content container but not header containers */
.about-page .site-content > .ast-container:not(.site-header-focus-item) {
    max-width: 100% !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure site-content itself has no padding constraints */
.about-page .site-content {
    padding: 0 !important;
}

/* Explicitly preserve header container styling with higher specificity */
body.about-page .site-primary-header-wrap.ast-container.site-header-focus-item,
body.about-page .ast-primary-header-bar .ast-container {
    max-width: 1240px !important;
    padding: 0 20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Team section full-width images */
.about-team-alternating .team-member-row {
    display: flex !important;
    align-items: stretch !important; /* Equal height columns */
    min-height: 600px !important; /* Set minimum row height */
}

.about-team-alternating .team-member-image {
    flex: 0 0 50% !important; /* Fixed 50% width */
    width: 50% !important;
}

.about-team-alternating .team-member-content {
    flex: 0 0 50% !important; /* Fixed 50% width */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 40px !important;
}

/* Green gradient background for all text columns */
.about-team-alternating .team-member-content {
    background: linear-gradient(135deg, #0e3e26 0%, #1a5a38 50%, #0e3e26 100%) !important;
    color: white !important;
}

.about-team-alternating .team-member-content .team-member-name {
    color: white !important;
}

.about-team-alternating .team-member-content .team-member-designation {
    background: linear-gradient(
        90deg,
        #d4af37 0%,
        #ffd700 25%,
        #ffed4a 50%,
        #ffd700 75%,
        #d4af37 100%
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.about-team-alternating .team-member-content .team-member-bio {
    color: rgba(255, 255, 255, 0.9) !important;
}

.about-team-alternating .team-member-name {
    text-align: left !important;
}

.about-team-alternating .team-member-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.about-team-alternating .image-placeholder {
    width: 100% !important;
    height: 100% !important;
}

/* Remove hover effects from team member rows */
.about-team-alternating .team-member-row:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Gold shimmer border animation */
@keyframes goldShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Team row with gold shimmer borders */
.about-team-alternating .team-member-row {
    position: relative !important;
    border-top: 1px solid transparent !important;
    border-bottom: 1px solid transparent !important;
    background-clip: padding-box !important;
}

.about-team-alternating .team-member-row::before,
.about-team-alternating .team-member-row::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        #d4af37 0%,
        #ffd700 25%,
        #ffed4a 50%,
        #ffd700 75%,
        #d4af37 100%
    );
    background-size: 200% 100%;
    animation: goldShimmer 30s ease-in-out infinite;
}

.about-team-alternating .team-member-row::before {
    top: -1px;
}

.about-team-alternating .team-member-row::after {
    bottom: -1px;
    animation-delay: 1.5s;
}


/* Ensure columns have relative positioning for pseudo-elements */
.about-team-alternating .team-member-image,
.about-team-alternating .team-member-content {
    position: relative !important;
}

/* ===== VIDEO HERO SECTION ===== */
.video-hero-section {
    position: relative;
    height: 40vh;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(14, 62, 38, 0.7) 0%,
        rgba(26, 90, 56, 0.6) 50%,
        rgba(14, 62, 38, 0.8) 100%
    );
    z-index: 2;
}

.hero-content-container {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 40px;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    background-color: #0e3e26;
    padding: 40px;
    border-radius: 8px;
    transform: translateY(50%);
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.video-hero-section .hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin: 0 0 30px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-hero-section .hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(
        90deg,
        #d4af37 0%,
        #ffd700 25%,
        #ffed4a 50%,
        #ffd700 75%,
        #d4af37 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 30px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.video-hero-section .hero-description {
    font-size: 1.3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== COMPANY STORY SECTION ===== */
.company-story-section {
    padding: 100px 0;
    padding-top: 150px;
    background: white;
}

.story-content-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.story-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0e3e26;
    margin: 40px 0 40px 0;
}

.story-content {
    text-align: left;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* Font Awesome Icons in Values Section */
.value-icon i {
    font-size: 3.5rem;
    background: linear-gradient(
        90deg,
        #b8860b 0%,
        #daa520 25%,
        #ffd700 50%,
        #daa520 75%,
        #b8860b 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin: 0 auto;
}

/* Golden heading in value cards */
.values-mission-section .value-title {
    background: linear-gradient(
        90deg,
        #b8860b 0%,
        #daa520 25%,
        #ffd700 50%,
        #daa520 75%,
        #b8860b 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Add padding to team section header on tablets and mobile */
    #main > section.about-team-section > .ast-container > .section-wrapper > .section-header {
        padding: 0 20px !important;
    }
}

@media (max-width: 768px) {
    /* Team section mobile - ensure taller container */
    .about-team-alternating .team-member-row {
        min-height: 500px !important;
    }

    /* Remove 50% width constraint on mobile for full-width images */
    .about-team-alternating .team-member-image {
        flex: none !important;
        width: 100% !important;
    }

    /* Video Hero Mobile */
    .video-hero-section {
        height: 30vh;
        
    }

    .hero-content-container {
        padding: 0 20px;
    }

    .hero-content-wrapper {
        transform: translateY(50%);
        padding: 30px;
    }

    .company-story-section {
        padding-top: 120px;
    }

    .video-hero-section .hero-title {
        font-size: 2.5rem;
    }

    .video-hero-section .hero-subtitle {
        font-size: 1.3rem;
    }

    .video-hero-section .hero-description {
        font-size: 1.1rem;
    }

    /* Story Section Mobile */
    .story-title {
        font-size: 2.2rem;
    }

    .story-content-wrapper {
        padding: 0 20px;
    }
}

 @media (min-width: 1200px) {
      .about-page #primary {
          margin-top: 0 !important;
      }
  }

  @media (min-width: 922px) {
    .site-content > .ast-container {
        max-width: 100%!important;
    }
}
@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0!important;
        
    }
}

.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0;
}