/* Enhanced Home Page Styles */

/* Hero Section Enhanced */
.hero-enhanced {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('../images/hero image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.35) 0%, rgba(17, 24, 39, 0.55) 100%);
    z-index: 0;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-enhanced .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
}

.hero-text {
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    min-width: 280px;
    transition: all 0.3s ease;
}

.btn-large span {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.btn-large small {
    font-size: 1rem;
    opacity: 1;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}


/* Enhanced Services */
.services-enhanced {
    background: white;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

/* Service Cards with Images */
.service-card-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-image {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    border-radius: 20px 20px 0 0;
    display: block;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.service-card-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.service-icon-wrapper .service-icon {
    font-size: 2.5rem;
}

.service-card-enhanced h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

/* Why Choose Enhanced */
.why-choose-enhanced {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    background: white;
}

/* Two Image Gallery Section */
.two-image-gallery-section {
    background: var(--bg-light);
    padding: 2rem 0;
}

.two-image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    flex: 1;
    max-width: 240px;
}

.gallery-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-portrait-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 1024/1350;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 8px;
}

/* Three Image Gallery Styles */
.three-image-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.three-image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.three-image-gallery .gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.three-image-gallery .gallery-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.three-image-gallery .gallery-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 12px;
}

/* Image Gallery Styles */
.image-gallery-container {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 1.5rem;
}

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

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 12px;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: scale(1.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.process-step h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.testimonials-section .section-title h2,
.testimonials-section .section-label {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.author-name {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.cta-card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.cta-card h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 100%;
}

.cta-card .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    width: auto;
    min-width: 200px;
}

.cta-card-job {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.cta-card-job:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e0efff 100%);
}

.cta-card-study {
    background: linear-gradient(135deg, #ffffff 0%, #fff7f0 100%);
}

.cta-card-study:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffefe0 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-enhanced {
        min-height: auto;
    }
    
    .hero-enhanced .hero-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        word-wrap: break-word;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .service-card-image {
        height: 220px;
        object-position: center;
        width: 100%;
        max-width: 100%;
    }
    
    .process-steps {
        flex-direction: column;
        width: 100%;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .service-card-image {
        height: 220px;
        object-fit: contain;
        object-position: center;
        width: 100%;
        max-width: 100%;
    }
    
    .section-image-top img {
        height: auto !important;
        max-height: 300px;
        object-fit: contain;
        width: 100%;
        max-width: 100%;
    }
    
    .three-image-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .three-image-gallery .gallery-image-wrapper {
        padding: 0.75rem;
    }
    
    .three-image-gallery .gallery-image {
        max-height: 400px;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .gallery-item {
        min-height: 300px;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .two-image-gallery {
        flex-direction: column;
        gap: 1.2rem;
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .gallery-image-wrapper {
        padding: 0.6rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-enhanced {
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-enhanced .hero-content {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
    }
    
    .cta-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-card-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-card .btn {
        width: 100%;
        min-width: auto;
    }
    
    .cta-buttons {
        width: 100%;
        max-width: 100%;
    }
    
    .btn-large {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 1.25rem 2rem;
        min-width: auto;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 3px 10px rgba(0, 0, 0, 0.25);
    }
    
    .btn-large span {
        font-size: 1.2rem;
    }
    
    .btn-large small {
        font-size: 0.9rem;
    }
    
    .services-grid {
        width: 100%;
        max-width: 100%;
    }
    
    .service-card-enhanced {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
    }
    
    .two-image-gallery {
        gap: 1rem;
        padding: 0 0.75rem;
    }
    
    .gallery-image-wrapper {
        padding: 0.5rem;
    }
}

