/* ========================================
   SARANDI REDESIGN - Professional Corporate
   with Creative Asymmetric Elements
   ======================================== */

/* === DESIGN SYSTEM === */
:root {
    /* Corporate Color Palette - Professional Blues & Grays */
    --corp-primary: #1e40af;      /* Deep Professional Blue */
    --corp-primary-light: #3b82f6; /* Lighter Blue */
    --corp-primary-dark: #1e3a8a;  /* Darker Blue for depth */
    --corp-secondary: #64748b;     /* Professional Gray */
    --corp-accent: #06b6d4;        /* Cyan Accent */
    --corp-dark: #0f172a;          /* Deep Navy for text */
    --corp-light: #f8fafc;         /* Off-white background */
    --corp-gray-100: #f1f5f9;
    --corp-gray-200: #e2e8f0;
    --corp-gray-300: #cbd5e1;
    --corp-gray-600: #475569;
    --corp-gray-800: #1e293b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(6, 182, 212, 0.85) 100%);
    
    /* Shadows - Corporate Depth */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.16);
    --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.24);
    
    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Animations */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === GLOBAL OVERRIDES === */
body {
    font-family: var(--font-body);
    color: var(--corp-dark);
    background-color: var(--corp-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--corp-dark);
}

/* === ASYMMETRIC HERO SECTION === */
#hero {
    background: var(--gradient-overlay),
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&h=1080&fit=crop') center/cover;
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); /* Asymmetric bottom */
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    50% { transform: scale(1.1) translate(-10px, 10px); opacity: 0.5; }
}

/* === CREATIVE CARD DESIGNS === */
.card {
    background: white;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Asymmetric Service Cards */
.service-card {
    position: relative;
    padding: var(--space-lg);
    background: white;
    border-radius: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    transition: all var(--transition-base);
}

.service-card:nth-child(even) {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    position: relative;
    box-shadow: var(--shadow-md);
}

.service-card .icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--corp-primary);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* === ASYMMETRIC SECTION LAYOUTS === */
.section-asymmetric {
    position: relative;
padding: var(--space-3xl) 0;
}

.section-asymmetric.alt-bg {
    background: linear-gradient(135deg, var(--corp-gray-100) 0%, white 100%);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    margin: var(--space-2xl) 0;
}

/* Creative Grid Layouts */
.creative-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-lg);
    align-items: center;
}

.creative-grid .content-left {
    grid-column: 1 / 6;
}

.creative-grid .content-right {
    grid-column: 7 / 13;
}

.creative-grid .content-offset {
    grid-column: 2 / 12;
    margin-top: -60px; /* Overlapping effect */
}

/* === MODERN BUTTONS === */
.btn-corporate {
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.btn-corporate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-corporate:hover::before {
    width: 300px;
    height: 300px;
}

.btn-corporate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-corporate:active {
    transform: translateY(0);
}

/* Outline Button Variant */
.btn-corporate-outline {
    background: transparent;
    border: 2px solid var(--corp-primary);
    color: var(--corp-primary);
    box-shadow: none;
}

.btn-corporate-outline:hover {
    background: var(--corp-primary);
    color: white;
}

/* === ANIMATED STATS/BADGES === */
.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    color: var(--corp-primary);
    position: relative;
    overflow: hidden;
}

.stat-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: left 0.5s;
}

.stat-badge:hover::before {
    left: 100%;
}

/* === TESTIMONIAL CARDS WITH DEPTH === */
.testimonial-card-modern {
    background: white;
    padding: var(--space-xl);
    border-radius: 24px;
    position: relative;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--corp-accent);
    transition: all var(--transition-base);
}

.testimonial-card-modern::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: var(--space-lg);
    font-size: 120px;
    font-family: Georgia, serif;
    color: var(--corp-gray-200);
    line-height: 1;
    z-index: 0;
}

.testimonial-card-modern:hover {
    transform: translateX(8px);
    border-left-width: 8px;
    box-shadow: var(--shadow-lg);
}

/* === FLOATING ELEMENTS ANIMATION === */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: 1s;
    animation-duration: 7s;
}

.floating-element:nth-child(3) {
    animation-delay: 2s;
    animation-duration: 8s;
}

/* === PARALLAX SECTIONS === */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
}

/* === MODERN ACCORDION/FAQ === */
.accordion-modern .accordion-item {
    border: none;
    background: white;
    margin-bottom: var(--space-sm);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.accordion-modern .accordion-button {
    background: transparent;
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    color: var(--corp-dark);
    border: none;
    position: relative;
}

.accordion-modern .accordion-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.accordion-modern .accordion-button:not(.collapsed)::before {
    transform: scaleY(1);
}

.accordion-modern .accordion-item:hover {
    box-shadow: var(--shadow-md);
}

/* === CREATIVE DIVIDERS === */
.section-divider-wave {
    height: 80px;
    background: white;
    position: relative;
    margin: var(--space-2xl) 0;
}

.section-divider-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z' fill='%231e40af'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

/* === HOVER LIFT EFFECT === */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* === GLASSMORPHISM ELEMENTS === */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

/* === RESPONSIVE ASYMMETRIC GRID === */
@media (max-width: 768px) {
    .creative-grid .content-left,
    .creative-grid .content-right,
    .creative-grid .content-offset {
        grid-column: 1 / 13;
        margin-top: 0;
    }
    
    #hero {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        min-height: 70vh;
    }
    
    .service-card {
        clip-path: none;
        border-radius: 16px;
    }
}

/* === MICRO-INTERACTIONS === */
.interactive-icon {
    display: inline-block;
    transition: all var(--transition-base);
}

.interactive-icon:hover {
    transform: rotate(15deg) scale(1.1);
}

/* CTA Pulse Animation */
@keyframes cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(30, 64, 175, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0); }
}

.btn-pulse {
    animation: cta-pulse 2s infinite;
}

/* === SCROLL REVEAL ANIMATIONS === */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.reveal-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.reveal-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.reveal-on-scroll:nth-child(6) { transition-delay: 0.6s; }
