/* Font Import - Swiss 924 with fallbacks */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffe6a7;
    --border-color: rgba(255, 255, 255, 0.3);
    --shadow-light: rgba(67, 40, 24, 0.08);   /* 432818 */
    --shadow-medium: rgba(67, 40, 24, 0.12);
    --shadow-heavy: rgba(67, 40, 24, 0.15);
    --header-gradient: linear-gradient(135deg, #6f1d1b 0%, #432818 100%);
    --body-gradient: linear-gradient(to top, #ffe6a7 0%, #bb9457 100%);
    /* accents aligned with new palette */
    --accent-primary: #99582a;      /* warm brown */
    --accent-secondary: #6f1d1b;    /* maroon */
    /* Text glow effect */
    --text-glow: 0 0 5px rgba(255, 255, 255, 0.3);
    --text-glow-strong: 0 0 9px rgba(255, 255, 255, 0.5);
}

body {
    font-family: "Playfair Display";
    line-height: 1.6;
    color: #ffffff;
    background: url('assets/bg.jpeg') center center / cover no-repeat fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    transition: all 0.3s ease;
    /* text-shadow: var(--text-glow); */
}

/* Global text glow for better visibility */
h1, h2, h3, h4, button {
    color: #ffffff;
    text-shadow: var(--text-glow);
}

/* Stronger glow for headings */
h1, h2, h3, h4 {
    text-shadow: var(--text-glow-strong);
}

/* Enhanced glow for important text elements */
.hero-title, .hero-subtitle, .section-title, .category-title, .note-title {
    text-shadow: var(--text-glow-strong);
}

/* Global vignette + bottom fade like the screenshot */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
      radial-gradient(80% 60% at 50% 20%, rgba(67,40,24,0.01) 0%, rgba(67,40,24,0.01) 50%, rgba(67,40,24,0) 70%),
      linear-gradient(to bottom, rgba(67,40,24,0) 0%, rgba(67,40,24,0.35) 55%, rgba(67,40,24,0.65) 80%, rgba(67,40,24,0.8) 100%);
}

/* Liquid Background Animation */
@keyframes liquidBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Liquid Wave Animation */
@keyframes liquidWave {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        border-radius: 37% 63% 51% 49% / 37% 65% 35% 63%;
        transform: translate(10px, -5px) rotate(5deg);
    }
    40% {
        border-radius: 36% 64% 64% 36% / 64% 48% 52% 36%;
        transform: translate(-10px, 5px) rotate(-5deg);
    }
    60% {
        border-radius: 37% 63% 51% 49% / 30% 54% 46% 70%;
        transform: translate(5px, -10px) rotate(3deg);
    }
    80% {
        border-radius: 40% 60% 42% 58% / 41% 51% 49% 59%;
        transform: translate(-5px, 10px) rotate(-3deg);
    }
}

/* Liquid Blob Animation */
@keyframes liquidBlob {
    0%, 100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        /* transform: translate(20px, -20px) rotate(120deg); */
        transform: translate(20px, -20px);
    }
    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        /* transform: translate(-20px, 20px) rotate(240deg); */
        transform: translate(-20px, 20px);
    }
}


/* Fade In Up Animation for Liquid Display Cards */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 247, 227, 0.01);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0 0 20px 20px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    color: #ffffff;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    /* background: var(--header-gradient); */
    color: #ffffff;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(67,40,24,0.25);
}

.highlight {
    color: #ffffff;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(67,40,24,0.2);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(67,40,24,0.2);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(67,40,24,0.2);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-light);
    position: relative;
    z-index: 10;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic img.hero-img {
    max-width: 100%;
    height: 500px;
    border-radius: 10px; /* optional */
}

/* Page Header */
.page-header {
    /* background: var(--header-gradient); */
    
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
}

.page-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-description {
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    /* background: var(--body-gradient); */
}

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

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 60px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    padding: 40px 30px;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: rgba(67, 40, 24, 0.06);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.category-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.01), transparent);
    border-radius: 50%;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.category-card:hover .category-icon {
    /* transform: scale(1.1); */
    border-radius: 40% 60% 50% 70%;
    background-position: 100% 100%;
}

/* .category-card:hover .category-icon::before {
    transform: translateX(100%);
} */

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.category-description {
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.category-stats span {
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-card:hover .category-link {
    gap: 15px;
}

/* Search and Filter Section */
.search-filter {
    /* background: var(--body-gradient); */
    padding: 40px 0;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
}

.search-bar {
    margin-bottom: 30px;
}

.search-input-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    /* color: #99582a; */
    font-size: 1.1rem;
}

#searchInput {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
    font-family: "Inter", "Helvetica Neue", "Arial", sans-serif;
}

#searchInput:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Placeholder text styling */
#searchInput::placeholder {
    color: #ffffff;
    font-family: "Inter", "Helvetica Neue", "Arial", sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ffffff;
    font-family: "Inter", "Helvetica Neue", "Arial", sans-serif;
}

.filter-section {
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.filter-group {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    min-width: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: "Inter", "Helvetica Neue", "Arial", sans-serif;
}

.filter-group select:focus {
    border-color: #ffffff;
}

.clear-filters-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background: #dc2626;
}

/* Notes Section */
.notes-section {
    padding: 60px 0;
    min-height: 400px;
}

.notes-header {
    display: flex;
    color: #ffffff;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.notes-count {
    color: #ffffff;
    font-size: 1.1rem;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.note-card {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
    padding: 25px;
    /* animation-delay: calc(var(--card-index, 0) * 0.1s); */
}

.note-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: rgba(67, 40, 24, 0.06);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.note-category {
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.note-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.4;
}

.note-meta {
    color: #ffffff;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.note-meta span {
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.note-stats {
    display: flex;
    color: #ffffff;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.note-stats span {
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Features Section */
.features {
    padding: 80px 0;
    /* background: var(--body-gradient); */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    /* animation: fadeInUp 0.6s ease forwards; */
    position: relative;
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    border-radius: 40% 60% 50% 70%;
    background-position: 100% 100%;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #ffffff;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    /* background: var(--body-gradient); */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info > p {
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(31, 38, 135, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    /* animation: fadeInUp 0.6s ease forwards; */
    position: relative;
    text-decoration: none;
    /* animation-delay: calc(var(--contact-index, 0) * 0.1s); */
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(31, 38, 135, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-method.whatsapp:hover { border-color: #25d366; }
.contact-method.email:hover { border-color: #ea4335; }
.contact-method.linkedin:hover { border-color: #0077b5; }
.contact-method.github:hover { border-color: #333; }
.contact-method.facebook:hover { border-color: #1877f2; }

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    /* animation: liquidBlob 8s ease-in-out infinite; */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 50%;
}

.contact-method:hover .contact-icon {
    animation-play-state: paused;
    transform: scale(1.1);
    border-radius: 40% 60% 50% 70%;
}

.contact-method:hover .contact-icon::before {
    opacity: 1;
}

.contact-method.whatsapp .contact-icon { background: #25d366; }
.contact-method.email .contact-icon { background: #ea4335; }
.contact-method.linkedin .contact-icon { background: #0077b5; }
.contact-method.github .contact-icon { background: #333; }
.contact-method.facebook .contact-icon { background: #1877f2; }

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact-details p {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 3px;
}

.contact-details span {
    font-size: 0.9rem;
    color: var(--bg-color);
}

.response-time {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form-container {
    padding: 40px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 10;
    transform: translateY(30px);
    position: relative;
    padding: 40px 30px;
    text-align: center;
}

.contact-form-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-form-card > p {
    color: #ffffff;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
    font-family: "Inter", "Helvetica Neue", "Arial", sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #ffe6a7 !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    /* background: var(--body-gradient); */
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    /* animation: fadeInUp 0.6s ease forwards; */
    position: relative;
    padding: 30px;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: rgba(67, 40, 24, 0.06);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.faq-item p {
    color: #ffffff;
    line-height: 1.6;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-content i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-results-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.no-results-content p {
    color: #ffffff;
    margin-bottom: 30px;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* Loading State */
.loading-state {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner i {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.loading-state p {
    color: #ffffff;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* border-top: 1px solid var(--border-color); */
    /* color: var(--midnight, #095764); */
    padding: 60px 0 20px;
    position: relative;
    box-shadow: 0 -8px 24px var(--shadow-light) inset;
    /* backdrop-filter: blur(20px); */
    box-shadow: 0 4px 20px var(--shadow-light);
    /* border-bottom: 1px solid var(--border-color); */
    /* position: fixed; */
    bottom: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0 0 20px 20px;
}

.footer::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0; top: -140px;
    /* background: linear-gradient(to top, rgba(67,40,24,0.9) 0%, rgba(67,40,24,0.6) 50%, rgba(67,40,24,0) 100%); */
    pointer-events: none;
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 10px;
}

.footer-section p {
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #bb9457;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-secondary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        color: #ffffff;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgb(160, 95, 46, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        box-shadow: 0 15px 35px rgba(31, 38, 135, 0.9);
        padding: 20px 0;
        border-radius: 0 0 25px 25px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .notes-header {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .note-card {
        padding: 20px;
    }
    
    .search-input-container {
        margin: 0 15px;
    }
}
