.service-iconbox-icon {
    width: 80px;
    height: 80px;
    display: flex;
    transition: all 0.4s;
    align-items: center;
    margin-bottom: 60px;
    border-radius: 10px;
    justify-content: center;
    background-color: #ffeef5;
}

.service-icon-btn {
    line-height: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    color: #d12439;
    margin-top: 10px;
}

.service-icon-btn span {
    position: relative;
    margin-right: 10px;
}

.service-icon-btn:hover {
    font-size: 18px;
    color: #d12439;
    transform: translateY(-5px);
}

.animated-link {
    position: relative;
    text-decoration: none;
    padding-bottom: 5px;
}

.animated-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.4s ease;
}

.b .animated-link::before {
    background-color: #fff;
}

.animated-link:hover::before {
    width: 100%;
}

.animated-link:active::before {
    width: 100%;
    animation: none;
}

.animated-link.active::before {
    width: 100%;
}

@keyframes draw-border {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* About Us Page Styles */

/* Font Awesome Icons in Why Choose Us Section */
.why-choose-us .tc.wf.xf.cf.ae.cd {
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-us .fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Feature Item Container */
.feature-item-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-section {
    padding: 80px 0;
}

.about-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.about-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #f8f9fa;
}

.team-member h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-member p {
    color: #7f8c8d;
    font-size: 14px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

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

.value-card .service-iconbox-icon {
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.counter-item {
    text-align: center;
    padding: 40px 20px;
}

.counter-item h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-item p {
    color: #7f8c8d;
    font-size: 16px;
    font-weight: 500;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 20px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #667eea;
    font-weight: bold;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.testimonial-author-info h5 {
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.testimonial-author-info p {
    color: #7f8c8d;
    margin: 0;
    font-size: 14px;
}

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

    .about-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .team-member {
        padding: 20px 15px;
    }

    .team-member img {
        width: 100px;
        height: 100px;
    }

    .value-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .counter-item h2 {
        font-size: 2.5rem;
    }

    .testimonial-card {
        padding: 30px 20px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .about-card {
        padding: 20px 15px;
    }

    .value-card {
        padding: 25px 15px;
    }

    .counter-item h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 25px 15px;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

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

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

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

/* Dark Mode Support */
.b .about-card,
.b .team-member,
.b .value-card,
.b .testimonial-card {
    background: #2c3e50;
    border-color: #34495e;
}

.b .about-card h4,
.b .team-member h4,
.b .value-card h4,
.b .testimonial-author-info h5 {
    color: #ecf0f1;
}

.b .about-card p,
.b .team-member p,
.b .value-card p,
.b .testimonial-card p {
    color: #bdc3c7;
}

.b .counter-item h2 {
    color: #ecf0f1;
}

.b .counter-item p {
    color: #bdc3c7;
}

/* servcie category css */
.optech-portfolio-wrap {
    margin-bottom: 24px;
    text-align: center;
}
.optech-portfolio-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}
.optech-portfolio-thumb img {
    transition: all 0.4s;
}
.optech-portfolio-thumb:hover img {
    transform: scale(1.1);
}
.optech-portfolio-thumb:before {
    content: "";
    left: 0;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s;
    position: absolute;
    opacity: 1;
    background: linear-gradient(
        180deg,
        rgba(214, 50, 65, 0) 52.38%,
        #d63241 91.91%
    );
}
.optech-portfolio-thumb::after {
    content: "";
    left: 0;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s;
    position: absolute;
    opacity: 0;
    background: linear-gradient(180deg, rgba(214, 50, 65, 0) 0%, #d63241 100%);
}
.optech-portfolio-thumb:hover::after {
    opacity: 1;
}
.optech-portfolio-thumb:hover .optech-portfolio-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.optech-portfolio-data {
    bottom: 0;
    z-index: 2;
    padding: 28px 15px;
    width: 100%;
    position: absolute;
    transition: all 0.4s;
}
.optech-portfolio-data h4 {
    margin-bottom: 4px;
    color: var(--white-color);
}
.optech-portfolio-data p {
    color: var(--light-color2);
}
.optech-portfolio-btn {
    top: 50%;
    left: 50%;
    opacity: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    justify-content: center;
    transition: all 0.4s;
    position: absolute;
    z-index: 3;
    padding: 18px;
    overflow: hidden;
    font-size: 20px;
    transform: translate(-50%, -50%) scale(0);
    background-color: #888787;
    color: #fff;
}

/* services pages css */
/* Modal Overlay */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.service-modal {
    background: #ffffff;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(214, 50, 65, 0.2);
    border: 2px solid rgba(214, 50, 65, 0.1);
}

body.b .service-modal {
    background: #181c31;
}

.service-modal-overlay.active .service-modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(214, 50, 65, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #d63241;
    font-size: 20px;
}

.modal-close:hover {
    background: #d63241;
    color: #fff;
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-icon {
    width: 90px;
    height: 64px;
    background: linear-gradient(135deg, #d63241 0%, #b02635 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(214, 50, 65, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(214, 50, 65, 0);
    }
}

.modal-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    stroke-width: 2;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

body.b .modal-title {
    color: #ffffff;
}

.modal-subtitle {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

/* Form Group */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

body.b .form-label {
    color: #ffffff;
}

.form-label .required {
    color: #d63241;
    margin-left: 4px;
}

/* Custom Select */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    width: 100%;
    padding: 14px 48px 14px 16px;
    font-size: 15px;
    color: #1a1a1a;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    font-family: inherit;
}

body.b .custom-select {
    background: #181c31;
    color: #ffffff;
}

.custom-select:hover {
    border-color: rgba(214, 50, 65, 0.3);
    background: #fff;
}

.custom-select:focus {
    outline: none;
    border-color: #d63241;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(214, 50, 65, 0.1);
}

.custom-select.error {
    border-color: #d63241;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease;
    color: #d63241;
}

.custom-select:focus + .select-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Error Message */
.error-message {
    display: none;
    color: #d63241;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.error-message.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Continue Button */
.modal-continue-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #d63241 0%, #b02635 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.modal-continue-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.modal-continue-btn:hover::before {
    left: 100%;
}

.modal-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214, 50, 65, 0.4);
}

.modal-continue-btn:active {
    transform: translateY(0);
}

.modal-continue-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.modal-continue-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Help Text */
.help-text {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 576px) {
    .service-modal {
        padding: 32px 24px;
        margin: 20px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-icon {
        width: 56px;
        height: 56px;
    }

    .modal-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .service-modal {
        background: #1a1a1a;
        border-color: rgba(214, 50, 65, 0.3);
    }

    .modal-title {
        color: #ffffff;
    }

    .modal-subtitle {
        color: #a4a4a4;
    }

    .form-label {
        color: #ffffff;
    }

    .custom-select {
        background: #2a2a2a;
        border-color: #3a3a3a;
        color: #ffffff;
    }

    .custom-select:hover {
        background: #333;
        border-color: rgba(214, 50, 65, 0.5);
    }

    .custom-select:focus {
        background: #333;
    }
}

/* service deatils page */
/* CSS Variables for Theme */
.service-detail-wrapper {
    --primary-color: #d63241;
    --primary-dark: #b02635;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Dark Mode */
body.b .service-detail-wrapper {
    --bg-primary: #0a0a0a;
    --bg-secondary: #181c31;
    --text-primary: #ffffff;
    --text-secondary: #a4a4a4;
    --card-bg: #181c31;
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Main Wrapper */
.service-detail-wrapper {
    /* background: var(--bg-primary); */
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 80px;
}

.service-detail-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb-section {
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

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

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    color: var(--text-secondary);
}

/* Service Content */
.service-content {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease;
    border: 1px solid var(--card-border);
}

/* Main Image */
.main-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-image-wrapper:hover img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 40px 40px 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.main-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-overlay h1 {
    color: #ffffff;
    font-size: clamp(24px, 4vw, 36px);
    margin: 0;
    font-weight: 700;
}

/* Content Body */
.content-body {
    padding: 40px;
}

.service-header {
    margin-bottom: 32px;
}

.service-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Meta Info */
.meta-info {
    flex-wrap: wrap;
}

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

.meta-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(214, 50, 65, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.meta-content {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.meta-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Short Description */
.short-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Full Description */
.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.service-description h2,
.service-description h3,
.service-description h4 {
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-description p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.service-description li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.service-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeInRight 0.8s ease;
}

/* Related Services Card */
.related-services-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
    position: sticky;
    top: 170px;
}

.related-services-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--card-border);
}

.related-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
}

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

.related-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.related-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-primary);
}

.related-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.related-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-item-content a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item:hover .related-item-content a {
    color: var(--primary-color);
}

.related-item-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.related-item:hover .related-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-detail-container {
        grid-template-columns: 1fr 340px;
        gap: 32px;
    }

    .main-image-wrapper {
        height: 450px;
    }
}

@media (max-width: 991px) {
    .service-detail-wrapper {
        padding-top: 120px;
    }

    .service-detail-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sidebar {
        order: 2;
    }

    .related-services-card {
        position: static;
    }

    .main-image-wrapper {
        height: 400px;
    }

    .content-body {
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .service-detail-wrapper {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .service-detail-container {
        width: 95%;
        padding: 0 10px;
    }

    .main-image-wrapper {
        height: 300px;
    }

    .content-body {
        padding: 24px 20px;
    }

    .service-title {
        font-size: 24px;
    }

    .meta-info {
        gap: 16px;
    }

    .meta-item {
        flex: 1 1 100%;
    }

    .short-description {
        font-size: 16px;
        padding: 20px;
    }

    .related-services-card {
        padding: 24px 20px;
    }

    .related-item {
        padding: 12px;
    }

    .related-item-image {
        width: 70px;
        height: 70px;
    }

    .cta-card {
        padding: 28px 20px;
    }
}

@media (max-width: 479px) {
    .service-detail-wrapper {
        padding-top: 90px;
    }

    .main-image-wrapper {
        height: 250px;
    }

    .content-body {
        padding: 20px 16px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .related-item-image {
        width: 60px;
        height: 60px;
    }
}

/* Home Services Section Wrapper */
.services-section-wrapper {
    --primary-color: #d63241;
    --primary-dark: #b02635;
    --primary-light: rgba(214, 50, 65, 0.1);
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    padding: 80px 0;
    background: var(--bg-primary);
}

/* Dark Mode Support */
body.b .services-section-wrapper {
    --bg-primary: #181c31;
    --bg-secondary: #1c2136;
    --text-primary: #ffffff;
    --text-secondary: #a4a4a4;
    --card-bg: #1c2136;
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Section Title */
.services-section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    animation: fadeInUp 0.8s ease;
}

.services-section-title h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.services-section-title p {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Services Grid */
.services-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    animation: fadeInUp 1s ease;
}

/* Service Card */
.service-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 32px;
    border: 2px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

/* Hover Background Effect */
.service-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-light) 0%,
        transparent 100%
    );
    transition: top 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    top: 0;
}

/* Floating Effect on Hover */
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Icon Container */
.service-icon-container {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.service-card:hover .service-icon-container {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(214, 50, 65, 0.3);
}

.service-icon-container img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(0) saturate(100%) invert(23%) sepia(93%) saturate(2574%)
        hue-rotate(341deg) brightness(88%) contrast(90%);
}

.service-card:hover .service-icon-container img {
    filter: brightness(0) invert(1);
    transform: scale(1.15);
}

/* Card Content */
.service-card-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

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

.service-card-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex: 1;
    transition: color 0.3s ease;
}

/* Learn More Button */
.service-learn-more {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 12px 24px;
    background: var(--bg-secondary);
    border-radius: 50px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.service-card:hover .service-learn-more {
    background: var(--primary-color);
    color: #ffffff;
    padding-right: 32px;
}

.service-learn-more i {
    transition: transform 0.3s ease;
}

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

/* Badge (Optional - for featured services) */
.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Corner Decoration */
.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(
        circle at bottom right,
        var(--primary-light) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        gap: 28px;
    }

    .service-card {
        padding: 36px 28px;
    }
}

@media (max-width: 991px) {
    .services-section-wrapper {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .services-section-title {
        margin-bottom: 48px;
    }
}

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

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

    .services-grid-container {
        padding: 0 15px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-icon-container {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
    }

    .service-icon-container img {
        width: 40px;
        height: 40px;
    }

    .services-section-title {
        margin-bottom: 40px;
    }

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

@media (max-width: 479px) {
    .services-section-wrapper {
        padding: 40px 0;
    }

    .services-grid-container {
        padding: 0 10px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .service-icon-container {
        width: 65px;
        height: 65px;
    }

    .service-icon-container img {
        width: 35px;
        height: 35px;
    }
}

/* Loading Animation */
.service-card {
    animation: fadeInUp 0.6s ease both;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}
.service-card:nth-child(2) {
    animation-delay: 0.2s;
}
.service-card:nth-child(3) {
    animation-delay: 0.3s;
}
.service-card:nth-child(4) {
    animation-delay: 0.4s;
}
.service-card:nth-child(5) {
    animation-delay: 0.5s;
}
.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Blog Detail Wrapper */
.blog-detail-wrapper {
    --primary-color: #d63241;
    --primary-dark: #b02635;
    --primary-light: rgba(214, 50, 65, 0.1);
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    padding: 150px 0 80px;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Dark Mode */
body.b .blog-detail-wrapper {
    --bg-primary: #181c31;
    --bg-secondary: #1c2136;
    --text-primary: #ffffff;
    --text-secondary: #a4a4a4;
    --card-bg: #1c2136;
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}

/* Main Content */
.blog-main-content {
    animation: fadeInUp 0.8s ease;
}

/* Featured Image */
.blog-featured-image {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

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

.blog-featured-image:hover img {
    transform: scale(1.05);
}

.blog-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-featured-image:hover .blog-image-overlay {
    opacity: 1;
}

/* Blog Card */
.blog-content-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
}

/* Blog Title */
.blog-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 24px 0;
    margin-bottom: 32px;
    border-top: 2px solid var(--card-border);
    border-bottom: 2px solid var(--card-border);
}

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

.meta-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.meta-info {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.meta-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Blog Content */
.blog-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.blog-body p {
    margin-bottom: 24px;
}

.blog-body h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 48px 0 24px;
    line-height: 1.3;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 32px 0;
}

/* Image Grid */
.blog-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.blog-image-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0;
    transition: transform 0.3s ease;
}

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

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 32px 0;
    margin-top: 48px;
    border-top: 2px solid var(--card-border);
}

.share-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.pinterest {
    background: #e60023;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Sidebar */
.blog-sidebar {
    animation: fadeInRight 0.8s ease;
}

.sidebar-sticky {
    position: sticky;
    top: 170px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Related Posts Card */
.related-posts-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
}

.related-posts-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--card-border);
    position: relative;
}

.related-posts-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

/* Related Post Item */
.related-post-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.related-post-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.related-post-item:hover::before {
    transform: scaleY(1);
}

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

.related-post-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.related-post-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-primary);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.related-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-post-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-post-item:hover .related-post-content h5 {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* CTA Card */
.cta-sidebar-card {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    );
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-sidebar-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-sidebar-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.cta-icon svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
}

.cta-sidebar-card h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-sidebar-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-container {
        grid-template-columns: 1fr 340px;
        gap: 40px;
    }

    .blog-featured-image {
        height: 450px;
    }
}

@media (max-width: 991px) {
    .blog-detail-wrapper {
        padding: 120px 0 60px;
    }

    .blog-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .blog-sidebar {
        order: 2;
    }

    .sidebar-sticky {
        position: static;
    }

    .blog-featured-image {
        height: 400px;
    }

    .blog-content-card {
        padding: 40px 32px;
    }
}

@media (max-width: 767px) {
    .blog-detail-wrapper {
        padding: 100px 0 50px;
    }

    .blog-container {
        padding: 0 15px;
    }

    .blog-featured-image {
        height: 300px;
        border-radius: 20px;
    }

    .blog-content-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .blog-title {
        font-size: 24px;
    }

    .blog-meta {
        gap: 20px;
    }

    .blog-body {
        font-size: 16px;
    }

    .blog-image-grid {
        grid-template-columns: 1fr;
    }

    .blog-image-grid img {
        height: 250px;
    }

    .social-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-posts-card {
        padding: 24px 20px;
    }

    .related-post-image {
        width: 80px;
        height: 80px;
    }

    .related-post-content h5 {
        font-size: 15px;
    }
}

@media (max-width: 479px) {
    .blog-detail-wrapper {
        padding: 90px 0 40px;
    }

    .blog-featured-image {
        height: 250px;
    }

    .blog-content-card {
        padding: 24px 20px;
    }

    .related-post-item {
        padding: 16px;
    }

    .related-post-image {
        width: 70px;
        height: 70px;
    }
}

/* Team Section Wrapper */
.team-section-wrapper {
    --primary-color: #d63241;
    --primary-dark: #b02635;
    --primary-light: rgba(214, 50, 65, 0.1);
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    padding: 80px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

/* Dark Mode */
body.b .team-section-wrapper {
    --bg-primary: #181c31;
    --bg-secondary: #1c2136;
    --text-primary: #ffffff;
    --text-secondary: #a4a4a4;
    --card-bg: #1c2136;
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Background Shapes */
.team-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.team-bg-shapes img {
    position: absolute;
    opacity: 0.5;
}

/* Section Title */
.team-section-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.team-section-title h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.team-section-title p {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Team Grid Container */
.team-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

/* Team Card */
.team-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 2px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease both;
}

.team-card:nth-child(1) {
    animation-delay: 0.1s;
}
.team-card:nth-child(2) {
    animation-delay: 0.2s;
}
.team-card:nth-child(3) {
    animation-delay: 0.3s;
}
.team-card:nth-child(4) {
    animation-delay: 0.4s;
}
.team-card:nth-child(5) {
    animation-delay: 0.5s;
}
.team-card:nth-child(6) {
    animation-delay: 0.6s;
}
.team-card:nth-child(7) {
    animation-delay: 0.7s;
}
.team-card:nth-child(8) {
    animation-delay: 0.8s;
}

/* Background Effect on Hover */
.team-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-light) 0%,
        transparent 100%
    );
    transition: top 0.5s ease;
    z-index: 0;
}

.team-card:hover::before {
    top: 0;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Team Image Container */
.team-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    z-index: 1;
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: all 0.4s ease;
}

.team-card:hover .team-image-wrapper {
    border-color: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(214, 50, 65, 0.3);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Social Media Overlay */
/* .team-social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(214, 50, 65, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    z-index: 2;
  } */

.team-card:hover .team-social-overlay {
    opacity: 1;
    transform: scale(1);
}

.team-social-links {
    display: flex;
    gap: 16px;
}

.team-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
}

.team-card:hover .team-social-link {
    transform: translateY(0);
    opacity: 1;
}

.team-social-link:nth-child(1) {
    transition-delay: 0.1s;
}
.team-social-link:nth-child(2) {
    transition-delay: 0.2s;
}
.team-social-link:nth-child(3) {
    transition-delay: 0.3s;
}

.team-social-link:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

.team-social-link svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.team-social-link:hover svg {
    fill: var(--primary-color);
}

/* Team Info */
.team-info {
    position: relative;
    z-index: 1;
}

.team-name {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.team-card:hover .team-name {
    color: var(--primary-color);
}

.team-designation {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Decorative Elements */
.team-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(
        circle at bottom right,
        var(--primary-light) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .team-image-container {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 991px) {
    .team-section-wrapper {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .team-section-title {
        margin-bottom: 48px;
    }

    .team-image-container {
        width: 160px;
        height: 160px;
    }
}

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-grid-container {
        padding: 0 15px;
    }

    .team-card {
        padding: 24px 20px;
    }

    .team-image-container {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }

    .team-section-title {
        margin-bottom: 40px;
    }

    .team-social-link {
        width: 36px;
        height: 36px;
    }

    .team-social-link svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 479px) {
    .team-section-wrapper {
        padding: 40px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid-container {
        padding: 0 10px;
    }

    .team-card {
        padding: 28px 20px;
    }

    .team-image-container {
        width: 160px;
        height: 160px;
    }

    .team-social-links {
        gap: 12px;
    }
}
