/* Global Styles */
:root {
    /* Updated modern color palette with more vibrant colors */
    --primary-color: #4f46e5;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    
    /* Updated service-specific colors with vibrant gradients */
    --finance-gradient: linear-gradient(135deg, #22c55e, #10b981);
    --realty-gradient: linear-gradient(135deg, #3b82f6, #2563eb);
    --monitoring-gradient: linear-gradient(135deg, #06b6d4, #0ea5e9);
    --valuation-gradient: linear-gradient(135deg, #8b5cf6, #6366f1);
    
    /* Updated service-specific colors */
    --pmc-color: #3b82f6;
    --finance-color: #10b981;
    --due-diligence-color: #8b5cf6;
    --feasibility-color: #ef4444;
    --completion-color: #f97316;
    --valuation-color: #0ea5e9;
    --freelancing-color: #6366f1;
    --corporate-finance-color: #a855f7;
    --web-services-color: #0284c7;

    /* Neutral colors */
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Optimize animations for better performance */
.btn, .service-card, .hero-btn, .testimonial-slide, .dropdown-content {
    will-change: transform, opacity;
}

@media screen and (max-width: 991px) {
    .nav-links {
        will-change: transform, right;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

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

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

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

.logo h1 {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover h1::after {
    transform: scaleX(1);
    transform-origin: left;
}

.logo p {
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin: 0 15px;
    position: relative;
}

.nav-links ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

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

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.fa-bars {
    display: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 77px;
}

.hero-text {
    color: white;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #e68a00;
}

/* Services Section */
.services {
    padding: 80px 5%;
    background-color: var(--light-bg);
}

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

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.service-card .icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.5rem;
    color: white;
    position: relative;
}

.service-card h3 {
    color: #6b7280;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover h3 {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.service-card .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.service-card .btn-wrapper {
    margin-top: auto;
    padding: 0.5rem 0;
}

.service-card .btn {
    background: transparent;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid;
    min-width: 180px;
}

/* Project Finance button */
.service-card.project-finance .btn {
    color: #22c55e;
    border-color: #22c55e;
}

.service-card.project-finance .btn:hover {
    background: #22c55e;
    color: white;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

/* Non-Realty button */
.service-card.non-realty .btn {
    color: #3b82f6;
    border-color: #3b82f6;
}

.service-card.non-realty .btn:hover {
    background: #3b82f6;
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Monitoring button */
.service-card.monitoring .btn {
    color: #06b6d4;
    border-color: #06b6d4;
}

.service-card.monitoring .btn:hover {
    background: #06b6d4;
    color: white;
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

/* Valuation button */
.service-card.valuation .btn {
    color: #8b5cf6;
    border-color: #8b5cf6;
}

.service-card.valuation .btn:hover {
    background: #8b5cf6;
    color: white;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* Service card title colors */
.service-card.project-finance h3 {
    color: #22c55e;
}

.service-card.non-realty h3 {
    color: #3b82f6;
}

.service-card.monitoring h3 {
    color: #06b6d4;
}

.service-card.valuation h3 {
    color: #8b5cf6;
}

/* Icon glow effects */
.service-card.project-finance .icon {
    background: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.service-card.non-realty .icon {
    background: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.service-card.monitoring .icon {
    background: #06b6d4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.service-card.valuation .icon {
    background: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* Enhanced hover effects */
.service-card:hover .icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

/* Add floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card {
    animation: float 6s ease-in-out infinite;
}

/* Add shine effect */
@keyframes shine {
    0% {
        background-position: -100% 100%;
    }
    100% {
        background-position: 200% -100%;
    }
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%
    );
    transform: rotate(30deg);
    animation: shine 8s infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* Why Us Section */
.why-us {
    padding: 80px 5%;
    background-color: white;
}

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

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.feature i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature p {
    color: #666;
}

/* Call to Action */
.cta {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #e68a00;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding-top: 70px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Enhanced social media icon styles */
.social-links a.facebook:hover {
    background-color: #4267B2;
}

.social-links a.twitter:hover {
    background-color: #1DA1F2;
}

.social-links a.linkedin:hover {
    background-color: #0077B5;
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-links a.youtube:hover {
    background-color: #FF0000;
}

.social-links a i {
    font-size: 1.2rem;
    z-index: 1;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: 0.5s;
    border-radius: 50%;
}

.social-links a:hover::before {
    transform: scale(1.2);
    opacity: 0;
}

.footer-bottom {
    background-color: #2c3136;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .fa-bars {
        display: block;
        z-index: 5;
        font-size: 24px;
    }
    
    .nav-links {
        position: fixed;
        width: 250px;
        height: 100vh;
        background: white;
        top: 0;
        right: -250px;
        padding-top: 60px;
        z-index: 4;
        transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        will-change: transform;
    }
    
    .nav-links ul {
        flex-direction: column;
    }
    
    .nav-links ul li {
        margin: 10px 25px;
    }
    
    .nav-links .fa-times {
        position: absolute;
        top: 25px;
        right: 25px;
        cursor: pointer;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        background-color: #f8f9fa;
        box-shadow: none;
        border-radius: 5px;
        padding-left: 15px;
        margin-top: 10px;
        min-width: auto;
    }
    
    .dropdown-content a {
        padding: 8px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .dropdown:hover .dropdown-content {
        display: none; /* Prevent automatic display on hover for mobile */
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .step {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .step-number {
        margin-bottom: 0;
        margin-right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
        position: relative;
    }

    .step-content {
        padding: 15px;
        width: calc(100% - 55px);
    }

    .step:not(:last-child)::after {
        left: 20px;
        top: 40px;
        height: calc(100% + 10px);
    }
    
    .step.step-last {
        margin-bottom: 0;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .process-steps {
        padding-left: 10px;
        padding-right: 10px;
        position: relative;
    }
    
    .process-steps::before {
        display: none; /* Hide any additional connecting lines that might be causing issues */
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    
    .step:not(:last-child)::after {
        left: 18px;
        top: 36px;
    }
    
    .step-content {
        padding: 12px;
        width: calc(100% - 51px);
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

/* Specific Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 77px;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
}

.service-content {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-features {
    margin: 50px 0;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 15px;
    min-width: 30px;
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-importance {
    background-color: var(--light-bg);
    padding: 60px 5%;
    text-align: center;
}

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

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

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

.reason-item i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.reason-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-cta {
    text-align: center;
    padding: 80px 5%;
}

.service-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-page {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 25px;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.about-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Make sure we always show scrollbar to avoid layout shifts */
html {
    overflow-y: scroll;
}

/* Service Process Section */
.service-process {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-process h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.service-process h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.process-steps {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    height: calc(100% + 20px);
    width: 2px;
    background-color: var(--primary-color);
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 25px;
    z-index: 1;
    position: relative;
}

.step-content {
    background-color: white;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Testimonials section */
.testimonials {
    padding: 80px 5%;
    background-color: var(--light-bg);
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    overflow: hidden;
}

.testimonial-slide {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeEffect 0.8s;
}

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

.testimonial-content {
    position: relative;
    padding-left: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--accent-color);
    font-family: Georgia, serif;
    opacity: 0.5;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-details h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.client-details p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.control-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    margin: 0 15px;
    transition: all 0.3s;
}

.control-btn:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Contact page social links styles */
.contact-social-links {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-color);
}

.contact-social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-social-icon.facebook:hover {
    background-color: #4267B2;
    color: white;
}

.contact-social-icon.twitter:hover {
    background-color: #1DA1F2;
    color: white;
}

.contact-social-icon.linkedin:hover {
    background-color: #0077B5;
    color: white;
}

.contact-social-icon.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.contact-social-icon.youtube:hover {
    background-color: #FF0000;
    color: white;
}

.contact-social-icon i {
    font-size: 1.2rem;
    z-index: 1;
}

.contact-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: 0.5s;
    border-radius: 50%;
}

.contact-social-icon:hover::before {
    transform: scale(1.2);
    opacity: 0;
}

/* Contact page social links with text */
.contact-social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.contact-social-link i {
    font-size: 1.3rem;
}

.contact-social-link span {
    font-weight: 500;
}

/* Modern Sub-Services Section Styles */
.sub-services {
    padding: 60px 0;
    background: #f8f9fa;
    margin: 40px 0;
    border-radius: 15px;
}

.sub-services h2 {
    text-align: center;
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.sub-services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0077ff;
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.sub-service-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.sub-service-card i {
    font-size: 2.5rem;
    color: #0077ff;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.sub-service-card:hover i {
    transform: scale(1.1);
}

.sub-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.sub-service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

.learn-more {
    display: flex;
    align-items: center;
    color: #0077ff;
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
}

.learn-more span {
    margin-right: 8px;
}

.learn-more i {
    font-size: 1.2rem;
    margin: 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.sub-service-card:hover .learn-more i {
    transform: translateX(5px);
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.sub-service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.sub-service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.sub-service-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sub-services {
        padding: 40px 0;
    }

    .sub-services h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .sub-services-grid {
        gap: 20px;
        padding: 0 20px;
    }

    .sub-service-card {
        padding: 30px;
    }

    .sub-service-card h3 {
        font-size: 1.3rem;
    }

    .sub-service-card p {
        font-size: 0.95rem;
    }
} 