/* ===== Global Setup ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #0d0d0d;
    color: white;
    scroll-behavior: smooth;
}

section {
    padding: 80px 40px;
}

/* ===== Navbar ===== */
.navbar {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.navbar nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #cccccc;
    font-size: 16px;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: white;
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    padding-top: 130px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(120deg, #0d0d0d, #111111, #080808);
}

.hero-title {
    font-size: 80px;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff, #bbbbbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1.4s ease;
}

.hero-subtitle {
    font-size: 22px;
    width: 60%;
    opacity: 0.8;
    margin-top: 20px;
    line-height: 1.6;
}

.hero-btn {
    margin-top: 35px;
    padding: 14px 32px;
    border: none;
    color: #000;
    font-size: 18px;
    border-radius: 30px;
    background: white;
    cursor: pointer;
    transition: 0.3s;
}

.hero-btn:hover {
    transform: scale(1.08);
}

/* ===== About Section ===== */
.about {
    text-align: center;
}

.about h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about p {
    width: 70%;
    margin: 0 auto;
    font-size: 18px;
    opacity: 0.85;
    line-height: 1.7;
}

.why-us {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.why-card {
    background: #111;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #333;
    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: #fff;
}

/* ===== Services ===== */
.services {
    text-align: center;
}

.services h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: #151515;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #333;
    transition: 0.3s;
    min-height: 180px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: white;
}

/* ===== Tech Stack ===== */
.tech {
    text-align: center;
}

.tech h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.tech-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-box span {
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #111;
    transition: 0.3s;
}

.tech-box span:hover {
    background: white;
    color: black;
}

/* ===== Portfolio ===== */
.portfolio {
    text-align: center;
}

.portfolio h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.project-card {
    background: #121212;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #333;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: white;
}

/* ===== Process Section ===== */
.process {
    text-align: center;
}

.process h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.step {
    background: #111;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #333;
    transition: 0.3s;
}

.step:hover {
    transform: translateY(-10px);
    border-color: white;
}

/* ===== Team Section ===== */
.team {
    text-align: center;
}

.team h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.team-card {
    background: #121212;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #333;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: white;
}

.role {
    font-size: 15px;
    color: #bbb;
    margin-bottom: 10px;
}

/* ===== Testimonials ===== */
.testimonials {
    text-align: center;
}

.testimonials h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.test-card {
    background: #111;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #333;
    transition: 0.3s;
}

.test-card:hover {
    transform: translateY(-10px);
    border-color: white;
}

.test-card h4 {
    margin-top: 10px;
    opacity: 0.8;
}

/* ===== Contact ===== */
.contact {
    text-align: center;
    padding-bottom: 100px;
}

.contact h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.contact p {
    opacity: 0.7;
}

.contact-form {
    margin: 30px auto 0 auto;
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #333;
    outline: none;
    background: #111;
    color: white;
}

.contact-form button {
    width: 200px;
    margin: 0 auto;
    padding: 12px;
    background: white;
    color: black;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 17px;
    transition: 0.3s;
}

.contact-form button:hover {
    transform: scale(1.08);
}

/* ===== Footer ===== */
.footer {
    padding: 30px;
    text-align: center;
    background: #0a0a0a;
    border-top: 1px solid #222;
    opacity: 0.8;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}