/* 
   Patel Consultancy Services - Main Stylesheet
   This stylesheet is designed to create a professional, modern look for a digital marketing agency website
   Inspired by the design of digitalimac.com
*/

/* ===== GLOBAL STYLES ===== */
:root {
    /* Primary Colors - Modern Professional Palette */
    --primary-color: #2c6bed; /* Modern blue - primary brand color */
    --primary-color-rgb: 44, 107, 237;
    --secondary-color: #1e3a8a; /* Deep blue - secondary brand color */
    --secondary-color-rgb: 30, 58, 138;
    --dark-color: #111827; /* Near black for text - improved readability */
    --light-color: #f3f4f6; /* Light gray for backgrounds */
    --white-color: #ffffff; /* White */
    --accent-color: #10b981; /* Teal for CTAs and accents */
    --accent-color-rgb: 16, 185, 129;
    --neutral-100: #f9fafb; /* Lightest gray */
    --neutral-200: #e5e7eb; /* Light gray for borders */
    --neutral-300: #d1d5db; /* Medium light gray */
    --neutral-400: #9ca3af; /* Medium gray */
    --neutral-500: #6b7280; /* Medium dark gray for secondary text */
    
    /* Typography */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0; /* Increased spacing for better breathing room */
    --container-padding: 0 20px; /* Slightly increased padding */
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Prevent layout shifts during image loading */
    aspect-ratio: attr(width) / attr(height);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-small {
    padding: 10px 24px;
    font-size: 13px;
    border-radius: var(--border-radius-sm);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: var(--shadow-sm);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: var(--accent-color);
    filter: brightness(90%);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header span.subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding: 5px 10px;
}

.section-header span.subtitle::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}

.section-header span.subtitle::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: capitalize;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 30px auto 0;
    color: var(--neutral-500);
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.section-header.left-align {
    text-align: left;
}

.section-header.left-align h2::after {
    left: 0;
    transform: none;
}

.section-header.left-align p {
    margin-left: 0;
}

/* ===== HEADER STYLES ===== */
header {
    background-color: var(--white-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

header.scrolled .logo img {
    height: 55px;
}

.footer-logo img {
    max-width: 240px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 40px;
    position: relative;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.svg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    position: relative;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white-color);
    text-transform: capitalize;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ===== WELCOME SECTION ===== */
.welcome {
    padding: var(--section-padding);
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.welcome-text {
    flex: 1;
}

.welcome-image {
    flex: 1;
}

.welcome-text h2 {
    margin-bottom: 20px;
}

.welcome-text p {
    margin-bottom: 30px;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    font-size: 24px;
    color: var(--primary-color);
    min-width: 40px;
}

.feature-text h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* ===== SERVICES SECTION ===== */
.services, .services-preview {
    padding: var(--section-padding);
    color: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 40px 0;
    perspective: 1000px;
}

.professional-services {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin: 30px 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Services Preview Section */
.services-preview {
    background-color: var(--neutral-100);
    position: relative;
    overflow: hidden;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.services-preview .services-grid {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.service-card.pro-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
}

.service-card.pro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 86, 179, 0.15);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.service-card.pro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 86, 179, 0.02) 0%, rgba(0, 86, 179, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card.pro-card:hover::before {
    opacity: 1;
}

.service-icon.pro-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(248,249,250,0.9) 0%, rgba(233,236,239,0.9) 100%);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 86, 179, 0.05);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: saturate(0.9);
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
    filter: saturate(1.1);
}

.service-content.pro-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    justify-content: space-between;
}

.service-content.pro-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.5px;
}

.service-content.pro-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card.pro-card:hover .service-content.pro-content h3::after {
    width: 50px;
}

.service-content.pro-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 400;
}

.service-content.pro-content .pro-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    align-self: flex-start;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-content.pro-content .pro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.25);
}

.service-content.pro-content .pro-btn::after {
    content: '→';
    margin-left: 8px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    display: inline-block;
    opacity: 0.8;
}

.service-content.pro-content .pro-btn:hover::after {
    transform: translateX(4px);
    opacity: 1;
}

.service-content h3 {
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 20px;
    flex: 1;
}

.service-content .btn-small {
    align-self: flex-start;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(248,249,250,1) 0%, rgba(233,236,239,1) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/stats-bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.stat-item h3::after {
    content: '+';
    font-size: 2rem;
    position: absolute;
    top: 0;
    right: -15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neutral-700);
    font-weight: 500;
    margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 30px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-top: 20px;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    scroll-snap-align: start;
    background-color: var(--white-color);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-item::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-content {
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.7;
    color: var(--neutral-700);
    position: relative;
    z-index: 1;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #FFD700;
    margin-right: 3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--white-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.testimonial-item:hover .author-avatar img {
    transform: scale(1.1);
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.author-info p {
    color: var(--neutral-500);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .testimonial-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .testimonial-item {
        flex: 0 0 100%;
    }
}

/* ===== CTA SECTION ===== */
.cta {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.cta .btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: var(--white-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    opacity: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: var(--white-color);
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(44, 107, 237, 0.8)), url('../images/page-banner.svg') no-repeat center center/cover;
    padding: 120px 0 100px;
    text-align: center;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--white-color);
    font-weight: 700;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.page-banner h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--white-color);
    border-radius: 2px;
}

.page-banner p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

.page-banner .breadcrumbs {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.page-banner .breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.page-banner .breadcrumbs a:hover {
    color: var(--white-color);
}

.page-banner .breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.6);
}

.page-banner .breadcrumbs .current {
    color: var(--white-color);
    font-weight: 600;
}

/* ===== SERVICES PAGE ===== */
.service-intro {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)),
                 url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

/* Service Card Styling */
.service-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 20px;
    background: linear-gradient(135deg, rgba(248,249,250,0.9) 0%, rgba(233,236,239,0.9) 100%);
}

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

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card:hover .service-content h3::after {
    width: 50px;
}

.service-detail {
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-detail-text {
    flex: 1;
}

.service-detail-image {
    flex: 1;
}

.service-detail-text h3 {
    margin-bottom: 20px;
}

.service-detail-text p {
    margin-bottom: 20px;
}

/* Services Details - Modern Professional Design */
.services-details {
    padding: var(--section-padding);
    background-color: var(--white-color);
    position: relative;
}

.services-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.02;
    z-index: 0;
}

.services-details .services-grid {
    position: relative;
    z-index: 1;
}

.services-details .service-card {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--neutral-200);
    background-color: var(--white-color);
}

.services-details .service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--neutral-300);
}

.services-details .service-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-details .service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.05), rgba(0,0,0,0));
    z-index: 1;
}

.services-details .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.services-details .service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-features {
    margin: 25px 0;
    padding-left: 10px;
}

.service-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
    color: var(--neutral-500);
    font-size: 1rem;
    line-height: 1.5;
    transition: transform 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
    color: var(--dark-color);
}

.service-features li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 3px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.service-card:hover .service-features li i {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.service-card .btn {
    align-self: flex-start;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card .btn {
    align-self: flex-start;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.25);
}

.service-card .btn::after {
    content: '→';
    margin-left: 8px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    display: inline-block;
    opacity: 0.8;
}

.service-card .btn:hover::after {
    transform: translateX(4px);
    opacity: 1;
}

.why-choose-us {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.choose-us-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.choose-us-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.choose-us-item h3 {
    margin-bottom: 15px;
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-intro {
    padding: var(--section-padding);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 50px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: var(--white-color);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--neutral-700);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
    transform: translateY(-2px);
}

.filter-btn.active::before,
.filter-btn:hover::before {
    opacity: 1;
}

.portfolio-grid {
    padding-bottom: 80px;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    background-color: var(--white-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 20px;
    color: var(--white-color);
}

.overlay-content h3 {
    color: var(--white-color);
    margin-bottom: 10px;
}

.overlay-content p {
    margin-bottom: 15px;
}

.portfolio-info {
    padding: 25px;
    background-color: var(--white-color);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-info h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 12px;
}

.portfolio-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.portfolio-item:hover .portfolio-info h3::after {
    width: 60px;
}

.portfolio-info p {
    color: var(--neutral-600);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.case-studies {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.case-study {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.case-study:last-child {
    margin-bottom: 0;
}

.case-study.reverse {
    flex-direction: row-reverse;
}

.case-study-content {
    flex: 1;
}

.case-study-image {
    flex: 1;
}

.case-study-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.case-study-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.stat h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.case-study-description {
    margin-bottom: 30px;
}

.client-logos {
    padding: var(--section-padding);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 30px;
}

.about-img {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.8;
}

.about-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.8;
}

.about-img img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

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

.about-img .experience {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.about-img:hover .experience {
    transform: translateY(-10px);
}

.experience h3 {
    font-size: 3rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.experience p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-content h2 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 2.2rem;
    color: var(--dark-color);
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-content p {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--neutral-700);
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.feature-icon {
    margin-right: 20px;
    color: var(--white-color);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotateY(180deg);
}

.feature-text {
    flex-grow: 1;
}

.feature-text h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--neutral-600);
}

.about-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.2);
}

.about-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.3);
}

.about-btn:hover::before {
    opacity: 1;
}

.about-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.about-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-img {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-content {
        order: 2;
    }
}

.our-story {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%);
    position: relative;
    overflow: hidden;
}

.our-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.our-story .container {
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 40px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.2), 0 0 10px rgba(var(--primary-color-rgb), 0.3);
    transition: all 0.3s ease;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: var(--white-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
}

.timeline-item:hover .timeline-dot::before {
    background-color: var(--primary-color);
}

.timeline-date {
    position: absolute;
    top: 10px;
    left: calc(50% + 45px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-date {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.timeline-content {
    position: relative;
    width: calc(50% - 60px);
    padding: 30px;
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 20px;
    height: 20px;
    background-color: var(--white-color);
    transform: rotate(45deg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: calc(50% + 45px);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 12px;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.timeline-content:hover h3::after {
    width: 60px;
}

.timeline-content p {
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        left: 75px;
        top: -30px;
        width: fit-content;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 75px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-right: none;
        border-top: none;
    }
}

.our-values {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(248,249,250,1) 0%, rgba(255,255,255,1) 100%);
    position: relative;
    overflow: hidden;
}

.our-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.our-values .container {
    position: relative;
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.value-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(var(--primary-color-rgb), 0.5);
    animation: spin 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-item:hover .value-icon::before {
    opacity: 1;
}

.value-item h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
    transition: color 0.3s ease;
}

.value-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.value-item:hover h3 {
    color: var(--primary-color);
}

.value-item:hover h3::after {
    width: 60px;
}

.value-item p {
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

.our-team {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(248,249,250,1) 0%, rgba(255,255,255,1) 100%);
    position: relative;
    overflow: hidden;
}

.our-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.our-team .container {
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.team-member {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.member-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.team-member:hover .member-image::before {
    opacity: 1;
}

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

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white-color);
    position: relative;
}

.member-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.member-info h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.team-member:hover .member-info h3 {
    color: var(--primary-color);
}

.member-role {
    color: var(--neutral-600);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.member-bio {
    color: var(--neutral-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.member-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.member-social a i {
    transition: transform 0.3s ease;
}

.member-social a:hover i {
    transform: scale(1.2);
}

.member-social a:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .member-image {
        height: 280px;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.contact-info {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--neutral-600);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--neutral-700);
}

.contact-details p i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icons a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: scale(1.2);
}

.social-icons a:hover::before {
    opacity: 1;
}

.contact-form-container {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 0;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--neutral-700);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(248, 249, 250, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    background-color: var(--white-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.form-group .error {
    border-color: #ff3860;
    box-shadow: 0 0 0 3px rgba(255, 56, 96, 0.1);
}

.form-group .error-message {
    color: #ff3860;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group .error + .error-message {
    display: block;
}

.form-success {
    text-align: center;
    padding: 60px 0;
}

.form-success i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 25px;
    display: block;
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.form-success p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
}

.faq-section {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white-color);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 18px;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .welcome-content,
    .about-content,
    .service-detail-content,
    .case-study,
    .case-study.reverse,
    .contact-wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .welcome-text,
    .welcome-image,
    .about-text,
    .about-image,
    .service-detail-text,
    .service-detail-image,
    .case-study-content,
    .case-study-image {
        flex: none;
        width: 100%;
    }
    
    .welcome-image,
    .about-image,
    .service-detail-image,
    .case-study-image {
        margin-top: 30px;
        order: 2;
    }
    
    .case-study.reverse .case-study-image {
        order: 2;
    }
    
    .case-study.reverse .case-study-content {
        order: 1;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        left: 70px;
        top: -30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 70px;
        right: auto;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        margin-top: 20px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    .mobile-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .stats-grid,
    .choose-us-grid,
    .portfolio-items,
    .values-grid,
    .team-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        flex: 0 0 100%;
    }
    
    .case-study-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .page-banner h2 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Right Animation for Mobile Menu */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Up Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Left Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-70px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(70px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Down Animation */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rotate In Animation */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-15deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Animate on Scroll Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.animate-on-scroll.fade-up {
    transform: translateY(30px);
}

.animate-on-scroll.fade-up.animated {
    transform: translateY(0);
}

.animate-on-scroll.fade-left {
    transform: translateX(-70px);
}

.animate-on-scroll.fade-left.animated {
    transform: translateX(0);
}

.animate-on-scroll.fade-right {
    transform: translateX(70px);
}

.animate-on-scroll.fade-right.animated {
    transform: translateX(0);
}

.animate-on-scroll.scale-in {
    transform: scale(0.9);
}

.animate-on-scroll.scale-in.animated {
    transform: scale(1);
}

.animate-on-scroll.fade-down {
    transform: translateY(-30px);
}

.animate-on-scroll.fade-down.animated {
    transform: translateY(0);
}

.animate-on-scroll.rotate-in {
    transform: rotate(-15deg) scale(0.9);
}

.animate-on-scroll.rotate-in.animated {
    transform: rotate(0) scale(1);
}

.hero-content,
.section-header,
.service-card,
.testimonial-item,
.portfolio-item,
.team-member,
.value-item,
.info-item,
.faq-item {
    animation: fadeIn 1s ease-out;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn i {
    line-height: 60px;
}

@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn i {
        line-height: 50px;
    }
}

/* ===== RESPONSIVE IMAGES ===== */
.portfolio-image img,
.service-image img,
.case-study-image img,
.testimonial-author img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Optimize images for different screen sizes */
@media (max-width: 768px) {
    .portfolio-image img {
        height: 250px;
    }
    
    .service-image img {
        width: 150px;
        height: 150px;
    }
    
    .case-study-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .portfolio-image img {
        height: 200px;
    }
    
    .service-image img {
        width: 120px;
        height: 120px;
    }
    
    .case-study-image img {
        height: 250px;
    }
}