/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Executive Palette */
    --primary-gradient: linear-gradient(135deg, #0f2a4a 0%, #1f3b63 100%);
    --primary-gradient-subtle: linear-gradient(135deg, rgba(15, 42, 74, 0.08) 0%, rgba(31, 59, 99, 0.08) 100%);
    --secondary-gradient: linear-gradient(135deg, #1f4d5f 0%, #2d6f77 100%);
    --accent-gradient: linear-gradient(135deg, #b88442 0%, #d6a25a 100%);
    --success-gradient: linear-gradient(135deg, #1f8a70 0%, #2a9d8f 100%);
    --gold-gradient: linear-gradient(135deg, #c89b3c 0%, #e0b66c 100%);
    --dark-gradient: linear-gradient(135deg, #0b1724 0%, #0f2a4a 55%, #183550 100%);
    --mesh-gradient: radial-gradient(at 20% 20%, rgba(31, 59, 99, 0.18) 0px, transparent 60%),
                     radial-gradient(at 80% 10%, rgba(184, 132, 66, 0.15) 0px, transparent 55%),
                     radial-gradient(at 60% 90%, rgba(31, 138, 112, 0.12) 0px, transparent 55%);

    --primary-color: #0f2a4a;
    --primary-dark: #0b1f34;
    --primary-light: #2b4a6e;
    --secondary-color: #3d6b8f;
    --accent-color: #b88442;
    --accent-secondary: #1f8a70;

    --text-primary: #0c1624;
    --text-secondary: #2f3e4d;
    --text-light: #566575;
    --text-muted: #8792a0;

    --bg-primary: #fdfdfd;
    --bg-secondary: #f3f5f7;
    --bg-tertiary: #e9edf1;
    --bg-dark: #0f2033;
    --bg-darker: #0b1724;

    --border-color: #d9e0e8;
    --border-light: #eef2f6;

    /* Soft Shadow System */
    --shadow-xs: 0 1px 2px rgba(12, 22, 36, 0.06);
    --shadow-sm: 0 4px 12px rgba(12, 22, 36, 0.08);
    --shadow-md: 0 10px 20px rgba(12, 22, 36, 0.12);
    --shadow-lg: 0 16px 32px rgba(12, 22, 36, 0.14);
    --shadow-xl: 0 24px 48px rgba(12, 22, 36, 0.16);
    --shadow-2xl: 0 32px 64px rgba(12, 22, 36, 0.18);
    --shadow-premium: 0 24px 48px -20px rgba(12, 22, 36, 0.35);
    --shadow-glow: 0 0 30px rgba(184, 132, 66, 0.25);
    --shadow-colored: 0 16px 32px -16px rgba(15, 42, 74, 0.35);
    --shadow-inner: inset 0 2px 8px rgba(12, 22, 36, 0.08);

    /* Clean Glass */
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-bg-dark: rgba(11, 23, 36, 0.88);
    --glass-border: rgba(15, 42, 74, 0.08);
    --glass-blur: blur(18px) saturate(140%);
    --glass-shine: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0) 100%);

    /* Premium Transitions with Elasticity */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-spring: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-elastic: all 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6);

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 18px;
    --border-radius-xl: 24px;
    --border-radius-2xl: 28px;
    --border-radius-full: 9999px;

    --max-width: 1440px;
    --spacing-unit: 8px;

    --font-body: 'Source Sans 3', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Source Serif 4', 'Georgia', 'Times New Roman', serif;

    /* Premium Typography Scale - Perfect Ratios */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.3125rem;    /* 21px - Golden ratio */
    --font-size-2xl: 1.625rem;    /* 26px */
    --font-size-3xl: 2.0625rem;   /* 33px */
    --font-size-4xl: 2.625rem;    /* 42px - Perfect scale */
    --font-size-5xl: 3.375rem;    /* 54px */

    /* Premium Letter Spacing */
    --letter-tight: -0.02em;
    --letter-normal: 0;
    --letter-wide: 0.025em;
    --letter-wider: 0.05em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 12% 10%, rgba(31, 59, 99, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 88% 18%, rgba(184, 132, 66, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(31, 138, 112, 0.08) 0%, transparent 50%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    font-kerning: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-brand,
.hero-title,
.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: var(--letter-tight);
    line-height: 1.2;
    margin-bottom: 0.75em;
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-5xl); letter-spacing: -0.03em; }
h2 { font-size: var(--font-size-4xl); letter-spacing: -0.025em; }
h3 { font-size: var(--font-size-3xl); letter-spacing: -0.02em; }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: 1.25em;
    line-height: 1.75;
    letter-spacing: var(--letter-normal);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (min-width: 1536px) {
    .container {
        padding: 0 3rem;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

section {
    padding: 7rem 0;
    position: relative;
}

/* ===========================
   Premium Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 253, 253, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(15, 42, 74, 0.08);
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: 0 1px 3px rgba(12, 22, 36, 0.04), 0 1px 2px rgba(12, 22, 36, 0.02);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-shine);
    opacity: 0.12;
    pointer-events: none;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(253, 253, 253, 0.98);
}

.navbar.scrolled::before {
    opacity: 0.18;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.nav-brand {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.nav-brand::before {
    content: 'EC';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand:hover::before {
    opacity: 1;
}

.nav-brand::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(184, 132, 66, 0.3);
}

.nav-brand:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* ===========================
   Modern Hero Section
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 20%, #1b3a57 0%, #0b1724 60%, #08131f 100%);
    position: relative;
    overflow: hidden;
}

/* Animated mesh gradient background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background:
        radial-gradient(circle at 18% 24%, rgba(31, 59, 99, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 75% 30%, rgba(184, 132, 66, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 55% 78%, rgba(31, 138, 112, 0.18) 0%, transparent 60%);
    filter: blur(80px);
    opacity: 0.9;
}

/* Modern grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at center, transparent 20%, black 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, black 70%);
}

@keyframes floatPattern {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: #f8fafc;
    text-shadow: 0 10px 30px rgba(8, 19, 31, 0.45);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    letter-spacing: -0.2px;
    text-shadow: none;
    color: rgba(248, 250, 252, 0.9);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
    color: rgba(248, 250, 252, 0.72);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
    flex-wrap: wrap;
}

.btn {
    padding: 1.125rem 2.75rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: var(--letter-wide);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    text-transform: none;
    font-family: var(--font-body);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    width: 500px;
    height: 500px;
}

.btn::after {
    content: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #0b1f34;
    box-shadow: 0 8px 24px -4px rgba(184, 132, 66, 0.35), 0 4px 12px -2px rgba(184, 132, 66, 0.2);
    border: 1px solid rgba(200, 155, 60, 0.3);
    position: relative;
}

.btn-primary::before {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: var(--border-radius-lg);
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px -4px rgba(184, 132, 66, 0.45), 0 8px 20px -2px rgba(184, 132, 66, 0.3);
    border-color: rgba(224, 182, 108, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 8px 24px -4px rgba(184, 132, 66, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    border: 1.5px solid rgba(248, 250, 252, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    border-radius: var(--border-radius-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-secondary:hover {
    background: rgba(248, 250, 252, 0.12);
    border-color: rgba(248, 250, 252, 0.45);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(11, 23, 36, 0.3);
}

.btn-secondary:hover::after {
    opacity: 1;
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.01);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--border-radius-md);
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 28px rgba(11, 23, 36, 0.35);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator a {
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.scroll-indicator a::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: pulse-ring 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.scroll-indicator a:hover {
    background: var(--accent-gradient);
    color: #0b1f34;
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 28px rgba(184, 132, 66, 0.4);
}

/* ===========================
   Keyframe Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

/* ===========================
   Section Styles
   =========================== */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(2.625rem, 5vw, 3.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1.1;
    padding-bottom: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 20px rgba(184, 132, 66, 0.4), 0 2px 8px rgba(184, 132, 66, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 20%, var(--accent-color) 80%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(184, 132, 66, 0.3);
}

/* ===========================
   Premium About Section
   =========================== */
.about-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.about-text {
    max-width: 1000px;
    margin: 0 auto;
}

.lead {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-color);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.9;
    font-size: 1.1rem;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 8px -2px rgba(12, 22, 36, 0.06), 0 1px 4px -1px rgba(12, 22, 36, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 42, 74, 0.08);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0.7);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 8px rgba(184, 132, 66, 0.3);
}

.info-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at left center, rgba(184, 132, 66, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-item:hover {
    transform: translateY(-4px) translateX(2px);
    box-shadow: 0 12px 28px -6px rgba(12, 22, 36, 0.1), 0 6px 16px -4px rgba(12, 22, 36, 0.06);
    border-color: rgba(184, 132, 66, 0.15);
}

.info-item:hover::before {
    transform: scaleY(1);
}

.info-item:hover::after {
    opacity: 1;
}

.info-item i {
    color: white;
    font-size: 1.375rem;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 6px 16px -2px rgba(15, 42, 74, 0.25), 0 3px 8px -1px rgba(15, 42, 74, 0.15);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.info-item i::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: var(--border-radius-lg);
}

.info-item:hover i {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 10px 24px -2px rgba(15, 42, 74, 0.3), 0 5px 12px -1px rgba(15, 42, 74, 0.2);
}

.languages h3 {
    font-size: 1.75rem;
    margin: 3rem 0 1.5rem;
    font-weight: 700;
}

.language-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    padding: 0.9375rem 1.875rem;
    background: linear-gradient(135deg, rgba(15, 42, 74, 0.05) 0%, rgba(15, 42, 74, 0.08) 100%);
    border: 1px solid rgba(15, 42, 74, 0.15);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: var(--letter-wide);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px -1px rgba(12, 22, 36, 0.04);
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.badge span {
    position: relative;
    z-index: 1;
}

.badge:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 16px -4px rgba(15, 42, 74, 0.15);
    border-color: var(--primary-color);
    color: white;
}

.badge:hover::before {
    opacity: 1;
}

.badge:hover::after {
    opacity: 1;
}

/* ===========================
   Premium Experience Section
   =========================== */
.experience-section {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: none;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-smooth);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(184, 132, 66, 0.2), var(--shadow-sm);
    z-index: 2;
}

.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 2px 8px -2px rgba(12, 22, 36, 0.06), 0 1px 4px -1px rgba(12, 22, 36, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 42, 74, 0.08);
    border-left: 3px solid rgba(184, 132, 66, 0.7);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(184, 132, 66, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.timeline-content:hover::before {
    transform: scaleY(1);
}

.timeline-content:hover::after {
    opacity: 1;
}

.timeline-content:hover {
    transform: translateY(-6px) translateX(4px);
    box-shadow: 0 16px 40px -8px rgba(12, 22, 36, 0.12), 0 8px 20px -4px rgba(12, 22, 36, 0.08), 0 0 0 1px rgba(184, 132, 66, 0.1);
    border-color: rgba(184, 132, 66, 0.15);
}

.timeline-content > * {
    position: relative;
    z-index: 1;
}

.timeline-content .description a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.timeline-content .description a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.timeline-period {
    color: white;
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-xs);
    letter-spacing: 0.2px;
}

.company {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5625rem 1.125rem;
    background: linear-gradient(135deg, rgba(15, 42, 74, 0.05) 0%, rgba(15, 42, 74, 0.07) 100%);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 42, 74, 0.14);
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tag span,
.tag::after {
    position: relative;
    z-index: 1;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 12px -2px rgba(15, 42, 74, 0.2);
    border-color: var(--primary-color);
}

.tag:hover::before {
    opacity: 1;
}

/* ===========================
   Premium Skills Section
   =========================== */
.skills-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    background: linear-gradient(135deg, #ffffff 0%, #fdfefe 100%);
    padding: 2.75rem;
    border-radius: var(--border-radius-2xl);
    box-shadow: 0 2px 8px -2px rgba(12, 22, 36, 0.06), 0 1px 4px -1px rgba(12, 22, 36, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 42, 74, 0.08);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(1);
    box-shadow: 0 2px 8px rgba(184, 132, 66, 0.25);
}

.skill-category::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(184, 132, 66, 0.05) 0%, transparent 70%);
    transform: translate(50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.skill-category:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 40px -8px rgba(12, 22, 36, 0.12), 0 8px 20px -4px rgba(12, 22, 36, 0.08), 0 0 0 1px rgba(184, 132, 66, 0.1);
    border-color: rgba(184, 132, 66, 0.15);
}

.skill-category:hover::after {
    opacity: 1;
}

.skill-category h3 {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.skill-category h3 i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-md);
    font-size: 1.25rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.skill-item {
    width: 100%;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    align-items: center;
}

.skill-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.skill-level {
    font-size: 0.875rem;
    color: white;
    background: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
}

.skill-bar {
    height: 14px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(233, 237, 241, 0.8) 100%);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(12, 22, 36, 0.06);
    border: 1px solid rgba(15, 42, 74, 0.08);
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-full);
    transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 16px rgba(15, 42, 74, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.skill-progress::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    animation: shimmer 2.5s infinite;
    border-radius: var(--border-radius-full);
}

.skill-progress::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
    border-radius: var(--border-radius-full);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.certifications {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.certifications h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.cert-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.cert-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.cert-badge i {
    font-size: 1.75rem;
    color: var(--accent-color);
}

.cert-badge:hover i {
    color: white;
}

/* ===========================
   Premium Projects Section
   =========================== */
.projects-section {
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.project-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdfefe 100%);
    padding: 2.75rem;
    border-radius: var(--border-radius-2xl);
    box-shadow: 0 2px 8px -2px rgba(12, 22, 36, 0.06), 0 1px 4px -1px rgba(12, 22, 36, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 42, 74, 0.08);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(184, 132, 66, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 48px -8px rgba(12, 22, 36, 0.14), 0 8px 20px -4px rgba(12, 22, 36, 0.08), 0 0 0 1px rgba(184, 132, 66, 0.1);
    border-color: rgba(184, 132, 66, 0.15);
}

.project-icon {
    width: 88px;
    height: 88px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.25rem;
    box-shadow: 0 8px 20px -4px rgba(15, 42, 74, 0.25), 0 4px 12px -2px rgba(15, 42, 74, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.project-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius-xl);
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.5s ease;
    z-index: -1;
}

.project-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    border-radius: var(--border-radius-xl);
    opacity: 1;
    pointer-events: none;
}

.project-card:hover .project-icon {
    transform: translateY(-4px) scale(1.08) rotate(-3deg);
    box-shadow: 0 16px 32px -4px rgba(15, 42, 74, 0.35), 0 8px 20px -2px rgba(15, 42, 74, 0.2);
}

.project-card:hover .project-icon::before {
    opacity: 0.4;
}

.project-icon i {
    color: white;
    font-size: 2.35rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 1;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.project-card p a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.project-card p a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.major-programs {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.major-programs h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.program-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(243, 245, 247, 0.8) 100%);
    border-radius: var(--border-radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 42, 74, 0.08);
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.program-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-item > * {
    position: relative;
    z-index: 1;
}

.program-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px -6px rgba(15, 42, 74, 0.25), 0 6px 16px -4px rgba(15, 42, 74, 0.15);
    border-color: transparent;
}

.program-item:hover::before {
    opacity: 1;
}

.program-item img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    border: 1.5px solid rgba(15, 42, 74, 0.12);
    box-shadow: 0 4px 12px -2px rgba(12, 22, 36, 0.1);
    background: var(--bg-primary);
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.program-item:hover img {
    transform: scale(1.08) rotate(-3deg);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px -4px rgba(255, 255, 255, 0.2);
}

.program-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.program-item:hover a {
    color: white;
}

/* ===========================
   Premium Education Section
   =========================== */
.education-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.education-card {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 2.5rem;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.education-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.education-card:hover .education-icon {
    transform: scale(1.06);
    box-shadow: var(--shadow-md);
}

.education-icon i {
    color: white;
    font-size: 2.5rem;
}

.education-details h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.university {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.period {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.grade {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.thesis {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.exchange {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.exchange i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.training {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.training h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.training-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    font-weight: 600;
}

.training-item:hover {
    transform: translateX(6px);
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.training-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.training-item:hover i {
    color: white;
}

.community {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.community h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.community-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.community-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.community-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.community-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.community-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.community-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Premium Contact Section
   =========================== */
.contact-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 2rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
    transform: scale(1.06);
    box-shadow: var(--shadow-md);
}

.contact-icon i {
    color: white;
    font-size: 1.75rem;
}

.contact-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-text p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-text a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 600;
}

.contact-text a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 600;
}

.contact-social a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===========================
   Modern Footer
   =========================== */
.footer {
    background: var(--dark-gradient);
    color: white;
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
    box-shadow: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background:
        radial-gradient(circle at 30% 50%, rgba(31, 59, 99, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(184, 132, 66, 0.12) 0%, transparent 50%);
    filter: blur(40px);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

.footer p {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 500;
    color: var(--bg-tertiary);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    font-size: 1.35rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(11, 23, 36, 0.35);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        gap: 1.5rem;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    section {
        padding: 5rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .timeline::before {
        left: 14px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 0;
        width: 32px;
        height: 32px;
    }

    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .skills-grid,
    .projects-grid,
    .programs-grid,
    .training-grid,
    .cert-badges,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .about-info {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-1 { margin-bottom: calc(var(--spacing-unit) * 1); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 3); }
.mb-4 { margin-bottom: calc(var(--spacing-unit) * 4); }

.mt-1 { margin-top: calc(var(--spacing-unit) * 1); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mt-3 { margin-top: calc(var(--spacing-unit) * 3); }
.mt-4 { margin-top: calc(var(--spacing-unit) * 4); }

/* ===========================
   Print Styles
   =========================== */
@media print {
    .navbar,
    .scroll-indicator,
    .social-links,
    #back-to-top,
    #scroll-progress {
        display: none;
    }

    .section {
        opacity: 1;
        transform: none;
        page-break-inside: avoid;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* ===========================
   Accessibility
   =========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d6a25a 100%);
    background-color: var(--accent-color);
    color: var(--primary-dark);
    text-shadow: none;
}

::-moz-selection {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d6a25a 100%);
    background-color: var(--accent-color);
    color: var(--primary-dark);
    text-shadow: none;
}

/* Premium scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d6a25a 100%);
}

::-webkit-scrollbar-thumb:active {
    background: var(--accent-gradient);
}

/* ===========================
   Ultra-Modern Enhancements
   =========================== */

/* Sophisticated dot pattern for section backgrounds */
.about-section::before,
.skills-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(15, 42, 74, 0.07) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.25;
    pointer-events: none;
}

/* Premium reveal animation for cards */
@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card,
.skill-category,
.info-item {
    animation: reveal-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.project-card:nth-child(1) { animation-delay: 0.08s; }
.project-card:nth-child(2) { animation-delay: 0.16s; }
.project-card:nth-child(3) { animation-delay: 0.24s; }
.project-card:nth-child(4) { animation-delay: 0.32s; }
.project-card:nth-child(5) { animation-delay: 0.40s; }
.project-card:nth-child(6) { animation-delay: 0.48s; }

.skill-category:nth-child(1) { animation-delay: 0.08s; }
.skill-category:nth-child(2) { animation-delay: 0.16s; }
.skill-category:nth-child(3) { animation-delay: 0.24s; }
.skill-category:nth-child(4) { animation-delay: 0.32s; }

.info-item:nth-child(1) { animation-delay: 0.06s; }
.info-item:nth-child(2) { animation-delay: 0.12s; }
.info-item:nth-child(3) { animation-delay: 0.18s; }
.info-item:nth-child(4) { animation-delay: 0.24s; }

/* Enhanced badge hover effect */
.badge::after,
.tag::after {
    content: none;
}

/* Premium focus indicator */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 5px;
    border-radius: 10px;
    box-shadow: 0 0 0 4px rgba(184, 132, 66, 0.15), 0 0 20px rgba(184, 132, 66, 0.2);
    transition: outline-offset 0.2s ease, box-shadow 0.2s ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(184, 132, 66, 0.2), 0 8px 20px rgba(184, 132, 66, 0.25);
}

/* Smooth scale animation on images and icons */
.project-icon,
.contact-icon,
.education-icon {
    will-change: transform;
}

/* Advanced depth effect for elevated cards */
.contact-item,
.education-card {
    background: var(--bg-primary);
}

.contact-item::before,
.education-card::before {
    content: none;
}


/* Modern card border glow */
.project-card,
.skill-category,
.timeline-content {
    position: relative;
}

.project-card::before,
.skill-category::before,
.timeline-content::before {
    z-index: -1;
}

/* Sophisticated hover lift for all interactive elements */
.btn,
.social-links a,
.nav-link,
.badge,
.tag {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Premium loading skeleton pulse */
@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    /* Add smooth scrolling enhancement */
    * {
        scroll-margin-top: 100px;
    }
}

/* Ultra-modern cursor enhancement */
@media (hover: hover) and (pointer: fine) {
    .btn,
    .project-card,
    .skill-category,
    .contact-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Premium page load fade-in */
body {
    animation: premium-fade-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes premium-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elegant link styling */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium smooth transitions for all interactive elements */
button,
input,
select,
textarea {
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium glass morphism utility */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Premium gradient text utility */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .skill-progress::before {
        animation: none;
    }
}
