/**
 * Smart Vision - Business Management Consulting Custom Styles
 * Modern design enhancements for the website
 */

:root {
    /* Updated custom color variables for better brand identity */
    --primary-color: #2c5aa0;
    --secondary-color: #f39c12;
    --accent-color: #ffc451;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #444444;
    --heading-color: #2c3e50;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* RTL adjustments */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .navmenu a:after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .portfolio-links a {
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .client-info .client-img {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="rtl"] .info-item .icon-box {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="rtl"] .portfolio .portfolio-item .portfolio-info h4,
html[dir="rtl"] .portfolio .portfolio-item .portfolio-info p {
    padding-right: 0;
    padding-left: 50px;
}

html[dir="rtl"] .portfolio .portfolio-item .portfolio-info .preview-link,
html[dir="rtl"] .portfolio .portfolio-item .portfolio-info .details-link {
    right: auto;
    left: 50px;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--heading-color);
}

.section {
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading .subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-heading .title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-heading .title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-heading .description {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

.bg-light {
    background-color: #f9f9fa !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    background-color: #1e4080;
    border-color: #1e4080;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.8);
    transition: all 0.5s;
}

.header .logo-container {
    gap: 12px;
}

.header .logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.header .logo-icon i {
    font-size: 24px;
    color: white;
}

.header .logo-text .sitename {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    font-family: 'Raleway', sans-serif;
}

.header .logo-text .tagline {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.header .btn-getstarted {
    background-color: var(--secondary-color);
    color: #000;
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.header .btn-getstarted:hover {
    background-color: #d68910;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.navmenu a {
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.navmenu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.navmenu a:hover:after,
.navmenu .active:after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

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

.hero h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.hero-buttons {
    margin-bottom: 60px;
}

.hero-buttons .btn {
    margin: 5px;
    font-size: 16px;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
}

.glass-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.glass-effect i {
    font-size: 32px;
    color: #ffc451;
    margin-bottom: 15px;
    display: block;
}

.glass-effect h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* About Section */
.about-img {
    position: relative;
    z-index: 1;
}

.about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.3);
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

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

.feature-item {
    margin-bottom: 25px;
}

.feature-item .icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 26px;
}

.feature-item h5 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item p {
    margin-bottom: 0;
    color: #666;
    font-size: 15px;
}

/* Why Choose Us Section */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    height: 100%;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 30px;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(44, 90, 160, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.feature-card:hover::before {
    height: 8px;
}

.feature-card .icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1), rgba(44, 90, 160, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
    border: 2px solid rgba(44, 90, 160, 0.1);
}

.feature-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scale(1.1);
}

.feature-card .icon-box i {
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .icon-box i {
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Value Proposition Section */
.value-proposition {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.value-proposition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.1;
}

.value-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.value-item .value-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.value-item .value-icon i {
    font-size: 40px;
    color: var(--secondary-color);
}

.value-item h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.value-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Services Section */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.service-card:hover {
    transform: translateY(-15px);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover:before {
    height: 100%;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
    color: white;
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1), rgba(44, 90, 160, 0.05));
    border-radius: 50%;
    transition: var(--transition);
    border: 2px solid rgba(44, 90, 160, 0.1);
}

.service-card:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-wrapper i {
    font-size: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper i {
    color: white;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
    font-weight: 700;
}

.service-card p {
    margin-bottom: 25px;
    transition: var(--transition);
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.service-link:hover {
    color: var(--primary-color);
}

.service-card:hover .service-link {
    color: white;
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Service lists styling */
.service-card ul {
    padding-inline-start: 18px;
    margin-bottom: 0.5rem;
}

.service-card ul li {
    margin-bottom: 6px;
    line-height: 1.7;
}

/* CTA buttons spacing tweak */
.cta-buttons .btn+.btn {
    margin-inline-start: 10px;
}

/* Call to Action Section */
.call-to-action {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.call-to-action img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
    z-index: 0;
}

.call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.8) 0%, rgba(30, 64, 128, 0.6) 100%);
    z-index: 1;
}

.call-to-action .container {
    position: relative;
    z-index: 2;
}

.call-to-action h3 {
    color: #fff;
    font-size: 38px;
    margin-bottom: 25px;
    font-weight: 700;
}

.call-to-action p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.7;
}

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

.cta-buttons .btn {
    margin: 8px;
    font-size: 16px;
    padding: 15px 35px;
}

/* Portfolio Section */
.portfolio-filters {
    margin-bottom: 40px;
}

.portfolio-filters li {
    cursor: pointer;
    padding: 12px 25px;
    margin: 0 8px 15px;
    border-radius: 30px;
    background: #f8f9fa;
    transition: var(--transition);
    font-weight: 500;
    border: 2px solid transparent;
}

.portfolio-filters li:hover,
.portfolio-filters li.filter-active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
}

.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 280px;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.portfolio-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.9), rgba(39, 174, 96, 0.9));
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-info {
    bottom: 0;
}

.portfolio-info h4 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 20px;
}

.portfolio-links {
    display: flex;
    gap: 12px;
}

.portfolio-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.portfolio-links a:hover {
    background: var(--secondary-color);
    color: #000;
    transform: scale(1.1);
}

/* Hero social links */
.hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 6px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.hero-social a:hover {
    background: var(--secondary-color);
    color: #000;
    transform: translateY(-2px);
}

html[dir="rtl"] .hero-social a {
    margin: 0 0 0 6px;
}

/* Stats Section */
.stats-item {
    margin-bottom: 30px;
}

.stats-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-right: 20px;
}

.stats-item .purecounter {
    font-size: 42px;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1;
}

.stats-item p {
    margin-bottom: 0;
    margin-top: 5px;
}

.stats-item strong {
    font-size: 18px;
    font-weight: 700;
}

.stats-item span {
    font-size: 14px;
    color: #666;
}

.stats-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: 120px 0;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
    z-index: 0;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.8) 0%, rgba(30, 64, 128, 0.6) 100%);
    z-index: 1;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    margin: 20px;
}

.quote-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.quote-icon i {
    font-size: 28px;
    color: #000;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ffffff;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.client-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: white;
    font-weight: 700;
}

.client-info h4 {
    font-size: 14px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Contact Section */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-info {
    height: 100%;
}

.info-item {
    background: white;
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(44, 90, 160, 0.1);
    display: flex;
    align-items: flex-start;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.15);
}

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

.info-item .icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    flex-shrink: 0;
}

.info-item .content {
    flex: 1;
}

.info-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-item p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.6;
}

.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.form-control {
    border-radius: 10px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    transition: var(--transition);
    font-size: 15px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
    border-color: var(--primary-color);
}

.form-control:hover {
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: #0c1023;
    color: #b4b4b4;
}

.footer-top {
    padding: 70px 0;
}

.footer h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer .logo-container {
    gap: 12px;
}

.footer .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.footer .logo-icon i {
    font-size: 20px;
    color: white;
}

.footer .logo-text {
    display: flex;
    flex-direction: column;
}

.footer .logo-text .sitename {
    color: white;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

.footer .logo-text .tagline {
    font-size: 11px;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.footer-links ul {
    padding-left: 0;
}

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

.footer-links ul li a {
    color: #b4b4b4;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-newsletter .newsletter-form {
    position: relative;
    margin-top: 20px;
}

.footer-newsletter .newsletter-form input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 50px;
    color: white;
}

.footer-newsletter .newsletter-form input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter .newsletter-form input[type="submit"]:hover {
    background: #1e4080;
}

.copyright {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .section-heading .title {
        font-size: 30px;
    }

    .experience-badge {
        bottom: -20px;
        right: 20px;
        padding: 15px 20px;
    }

    .experience-badge .years {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .section-heading .title {
        font-size: 26px;
    }

    .experience-badge {
        bottom: -15px;
        right: 15px;
        padding: 12px 15px;
    }

    .experience-badge .years {
        font-size: 24px;
    }

    .info-item {
        padding: 25px;
        flex-direction: column;
        text-align: center;
    }

    .info-item .icon-box {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .service-card,
    .feature-card {
        padding: 30px 20px;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* Animation Enhancements */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Portfolio Details Page Styles
======================================== */

/* Project Overview Section */
.project-overview {
    padding: 5rem 0;
    background: white;
}

.overview-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.overview-content h3:first-of-type {
    color: var(--primary-color);
}

.overview-content p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.overview-stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 15px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Technologies Used Section */
.technologies {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.tech-item {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e9ecef;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    filter: grayscale(100%);
    transition: var(--transition);
}

.tech-item:hover .tech-icon {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.tech-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Project Results Section */
.project-results {
    padding: 5rem 0;
    background: white;
}

.result-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.result-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.result-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.result-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.result-card li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
}

.result-card li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Related Projects Section */
.related-projects {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 90, 160, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-link:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.project-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design for Portfolio Details */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .tech-item,
    .result-card,
    .project-card {
        margin-bottom: 2rem;
    }

    .project-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .overview-stats {
        padding: 1.5rem;
    }

    .tech-item,
    .result-card {
        padding: 2rem 1rem;
    }
}

/* ========================================
   Service Details Page Styles
======================================== */

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
    position: relative;
}

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

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Features Section */
.service-features {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.feature-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Service Process Section */
.service-process {
    padding: 5rem 0;
    background: white;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.process-step:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.rating {
    margin-bottom: 1rem;
}

.rating i {
    color: var(--secondary-color);
    margin-right: 2px;
}

.testimonial-card p {
    color: white;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.author-info h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Packages Section */
.packages {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.package-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 0;
    right: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 15px 0 15px;
    z-index: 2;
}

.package-header {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.package-card.featured .package-header {
    background: linear-gradient(135deg, var(--primary-color), #6610f2);
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 300;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.package-features {
    padding: 1.5rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.5rem 0;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-features li i {
    color: #28a745;
    flex-shrink: 0;
}

.package-footer {
    padding: 1.5rem;
    background-color: #f8f9fa;
    text-align: center;
}

.package-footer .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.package-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Different color schemes for each package using project colors */
.package-card:nth-child(1) {
    border-color: rgba(44, 90, 160, 0.2);
}

.package-card:nth-child(1) .package-badge {
    background: linear-gradient(135deg, #2c5aa0, rgba(44, 90, 160, 0.8));
}

.package-card:nth-child(1) .package-header {
    background: linear-gradient(135deg, #2c5aa0, rgba(44, 90, 160, 0.9));
}

.package-card:nth-child(2) {
    border-color: rgba(244, 156, 18, 0.2);
}

.package-card:nth-child(2) .package-badge {
    background: linear-gradient(135deg, #f49c12, rgba(244, 156, 18, 0.8));
}

.package-card:nth-child(2) .package-header {
    background: linear-gradient(135deg, #f49c12, rgba(244, 156, 18, 0.9));
}

.package-card:nth-child(3) {
    border-color: rgba(12, 16, 35, 0.2);
}

.package-card:nth-child(3) .package-badge {
    background: linear-gradient(135deg, #0c1023, rgba(12, 16, 35, 0.8));
}

.package-card:nth-child(3) .package-header {
    background: linear-gradient(135deg, #0c1023, rgba(12, 16, 35, 0.9));
}

/* Override featured package colors */
.package-card.featured .package-header {
    background: linear-gradient(135deg, #2c5aa0, #f49c12) !important;
}

.package-card.featured .package-badge {
    background: #f8f9fa !important;
    color: #3e67a8 !important;
}

/* Different button colors for each package using project colors */
.package-card:nth-child(1) .package-footer .btn {
    background: linear-gradient(135deg, #2c5aa0, rgba(44, 90, 160, 0.9));
    border-color: #2c5aa0;
}

.package-card:nth-child(1) .package-footer .btn:hover {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.9), rgba(44, 90, 160, 1));
    border-color: rgba(44, 90, 160, 0.9);
}

.package-card:nth-child(2) .package-footer .btn {
    background: linear-gradient(135deg, #f49c12, rgba(244, 156, 18, 0.9));
    border-color: #f49c12;
    color: #0c1023;
}

.package-card:nth-child(2) .package-footer .btn:hover {
    background: linear-gradient(135deg, rgba(244, 156, 18, 0.9), rgba(244, 156, 18, 1));
    border-color: rgba(244, 156, 18, 0.9);
}

.package-card:nth-child(3) .package-footer .btn {
    background: linear-gradient(135deg, #0c1023, rgba(12, 16, 35, 0.9));
    border-color: #0c1023;
    color: white;
}

.package-card:nth-child(3) .package-footer .btn:hover {
    background: linear-gradient(135deg, rgba(12, 16, 35, 0.9), rgba(12, 16, 35, 1));
    border-color: rgba(12, 16, 35, 0.9);
}

/* Responsive Design for Service Details */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .feature-card,
    .process-step,
    .testimonial-card,
    .package-card {
        margin-bottom: 2rem;
    }

    .package-card.featured {
        transform: none;
    }

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

    .step-number,
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.75rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}


@media (max-width: 576px) {
    .services-details-row {
        flex-direction: column-reverse;
        gap: 12px;
    }
}


