/* Hero Section Styles */
.hero-section {
    min-height: 85vh;
    background: url('../images/hero-bg.png') no-repeat 70% center;
    background-size: cover;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.85) 40%,
        rgba(255, 255, 255, 0.95) 100%
    );
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 45%;
    margin-left: 80px;
    padding: 60px 0;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 35px;
    line-height: 1.3;
    color: #1B3B8C;
    text-align: right;
    position: relative;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FF4081, #1B3B8C);
    border-radius: 2px;
}

.hero-section p {
    font-size: 1.25rem;
    line-height: 2;
    color: #2c3e50;
    margin-bottom: 0;
    text-align: justify;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.decorative-line {
    position: absolute;
    right: calc(100% - 50px);
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='150' viewBox='0 0 300 150' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,75 C100,25 200,125 300,75' stroke='rgba(255,255,255,0.8)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Decorative elements */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    background-color: #1b3b8c;
    height: 45px;
    opacity: 3.5;
    
}

/* Statistics Section Styles */
.statistics-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    position: relative;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom right, transparent 49%, #f8f9fa 50%);
}

.stats-grid {
    margin-top: -80px;
}

.stat-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Services Preview Section */
.services-preview {
    padding: 80px 0;
    background-color: #fff;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.services-preview h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #FF4081, #1B3B8C);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Video Section Styles */
.video-section {
    padding: 80px 0;
    background: linear-gradient(rgba(27, 59, 140, 0.9), rgba(27, 59, 140, 0.9)), url('../images/video-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #FF4081, #1B3B8C);
}

.video-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.video-info {
    padding: 20px;
    text-align: right;
}

.video-info p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.9;
}

.video-info .doctor-name {
    color: #FF4081;
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Video Gallery Styles */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-thumbnail {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: translateY(-5px);
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .hero-section .container {
        max-width: 50%;
        margin-left: 60px;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 1200px) {
    .hero-section .container {
        max-width: 55%;
        margin-left: 40px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        background-position: 80% center;
        min-height: 75vh;
    }

    .hero-section::before {
        background: linear-gradient(to left,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(255, 255, 255, 0.9) 100%
        );
    }

    .hero-section .container {
        max-width: 70%;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .hero-section h1 {
        font-size: 2.4rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-section h1::after {
        right: 50%;
        transform: translateX(50%);
    }

    .hero-section p {
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .decorative-line {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-container {
        margin: 0 auto;
        max-width: 800px;
    }

    .video-info {
        max-width: 800px;
        margin: 0 auto;
    }

    .video-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        background-position: 85% center;
    }

    .hero-section .container {
        max-width: 85%;
        padding: 30px 15px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .hero-section p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-image img {
        max-width: 90%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 12px 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    .video-info p {
        font-size: 1rem;
    }

    .video-info .doctor-name {
        font-size: 1.2rem;
    }

    .video-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-thumbnail img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 65vh;
    }

    .hero-section .container {
        max-width: 95%;
        padding: 25px 15px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .video-info p {
        font-size: 1rem;
    }

    .video-info .doctor-name {
        font-size: 1.2rem;
    }

    .hero-shape {
        height: 80px;
    }

    .video-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
        padding-top: 20px;
    }

    .video-thumbnail img {
        height: 200px;
    }
}

/* Services Section Styles */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.services-section .section-title {
    text-align: center;
    color: #1B3B8C;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.services-section .section-title::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;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-box h3 {
    color: #1B3B8C;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.service-divider {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.service-divider span {
    width: 8px;
    height: 8px;
    background: #1B3B8C;
    border-radius: 50%;
    opacity: 0.3;
}

.service-divider span:nth-child(odd) {
    background: #FF4081;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: start;
}

.services-list li {
    margin-bottom: 15px;
    padding-inline-end: 25px;
    position: relative;
    font-size: 1.1rem;
    color: #2c3e50;
}

.services-list li::before {
    content: '•';
    inset-inline-end: 0;
    color: #FF4081;
    font-size: 1.5rem;
    line-height: 1;
}

.services-list ul {
    list-style: none;
    padding-inline-start: 20px;
    margin: 10px 0;
}

.services-list ul li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #666;
}

.services-list ul li::before {
    content: '-';
    color: #1B3B8C;
}

.service-illustration {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 250px;
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-box:hover .service-illustration {
    opacity: 0.25;
}

.service-illustration img {
    width: 100%;
    height: auto;
    filter: contrast(1.2) brightness(0.9);
}

/* Specific styles for male and female services */
.male-services .service-illustration {
    transform: rotate(-5deg) scale(1.1);
}

.female-services .service-illustration {
    transform: rotate(5deg) scale(1.1);
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: linear-gradient(to right, #1B3B8C, #FF4081);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    transform: translateY(-2px);
}

/* Responsive styles for services section */
@media (max-width: 1200px) {
    .services-cards {
        gap: 30px;
    }

    .service-box {
        padding: 30px;
    }

    .service-box h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .services-cards {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .service-illustration {
        width: 200px;
        bottom: -15px;
        left: -15px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-section .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .service-box {
        padding: 25px;
    }

    .service-box h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .services-list li {
        font-size: 1rem;
    }

    .services-list ul li {
        font-size: 0.95rem;
    }

    .service-illustration {
        width: 180px;
        opacity: 0.12;
    }
    
    .service-box:hover .service-illustration {
        opacity: 0.2;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 40px 0;
    }

    .service-box {
        padding: 20px;
    }

    .service-illustration {
        width: 150px;
        bottom: -10px;
        left: -10px;
    }
}

/* Process Section Styles */
.process-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1B3B8C;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 59, 140, 0.4);
    z-index: 2;
}

.process-section .container {
    position: relative;
    z-index: 3;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 60px 0;
}

.process-item {
    text-align: center;
    color: #fff;
}

.process-item.main {
    transform: scale(1.2);
}

.process-icon {
    position: relative;
    margin-bottom: 20px;
}

.icon-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.process-item.main .icon-wrapper {
    width: 180px;
    height: 180px;
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.dot-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    z-index: 1;
}

.dot-pattern.large {
    grid-template-columns: repeat(4, 1fr);
}

.dot-pattern span {
    width: 8px;
    height: 8px;
    background: #FF4081;
    border-radius: 50%;
    opacity: 0.3;
}

.dot-pattern span:nth-child(even) {
    background: #fff;
}

.process-arrow {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.process-arrow:hover {
    opacity: 1;
}

.process-item h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for process section */
@media (max-width: 992px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .process-item.main {
        transform: scale(1.1);
    }

    .icon-wrapper {
        width: 130px;
        height: 130px;
    }

    .process-item.main .icon-wrapper {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .process-section {
        min-height: auto;
        padding: 80px 0;
    }

    .icon-wrapper {
        width: 120px;
        height: 120px;
    }

    .process-item.main .icon-wrapper {
        width: 140px;
        height: 140px;
    }

    .process-item h3 {
        font-size: 1.3rem;
    }

    .dot-pattern span {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 576px) {
    .process-section {
        padding: 60px 0;
    }

    .process-steps {
        gap: 30px;
    }

    .icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .process-item.main .icon-wrapper {
        width: 120px;
        height: 120px;
    }

    .process-item h3 {
        font-size: 1.1rem;
    }
}

.process-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    z-index: 3;
    opacity: 0.7;
    pointer-events: none;
}

.process-decoration img {
    width: 100%;
    height: auto;
    display: block;
}

.decoration-leaves {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 120px;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.5;
}

.decoration-leaves img {
    width: 100%;
    height: auto;
}

/* Update responsive styles for process section */
@media (max-width: 992px) {
    .process-decoration {
        width: 250px;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .process-decoration {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .process-decoration {
        width: 150px;
    }
}

/* Floating Buttons Container */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.floating-cta.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #FF4081, #1B3B8C);
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 64, 129, 0.4);
    animation: none;
    color: #fff !important;
    text-decoration: none;
}

.cta-button i {
    font-size: 1.3rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 64, 129, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
    }
}

/* Media Queries for Floating CTA */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        left: 20px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .floating-cta {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .cta-button {
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
}