/* --- DEVIDEV WEBSITE STYLESHEET --- */
/* --- Futuristic Font Update: Oxanium + Inter --- */

:root {
    --background: #121212;
    --surface: #1E1E1E;
    --primary-text: #E0E0E0;
    --secondary-text: #A0A0A0;
    --accent: #00C49A;
    --border-color: #333333;
}

body {
    background-color: var(--background);
    color: var(--primary-text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.7;
}

/* --- FONT UPDATE --- */
h1, h2, h3, h4 {
    font-family: 'Oxanium', sans-serif;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px; /* Adds to the futuristic feel */
}

h1 { font-size: 3.5em; line-height: 1.1; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.5em; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: white;
}

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

/* --- Header & Navigation --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
header .logo a {
    font-family: 'Oxanium', sans-serif; /* --- FONT UPDATE --- */
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}
nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
nav ul li { position: relative; }
nav a {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
    padding: 5px 0;
}
.dropdown-content {
    display: none; position: absolute; top: 110%; left: -20px;
    background-color: var(--surface); border: 1px solid var(--border-color);
    min-width: 220px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10; list-style: none; padding: 10px; margin: 0; border-radius: 8px;
}
.dropdown-content a { color: var(--primary-text); padding: 10px 15px; }
li.dropdown:hover > .dropdown-content { display: block; }

/* --- Hero Section --- */
.hero, .page-hero {
    background-color: var(--background);
    text-align: center;
    padding: 100px 40px;
}
.page-hero h1, .page-hero p { color: white; }
.hero p, .page-hero p {
    font-size: 1.2em;
    color: var(--secondary-text);
    max-width: 1200px;
    margin: 20px auto 30px auto;
}
.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: #121212;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Oxanium', sans-serif; /* --- FONT UPDATE --- */
    transition: transform 0.3s ease;
}
.cta-button:hover {
    color: #121212;
    transform: scale(1.05);
}

.hero img {
    height: 250px;
}

/* --- Project Grid --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.project-card {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.project-card-content {
    padding: 25px;
}
.project-card-content h3 { margin-top: 0; }
.project-tags { margin-top: 15px; }
.project-tags span {
    display: inline-block;
    background-color: rgba(0, 196, 154, 0.1);
    color: var(--accent);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: 500;
}

/* --- Interactive Diagram --- */
.diagram-container { background-color: var(--background); padding: 60px 20px; position: relative; overflow: hidden; }
.bpl-diagram { display: flex; align-items: center; justify-content: space-around; max-width: 1100px; margin: auto; position: relative; }
.diagram-item { text-align: center; position: relative; z-index: 2; flex-shrink: 0; }
.diagram-item-icon { font-size: 3em; background: var(--surface); border: 1px solid var(--border-color); padding: 20px; border-radius: 50%; display: inline-block; line-height: 1; }
.diagram-item p { font-family: 'Oxanium', sans-serif; margin-top: 10px; font-weight: 600; color: var(--primary-text); } /* --- FONT UPDATE --- */
.connection-line { position: absolute; top: 50%; left: 10%; right: 10%; height: 3px; background-color: var(--border-color); z-index: 1; margin-top: -1.5px; }
.data-flow { position: absolute; top: 50%; left: 10%; right: 10%; height: 3px; margin-top: -1.5px; z-index: 1; }
.data-dot { position: absolute; width: 12px; height: 12px; background-color: var(--accent); border-radius: 50%; top: -4.5px; animation: flow-animation-horizontal 5s linear infinite; }
.data-dot:nth-child(2) { animation-delay: -1s; }
.data-dot:nth-child(3) { animation-delay: -2s; }
.data-dot:nth-child(4) { animation-delay: -3s; }
.data-dot:nth-child(5) { animation-delay: -4s; }
@keyframes flow-animation-horizontal {
    0% { left: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* --- Timeline --- */
.timeline { border-left: 2px solid var(--border-color); margin-left: 20px; padding-left: 40px; }
.timeline::after { display: none; }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::after {
    content: ''; position: absolute; width: 15px; height: 15px; left: -28px;
    background-color: var(--accent); border: 3px solid var(--background);
    top: 5px; border-radius: 50%; z-index: 1;
}
.timeline-content { background-color: var(--surface); border-radius: 12px; padding: 20px; text-align: left; }
.timeline-content h3 { margin-top: 0; color: white; }

/* --- Contact Form --- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 40px; text-align: left; }
.contact-details, .contact-form-container { flex: 1; min-width: 300px; }
.contact-details h3 { margin-top: 0; }
.contact-info-item { display: flex; align-items: center; margin-bottom: 20px; font-size: 1.1em; }
.contact-info-item .icon { font-size: 1.5em; margin-right: 15px; color: var(--accent); }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: 500; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; font-family: 'Inter', sans-serif; font-size: 1em;
    box-sizing: border-box; background-color: var(--surface);
    border: 1px solid var(--border-color); color: var(--primary-text); border-radius: 8px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.submit-button { /* Re-using .cta-button style */
    display: inline-block; background-color: var(--accent); color: #121212;
    padding: 15px 35px; border: none; border-radius: 50px;
    font-weight: 700; font-size: 1em; cursor: pointer;
    font-family: 'Oxanium', sans-serif; transition: transform 0.3s ease; /* --- FONT UPDATE --- */
}
.submit-button:hover { transform: scale(1.05); }
.map-container { margin-top: 60px; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.map-container iframe { width: 100%; height: 450px; border: 0; filter: invert(90%) hue-rotate(180deg); } /* Dark mode for map */

/* --- Other Components --- */
.content-section, .why-us { background-color: transparent; }
.contact-details, .contact-form-container { background-color: var(--surface); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); }

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px;
    margin-top: 60px;
    color: var(--secondary-text);
    border-top: 1px solid var(--border-color);
}

/* --- Responsive Adjustments --- */
@media screen and (max-width: 768px) {
    .bpl-diagram { flex-direction: column; gap: 70px; }
    .connection-line { top: 5%; bottom: 5%; left: 50%; width: 3px; height: 90%; margin-left: -1.5px; }
    .data-flow { top: 5%; bottom: 5%; left: 50%; width: 3px; height: 90%; margin-left: -1.5px; }
    .data-dot { top: auto; left: -4.5px; animation-name: flow-animation-vertical; }
    @keyframes flow-animation-vertical {
        0% { top: 0%; opacity: 0; }
        20% { opacity: 1; }
        80% { opacity: 1; }
        100% { top: 100%; opacity: 0; }
    }
}

/* --- REWORKED TEAM SECTION STYLES --- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted for better spacing */
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 12px; /* Changed from circle to soft rectangle */
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    margin-bottom: 5px;
    margin-top: 0;
    font-size: 1.4em;
}

.team-member p.title {
    font-family: 'Inter', sans-serif;
    font-style: normal; /* Removed italics for a cleaner look */
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 500;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-socials a {
    display: inline-block;
    color: var(--secondary-text);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.team-socials a:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--background);
}
