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

body {
    font-family: 'Poppins', sans-serif;
    background: #0d0b1f;
    color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* COLORS */
:root {
    --purple1: #5f27cd;
    --purple2: #341f97;
    --neon: #a29bfe;
    --white: #ffffff;
}

/* NAVBAR */
header {
    width: 100%;
    background: rgba(20, 16, 40, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--neon);
}

.nav-links a {
    margin: 0 18px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--neon);
}

/* HAMBURGER */
.hamburger {
    background: none;
    border: none;
    color: white;
    display: none;
    cursor: pointer;
    font-size: 28px;
}

/* HERO SECTION */
.hero {
    height: 85vh;
    background: linear-gradient(135deg, #341f97, #5f27cd, #6c5ce7);
    background-size: 200% 200%;
    animation: gradientMove 12s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

@keyframes gradientMove {
    0% { background-position: 0 0; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0 0; }
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    max-width: 700px;
    font-size: 18px;
    opacity: 0.9;
    margin: auto;
    margin-bottom: 30px;
}

.hero-btn {
    padding: 14px 32px;
    background: var(--neon);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #000;
    font-weight: 600;
    transition: 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

/* SECTION HEADINGS */
.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 40px;
}

/* SERVICES */
#services {
    padding: 100px 7%;
}

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

.service-card {
    background: #1a1539;
    padding: 35px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.service-card i {
    color: var(--neon);
    width: 40px;
    height: 40px;
}

.service-card h3 {
    margin-top: 15px;
    font-size: 20px;
    margin-bottom: 8px;
}

/* ABOUT */
#about {
    padding: 120px 7%;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: auto;
    line-height: 1.7;
    font-size: 18px;
    opacity: 0.9;
}

/* ⭐ FOUNDER CARD ⭐ */
.founder-card {
    background: #1a1539;
    padding: 45px;
    width: 480px;               /* wider card */
    margin: 40px auto 0;
    border-radius: 22px;
    box-shadow: 0 0 25px rgba(162, 155, 254, 0.25);
    text-align: center;
    transition: 0.3s;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(162, 155, 254, 0.4);
}

/* RECTANGULAR FOUNDER PHOTO + BIGGER SIZE */
.founder-photo {
    width: 260px;               /* increased size */
    height: 320px;              /* increased height */
    object-fit: cover;
    border-radius: 12px;        /* slightly rounded, NOT circle */
    margin-bottom: 20px;
    border: 4px solid var(--neon);
}

.founder-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.founder-title {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 12px;
}

.founder-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    opacity: 0.9;
}

.founder-contact i {
    color: var(--neon);
    width: 22px;
    height: 22px;
}

/* PORTFOLIO */
#portfolio {
    padding: 120px 7%;
}

.portfolio-slider {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    scroll-behavior: smooth;
}

.project-card {
    min-width: 300px;
    background: #1a1539;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTACT */
#contact {
    padding: 120px 7%;
    text-align: center;
}

#contact form {
    max-width: 600px;
    margin: auto;
    background: #1a1539;
    padding: 35px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

#contact input,
#contact textarea {
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

#contact button {
    background: var(--neon);
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    color: #000;
    transition: 0.3s;
}

#contact button:hover {
    transform: translateY(-3px);
}

/* FOOTER */
footer {
    padding: 40px;
    text-align: center;
    background: #150f2d;
    color: #aaa;
    margin-top: 80px;
}

footer p {
    opacity: 0.8;
}

/* -------------------------------
   MOBILE RESPONSIVE
-------------------------------- */
@media (max-width: 900px) {

    .nav-links {
        position: absolute;
        top: 68px;
        right: 0;
        background: #150f2d;
        width: 100%;
        display: none;
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-links.open {
        display: flex !important;
        flex-direction: column;
        gap: 18px;
        padding: 25px 0;
    }

    .nav-links a {
        padding: 12px 0;
    }

    .hamburger {
        display: block;
    }

    .founder-card {
        width: 90%;
        padding: 35px;
    }

    .founder-photo {
        width: 220px;
        height: 280px;
    }
}