/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4facfe;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2), 0 5px 10px rgba(0,0,0,0.1);
    
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* ===========================
   BACKGROUND DECORATION
   =========================== */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-gradient);
    bottom: -50px;
    left: -50px;
    animation-delay: 7s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-gradient);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

/* ===========================
   HEADER
   =========================== */
header {
    background: var(--primary-gradient);
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.main-title {
    font-family: 'Sora', sans-serif;
    font-size: 3.5em;
    font-weight: 800;
    margin: 20px 0;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.3em;
    font-weight: 300;
    max-width: 700px;
    margin: 20px auto;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.header-accent {
    width: 80px;
    height: 4px;
    background: white;
    margin: 30px auto 0;
    border-radius: 2px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

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

/* ===========================
   NAVIGATION TABS
   =========================== */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    margin: -20px auto 0;
    max-width: 1000px;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.tab-button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 18px 24px;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    min-width: 140px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.tab-icon {
    font-size: 20px;
    transition: var(--transition);
}

.tab-text {
    font-size: 14px;
}

.tab-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button:hover {
    background-color: rgba(102, 126, 234, 0.05);
    color: var(--primary-color);
}

.tab-button:hover .tab-icon {
    transform: scale(1.2);
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::before {
    transform: scaleX(1);
}

/* ===========================
   TAB CONTENT
   =========================== */
.tab-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0;
    animation: fadeIn 0.5s ease-out;
}

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

.content-header {
    text-align: center;
    margin-bottom: 50px;
}

.content-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.header-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.text-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.25em;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.text-content p {
    margin: 18px 0;
    color: var(--text-light);
    font-size: 1.05em;
}

.emphasis-text {
    font-weight: 600;
    color: var(--primary-color) !important;
    font-size: 1.1em !important;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin: 25px 0 !important;
}

/* ===========================
   HIGHLIGHT CARDS
   =========================== */
.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.highlight-card {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    filter: grayscale(0.3);
}

.highlight-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.4em;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1em;
}

/* ===========================
   IMAGES
   =========================== */
.image-container {
    margin: 50px 0;
    position: relative;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.image-caption {
    text-align: center;
    margin-top: 15px;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95em;
}

/* ===========================
   INFO BOX
   =========================== */
.info-box {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    border-left: 5px solid var(--accent-color);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.info-box p {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 !important;
}

/* ===========================
   BUDGET GRID
   =========================== */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.budget-item {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.budget-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.budget-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.budget-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.budget-item p {
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.6;
}

/* ===========================
   PROFILE SECTION
   =========================== */
.profile-section {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 50px;
    align-items: center;
}

.profile-image-container {
    flex-shrink: 0;
}

.profile-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.profile-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 2em;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.profile-title {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 1.15em !important;
    margin-bottom: 25px !important;
}

.profile-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 15px 0;
}

/* ===========================
   RESOURCE CARDS
   =========================== */
.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.resource-card {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.resource-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.resource-icon {
    font-size: 2.5em;
}

.resource-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.4em;
    color: var(--text-dark);
    font-weight: 600;
}

.resource-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 15px 0;
}

.resource-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 1.5em;
    color: var(--primary-color);
    transition: var(--transition);
}

.resource-card:hover .resource-arrow {
    transform: translateX(5px);
}

/* ===========================
   LOCATION
   =========================== */
.location-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin: 40px 0;
}

.location-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

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

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px 30px 30px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
}

.location-pin {
    font-size: 1.5em;
}

.location-name {
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-dark);
}

/* ===========================
   CONTACT CARDS
   =========================== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.contact-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    transition: var(--transition);
    word-break: break-all;
}

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

/* ===========================
   FOOTER
   =========================== */
footer {
    background: var(--dark-gradient);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    position: relative;
}

.footer-content p {
    margin: 8px 0;
    opacity: 0.95;
}

.footer-note {
    font-size: 0.9em;
    opacity: 0.8;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 968px) {
    .tabs {
        flex-direction: column;
        margin: -20px 20px 0;
    }
    
    .tab-button {
        min-width: auto;
        flex-direction: row;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .tab-button::before {
        left: 0;
        right: auto;
        width: 3px;
        height: 100%;
        transform: scaleY(0);
    }
    
    .tab-button.active::before {
        transform: scaleY(1);
    }
    
    .main-title {
        font-size: 2.5em;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }
    
    .tab-content {
        margin: 30px 20px;
    }
    
    .text-content {
        padding: 30px 25px;
    }
    
    .content-header h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 640px) {
    header {
        padding: 60px 20px 40px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .main-title {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .highlight-cards,
    .budget-grid,
    .resource-cards,
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .text-content {
        padding: 25px 20px;
    }
    
    .content-header h2 {
        font-size: 1.8em;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .circle-1,
    .circle-2,
    .circle-3 {
        display: none;
    }
}

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