
/* Global 3D Effects and Depth */
.depth-shadow {
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(75, 181, 193, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.depth-shadow:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 10px 25px rgba(75, 181, 193, 0.15);
}

/* Floating animation */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-animation {
    animation: floating 4s ease-in-out infinite;
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Common fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== GLOBAL STYLES ===== */
body {
    direction: rtl;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Common section styles */
section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Common section headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title {
    color: var(--primary-color-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* ===== PARALLAX SECTIONS COMMON STYLES ===== */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    color: var(--white-color);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.parallax-section .section-title,
.parallax-section .section-subtitle {
    color: var(--white-color);
}

.parallax-section .title-underline {
    background-color: var(--white-color);
}

/* Section-specific parallax backgrounds */
.about-section {
    background-image: url('../images/png/21.png');
}

.vision-section {
    background-image: url('../images/png/23.png');
}

.services-section {
    background-image: url('../images/png/25.png');
}

.how-we-work-section {
    background-image: url('../images/png/12.png');
}

.features-section {
    background-image: url('../images/png/20.png');
}

.cta-section {
    background-image: url('../images/png/13.png');
    padding: 120px 0;
}

.contact-section {
    background-image: url('../images/png/22.png');
}

/* Section-specific overlays */
.parallax-overlay {
    background: linear-gradient(135deg, rgba(42, 99, 115, 0.9) 0%, rgba(75, 181, 193, 0.8) 100%);
}

.vision-overlay {
    background: linear-gradient(135deg, rgba(42, 99, 115, 0.85) 0%, rgba(75, 181, 193, 0.75) 100%);
}

.services-overlay {
    background: linear-gradient(135deg, rgba(75, 181, 193, 0.85) 0%, rgba(42, 99, 115, 0.75) 100%);
}

.work-overlay {
    background: linear-gradient(135deg, rgba(42, 99, 115, 0.9) 0%, rgba(75, 181, 193, 0.8) 100%);
}

.features-overlay {
    background: linear-gradient(135deg, rgba(42, 99, 115, 0.85) 0%, rgba(75, 181, 193, 0.75) 100%);
}

.cta-overlay {
    background: linear-gradient(135deg, rgba(75, 181, 193, 0.9) 0%, rgba(42, 99, 115, 0.8) 100%);
}

.contact-overlay {
    background: linear-gradient(135deg, rgba(42, 99, 115, 0.9) 0%, rgba(75, 181, 193, 0.8) 100%);
}

/* Mobile fixes for parallax */
@media (max-width: 767px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* ===== HERO SECTION STYLES ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-image: url('../images/png/14.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white-color);
    overflow: hidden;
    direction: rtl;
    margin-top: 0;
    padding-top: 80px; /* Space for fixed header */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 99, 115, 0.85) 0%, rgba(75, 181, 193, 0.75) 100%);
    z-index: 1;
    pointer-events: none; /* Ensure overlay doesn't block clicks */
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto; /* Ensure container allows clicks */
}

.hero-content {
    width: 55%;
    animation: fadeInRight 1s ease-out forwards;
    position: relative;
    z-index: 5; /* Higher z-index to ensure content is clickable */
}

.hero-image {
    width: 70%;
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease-out forwards;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Ensure image doesn't block clicks */
}

.hero-image img {
    max-width: 150%; /* Increased to 150% as requested */
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    pointer-events: none; /* Ensure image doesn't block clicks */
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--white-color);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--white-color);
    max-width: 400px;
}

.hero-description p {
    margin-bottom: 15px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 10; /* Higher z-index for buttons */
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

.btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color-dark);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color-dark);
    transform: translateY(-3px);
}


/* Hero Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ===== ABOUT SECTION STYLES ===== */
.about-content-parallax {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-text-column-parallax {
    text-align: center;
}

.about-text-column-parallax .about-paragraph {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-list-parallax {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.services-list-parallax .service-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border-radius: 10px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    width: calc(50% - 20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.services-list-parallax .service-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.services-list-parallax .service-icon {
    background-color: #fff;
    color: #4BB5C1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.services-list-parallax .service-text {
    color: #fff;
    font-weight: 500;
}

/* Experience Badge - Fixed for Mobile */
.experience-badge-parallax {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    flex-direction: column; /* Changed to column for better mobile layout */
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.experience-badge-parallax .badge-number-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.experience-badge-parallax .badge-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.experience-badge-parallax .badge-plus {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-top: 5px;
}

.experience-badge-parallax .badge-text {
    font-size: 1rem;
    color: #fff;
    margin-top: 5px;
}

.btn-services-parallax {
    display: inline-block;
    background-color: #fff;
    color: #2A6373;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.btn-services-parallax:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===== VISION AND MISSION SECTION ===== */
.vision-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* Carousel dots (shown only in carousel mode on mobile/tablet-portrait) */
.vision-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin: 0 0 60px;
    position: relative;
    z-index: 2;
}

.vision-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vision-dot.active {
    background-color: var(--white-color);
    transform: scale(1.25);
}

.vision-card {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    z-index: 0;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.vision-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotateY(180deg);
    transition: transform 0.5s ease, background 0.3s ease;
}

.card-icon i {
    font-size: 30px;
    color: #fff;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.card-content p:last-child {
    margin-bottom: 0;
}

/* Values Section */
.values-section {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.values-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 30px;
    color: #fff;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.value-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Goals Section */
.goals-section {
    position: relative;
    z-index: 1;
}

.goals-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.goals-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.goals-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.goal-item {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-item:nth-child(even) {
    flex-direction: row-reverse;
}

.goal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.goal-image {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.goal-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.goal-item:hover .goal-image img {
    transform: scale(1.05);
}

.goal-content {
    flex: 2;
    padding: 30px;
}

.goal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.goal-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ===== SERVICES SECTION STYLES ===== */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Services Buttons */
.services-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.service-button {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-button i {
    color: #fff;
    font-size: 1.2rem;
}

.service-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
}

.service-button.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-button.active i {
    color: white;
}

/* Service Content */
.service-content-container {
    position: relative;
    z-index: 2;
}

.service-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.service-header {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    color: white;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.service-body {
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack image and details vertically on mobile */
}

.service-image {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.service-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: brightness(1.05);
}

.service-content:hover .service-image img {
    transform: scale(1.05);
}

.service-details {
    padding: 30px;
    width: 100%;
}

.service-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.service-description p {
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
}

.service-list li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 12px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.9);
}

.service-list li i {
    color: #fff;
    position: absolute;
    right: 0;
    top: 4px;
    font-size: 18px;
}

.service-cta {
    margin-top: 30px;
}

.service-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color-dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

/* ===== HOW WE WORK SECTION STYLES ===== */
.work-process-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.work-process-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.work-process-item {
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    padding: 40px 20px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.work-process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.process-number {
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.process-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 28px;
    transition: all 0.3s ease;
}

.work-process-item:hover .process-icon {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotateY(180deg);
}

.process-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.process-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== FEATURES SECTION STYLES ===== */
.features-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotateY(180deg);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Commitments Section */
.commitments-section {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

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

.commitments-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.commitments-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-style: italic;
}

.commitments-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.commitment-item {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.commitment-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.commitment-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 25px;
    margin-left: 25px;
    flex-shrink: 0;
}

.commitment-content {
    flex: 1;
}

.commitment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.commitment-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Stats Counters */
.stats-counters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

.stat-number::after {
    content: "+";
    font-size: 2rem;
    position: absolute;
    top: 5px;
    margin-right: 5px;
}

.stat-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== CTA SECTION STYLES ===== */
.cta-section {
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color-dark);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* ===== CONTACT SECTION STYLES ===== */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Contact Layout */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    flex: 2;
    min-width: 500px;
}

/* Contact Info Items */
.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-left: 20px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.info-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.info-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-text a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin-top: 40px;
}

.social-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

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

.social-links .social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links .social-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Contact Form */
.form-header {
    margin-bottom: 30px;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Custom styling for Contact Form 7 */
.uf-form input[type="text"],
.uf-form input[type="email"],
.uf-form input[type="tel"],
.uf-form textarea,
.uf-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.uf-form input[type="text"]:focus,
.uf-form input[type="email"]:focus,
.uf-form input[type="tel"]:focus,
.uf-form textarea:focus,
.uf-form select:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.uf-form textarea {
    height: 150px;
}

.uf-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
}

.uf-form .uf-submit {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color-dark);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.uf-form .uf-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

.uf-field-error {
    color: #ffcc00;
    font-size: 0.875rem;
    margin-top: -15px;
    margin-bottom: 15px;
    display: block;
}

.uf-form-response {
    border-radius: 8px;
    padding: 15px;
    margin: 0 0 20px;
    font-size: 0.95rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.uf-form-response--success {
    background-color: rgba(40, 167, 69, 0.22);
    border-color: rgba(40, 167, 69, 0.6);
}

.uf-form-response--error {
    background-color: rgba(220, 53, 69, 0.22);
    border-color: rgba(220, 53, 69, 0.6);
}

/* Map Container */
.map-container {
    position: relative;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 99, 115, 0.05);
    pointer-events: none;
    z-index: 1;
}

.map-container iframe {
    position: relative;
    z-index: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (min-width: 992px) {
    /* On desktop, make service body side by side */
    .service-body {
        flex-direction: row;
    }
    
    .service-image, .service-details {
        width: 50%;
    }
    
    .service-image {
        max-height: none;
    }
    
    /* Alternate goal items direction */
    .goal-item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
    }
    
    .hero-content, .hero-image {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-description {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .experience-badge-parallax {
        margin: 30px auto;
    }
    
    .vision-card {
        flex: 100%;
    }
    
    .goal-item, .goal-item:nth-child(even) {
        flex-direction: column;
    }
    
    .goal-image {
        max-width: 100%;
        min-height: 200px;
    }
    
    .work-process-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-process-container::before {
        display: none;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form-container {
        min-width: 100%;
    }

    .values-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 600px;
        height: auto;
        padding: 100px 0 50px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .experience-badge-parallax {
        width: 120px;
        height: 120px;
    }
    
    .experience-badge-parallax .badge-number {
        font-size: 3rem;
    }
    
    .experience-badge-parallax .badge-plus {
        font-size: 1.5rem;
    }
    
    /* 2x2 grids on mobile */
    .values-container,
    .features-grid,
    .stats-counters {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .value-item,
    .feature-card {
        padding: 25px 15px;
    }

    .stat-item {
        padding: 25px 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-title {
        font-size: 1.6rem;
    }
    
    .service-image {
        padding: 20px;
    }
    
    .service-details {
        padding: 25px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .hero-buttons .btn {
        flex: 1 1 0;
        padding: 12px 8px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .hero-section {
        padding-bottom: 80px;
    }
    
    .services-buttons {
        gap: 10px;
    }
    
    .service-button {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .work-process-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}


/* Vision/Mission carousel — mobile + tablet portrait */
@media (max-width: 767px),
       (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .vision-content {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        margin-bottom: 30px;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    .vision-content::-webkit-scrollbar {
        display: none;
    }

    .vision-card {
        flex: 0 0 88%;
        min-width: 88%;
        scroll-snap-align: center;
    }

    .vision-dots {
        display: flex;
    }
}


/* iPads/Tablets Parallax Fix */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .parallax-section {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        position: relative;
        z-index: 1;
    }
    
    /* Add a subtle movement effect to compensate for the loss of parallax */
    .parallax-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: inherit;
        background-size: cover;
        background-position: center center;
        z-index: -1;
        transition: transform 0.3s ease-out;
    }
    
    /* Subtle scale effect on hover for interactive feel */
    .parallax-section:hover::before {
        transform: scale(1.02);
        transition: transform 2s ease-out;
    }
    
    /* Add more depth to the content in sections to compensate */
    .parallax-section .container {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    /* Enhance card hover effects for tablets */
    .vision-card:hover,
    .value-item:hover,
    .feature-card:hover,
    .work-process-item:hover,
    .service-content:hover,
    .stat-item:hover {
        transform: translateY(-15px) scale(1.02);
        transition: all 0.4s ease;
    }
    
    /* Fix the hero section specifically for iPads */
    .hero-section {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Additional iPad Pro fixes */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
    .parallax-section {
        background-attachment: scroll;
    }
    
    /* Enhanced scrolling animation for iPad Pro */
    .parallax-section {
        overflow: hidden;
    }
    
    .parallax-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: inherit;
        background-size: cover;
        z-index: -1;
        transform: translateZ(0);
    }
}

