/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Image Error Handling */
img {
    max-width: 100%;
    height: auto;
    display: block;
    background-color: #f8f9fa;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* Ensure images don't show broken icon */
img:not([src]),
img[src=""] {
    opacity: 0;
}

/* Hide broken image icons and show custom placeholder */
img[src=""],
img:not([src]),
img[src*="placeholder"] {
    position: relative;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    min-height: 200px;
}

img[src=""]:before,
img:not([src]):before,
img[src*="placeholder"]:before {
    content: "🖼️ Image Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

/* Header */
.header {
    background-color: var(--text-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

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

.logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 200px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-image picture {
    display: block;
    width: 100%;
    max-width: 500px;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    display: block;
}

.hero-image:hover .hero-img {
    transform: scale(1.02);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--text-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat h4 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--text-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    font-size: 2.5rem;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.service-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Portfolio Section */
.portfolio {
    background-color: var(--bg-light);
}

/* Ensure all portfolio images have consistent sizing */
.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background-color: var(--text-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--text-white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.portfolio-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--secondary-color);
    transition: var(--transition);
}

.portfolio-link:hover {
    color: var(--text-white);
    border-bottom-color: var(--text-white);
}

/* Clients Section */
.clients {
    background-color: #f8f9fa;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.client-logo {
    background-color: var(--text-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    width: 180px;
    height: 120px;
    overflow: hidden;
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: all 0.3s ease;
}

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

.clients-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-stat {
    text-align: center;
    padding: 2rem;
    background-color: var(--text-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.client-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.client-stat h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.client-stat p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--text-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Certifications Section */
.certifications {
    background-color: var(--bg-light);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certification-card {
    background-color: var(--text-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cert-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.certification-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--text-white);
    font-size: 1.2rem;
}

.contact-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text h3 {
    color: var(--text-white);
    margin-bottom: 0;
}

.footer-logo-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--text-white);
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    .logo-text h1 {
        font-size: 2rem;
    }
    
    .logo-text p {
        font-size: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: var(--text-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Section Responsive */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Portfolio Section Responsive */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Clients Section Responsive */
    .clients-grid {
        grid-template-columns: repeat(auto-fill, 150px);
        gap: 1rem;
    }
    
    .client-logo {
        width: 150px;
        height: 100px;
        padding: 1rem;
    }
    
    .client-logo img {
        max-height: 50px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
    }
    
    .logo-text p {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        top: 120px;
    }
    
    .container {
        padding: 0 15px;
    }

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

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-image {
        min-height: 250px;
    }
    
    .hero-image picture {
        max-width: 100%;
    }
    
    .hero-img {
        height: 250px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
        width: 200px;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }
    
    /* Mobile Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Mobile Clients */
    .clients-grid {
        grid-template-columns: repeat(2, 140px);
        gap: 0.8rem;
    }
    
    .client-logo {
        width: 140px;
        height: 90px;
        padding: 0.8rem;
    }
    
    .client-logo img {
        max-height: 40px;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .clients-stats {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Service Pages Styles */

/* Service Hero Section */
.service-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.back-button i {
    font-size: 1.2rem;
}

.back-button:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon-large i {
    font-size: 3rem;
    color: var(--text-white);
}

.service-hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-hero-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

/* Service Overview */
.service-overview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.service-overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-overview-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.service-overview-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--text-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Service Details */
.service-details {
    padding: 80px 0;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-detail-card {
    background-color: var(--text-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-detail-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-detail-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.service-detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-detail-list li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.service-detail-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Products Section */
.service-products {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--text-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Process Section */
.service-process {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.process-step:hover {
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.why-choose-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.why-choose-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.why-choose-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.why-choose-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Service CTA */
.service-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
    text-align: center;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-buttons .btn-primary:hover {
    background-color: var(--bg-light);
}

.cta-buttons .btn-secondary {
    border-color: var(--text-white);
    color: var(--text-white);
}

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

/* Service Page Responsive */
@media (max-width: 768px) {
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .service-overview-stats {
        flex-direction: row;
        justify-content: space-between;
    }

    .stat-card {
        padding: 1rem;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 100px 0 60px;
    }

    .service-hero h1 {
        font-size: 2rem;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
    }

    .service-icon-large i {
        font-size: 2rem;
    }

    .service-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .service-overview-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }

/* Service Page Image Consistency */
.product-img,
.service-hero-img,
.why-choose-img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.service-hero-img {
    height: 300px;
}

.product-img {
    height: 200px;
}

.why-choose-img {
    height: 250px;
}

/* Team section images */
.team-image img,
.service-overview img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

/* Placeholder Images */
img[src*="placeholder"] {
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    min-height: 200px;
}

img[src*="placeholder"]::after {
    content: "Image Placeholder";
}

/* Team Section Styles */
.service-team-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-top: 40px;
}

.team-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.team-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-content {
    flex: 1;
    padding: 20px;
}

.team-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
}

.team-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
    }
    
    .team-image, .team-content {
        width: 100%;
    }
}
