:root {
    /* Fonts */
    --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Color Palette */
    --bg-dark: #070708;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    
    --color-primary: #7f42af;
    --color-primary-rgb: 127, 66, 175;
    --color-secondary: #00e5ff;
    --color-secondary-rgb: 0, 229, 255;
    
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(127, 66, 175, 0.4);
    
    --glow-primary: rgba(127, 66, 175, 0.2);
    --glow-secondary: rgba(0, 229, 255, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

/* Apply grayscale to images, but restore original colors for leadership and modal photos */
img {
    filter: grayscale(100%);
    transition: filter var(--transition-normal);
}

#leadership img,
#member-modal img {
    filter: grayscale(0%);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* MATRIX BACKGROUND */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -5;
    opacity: 0.2;
    filter: blur(4px);
}

/* GRADIENT AND LAYER BLUR EFFECT */

.image-gradient {
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur {
    height: 0;
    width: 30rem;
    position: fixed;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;
}

/* CONTAINER */

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* HEADER */

header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2.5rem;
    border-radius: 20px;
    z-index: 10000;
    background: rgba(7, 7, 8, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

header:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: transform var(--transition-fast);
}

.logo-image:hover {
    transform: scale(1.05);
}

header h1 {
    display: none; /* Hide header text if logo is used */
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

nav a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width var(--transition-fast);
    border-radius: 2px;
}

nav a:hover {
    color: var(--text-primary);
}

nav a:hover::after {
    width: 100%;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MAIN CONTENT */

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main#home {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
}

.content {
    position: relative;
    max-width: 44rem;
    z-index: 10;
}

.hero-content {
    margin-left: 0;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    border-radius: 30px;
    overflow: visible;
}

.robot-3d {
    position: fixed;
    top: 50%;
    right: 4%;
    transform: translate(0, -50%) scale(1.3);
    width: 42vw;
    height: 80vh;
    border: none;
    border-radius: 30px;
    filter: blur(0px);
    z-index: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
}

.robot-3d.fade-out {
    opacity: 0.15;
    filter: blur(4px);
    transform: translate(0, -50%) scale(1.1) translateY(40px);
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42af, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); 
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover {
    color: #5300a0;
}

/* MODERN HERO STYLES */
.kicker {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.kicker::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-secondary);
    border-radius: 50%;
    margin-right: 0.75rem;
    box-shadow: 0 0 8px var(--color-secondary);
}

.gradient-text {
    font-family: var(--font-heading);
    font-size: 5.5rem !important;
    font-weight: 700 !important;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-secondary) 75%, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 6s linear infinite;
}

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

.arrow {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content.fade-in-up,
.hero-graphic.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 38rem;
    margin-bottom: 2.5rem;
}

.hero-description {
    max-width: 35rem;
}

.buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.btn-get-started {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-get-started:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-signing-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, var(--color-primary), #6200c3);
    color: white;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(127, 66, 175, 0.4);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-signing-main:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #9154c3, #720dc4);
    box-shadow: 0 8px 25px rgba(127, 66, 175, 0.6), 0 0 0 2px rgba(127, 66, 175, 0.2);
}

.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
    width: 80%;
    margin-left: 10%;
    position: relative;
    z-index: 999;
}

/* NEW SECTIONS */
.info-section {
    padding: 6rem 0;
    position: relative;
    pointer-events: auto;
}

.info-section h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: white;
}

.large-desc {
    max-width: 50rem;
    font-size: 1.1rem;
}

/* ABOUT PILLARS GRID */
.wide-content {
    max-width: 100% !important;
    margin-left: 0 !important;
}

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

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(127, 66, 175, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(127, 66, 175, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(127, 66, 175, 0.1);
    border: 1px solid rgba(127, 66, 175, 0.25);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    font-size: 1.5rem;
    transition: transform var(--transition-normal), background var(--transition-normal), color var(--transition-normal);
}

.pillar-card:hover .pillar-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(127, 66, 175, 0.2);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(127, 66, 175, 0.3);
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #a7a7a7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.team-list {
    list-style: none;
    padding: 0;
}

.team-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: gray;
}

.team-list strong {
    color: #e7e7e7;
    font-weight: 500;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    main#home {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 8rem;
        padding-bottom: 2rem;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .buttons {
        justify-content: center;
    }
    
    .hero-graphic {
        height: 600px;
    }
    
    .robot-3d {
        position: fixed;
        top: 65%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) scale(1.1);
        width: 90vw;
        height: 50vh;
        opacity: 0.25;
        z-index: 0;
    }
    
    .robot-3d.fade-out {
        opacity: 0.08;
        filter: blur(4px);
        transform: translate(-50%, -50%) scale(0.9) translateY(40px);
    }
}

@media (max-width: 768px) {
    header {
        top: 1rem;
        width: calc(100% - 2rem);
        padding: 0.75rem 1.5rem;
        border-radius: 16px;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(7, 7, 8, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 3rem;
        gap: 2rem;
        z-index: 9999;
        transition: right var(--transition-normal);
        border-radius: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    nav.active {
        right: 0;
    }
    
    nav a {
        font-size: 1.15rem;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    nav a::after {
        bottom: 0;
    }
    
    .gradient-text {
        font-size: 3.5rem !important;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin-top: 1.5rem;
    }
    
    .buttons a {
        width: 100%;
        text-align: center;
    }
    
    .hero-graphic {
        height: 540px;
    }
    
    .robot-3d {
        height: 45vh;
        top: 60%;
    }
    
    .info-section {
        padding: 4rem 0;
    }
    
    .info-section h2 {
        font-size: 2rem;
        text-align: center;
    }
}

/* PROFILE CARDS */
.team-group-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.team-group-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
}

.profile-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(127, 66, 175, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.profile-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    border: 3px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
    filter: grayscale(40%);
    transition: filter var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.profile-card:hover .profile-img {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(127, 66, 175, 0.25), 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05) translateY(-2px);
    filter: grayscale(0%);
}

.profile-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    border: none;
    padding: 0;
    font-weight: 600;
}

.profile-info p {
    color: var(--text-primary);
    background: rgba(127, 66, 175, 0.1);
    border: 1px solid rgba(127, 66, 175, 0.25);
    font-size: 0.72rem;
    font-weight: 600;
    margin: 0.75rem auto 0 auto;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.profile-card:hover .profile-info p {
    background: rgba(127, 66, 175, 0.2);
    border-color: rgba(127, 66, 175, 0.5);
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 10005; /* sit on top of fixed header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    transition: opacity var(--transition-normal);
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.9), rgba(10, 10, 12, 0.95));
    border: 1px solid rgba(127, 66, 175, 0.25);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(127, 66, 175, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--text-secondary);
    font-size: 1.75rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.close-btn:hover {
    color: var(--text-primary);
    transform: scale(1.1) rotate(90deg);
}

#modal-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(127, 66, 175, 0.35);
    box-shadow: 0 0 0 4px rgba(127, 66, 175, 0.1), 0 10px 20px rgba(0, 0, 0, 0.3);
}

#modal-name {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

#modal-role {
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

#modal-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CONTACT SECTION */
.contact-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    margin-top: 3.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.info-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 25px rgba(127, 66, 175, 0.08);
    transform: translateY(-2px);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: var(--color-secondary);
    border-radius: 12px;
    font-size: 1.2rem;
}

.info-text h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-text p, .info-text a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-text a:hover {
    color: var(--color-secondary);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: rgba(127, 66, 175, 0.02);
    box-shadow: 0 0 15px rgba(127, 66, 175, 0.15);
}

.form-group label {
    position: absolute;
    left: 1.25rem;
    top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: transform 0.25s ease, font-size 0.25s ease, color 0.25s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    transform: translate(-0.25rem, -1.8rem);
    font-size: 0.8rem;
    color: var(--color-secondary);
}

.form-status {
    font-size: 0.9rem;
    margin-top: -0.5rem;
    min-height: 1.25rem;
    transition: opacity var(--transition-fast);
}

.form-status.success {
    color: #00ff88;
}

.form-status.error {
    color: #ff3b30;
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* FOOTER STYLES */
footer {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 999;
    text-align: center;
}

.footer-content h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-content p {
    color: #a7a7a7;
    margin-bottom: 2rem;
}

.copyright {
    margin-top: 3rem;
    font-size: 0.8rem !important;
    color: #555 !important;
}

/* SOCIAL MEDIA ICONS (Design 16) */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 0.3s ease;
    z-index: 0;
}

.social-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.social-icon.github::before { background-color: #333; }
.social-icon.linkedin::before { background-color: #0077b5; }
.social-icon.instagram::before { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon.facebook::before { background-color: #1877f2; }

.social-icon:hover::before {
    top: 0;
}

.social-icon:hover i {
    transform: rotateY(360deg);
}

.social-icon:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    border-color: transparent;
}
