/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #b8860b;
    /* deep red → gold */
    min-height: 100vh;
}

/* Hero-style profile header */
.hero-profile {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

/* Floating badges */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(184, 134, 11, 0.1);
    /* gold tint */
    color: #b8860b;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: floatBadge 2s ease-in-out infinite alternate;
    border: 1px solid rgba(184, 134, 11, 0.4);
}

.floating-card.design {
    top: -15px;
    left: -15px;
}

.floating-card.code {
    bottom: -15px;
    right: -15px;
}

.floating-card.creativity {
    top: -15px;
    right: -15px;
}

/* Floating animation */
@keyframes floatBadge {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(3deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Typed role styling */
.profile-role .typed {
    font-weight: 600;
    color: #b8860b;
}

.highlight {
    color: #b8860b;
    font-weight: 700;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b8860b;
    /* gold */
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #8b0000;
    /* deep red hover */
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #b8860b;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero .tagline {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}
.hero {
    position: relative;
    text-align: center;
    color: white;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

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


.cta-button {
    display: inline-block;
    background: rgba(184, 134, 11, 1);
    color: white;
    padding: 15px 30px;
    border: 2px solid rgba(184, 134, 11, 0.4);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    background: rgba(184, 134, 11, 0.25);
    border-color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.25);
}

/* About Us Page Styles */
.about-container {
    max-width: 1000px;
    margin: 120px auto 60px;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.about-header p {
    font-size: 1.2rem;
    color: #b8860b;
    margin-top: 10px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1 1 500px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

.about-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.about-image {
    flex: 1 1 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Responsive for About Us */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        flex: 1 1 100%;
    }
}

/* Main Content */
.main-content {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 3;
    border-radius: 30px 30px 0 0;
    padding: 80px 20px 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Members Grid */
.members-container {
    max-width: 1200px;
    margin: 0 auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.member-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 134, 11, 0.2);
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.member-card:hover::before {
    left: 100%;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.25);
    border-color: #b8860b;
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b0000, #b8860b);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
}

.member-card:hover .member-avatar {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.4);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.member-role {
    font-size: 0.95rem;
    color: #b8860b;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-skills {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(184, 134, 11, 0.1);
    color: #b8860b;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.view-profile {
    margin-top: 15px;
    color: #b8860b;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
}

.member-card:hover .view-profile {
    opacity: 1;
}

.highlight-year {
    display: inline-block;
    background: #fff8dc;
    color: #8b0000;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.card-columns {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.card-column {
    flex: 1;
    min-width: 300px;
}

.card-list-item {
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-list-item h4 {
    margin-bottom: 5px;
}

.card-list-item p {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #b8860b;
}

/* Animations */
@keyframes fadeInUpEnhanced {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9) rotate(-2deg);
    }

    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05) rotate(1deg);
    }

    80% {
        transform: translateY(5px) scale(0.98) rotate(-1deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    nav ul {
        gap: 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Profile Page Styles */
.profile-container {
    max-width: 900px;
    margin: 120px auto 60px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 250px;
    height: 250px;
    border-radius: 25px;
    flex-shrink: 0;
    overflow: hidden;
    border: none;
    /* box-shadow: #000000 -5px 10px 30px 5px; */
    order: 2;
    margin-right: 75px;
}

.profile-header h1,
.profile-role {
    order: 1;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.profile-role {
    font-size: 1.2rem;
    color: #b8860b;
    font-weight: 500;
}

.profile-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.profile-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title i {
    transition: transform 0.3s ease;
}

.section-title.expanded i {
    transform: rotate(90deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding-left: 20px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-content.show {
    display: block;
    max-height: 2000px;
}

.skills-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-box {
    background: white;
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    width: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-box i {
    font-size: 2rem;
    color: #b8860b;
    margin-bottom: 10px;
}

.skill-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.progress-bar {
    background: #b8860b;
    height: 8px;
    border-radius: 4px;
    margin-top: 5px;
    transition: width 1s ease;
}

.skill-level {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 5px;
}
/* Hero H1 Luxury Gold & Red Sharp Glow */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #b8860b, #ffd700, #8b0000, #ffd700, #b8860b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s linear infinite;
    position: relative;
}

/* Duplicate text layer for "glow" effect */
.hero h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(4px);
    opacity: 0.7;
    z-index: -1;
    animation: gradientMove 5s linear infinite;
}

/* Gradient movement */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
