/* ============================================
   LANDING PAGE ENHANCEMENTS
   About Us, Why Choose Us, Projects, Reviews
   Updated Color Theme: Modern Blue & Orange
============================================ */

/* Color Variables */
:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --secondary-orange: #f97316;
    --secondary-orange-dark: #ea580c;
    --accent-teal: #0d9488;
    --accent-purple: #7c3aed;
    --neutral-gray: #64748b;
    --neutral-light: #f8fafc;
    --neutral-dark: #1e293b;
    --success-green: #059669;
    --warning-amber: #d97706;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-orange) 0%, var(--warning-amber) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-blue) 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Section Headers */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-light);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--neutral-dark);
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--neutral-gray);
    margin-bottom: 0;
}

/* About Us Section */
.about-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--neutral-light) 0%, #e2e8f0 100%);
}

.about-content {
    padding-right: 30px;
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--neutral-gray);
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.learn-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: white;
    background: var(--gradient-accent);
}

.learn-more-btn i {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-badge .text {
    font-size: 12px;
    color: var(--neutral-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--neutral-light) 100%);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-blue);
}

.why-choose-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.why-choose-card:hover .card-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--gradient-secondary);
}

.why-choose-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 15px;
}

.why-choose-card p {
    font-size: 16px;
    color: var(--neutral-gray);
    line-height: 1.6;
    margin: 0;
}

/* Our Work/Projects Section */
.our-work-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--neutral-light) 0%, #f1f5f9 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: white;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 41, 59, 0.9));
    padding: 40px 30px 30px;
    color: white;
}

.project-info h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Client Reviews Section */
.client-reviews-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.client-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.client-reviews-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.client-reviews-section .section-title {
    color: white;
    -webkit-text-fill-color: white;
}

.client-reviews-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.review-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.review-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.review-rating i {
    color: var(--secondary-orange);
    font-size: 18px;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-dark);
    margin-bottom: 25px;
    font-style: italic;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.reviewer-details h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 4px;
}

.reviewer-details span {
    font-size: 14px;
    color: var(--neutral-gray);
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--neutral-light);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--neutral-gray);
}

.google-badge i {
    color: #4285f4;
    font-size: 14px;
}

.google-reviews-link {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.google-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.google-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-blue);
    background: var(--neutral-light);
}

.google-link-btn i.fab {
    color: #4285f4;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Tablets */
@media (max-width: 992px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-stats {
        justify-content: center;
        gap: 30px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-us-section,
    .why-choose-us-section,
    .our-work-section,
    .client-reviews-section {
        padding: 60px 0;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-choose-card {
        padding: 30px 25px;
    }

    .why-choose-card .card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-image {
        height: 250px;
    }

    .reviews-grid {
        gap: 20px;
    }

    .review-card {
        padding: 30px 25px;
    }

    .about-image {
        margin-top: 30px;
    }

    .about-image img {
        height: 300px;
    }

    .experience-badge {
        bottom: 20px;
        left: 20px;
        padding: 20px;
    }

    .experience-badge .years {
        font-size: 24px;
    }

    .about-us-section,
    .why-choose-us-section,
    .our-work-section,
    .client-reviews-section {
        padding: 40px 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-description {
        font-size: 16px;
    }

    .why-choose-card h4 {
        font-size: 18px;
    }

    .why-choose-card p {
        font-size: 14px;
    }

    .project-info h5 {
        font-size: 18px;
    }

    .review-text {
        font-size: 14px;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .reviewer-details h6 {
        font-size: 14px;
    }

    .reviewer-details span {
        font-size: 12px;
    }

    .learn-more-btn,
    .google-link-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--neutral-dark) 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(37,99,235,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    min-width: 180px;
    justify-content: center;
}

.cta-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: white;
    background: var(--gradient-secondary);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: scale(1.1);
}

/* CTA Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-text h2 {
        font-size: 32px;
    }

    .cta-text p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-btn {
        padding: 16px 32px;
        font-size: 14px;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .cta-text h2 {
        font-size: 28px;
    }

    .cta-text p {
        font-size: 14px;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 13px;
        min-width: 140px;
    }
}
/* ============================================
   ANIMATIONS & EFFECTS
============================================ */

/* Fade in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Gradient text animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg, var(--primary-blue), var(--accent-teal), var(--secondary-orange), var(--accent-purple));
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading animation for images */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Parallax effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Intersection Observer Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Button hover effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-hover-effect:hover::before {
    left: 0;
}

/* Glowing effect */
.glow-on-hover {
    position: relative;
}

.glow-on-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.glow-on-hover:hover::after {
    opacity: 0.7;
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-blue);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-blue); }
}