/* ===================================
   UP Source - Main Stylesheet
   Ultra-fast, modern design system
   =================================== */

/* === CSS Custom Properties === */
:root {
    /* Colors */
    --primary-blue: #0066CC;
    --primary-blue-dark: #004C99;
    --primary-blue-light: #3385D6;
    --accent-blue: #00A3FF;
    --navy-dark: #0A1628;
    --navy-medium: #1A2B42;
    --white: #FFFFFF;
    --gray-light: #F5F7FA;
    --gray-medium: #E1E8ED;
    --gray-dark: #657786;
    --text-dark: #14171A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00A3FF 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 22, 40, 0.7) 0%, rgba(10, 22, 40, 0.9) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-dark);
    line-height: 1.8;
}

/* === Container & Layout === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1400px;
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-alt {
    background-color: var(--gray-light);
}

/* === Grid System === */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

/* === Cards === */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--gray-dark);
    line-height: 1.7;
}

/* === Glass Card Effect === */
.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

/* === Hero Section === */
.hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: var(--spacing-lg);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-xl);
    color: var(--gray-light);
    font-weight: var(--font-weight-regular);
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === Utility Classes === */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.bg-primary {
    background: var(--gradient-primary);
}

.bg-dark {
    background: var(--navy-dark);
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mb-4 {
    margin-bottom: var(--spacing-xl);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2.5rem;
    }

    .grid-2,

    .btn {
        width: 100%;
    }
}

/* === New Hero Section Design === */
.hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    /* Ensure no gap from header */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.4);
    /* Dark overlay base */
    z-index: -1;
}

/* Geometric Shapes */
.hero-shape-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 0.8) 100%);
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
    z-index: 0;
    animation: slideInRight 1.2s ease-out forwards;
    opacity: 0;
    /* Start invisible */
}

.hero-shape-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(225deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
    /* Start invisible */
    animation-delay: 0.2s;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: var(--spacing-lg);
    text-align: center;
    color: white;
}

.hero-tagline {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.marker-list {
    list-style-type: disc;
    margin-left: 20px;
}

.hero-tagline::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin: 8px auto 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
}

.hero-arrow-decoration {
    display: none;
    /* Hidden on mobile, shown on desktop */
}

@media (min-width: 768px) {
    .hero-arrow-decoration {
        display: block;
        transform: rotate(15deg) translateY(10px);
    }
}

/* Slider Navigation */
.hero-nav {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 20;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    background: white;
    color: var(--primary-blue);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 100000 !important;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        height: auto;
    }

    .hero-shape-left,
    .hero-shape-right {
        width: 100%;
        height: 50%;
        clip-path: none;
        opacity: 0.8;
    }

    .hero-shape-left {
        top: 0;
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 0.0) 100%);
    }

    .hero-shape-right {
        top: auto;
        bottom: 0;
        height: 50%;
        background: linear-gradient(0deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 64, 175, 0.0) 100%);
    }

    .hero-nav {
        display: none;
    }
}

/* === About Section === */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
    /* Fixed height for the collage */
}

.about-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 85%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.about-img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 50%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 8px solid var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.about-stat-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-20%, -20%);
    background: #0099ff;
    /* Bright blue from image */
    color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    z-index: 3;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.about-stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.about-content {
    padding-right: var(--spacing-xl);
}

.about-label {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-blue);
}

.about-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.about-text {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    font-size: 1.05rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-section {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        height: 500px;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .about-label {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .about-images {
        height: 400px;
    }

    .about-stat-box {
        padding: 20px;
        min-width: 120px;
    }

    .about-stat-number {
        font-size: 2rem;
    }
}

/* === Success Partners Section === */
.partners-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
    text-align: center;
}

.partners-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 50px;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: scrollPartners 30s linear infinite;
    width: max-content;
    background-color: white
}

.partner-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    background: none;
    background-clip: border-box;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* RTL Partners Animation - scroll in opposite visual direction */
@keyframes scrollPartnersRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

html[dir="rtl"] .partners-track {
    animation: scrollPartnersRTL 30s linear infinite;
}

/* === Services Section (New Design with Swiper) === */
.services-section-new {
    padding: var(--spacing-2xl) 0;
    background-color: #fff;
    overflow: hidden;
    /* Prevent horizontal scrollbar */
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.swiper-wrapper {
    gap: 20px;
}

.services-title-wrapper {
    flex: 0 0 auto;
}

.services-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
}

.services-subtitle::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    margin-right: 10px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.services-description {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
}

/* Swiper Styles */
.services-swiper {
    width: 100%;
    padding-bottom: 50px !important;
    /* Space for pagination */
    overflow: visible !important;
    /* Allow shadows/overflow to be seen */
}



.swiper-slide {
    height: auto;
    display: flex;
    position: relative;
    justify-content: center;
}

.service-card-new {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-new:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
}

.service-card-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Recruitment Card Special Style */
.card-recruitment {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-recruitment .recruitment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 2;
}

.card-recruitment .recruitment-icon {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .swiper-wrapper {
        gap: 0px;
    }

    .services-description {
        width: 100%;
    }

    .service-card-new {
        height: 350px;
    }
}

/* === Modern Team Section === */
.team-section-modern {
    position: relative;
    padding: 100px 0;
    /* Limit height */
    display: flex;
    align-items: center;
    /* Center vertically */
    background-color: #2D243A;
    /* Dark purple base */
    overflow: hidden;
    color: white;
}

.team-overlay-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 75, 196, 0.9) 0%, rgba(85, 40, 160, 0.8) 100%);
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
    z-index: 1;
}

.team-container {
    width: 100%;
    /* Force width to respect viewport in flex container */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.team-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.team-text-content {
    flex: 0 0 35%;
    /* Left column width */
    color: white;
}

.team-modern-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.team-member-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    color: white;
}

.team-modern-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    color: white;
}

.team-nav-buttons {
    position: absolute;
    display: flex;
    gap: 15px;
}

.team-prev-btn,
.team-next-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-prev-btn:hover,
.team-next-btn:hover {
    background: white;
    color: #5528A0;
    /* Purple accent */
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Carousel */
.team-carousel-wrapper {
    flex: 1;
    min-width: 0;
    /* Prevent flex overflow */
}

.team-swiper {
    padding: 20px 0 40px;
    /* Adding bottom padding for shadow/hover effects */
    overflow: hidden !important;
    /* Prevent cards from overflowing container */
}

.team-card-modern {
    background: transparent;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-img-box {
    width: 100%;
    aspect-ratio: 1/1.1;
    /* Slightly taller than square */
    background: white;
    /* White card background for image */
    border-radius: 20px;
    /* More rounded as per design */
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
    /* Inner padding for the image inside the card */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    border-radius: 20px;
}



.team-member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.team-member-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
    .team-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .team-text-content {
        flex: auto;
        width: 100%;
        text-align: center;
    }

    .team-carousel-wrapper {
        width: 100%;
        /* Ensure full width on tablet/mobile */
        padding: 0;
        /* Remove potential extra padding */
    }

    .team-nav-buttons {
        justify-content: center;
    }

    .team-overlay-shape {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 80%);
        height: 120%;
        /* Extend down */
    }
}

/* Team Placeholder */
.team-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
}

.team-placeholder svg {
    opacity: 0.5;
}

/* Mobile Specific Adjustments */
@media (max-width: 576px) {
    .team-section-modern {
        padding: 60px 0;
        /* Reduced padding */
    }

    .team-modern-title {
        font-size: 2rem;
        /* Smaller title */
    }

    .team-swiper {
        padding: 0px;
    }

    .team-modern-desc {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .team-overlay-shape {
        clip-path: none;
        /* Simplify background */
        height: 100%;
        background: rgba(45, 36, 58, 0.95);
        /* Solid dark background */
        width: 100%;
    }

    .team-carousel-wrapper {
        margin-top: 20px;
        width: 100%;
        padding: 0 10px;
    }

    .team-card-modern {
        max-width: 100%;
        /* Ensure it fits */
    }

    .team-img-box {
        height: 250px;
        /* Smaller image height */
    }

    .team-nav-buttons {
        display: none;
        /* Hide controls on mobile */
    }
}

/* === Vision & Mission Section === */
.vm-section {
    background-color: #fafafa;
}

.vm-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.vm-card {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 350px;
    transition: transform 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
}

.vm-card.reverse {
    flex-direction: row-reverse;
}

.vm-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vm-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.vm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vm-card:hover .vm-image img {
    transform: scale(1.05);
}

.vm-label {
    color: #00A3FF;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.vm-title {
    font-size: 2rem;
    color: #1A2B42;
    margin-bottom: 20px;
}

.vm-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 992px) {

    .vm-card,
    .vm-card.reverse {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .vm-image {
        height: 250px;
    }

    .vm-content {
        padding: 40px 30px;
    }
}

/* === Our Story Section === */
.story-section {
    padding: 80px 0;
    overflow: hidden;
    /* Prevent shape overflow */
    background: #fff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-label {
    display: inline-block;
    color: #4A90E2;
    /* Blue accent */
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.story-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #4A90E2;
}

.story-title {
    font-size: 2.5rem;
    color: #0A1629;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 800;
}

.story-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.story-desc {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Collage */
.story-collage {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-circle {
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main circle */
.story-circle.main {
    width: 380px;
    height: 380px;
    background: #f0f0f0;
    z-index: 2;
    position: relative;
    /* Centered by flex */
}

/* Small circles positioning */
.story-circle.small {
    width: 120px;
    height: 120px;
    z-index: 3;
}

.story-circle.top {
    top: 0;
    left: 10%;
}

.story-circle.right {
    top: 10%;
    right: 5%;
}

.story-circle.bottom {
    bottom: 5%;
    right: 15%;
}

/* Geometric Decoration */
.story-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
    border: 2px solid #4A90E2;
}

.story-shape.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    right: -50px;
    top: 50px;
    border-style: dashed;
}

.story-shape.shape-2 {
    width: 150px;
    height: 150px;
    transform: rotate(45deg);
    border: 1px solid #5528A0;
    left: 20px;
    bottom: 50px;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .story-label {
        padding-left: 0;
    }

    .story-label::before {
        display: none;
    }

    .story-collage {
        height: 400px;
        /* Reduced height for tablet */
    }

    .story-circle.main {
        width: 300px;
        height: 300px;
    }

    .story-circle.small {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 576px) {
    .story-collage {
        height: 320px;
        transform: scale(0.9);
    }

    .story-circle.main {
        width: 240px;
        height: 240px;
    }

    .story-title {
        font-size: 2rem;
    }
}

/* === About Hero Section === */
.about-hero {
    min-height: 400px !important;
    height: 400px !important;
    background-image: url('../images/about-team-meeting.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark tint over the image */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 25, 45, 0.7);
    z-index: 1;
}

/* Left Geometric Overlay (Trapezoid) */
.hero-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(60, 100, 200, 0.8), rgba(60, 100, 200, 0.4));
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
    z-index: 2;
    animation: slideInRight 1.2s ease-out forwards;
    opacity: 0;
    /* Star invisible */
}

/* Right Geometric Overlay (Triangle) */
.hero-overlay-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 200px;
    background: rgba(60, 80, 180, 0.8);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 2;
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
    /* Start invisible */
    animation-delay: 0.2s;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.about-hero .hero-content {
    z-index: 3;
    text-align: center;
    position: relative;
    max-width: none;
    padding: 0;
}

.about-hero .hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 10px;
}

.hero-breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 300px !important;
        height: 300px !important;
    }

    .hero-overlay-left {
        width: 60%;
        opacity: 0.6;
    }

    .about-hero .hero-title {
        font-size: 2.5rem;
    }
}

/* === Services Page Styles === */

/* Services Hero */
.services-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 38, 94, 0.9) 0%, rgba(35, 25, 66, 0.95) 100%);
    z-index: 1;
}

.services-hero-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.7) 0%, rgba(65, 105, 225, 0.3) 100%);
    clip-path: polygon(0 0, 100% 0, 30% 100%, 0% 100%);
    z-index: 2;
    animation: slideInRight 1.2s ease-out forwards;
    opacity: 0;
}

.services-hero-overlay-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background: linear-gradient(225deg, rgba(72, 61, 139, 0.8) 0%, rgba(72, 61, 139, 0.4) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    z-index: 2;
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.services-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.services-hero-breadcrumb {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Services Hero Responsive */
@media (max-width: 768px) {
    .services-hero {
        min-height: 250px;
        height: 35vh;
    }

    .services-hero-title {
        font-size: 1.75rem;
        padding: 0 1rem;
        line-height: 1.2;
    }

    .services-hero-content h3 {
        font-size: 1rem;
        padding: 0 1rem;
        margin-top: 0.5rem;
    }
}

/* Services Introduction */
.services-intro-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

@media (min-width: 768px) {
    .services-intro-header {
        text-align: left;
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: start;
        gap: 40px;
    }

    .services-intro-label,
    .services-intro-title {
        grid-column: 1;
    }

    .services-intro-desc {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-top: 10px;
    }
}

.services-intro-label {
    display: block;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.services-intro-title {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 0;
    line-height: 1.2;
}

.services-intro-desc {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services Grid Layout */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Column Layout as per design ref */
    gap: 30px;
    auto-rows: 380px;
    /* Adjusted height for 2-col balance */
    max-width: 1000px;
    /* Constrain width for better 2-col readability */
    margin: 0 auto;
    /* Center the grid */
}

@media (max-width: 768px) {
    .services-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Override component styles for Grid Context */
.services-grid-new .service-card-new {
    flex: none;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Grid Items Styling */
.service-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Full height gradient for better readability */
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.service-item-overlay.centered {
    background: rgba(0, 102, 204, 0.9);
    /* Primary blue with transparency */
    align-items: center;
    justify-content: center;
}

.service-item-title {
    color: white;
    font-size: 1.5rem;
    /* Larger font */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.outsourcing-icon {
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

/* === Contact Page New Design === */
.contact-section-wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Contact Info Column */
.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-intro {
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-list-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for white circle */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-text small {
    display: block;
    color: #718096;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.contact-item-text div {
    font-weight: 500;
    color: var(--text-dark);
}

/* Contact Form Clean */
.contact-form-clean {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-clean {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-clean label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group-clean input,
.form-group-clean textarea {
    padding: 12px 15px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group-clean input:focus,
.form-group-clean textarea:focus {
    outline: none;
    border-color: #0066CC;
}

.form-group-clean textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-blue-submit {
    background-color: #1a56db;
    /* Blue color */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-blue-submit:hover {
    background-color: #1546b5;
}

/* WhatsApp Banner Full */
.whatsapp-banner-full {
    background: linear-gradient(90deg, #2563EB 0%, #1E40AF 100%);
    /* Blue gradient */
    padding: 50px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.whatsapp-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.whatsapp-banner-intro {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.whatsapp-banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.btn-whatsapp-white {
    background: white;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.btn-whatsapp-white:hover {
    transform: translateY(-2px);
}

/* Map Section */
.map-section-full {
    position: relative;
    width: 100%;
    height: 500px;
    background: #e2e8f0;
}

.map-section-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centered by default */
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 320px;
    overflow: hidden;
    z-index: 10;
}

.map-card-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.map-card-content {
    padding: 20px;
    text-align: center;
}

.map-card-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.map-card-content p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.map-card-info {
    text-align: left;
    font-size: 0.85rem;
    color: #4A5568;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-card-info div {
    display: flex;
    align-items: center;
    gap: 8px;
}