/* ================================
   FONTS & BASE STYLES
================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

/* ================================
   GRADIENTS & COLORS
================================ */
.gradient-green-elegant {
    background: linear-gradient(135deg, #14532d 0%, #15803d 50%, #22c55e 100%);
}

.gradient-green-soft {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 50%, #86efac 100%);
}

.text-gradient-green {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.powerbuilder-gradient {
    background: linear-gradient(135deg, #68217A 0%, #8e2a9e 100%);
}

.dotnet-gradient {
    background: linear-gradient(135deg, #512BD4 0%, #6938ef 100%);
}

/* ================================
   BUTTONS
================================ */
.btn-primary-elegant {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    box-shadow: 0 10px 40px -10px rgba(34, 197, 94, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-elegant:hover {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    box-shadow: 0 20px 50px -10px rgba(34, 197, 94, 0.6);
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::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.7s;
}

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

.tab-button {
    transition: all 0.3s ease;
}

.tab-button.active {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    box-shadow: 0 10px 40px -10px rgba(34, 197, 94, 0.5);
}

/* ================================
   CARDS & CONTAINERS
================================ */
.card-elegant,
.card-course,
.testimonial-card,
.contact-card,
.curriculum-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-elegant:hover,
.card-course:hover,
.testimonial-card:hover,
.contact-card:hover,
.curriculum-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-elegant:hover .icon-float,
.card-course:hover .course-icon {
    transform: translateY(-10px) rotate(5deg);
}

.card-elegant:hover .icon-float {
    transform: translateY(-10px) rotate(360deg);
}

.card-client:hover .client-logo-container {
    transform: scale(1.05);
}

.card-client:hover .icon-float {
    transform: translateY(-10px) rotate(5deg);
}

/* ================================
   NAVIGATION
================================ */
.nav-link-elegant {
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link-elegant::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #15803d, #22c55e);
    transition: width 0.3s ease;
}

.nav-link-elegant:hover::after,
.nav-link-elegant.active::after {
    width: 70%;
}

/* ================================
   DECORATIVE & BACKGROUNDS
================================ */
.hero-pattern {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(22, 163, 74, 0.1) 0%, transparent 50%);
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
}

.code-block {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* ================================
   LOGO & ICONS
================================ */
.logo-hover {
    transition: all 0.3s ease;
}

.logo-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.icon-float,
.course-icon,
.icon-bounce {
    transition: all 0.5s ease;
}

.contact-card:hover .icon-bounce {
    transform: scale(1.1) translateY(-5px);
}

/* ================================
   FORMS
================================ */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.3);
}

/* ================================
   MAP & CLIENT
================================ */
.map-container {
    transition: all 0.5s ease;
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

/* ================================
   ANIMATIONS
================================ */
@keyframes float-elegant {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.float-elegant {
    animation: float-elegant 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 0 40px rgba(34, 197, 94, 0.6); }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.pulse-ring {
    animation: pulse-ring 2s ease-in-out infinite;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

.animate-slide-in {
    animation: slideInRight 0.6s ease-out;
}

/* ================================
   EFFECTS & DETAILS
================================ */
.text-shadow-elegant {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.shine-effect {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background-size: 200% 100%;
    animation: shine 2s linear infinite;
}

@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.stat-number {
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
}

/* ================================
   WORKFLOW / PROCESS LINES
================================ */
.workflow-line {
    position: relative;
}

.workflow-line::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, transparent);
}

@media (max-width: 768px) {
    .workflow-line::after {
        display: none;
    }
}

.process-line {
    position: relative;
}

.process-line::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.step-line {
    position: relative;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    width: 2px;
    height: calc(100% - 40px);
    background: linear-gradient(180deg, #22c55e, transparent);
}

.step-line:last-child::after {
    display: none;
}
