/* Home Page Specific Styles */

/* Hero Section - Home Page */
.hero-section.home-hero {
    background: linear-gradient(135deg, #1a237e 0%, #2c3e50 50%, #2c3e50 100%);
    color: white;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(41, 128, 185, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(142, 68, 173, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff 0%, #4fc3f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 .highlight {
    background: linear-gradient(to right, #ffd700 0%, #ffeb3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-content .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
    border: none;
    color: #1a237e;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.hero-cta .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.hero-cta .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.6s ease;
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.hero-image:hover img {
    transform: rotateY(0) rotateX(0);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: #4fc3f7;
    font-size: 1.2rem;
}

.floating-badge span {
    font-weight: 600;
    color: #1a237e;
    font-size: 0.9rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Trust Badges */
.trust-section {
    background: white;
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 2.5rem;
    color: #4fc3f7;
    background: linear-gradient(135deg, #4fc3f7 0%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-item span {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    max-width: 120px;
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    color: #4fc3f7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4fc3f7, #2196f3);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon.bg-primary {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.service-icon.bg-success {
    background: linear-gradient(135deg, #00c853 0%, #64dd17 100%);
}

.service-icon.bg-warning {
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
}

.service-icon.bg-info {
    background: linear-gradient(135deg, #4fc3f7 0%, #2196f3 100%);
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.service-link {
    color: #2196f3;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    justify-content: center;
}

.service-link:hover {
    color: #1a237e;
    gap: 12px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.features-content {
    padding-right: 40px;
}

.features-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-item h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 8px;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.features-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.features-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.features-image:hover img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 300px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:first-child {
    opacity: 1;
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 4rem;
    color: #4fc3f7;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e3f2fd;
}

.testimonial-author h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a237e;
    margin: 0 0 5px 0;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(79, 195, 247, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-buttons .btn-light {
    background: white;
    color: #1a237e;
    border: none;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-section.home-hero {
        padding: 150px 0 80px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section.home-hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .floating-badge {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
    }

    .floating-badge span {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 25px;
    }

    .service-card {
        padding: 30px 20px;
    }
}

/* Animation Delays */
[data-aos-delay="100"] {
    transition-delay: 100ms;
}

[data-aos-delay="200"] {
    transition-delay: 200ms;
}

[data-aos-delay="300"] {
    transition-delay: 300ms;
}

[data-aos-delay="400"] {
    transition-delay: 400ms;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aos-animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-image img,
    .features-image img {
        transform: none !important;
    }

    .floating-badge {
        animation: none;
    }
}