* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: #000;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('/assets/images/hero-services.jpg');
    background-size: cover;
    background-position: center;
    animation: scale 20s infinite alternate;
}

@keyframes scale {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    color: white;
}

.hero-text {
    max-width: 800px;
}

.services-label {
    display: inline-block;
    color: wheat;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 61, 77, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.4s;
}

.cta-container {
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.6s;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.8s;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: rgb(255, 236, 128);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        text-align: center;
    }
}

/* services Section  */
.services-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image-container {
    flex: 1;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.service-content {
    flex: 1;
    padding: 3rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #fff0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    fill: var(--primary-color);
}

.service-name {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-description {
    color: #636e72;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.service-features li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column !important;
    }

    .service-image-container {
        min-height: 250px;
        width: 100%;
    }

    .service-content {
        padding: 2rem;
    }
}
/* Speacialization Section */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem;
    margin-top: -133px;

}

h1 {
    text-align: center;
    color: #8b0000;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    position: relative;
}

.spec-item {
    width: 222px;
    height: 200px;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

.spec-item:nth-child(2) { animation-delay: 0.2s; }
.spec-item:nth-child(3) { animation-delay: 0.4s; }
.spec-item:nth-child(4) { animation-delay: 0.6s; }
.spec-item:nth-child(5) { animation-delay: 0.8s; }
.spec-item:nth-child(6) { animation-delay: 1s; }

.spec-circle {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(139, 0, 0, 0.2);
    border-radius: 50%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.spec-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.spec-title {
    font-size: 1.1rem;
    color: #2d3436;
    text-align: center;
    transition: all 0.3s ease;
    padding: 0 15px;
    font-weight: 500;
}

.spec-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 280px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    border: 2px solid rgba(139, 0, 0, 0.1);
}

.spec-content h3 {
    color: #8b0000;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 500;
}

.spec-content p {
    color: #2d3436;
    font-size: 1rem;
    line-height: 1.6;
}

.spec-item:hover .spec-circle {
    transform: scale(1.1);
    border-color: #ff3d4d;
    background: white;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.15);
}

.spec-item.active .spec-circle {
    transform: scale(1.15);
    border-color: #8b0000;
    background: white;
}

.spec-item.active .spec-content {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.connecting-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0;
    border: 2px solid rgba(255, 61, 77, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .spec-item {
        width: 160px;
        height: 160px;
    }
    
    .spec-content {
        width: 240px;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Testimonoal Section */
 
.testimonial-section {
    padding: clamp(30px, 5vw, 60px) clamp(15px, 3vw, 30px);
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.background-building {
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(100px, 35%, 400px);
    height: 100%;
    background-image: url('/assets/images/Testimonial-image.jpg');
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    opacity: 0.9;
}

.background-building::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 
}

.container-testimonial {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(20px, 4vw, 40px);
    z-index: 1;
    align-items: start;
}

.testimonial-title {
    background: linear-gradient(135deg, #8b0000, #ff3d4d);
    width: clamp(100px, 15vw, 170px);
    height: clamp(100px, 15vw, 150px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: sticky;
    top: 20px;
}

.testimonial-title:hover {
    transform: scale(1.05);
}

.testimonial-title h2 {
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.testimonial-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.testimonial-card {
    background: white;
    padding: clamp(15px, 3vw, 25px);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    color: #2d3436;
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ff3d4d;
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8b0000, #ff3d4d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .testimonial-cards {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    }
}

@media (max-width: 768px) {
    .container-testimonial {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-title {
        margin: 0 auto;
        position: relative;
        width: 120px;
        height: 120px;
    }

    .background-building {
        width: 100%;
        height: 25%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    }

    .testimonial-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .testimonial-section {
        padding: 20px 15px;
    }

    .testimonial-title {
        width: 116px;
        height: 100px;
    }

    .testimonial-text {
        padding-left: 15px;
        font-size: 0.875rem;
    }

    .testimonial-card {
        padding: 15px;
    }
}
 
@media (hover: none) {
    .testimonial-card::after {
        transform: scaleX(1);
        opacity: 0.5;
    }

    .testimonial-card:active {
        transform: translateY(-3px);
    }
}