/* Page Hero Section */
.page-hero {
    position: relative;
    background: linear-gradient(to left, rgba(27, 59, 140, 0.05), rgba(27, 59, 140, 0.1));
    padding: 80px 0;
    overflow: hidden;
}

.page-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: right;
}

.hero-content h1 {
    font-size: 3rem;
    color: #1B3B8C;
    margin-bottom: 25px;
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FF4081, #1B3B8C);
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
}

.breadcrumb a {
    color: #1B3B8C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #FF4081;
}

.breadcrumb .separator {
    color: #666;
    margin: 0 5px;
}

.breadcrumb .current {
    color: #FF4081;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231b3b8c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1B3B8C;
    margin-bottom: 20px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #1B3B8C, #FF4081);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-text {
    text-align: right;
}

.service-text h3 {
    font-size: 2rem;
    color: #1B3B8C;
    margin-bottom: 20px;
    position: relative;
}

.service-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #FF4081, #1B3B8C);
    border-radius: 2px;
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.service-illustration {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.service-illustration img {
    width: 300px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .service-item {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .service-illustration img {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-text {
        text-align: center;
        order: 1;
    }

    .service-text h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .service-illustration {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
        padding: 10px;
    }

    .service-illustration img {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .services-overview {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-text h3 {
        font-size: 1.8rem;
    }

    .service-text p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .service-illustration {
        max-width: 300px;
    }

    .service-illustration img {
        width: 150px;
    }
}

.sperm-freezing {
    position: relative;
    margin-top: 100px;
}

.sperm-freezing h4 {
    color: #666;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.freezing-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-section {
    background: rgba(27, 59, 140, 0.02);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
}

.info-section h5 {
    color: #1B3B8C;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-right: 20px;
}

.info-section h5::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #FF4081;
    border-radius: 50%;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #2c3e50;
}

.info-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: #FF4081;
    border-radius: 50%;
    opacity: 0.7;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.service-illustration.right-aligned {
    position: absolute;
    top: -20px;
    right: -100px;
    width: 400px;
    height: 400px;
    z-index: -1;
    opacity: 0.1;
}

.service-illustration.right-aligned img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scaleX(-1);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .service-illustration.right-aligned {
        width: 300px;
        height: 300px;
        top: -15px;
        right: -80px;
    }
}

@media (max-width: 992px) {
    .sperm-freezing {
        margin-top: 60px;
    }

    .service-illustration.right-aligned {
        position: relative;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        margin: 0 auto 30px;
        opacity: 0.15;
    }

    .info-section {
        padding: 20px;
    }

    .info-section h5 {
        font-size: 1.2rem;
    }

    .info-list li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .sperm-freezing h4 {
        font-size: 1.2rem;
    }

    .freezing-info {
        gap: 30px;
    }

    .info-section {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .service-illustration.right-aligned {
        width: 150px;
        height: 150px;
    }

    .info-section h5 {
        font-size: 1.1rem;
    }
}

.biopsy-sections {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 100px;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.biopsy-section {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.biopsy-section.section-header {
    grid-column: 1 / -1;
    margin-bottom: 40px;
}

.biopsy-section.section-header h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.biopsy-section.section-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #1B3B8C;
}

.biopsy-section h3 {
    color: #1B3B8C;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: right;
    font-weight: 600;
}

.biopsy-section p {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: right;
    margin-bottom: 20px;
    opacity: 0.9;
    position: relative;
    padding-right: 20px;
}

.biopsy-section p::before {
    content: '•';
    position: absolute;
    right: 0;
    top: 2px;
    color: #1B3B8C;
    opacity: 0.7;
    font-size: 1.2rem;
}

.biopsy-section.section-header p {
    padding-right: 0;
}

.biopsy-section.section-header p::before {
    display: none;
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.results-list li {
    position: relative;
    padding-right: 20px;
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: right;
    opacity: 0.9;
}

.results-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    top: 2px;
    color: #1B3B8C;
    opacity: 0.7;
    font-size: 1.2rem;
}

/* Add styles for the bullet points in regular paragraphs */
.biopsy-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.biopsy-section ul li {
    position: relative;
    padding-right: 20px;
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: right;
    opacity: 0.9;
}

.biopsy-section ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    top: 2px;
    color: #1B3B8C;
    opacity: 0.7;
    font-size: 1.2rem;
}

@media (max-width: 1200px) {
    .biopsy-sections {
        gap: 50px 80px;
        padding: 0 40px;
        max-width: 1000px;
    }

    .biopsy-section.section-header {
        margin-bottom: 30px;
    }
}

@media (max-width: 992px) {
    .biopsy-sections {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
        max-width: 800px;
    }

    .biopsy-section.section-header {
        margin-bottom: 20px;
    }

    .biopsy-section.section-header h3 {
        font-size: 1.6rem;
    }

    .biopsy-section h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .biopsy-sections {
        margin-top: 60px;
        padding: 0 20px;
        gap: 30px;
    }

    .biopsy-section.section-header h3 {
        font-size: 1.5rem;
    }

    .biopsy-section h3 {
        font-size: 1.3rem;
    }

    .biopsy-section p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .biopsy-section p::before {
        top: 1px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .biopsy-sections {
        padding: 0 15px;
        gap: 25px;
    }
}

.male-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: right;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #1B3B8C;
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #FF4081, #1B3B8C);
    border-radius: 2px;
}

.service-card p {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

.services-view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(45deg, #1B3B8C, #2850b5);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(27, 59, 140, 0.2);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 59, 140, 0.3);
    background: linear-gradient(45deg, #2850b5, #1B3B8C);
}

.services-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #fff);
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-section .section-header h2 {
    color: #1B3B8C;
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.services-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #1B3B8C, #FF4081);
    border-radius: 2px;
}

@media (max-width: 1200px) {
    .male-services-grid {
        gap: 25px;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .male-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-section .section-header h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 25px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .view-all-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .male-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .service-card {
        padding: 20px;
    }
}

.detailed-services {
    padding: 80px 0;
    background: #fff;
}

.detailed-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-detail {
    margin-bottom: 100px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-header {
    background: linear-gradient(45deg, #1B3B8C, #2850b5);
    padding: 30px;
    text-align: right;
}

.service-header h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 40px;
    align-items: start;
}

.service-text {
    order: 2;
}

.service-image {
    order: 1;
}

.service-text h3 {
    color: #1B3B8C;
    font-size: 1.4rem;
    margin: 0 0 20px;
    position: relative;
    padding-right: 20px;
}

.service-text h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #1B3B8C;
    border-radius: 50%;
}

.service-text p {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: right;
}

.service-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.service-text ul li {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-right: 25px;
    position: relative;
    text-align: right;
}

.service-text ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #1B3B8C;
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.8;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-text, .service-image {
        order: 0;
    }

    .service-header h2 {
        font-size: 1.8rem;
    }

    .service-text h3 {
        font-size: 1.3rem;
    }

    .service-text p, 
    .service-text ul li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .detailed-services {
        padding: 60px 0;
    }

    .service-detail {
        margin-bottom: 60px;
    }

    .service-header {
        padding: 25px;
    }

    .service-content {
        padding: 30px;
    }

    .service-header h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .service-header h2 {
        font-size: 1.4rem;
    }

    .service-content {
        padding: 20px;
    }
}