:root {
    --primary-color: #4a90e2;
    /* Soft Blue */
    --secondary-color: #50e3c2;
    /* Soft Teal */
    --accent-color: #ff6b6b;
    /* Soft Red */
    --background-color: #f4f7f6;
    /* Very light subtle grey/white */
    --card-bg: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: --background-color;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 20px;
    margin-bottom: 0px;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: rgba(74, 144, 226, 0.1);
}

.tab-btn.active {
    color: white;
    background: var(--primary-color);
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    flex: 1;
    width: 100%;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background-image: linear-gradient(to right, #ffffff, #f9fbff);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Intro Section */
.intro-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.intro-card {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
}

.intro-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.intro-card p {
    line-height: 1.6;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
    }
}

/* Educational Section */
.educational-section h2,
.team-section h2,
.tab-content h2,
.prototype-showcase h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #444;
}

.tech-block {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.tech-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.badge {
    background: #e1f0ff;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-grid {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.spec-card {
    flex: 1;
    text-align: center;
    background: #fdfdfd;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #eee;
    min-width: 200px;
}

.spec-card img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    mix-blend-mode: multiply;
}

.tech-details {
    background: #fcfcfc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.tech-details ul,
.control-list {
    list-style: none;
}

.tech-details li,
.control-list li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
}

.tech-details li:before,
.control-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.logic-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .logic-container {
        grid-template-columns: 1fr;

        .specs-grid {
            flex-direction: column;
        }
    }
}

.logic-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.logic-card:hover {
    transform: translateY(-5px);
}

.logic-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-member {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #f0f0f0;
}

.team-member h3 {
    margin-bottom: 0.2rem;
    color: var(--text-color);
}

.team-member p {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Button */
.contact-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #128C7E;
}

/* Files / Portfolio */
.file-card {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.file-card:hover {
    transform: scale(1.01);
}

/* Updated SVG Logic for file-icon */
.file-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    background: #f0f4f8;
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.file-icon svg {
    width: 24px;
    height: 24px;
}

.icon-inline {
    width: 28px;
    height: 28px;
    margin-right: 0.8rem;
    vertical-align: middle;
    color: var(--primary-color);
    /* Adjust for header alignment */
    position: relative;
    top: -2px;
}


.file-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-btn {
    text-decoration: none;
    color: white;
    background-color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    transition: background 0.3s;
}

.download-btn:hover {
    background-color: #3ecfcd;
    /* Slightly darker teal */
}

.posters-grid,
.logbooks-list {
    display: flex;
    flex-direction: column;
    /* Stack them for readability */
    gap: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}
