/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #2c3e50;
    --accent-color: #16a085;
    --white: #ffffff;
    --text-muted: #555;
    --border-color: #e1e4e8;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --bg-overlay: rgba(44, 62, 80, 0.75);
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color);
    background-color: #f0f2f5;
    min-height: 100vh;
    padding-top: 80px;

    /* SAME BACKGROUND AS OTHERS */
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920') no-repeat center center fixed;
    background-size: cover;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(3px);
    z-index: -1;
}

/* =========================================
   2. NAVBAR
   ========================================= */
.navbar {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* =========================================
   3. ABOUT CONTAINER
   ========================================= */
.about-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-card {
    background: var(--white);
    width: 100%;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Headers */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* =========================================
   4. INFO SECTIONS (Split Layout)
   ========================================= */
.info-section {
    margin-bottom: 40px;
}

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

/* Reverse layout for the second section */
.reverse .content-wrapper {
    flex-direction: row-reverse;
}

.text-content {
    flex: 2;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.visual-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background-color: #f0fdfa;
    /* Very light teal */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0f2f1;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-top: 15px;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

/* =========================================
   5. PILLARS GRID
   ========================================= */
.pillars-section {
    text-align: center;
    margin-bottom: 40px;
}

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

.pillar-card {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: #f0fdfa;
}

.p-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.pillar-card h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   6. TECH STACK
   ========================================= */
.tech-section {
    text-align: center;
}

.tech-section p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.tech-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* =========================================
   7. ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {

    .content-wrapper,
    .reverse .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .about-card {
        padding: 30px;
    }

    .feature-list li {
        text-align: left;
    }
}