/* Modern UI Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --transition: all 0.3s ease;
}

/* Header Styles */
/* header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), 
                url('../img/about/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    overflow: hidden;
    /* margin-top: 80px; */
}

/* Ensure dropdown menus appear above hero section */
.stellarnav > ul > li > ul {
    z-index: 1001;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, white, transparent);
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.2em);
    font-weight: 700;
    margin-bottom: clamp(15px, 3vw, 25px);
    animation: fadeInUp 1s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.3);
    padding: 0 15px;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2em);
    color: beige;
    max-width: min(700px, 90%);
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    padding: 0 15px;
}

       

        /* Section Header Styles */
        .section-header {
            margin-bottom: 50px;
        }

        .section-header .section-title {
            font-size: 2.5rem;
            color: #2c3e50;
            position: relative;
            display: inline-block;
            margin-bottom: 20px;
        }

        .section-header .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: #3498db;
        }

        .text-center {
            text-align: center;
        }

        /* Company Overview Section Styles */
        #company-overview {
            padding: 80px 0;
            /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
        }


        .image-text-container {
            display: flex;
            align-items: center;
            gap: 50px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .image-container {
            flex: 1;
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .image-container img {
            width: 100%;
            height: auto;
            transition: transform 0.5s ease;
        }

        .hover-zoom:hover {
            transform: scale(1.05);
        }

        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            padding: 20px;
            color: white;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .image-container:hover .image-overlay {
            opacity: 1;
        }

        .overlay-content {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .overlay-content i {
            font-size: 24px;
        }

        .text {
            flex: 1;
        }

        .section-title {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 30px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: #3498db;
        }

        .highlight-box {
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin-bottom: 30px;
        }

        .highlight-box p {
            font-size: 1.2em;
            line-height: 1.8;
            color: #555;
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .stat-item {
            text-align: center;
            padding: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-5px);
        }   

        .stat-number {
            display: block;
            font-size: 2.5rem;
            font-weight: bold;
            color: #3498db;
            margin-bottom: 10px;
        }

        .stat-label {
            color: #666;
            font-size: 1em;  
        }

        /* Animation Classes */
        .reveal-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease;
        }

        .reveal-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
        }

        .reveal-left.active,
        .reveal-right.active {
            opacity: 1;
            transform: translateX(0);
        }

        @media (max-width: 768px) {
            .image-text-container {
                flex-direction: column;
            }

            .stats-container {
                grid-template-columns: 1fr;
            }
        }

.section-accent {
    background-color: var(--light-bg);
    padding: clamp(50px, 8vw, 100px) 0;
}

.section-dark {
    background-color: var(--dark-bg);
    color: white;
    padding: clamp(50px, 8vw, 100px) 0;
}

.image-text-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 1s ease;
    will-change: opacity;
    background-color: #f1f3f5;
    border-radius: 15px;
}

.image-text-container.animate {
    opacity: 1;
}

.image-container {
    flex: 0.8;
    max-width: 500px;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateX(-150px);
    opacity: 0;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.image-container.animate {
    transform: translateX(0);
    opacity: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.02);
}

.image-text-container .text {
    flex: 1.2;
    text-align: left;
    max-width: 600px;
    margin: 0;
    transform: translateX(150px);
    opacity: 0;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.image-text-container .text.animate {
    transform: translateX(0);
    opacity: 1;
}

.image-text-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.image-text-container p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #666;
}

.icon-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.icon-box {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.icon-box i {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.icon-box h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.icon-box p {
    color: var(--text-color);
    line-height: 1.6;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.split-section:nth-child(even) {
    flex-direction: row-reverse;
}

.split-section img {
    width: 45%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.split-section img:hover {
    transform: scale(1.02);
}

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

@keyframes slideInLeft {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-right {
    animation: slideInRight 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .image-text-container {
        flex-direction: column;
        text-align: center;
    }

    .image-container {
        flex: 1;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .image-container img {
        height: 300px;
    }

    .image-text-container h2 {
        font-size: 2rem;
    }
    
    .image-text-container p {
        font-size: 1rem;
    }

    .image-text-container,
    .split-section {
        flex-direction: column;
        text-align: center;
    }

    .split-section:nth-child(even) {
        flex-direction: column;
    }
}

/* Modern Mission and Vision Section */
.mv-modern-section {
    background: #fff;
    padding: 60px 0;
  }
  .mv-modern-container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
    gap: 40px;
  }
  .mv-modern-left {
    flex: 1.2;
    position: relative;
    min-width: 350px;
    padding-top: 30px;
  }
  .mv-modern-label {
    color: #3b6c3b;
    font-size: 1rem;
    font-family: 'Gilroy-Medium', sans-serif;
    letter-spacing: 1px;
  }
  .mv-modern-title {
    font-size: 2.8rem;
    color: #234123;
    font-family: 'Gilroy-Bold', sans-serif;
    margin: 18px 0 0 0;
    line-height: 1.1;
    z-index: 2;
    position: relative;
  }
  .mv-modern-bgimg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90%;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
  }
  .mv-modern-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 350px;
  }
  .mv-modern-block {
    background: transparent;
    padding: 32px 0 24px 0;
    border-bottom: 1px solid #e5e5e5;
  }
  .mv-modern-block:last-child {
    border-bottom: none;
  }
  .mv-modern-block h3 {
    color: #234123;
    font-size: 1.3rem;
    font-family: 'Gilroy-Bold', sans-serif;
    margin-bottom: 10px;
  }
  .mv-modern-block p {
    color: #6c757d;
    font-size: 1.08rem;
    font-family: 'Gilroy-Regular', sans-serif;
    margin: 0;
  }
  .mv-modern-btn {
    margin-top: 32px;
    background: #234123;
    color: #fff;
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    padding: 14px 36px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .mv-modern-btn:hover {
    background: #3b6c3b;
  }
  @media (max-width: 900px) {
    .mv-modern-container {
      flex-direction: column;
      gap: 0;
      padding: 0 20px;
    }
    .mv-modern-left, .mv-modern-right {
      min-width: 0;
      width: 100%;
    }
    .mv-modern-bgimg {
      position: static;
      width: 100%;
      margin-top: 30px;
      display: block;
    }
  }

/* Updated styles for Values section */
.values-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h2 {
    font-size: clamp(2rem, 5vw, 3em);
    margin-bottom: clamp(15px, 3vw, 20px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 3vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: clamp(20px, 4vw, 30px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px #3b74ff
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 2.5em;
    color: #c3cfe2;
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5em);
    margin-bottom: clamp(8px, 2vw, 10px);
}

.value-card p {
    font-size: clamp(0.9rem, 2vw, 1em);
    line-height: 1.6;
}

/* Single-line animation for scrolling */
.scroll-animation {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: #f8f9fa;
    padding: 20px 0;
}

.scroll-animation-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision-header h2 {
        font-size: 2em;
    }

    .mission-vision-card {
        padding: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Industries Served Section Styles */
.industries-section {
    background: #f1f3f5;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.industries-header {
    text-align: center;
    margin-bottom: 50px;
}

.industries-header h2 {
    font-size: clamp(2rem, 5vw, 3em);
    margin-bottom: clamp(15px, 3vw, 20px);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
}

.industries-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.industries-track {
    display: flex;
    gap: 20px;
    animation: scrollCards 30s linear infinite;
}

.industries-track:hover {
    animation-play-state: paused;
}

.industry-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin: 0 10px;
}

.industry-card:hover {
    transform: translateY(-10px);
}

.industry-card i {
    font-size: 2.5em;
    color: #c3cfe2;
    margin-bottom: 15px;
}

.industry-card h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5em);
    margin-bottom: clamp(8px, 2vw, 10px);
    color: #333;
}

.industry-card p {
    font-size: clamp(0.9rem, 2vw, 1em);
    line-height: 1.6;
    color: #666;
}

@keyframes scrollCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 6));
    }
}

/* Gradient overlays for smooth edges */
.industries-container::before,
.industries-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.industries-container::before {
    left: 0;
    background: linear-gradient(to right, #f1f3f5, transparent);
}

.industries-container::after {
    right: 0;
    background: linear-gradient(to left, #f1f3f5, transparent);
}

@media (max-width: 768px) {
    .industry-card {
        flex: 0 0 250px;
    }
}

/* Board of Directors Section Styles */
.board-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    position: relative;
    overflow: hidden;
}

.board-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.board-header {
    padding-top: 20px;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.board-header h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.board-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    border-radius: 2px;
}

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

.board-member {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.board-member:nth-child(even) {
    flex-direction: row-reverse;
}

.board-member:nth-child(2) {
    animation-delay: 0.3s;
}

.board-member:nth-child(3) {
    animation-delay: 0.6s;
}

.member-image {
    flex: 0 0 400px;
    height: 500px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
    z-index: 1;
}

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

.board-member:hover .member-image {
    transform: translateY(-10px);
}

.board-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    flex: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.member-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2c3e50);
    border-radius: 2px;
}

.board-member:nth-child(even) .member-info::before {
    left: auto;
    right: 0;
}

.member-info h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
}

.member-info .position {
    font-size: 1.4em;
    color: #3498db;
    margin-bottom: 25px;
    font-weight: 500;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.member-info p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.member-social {
    display: flex;
    gap: 15px;
}

.member-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 1.2em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.member-social a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-5px);
    border-color: #2c3e50;
}

@media (max-width: 1200px) {
    .member-image {
        flex: 0 0 350px;
        height: 450px;
    }
}

@media (max-width: 992px) {
    .board-member {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 60px;
    }

    .member-image {
        flex: 0 0 300px;
        height: 400px;
        width: 100%;
    }

    .member-info {
        width: 100%;
    }

    .board-header h2 {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .board-section {
        padding: 80px 0;
    }

    .board-header h2 {
        font-size: 2.2em;
    }

    .member-image {
        height: 350px;
    }

    .member-info h3 {
        font-size: 2em;
    }

    .member-info .position {
        font-size: 1.2em;
    }
}

@keyframes slideInMission {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInVision {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-mission {
    animation: slideInMission 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-vision {
    animation: slideInVision 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}


