/*
Theme Name: Custom Corporate
Theme URI: 
Author: 
Author URI: 
Description: A custom business/corporate WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-corporate
*/

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

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

:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --secondary: #1f2937;
    --accent: #f59e0b;
    --light: #f0fdf4;
    --dark: #064e3b;
    --gray: #6b7280;
    --white: #ffffff;
    --bg-light: #f9fafb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--white);
    font-size: 19px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
    }
}

.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray);
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    overflow: hidden;
}

.clients-slider {
    overflow: hidden;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.clients-track {
    display: flex;
    gap: 30px;
    will-change: transform;
    justify-content: center;
}

.client-item {
    flex-shrink: 0;
    width: calc(20% - 24px);
    max-width: 280px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.client-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

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

.client-item .client-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo-img img,
.site-logo-img .custom-logo,
.site-logo-img a img,
.site-logo-img .attachment-full {
    max-height: 80px !important;
    width: auto !important;
    max-width: 150px !important;
}

.site-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.2;
}

.site-logo-text:hover {
    color: var(--primary-dark);
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-weight: 500;
    color: var(--secondary);
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-close {
    display: none;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Full Width Slider */
.slider-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-top: 70px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 78, 59, 0.75);
}

.slider-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.slider-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slider-content p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.slider-content-left {
    flex: 1;
    color: var(--white);
    padding-right: 40px;
}

.slider-content-right {
    flex: 0 0 350px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.slider-content-right img {
    width: auto;
    max-width: 400px;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideInRight 1s ease-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

.slider-content-left {
    flex: 1;
    color: var(--white);
    padding-right: 40px;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-content-left h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slider-content-left p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 25px;
    max-width: 600px;
}

.slider-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.slider-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slider-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: var(--white);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Hero Section (fallback if no slider) */
.hero {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    color: var(--white);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-item p {
    font-size: 14px;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-content h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

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

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

.feature-item i {
    color: var(--primary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.service-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.service-number {
    font-size: 48px;
    font-weight: 700;
    color: #e0e0e0;
    position: absolute;
    top: 10px;
    right: 15px;
    line-height: 1;
    z-index: 0;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 8px 0;
}

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

.service-card-image {
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

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

/* Why Us Section */
.whyus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.whyus-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.whyus-content h2 span {
    color: var(--primary);
}

.whyus-content > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.whyus-features {
    display: grid;
    gap: 25px;
}

.whyus-item {
    display: flex;
    gap: 20px;
}

.whyus-icon {
    width: 50px;
    height: 50px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.whyus-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.whyus-item p {
    color: var(--gray);
    font-size: 14px;
}

/* How We Perform Section */
.how-we-perform {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    color: white;
    padding: 80px 0;
}

.perform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.perform-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.perform-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perform-icon span {
    font-size: 28px;
    color: #059669;
}

.perform-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.perform-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    padding: 20px;
}

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

.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.team-info {
    padding: 20px 15px;
    text-align: center;
    width: 100%;
}

.team-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    width: 100%;
    text-align: center;
    color: var(--dark);
}

.team-info p {
    color: var(--primary);
    font-size: 14px;
    text-align: center;
}
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 14px;
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Team Section - New Layout */
.team-first-row {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.team-member-center {
    max-width: 300px;
    width: 100%;
    padding: 20px;
}

.team-member-center img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary);
}

.team-subsequent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-items: center;
}

.team-subsequent .team-member {
    padding: 20px;
    text-align: center;
    max-width: 300px;
    width: 100%;
}

.team-subsequent .team-member img {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin: 0 auto;
}

.team-member {
    padding: 20px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-card blockquote {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 16px;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--gray);
    font-size: 14px;
}

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

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Main Content */
.main-content {
    padding: 120px 0 80px;
}

.content-area {
    max-width: 1320px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.post {
    background: var(--white);
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.post-thumbnail img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.post-title a:hover {
    color: var(--primary);
}

.post-meta {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.post-excerpt {
    color: var(--gray);
    margin-bottom: 20px;
}

.post-link {
    color: var(--primary);
    font-weight: 600;
}

/* Sidebar */
.sidebar .widget {
    background: var(--white);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.search-form button {
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-subsequent {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .perform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header .container {
        position: relative;
    }
    
    .site-brand {
        gap: 10px;
    }
    
    .site-logo-img img,
    .site-logo-img .custom-logo,
    .site-logo-img a img,
    .site-logo-img .attachment-full {
        max-height: 50px !important;
        width: auto !important;
    }
    
    .site-logo-text {
        font-size: 16px;
    }
    
    .main-navigation {
        display: block !important;
        visibility: visible;
        opacity: 1;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: 5px 0 20px rgba(0,0,0,0.1);
        padding: 60px 20px 20px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .mobile-menu-close {
        display: none;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        background: #dc2626;
        color: white;
        border: none;
        border-radius: 50%;
        font-size: 24px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    
    .main-navigation ul,
    .main-navigation .primary-menu {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
        color: var(--secondary);
        text-decoration: none;
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .about-grid,
    .whyus-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-first-row {
        flex-direction: column;
        align-items: center;
    }
    
    .team-member-center {
        max-width: 250px;
    }
    
    .team-subsequent {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-subsequent .team-member {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .perform-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .perform-item {
        padding: 20px 15px;
    }
    
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .client-item {
        width: calc(50% - 15px);
        height: 150px;
        padding: 15px;
    }
    
    .client-item img {
        max-width: 80%;
        max-height: 80%;
    }
    
    .main-navigation {
        display: none;
    }
}

/* Single Post Styles */
.single-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: 70px;
}

.single-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post .post {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.single-post .post-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.single-post .post-meta {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.single-post .post-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
}

.single-post .post-body p {
    margin-bottom: 20px;
}

.single-post .post-body h2,
.single-post .post-body h3,
.single-post .post-body h4 {
    color: var(--dark);
    margin: 30px 0 15px;
}

.single-post .post-body img {
    border-radius: 8px;
    margin: 20px 0;
}

.single-post .post-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--dark);
}

.single-post .post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.single-post .post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.single-post .post-navigation a {
    color: var(--primary);
    font-weight: 600;
}

.single-post .post-navigation a:hover {
    color: var(--primary-dark);
}

/* Comments */
.comments-area {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
}

.comment-body {
    line-height: 1.6;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 50px 0 30px;
    margin-top: 70px;
    min-height: 120px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 150, 105, 0.85);
    z-index: 1;
}

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

.page-header .breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.page-header .breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.page-header .breadcrumb a:hover {
    opacity: 1;
}

.page-header .breadcrumb span {
    margin: 0 10px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
}

/* Service Details */
.service-details-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Services page specific - wider main content */
.service-details-grid .service-main .services-grid {
    grid-template-columns: repeat(2, 1fr);
}

.service-featured-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-featured-image img {
    width: 100%;
    height: auto;
}

.service-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.service-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.service-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-intro {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 40px;
}

.service-description ul,
.service-description ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.service-description ul li,
.service-description ol li {
    margin-bottom: 10px;
    list-style-type: circle;
}

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

/* Core Capabilities */
.service-capabilities {
    margin: 50px 0;
}

.service-capabilities h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark);
}

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

.capability-item {
    display: flex;
    gap: 15px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.capability-item:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.capability-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.capability-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.capability-item p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* Process Timeline */
.service-process {
    margin: 50px 0;
}

.service-process h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark);
}

.process-timeline {
    display: grid;
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.process-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.process-content p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* Service CTA */
.service-cta {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 50px 0;
}

.service-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.service-cta p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 16px;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.service-meta {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.service-meta h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    color: var(--gray);
    font-size: 14px;
}

.meta-value {
    font-weight: 600;
    color: var(--dark);
}

.service-contact-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    text-align: center;
}

.service-contact-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-contact-box p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-info-item {
    margin-bottom: 15px;
    font-size: 14px;
}

.related-services {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.related-services h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.related-services ul li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.related-services ul li:last-child {
    border-bottom: none;
}

.related-services ul li a {
    color: var(--gray);
    transition: color 0.3s;
}

.related-services ul li a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-details-grid {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
    }
}

/* Service Accordion Styles */
.service-accordion {
    margin: 40px 0;
}

.service-accordion h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--dark);
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}

.accordion-title {
    background: var(--bg-light);
    padding: 18px 25px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--dark);
}

.accordion-title::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-title::after {
    transform: rotate(45deg);
}

.accordion-title:hover {
    background: var(--primary);
    color: var(--white);
}

.accordion-item.active .accordion-title {
    background: var(--primary);
    color: var(--white);
}

.accordion-content {
    display: none;
    padding: 20px 25px 25px;
    background: var(--white);
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.accordion-content ul li {
    padding: 8px 0;
    color: var(--gray);
    line-height: 1.6;
    list-style-type: disc;
}

.accordion-content ul li::marker {
    color: var(--primary);
}

/* Quick Contact in Sidebar */
.service-contact-box {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-top: 25px;
}

.service-contact-box h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 10px;
}

.service-contact-box p {
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 14px;
}

.service-contact-box .contact-info-item {
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.9;
}

.service-contact-box .btn {
    margin-top: 10px;
}

/* Sidebar Widget */
.sidebar-widget {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.sidebar-widget img {
    display: block;
    margin-bottom: 15px;
}

.service-list-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list-sidebar li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
    list-style: none;
}

.service-list-sidebar li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.service-list-sidebar li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-list-sidebar a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s ease;
}

.service-list-sidebar a:hover {
    color: var(--primary);
}

.service-list-sidebar span {
    font-size: 14px;
    font-weight: 500;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 40px;
}

.contact-form-inner h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-form-inner > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-success {
    background: #d1fae5;
    color: #065f46;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

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

.contact-form .btn-primary {
    padding: 14px 35px;
    font-size: 16px;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-inner {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.contact-map {
    width: 100%;
    height: 250px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact-details {
    padding: 30px;
}

.contact-details h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-details .company-info {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

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

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

.contact-item strong {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 3px;
}

.contact-item p {
    margin: 0;
    font-size: 14px;
    color: var(--dark);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-wrap {
        order: -1;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 25px;
    }
}
