:root {
    --light-purple: #D9CCFF;
    --light-pink: #FFD7EA;
    --accent: #7B61FF;
    --text-primary: #222222;
    --text-secondary: #555555;
    --card-bg: rgba(255, 255, 255, 0.8);
    --light-bg: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-pink) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 60px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Glassmorphism effect */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
header {
    padding: 15px 0;
    background: var(--light-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /*position: sticky;*/
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent);
    background-color: rgba(123, 97, 255, 0.1);
}

.cta-button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #6a50e0;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, var(--accent), var(--light-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-avatar {
    margin-bottom: 30px;
}

.hero-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.hero-button {
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-button.secondary:hover {
    background: var(--text-primary);
    color: white;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--light-pink));
    border-radius: 2px;
}

/* Navigation Cards */
.navigation-section {
    padding: 60px 0;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.nav-card {
    text-align: center;
    padding: 30px 20px;
    cursor: pointer;
}

.nav-card:hover .nav-icon {
    transform: scale(1.1);
}

.nav-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.nav-card h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.nav-card p {
    color: var(--text-secondary);
}

/* Profile Page Styles */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-right: 30px;
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-info h1 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    color: var(--accent);
}

.profile-info p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    background: var(--light-bg);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.accordion-content {
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    max-height: 5000px;
    padding: 20px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent);
}

.timeline-year {
    font-weight: 600;
    color: var(--accent);
}

/* Student Life Mapping Styles */
.semester-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.semester-card {
    padding: 20px;
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-pink) 100%);
    border-radius: 12px;
    color: var(--text-primary);
}

.semester-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.semester-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--accent);
}

.semester-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 12px;
}

.semester-activities {
    list-style-type: none;
}

.semester-activities li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.semester-activities li:before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Hometown Page Styles */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    padding: 25px;
}

.info-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Food Page Styles */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.food-card {
    overflow: hidden;
    cursor: pointer;
}

.food-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.food-content {
    padding: 20px;
}

.food-content h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

/* Tourist Page Styles */
.tourist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tourist-card {
    overflow: hidden;
    cursor: pointer;
}

.tourist-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.tourist-content {
    padding: 20px;
}

.tourist-content h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .modal-details {
        grid-template-columns: 1fr;
    }
}

.modal-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    border: none;
}

/* Footer */
footer {
    background: var(--light-bg);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
}

/* Content Sections */
.profile-content, .hometown-content, .food-content, .tourist-content {
    padding: 40px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .profile-header {
        justify-content: center;
        text-align: center;
    }
    
    .profile-img {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .semester-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}