/* ========================================================================================
 * Initial Consulting & Services - Corporate Modern Design
 * Version: 2.0
 * Description: Modern corporate design system for accounting firm
 * ======================================================================================== */

/* ===================================
   MODERN DESIGN SYSTEM VARIABLES
   =================================== */

:root {
    /* Primary Colors - Corporate */
    --primary-orange: #304dceff;
    --primary-dark: #0C1524;
    --primary-navy: #1E293B;
    
    /* Orange Palette */
    --orange-50: #FFF4F0;
    --orange-100: #FFE5DC;
    --orange-500: #304dceff;
    --orange-600: #FF6B3D;
    --orange-700: #E55A35;
    
    /* Neutral Palette */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Typography */
    --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-padding: clamp(1rem, 5vw, 2rem);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   ENHANCED HEADER - CORPORATE
   =================================== */

.main-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.navbar-brand img {
    transition: var(--transition-base);
    max-height: 90px;
    width: auto;
}

.main-header.scrolled .navbar-brand img {
    transform: scale(0.95);
    max-height: 80px;
}

/* Navigation Links */
.nav-link {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--gray-700) !important;
    position: relative;
    transition: var(--transition-base);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary-orange);
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange) !important;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* CTA Button */
.btn-default {
    padding: 0.875rem 2rem !important;
    /* background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-dark) 100%) !important; */
    color: var(--white) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255, 129, 89, 0.3) !important;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-default::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-default:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 129, 89, 0.4) !important;
    color: var(--white) !important;
}

.btn-default:hover::before {
    left: 100%;
}

.btn-highlighted {
    background: transparent !important;
    border: 2px solid var(--primary-orange) !important;
    color: var(--primary-orange) !important;
    box-shadow: none !important;
}

.btn-highlighted:hover {
    background: var(--primary-orange) !important;
    color: var(--white) !important;
}

/* ===================================
   HERO SECTION - MODERN
   =================================== */

.hero {
    min-height: 90vh !important;
    background: linear-gradient(135deg, rgba(255, 129, 89, 0.05) 0%, rgba(12, 21, 36, 0.02) 100%) !important;
    position: relative;
    overflow: hidden;
    padding-top: 120px !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 129, 89, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, -50px) rotate(180deg); }
}

.hero-content h1 {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    color: var(--primary-dark) !important;
}

.hero-content h3 {
    font-family: var(--font-body) !important;
    font-size: clamp(1.125rem, 2vw, 1.5rem) !important;
    font-weight: 400 !important;
    color: var(--gray-700) !important;
    line-height: 1.6 !important;
}

.hero-content-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image figure {
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===================================
   STATISTICS SECTION
   =================================== */

.statistics-section {
    padding: 4rem 0 !important;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%) !important;
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.03) 35px, rgba(255, 255, 255, 0.03) 37px);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: var(--transition-smooth);
}

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

.stat-icon {
    font-size: 3rem !important;
    color: var(--primary-orange) !important;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-heading) !important;
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem !important;
    color: var(--primary-orange) !important;
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1rem !important;
    color: var(--gray-300) !important;
    margin: 0;
}

/* ===================================
   SECTION HEADERS - MODERN
   =================================== */

.section-title h3 {
    display: inline-block !important;
    padding: 0.5rem 1.25rem !important;
    background: linear-gradient(135deg, rgba(255, 129, 89, 0.1) 0%, rgba(255, 129, 89, 0.05) 100%) !important;
    color: var(--primary-orange) !important;
    border-radius: 50px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 1rem !important;
}

.section-title h2 {
    font-family: var(--font-heading) !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
    line-height: 1.2 !important;
}

/* ===================================
   SERVICES SECTION - MODERN CARDS
   =================================== */

.service-item {
    background: var(--white) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-200) !important;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--orange-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 10;
}

.service-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-xl) !important;
    border-color: var(--primary-orange) !important;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

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

.service-content h3 {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--primary-dark) !important;
    margin-bottom: 1rem;
}

.service-content h6 {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: var(--gray-600) !important;
    line-height: 1.6;
}

.service-readmore-btn {
    margin-top: auto;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 129, 89, 0.1) 0%, rgba(255, 129, 89, 0.05) 100%);
    color: var(--primary-orange);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--white) !important;
    border-radius: var(--radius-xl) !important;
    padding: 3rem !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--gray-200) !important;
    transition: var(--transition-smooth);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-2xl) !important;
    border-color: var(--primary-orange) !important;
}

/* Quote Icon */
.quote-icon {
    margin-bottom: 1.5rem;
}

.quote-icon svg {
    width: 48px;
    height: 48px;
}

/* Testimonial Content */
.testimonial-content {
    flex: 1;
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    font-style: italic;
    margin: 0;
}

/* Author Info */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-orange);
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 0.25rem 0;
}

.author-position {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* Rating */
.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #FFB800;
    font-size: 1rem;
}

/* Swiper Customization */
.testimonials-swiper {
    padding: 2rem 0 4rem;
}

.swiper-button-prev,
.swiper-button-next {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

.swiper-button-prev:hover:after,
.swiper-button-next:hover:after {
    color: var(--white);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gray-300);
    opacity: 1;
    transition: var(--transition-base);
}

.swiper-pagination-bullet-active {
    background: var(--primary-orange);
    width: 32px;
    border-radius: 6px;
}

/* ===================================
   WHY CHOOSE US - ENHANCED
   =================================== */

.why-choose-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-smooth);
    height: 100%;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.why-choose-item .icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 129, 89, 0.1) 0%, rgba(255, 129, 89, 0.05) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.why-choose-item .icon-box img {
    width: 40px;
    height: 40px;
}

.why-choose-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.why-choose-body p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */

.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem !important;
    background: #25D366 !important;
    color: white !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    text-decoration: none !important;
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6) !important;
    color: white !important;
    text-decoration: none !important;
}

.whatsapp-float i {
    font-size: 1.75rem;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ===================================
   CTA BOX - ENHANCED
   =================================== */

.cta-box {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-dark) 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 !important;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.cta-box .section-title h2 {
    color: var(--white) !important;
}

.cta-box .btn-highlighted {
    background: var(--white) !important;
    color: var(--primary-orange) !important;
    border-color: var(--white) !important;
}

.cta-box .btn-highlighted:hover {
    background: transparent !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
}

/* ===================================
   FOOTER - MODERN
   =================================== */

.main-footer {
    background: var(--primary-dark);
    color: var(--gray-300);
}

.footer-title h2 {
    color: var(--white);
    font-family: var(--font-heading);
}

.footer-links h2,
.footer-contact h2 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: var(--gray-300);
    transition: var(--transition-base);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-copyright-text p {
    color: var(--gray-400);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 991px) {
    .hero {
        min-height: auto !important;
        padding: 100px 0 60px !important;
    }
    
    .hero-content-footer {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .section-title h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem !important;
    }
    
    .testimonial-text {
        font-size: 1rem !important;
    }
    
    .author-image {
        width: 50px !important;
        height: 50px !important;
    }
    
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        padding: 0.875rem 1.25rem !important;
    }
    
    .whatsapp-text {
        display: none !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .service-image {
        height: 200px !important;
    }
}

@media (max-width: 576px) {
    .hero-content-footer {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-content-footer .btn-default {
        width: 100%;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-icon {
        font-size: 2rem !important;
    }
}