* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

:root {
    --primary: #00e5ff;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --dark: #050816;
    --card: rgba(255, 255, 255, 0.12);
    --white: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8fafc;
    color: var(--text);
    overflow-x: hidden;
}

.top-strip {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 800;
    display: flex;
    justify-content: center;
    gap: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.hero {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 20%, rgba(0,229,255,0.28), transparent 28%),
        radial-gradient(circle at 85% 65%, rgba(124,58,237,0.32), transparent 30%),
        linear-gradient(135deg, #050816 0%, #07111f 48%, #111827 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.navbar {
    width: 92%;
    margin: auto;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: grid;
    place-items: center;
    color: white;
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(0,229,255,0.25);
}

.brand h2 {
    font-size: 26px;
}

.brand p {
    color: #cbd5e1;
    font-size: 12px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

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

.nav-btn {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px 24px;
    border-radius: 999px;
    backdrop-filter: blur(14px);
}

.hero-content {
    width: 92%;
    margin: auto;
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 55px;
    position: relative;
    z-index: 5;
}

.label {
    display: inline-block;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    color: var(--primary);
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 22px;
    backdrop-filter: blur(14px);
}

.hero-text h1 {
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.03;
    max-width: 900px;
    margin-bottom: 24px;
}

.description {
    color: #dbe4f0;
    max-width: 760px;
    line-height: 1.85;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 34px 0;
}

.primary-btn,
.secondary-btn,
.secondary-dark-btn {
    display: inline-block;
    padding: 15px 31px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.35s;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 20px 45px rgba(0,229,255,0.26);
}

.secondary-btn {
    border: 2px solid rgba(255,255,255,0.28);
    color: white;
}

.secondary-dark-btn {
    border: 2px solid rgba(15,23,42,0.25);
    color: #111827;
}

.primary-btn:hover,
.secondary-btn:hover,
.secondary-dark-btn:hover {
    transform: translateY(-7px);
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats div {
    min-width: 145px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(16px);
}

.hero-stats strong {
    display: block;
    font-size: 32px;
    color: var(--primary);
}

.hero-stats span {
    color: #cbd5e1;
    font-size: 14px;
}

.hero-card {
    position: relative;
    min-height: 590px;
}

.profile-card {
    width: 80%;
    margin-left: auto;
    border-radius: 40px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.20);
    backdrop-filter: blur(18px);
    box-shadow: 0 40px 90px rgba(0,0,0,0.45);
    animation: floatProfile 5s ease-in-out infinite;
}

.profile-card img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
}

.profile-info {
    padding: 24px;
}

.profile-info h3 {
    font-size: 28px;
}

.profile-info p {
    color: #cbd5e1;
    margin-top: 7px;
}

.float-box {
    position: absolute;
    width: 250px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    animation: smallFloat 4.5s ease-in-out infinite;
}

.float-box h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.float-box p {
    color: #dbe4f0;
}

.box-one {
    left: 0;
    top: 80px;
}

.box-two {
    right: 0;
    bottom: 70px;
    animation-delay: 1s;
}

.hero-shape {
    position: absolute;
    border-radius: 40px;
    background: rgba(255,255,255,0.055);
    animation: shapeMove 13s linear infinite;
}

.shape-1 {
    width: 110px;
    height: 110px;
    left: 10%;
    bottom: -120px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    left: 46%;
    bottom: -160px;
    animation-delay: 3s;
}

.shape-3 {
    width: 90px;
    height: 90px;
    right: 9%;
    bottom: -100px;
    animation-delay: 6s;
}

.section {
    padding: 95px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 58px;
}

.section-title span {
    color: var(--secondary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: clamp(32px, 4vw, 56px);
    margin: 12px 0;
}

.section-title p {
    max-width: 760px;
    margin: auto;
    color: var(--muted);
    line-height: 1.8;
}

.section-title.light h2,
.section-title.light span,
.section-title.light p {
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 42px;
    box-shadow: -24px 24px 0 var(--primary);
}

.about-content {
    background: white;
    padding: 50px;
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(15,23,42,0.09);
}

.about-content h3 {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 18px;
}

.about-content p {
    color: var(--muted);
    line-height: 1.85;
}

.about-points {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.about-points p {
    background: #eef8ff;
    color: #111827;
    font-weight: 800;
    padding: 15px 18px;
    border-radius: 16px;
    border-left: 5px solid var(--primary);
}

.dark-section {
    background:
        linear-gradient(135deg, rgba(5,8,22,0.96), rgba(17,24,39,0.93)),
        url("images/tech-bg.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.services-grid,
.internship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card,
.week-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 34px;
    border-radius: 30px;
    backdrop-filter: blur(16px);
    transition: 0.35s;
}

.service-card:hover,
.week-card:hover {
    transform: translateY(-14px);
    background: rgba(0,229,255,0.14);
}

.service-card h3,
.week-card h3 {
    color: var(--primary);
    font-size: 25px;
    margin-bottom: 14px;
}

.service-card p,
.week-card p {
    color: #dbe4f0;
    line-height: 1.8;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15,23,42,0.10);
    transition: 0.35s;
}

.project-card:hover {
    transform: translateY(-12px);
}

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

.project-card div {
    padding: 28px;
}

.project-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.project-card span {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 9px 15px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
}

.slider {
    overflow: hidden;
    padding: 10px 0 30px;
}

.slider-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: slideGallery 24s linear infinite;
}

.slider-track img {
    width: 390px;
    height: 285px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 25px 60px rgba(15,23,42,0.15);
    transition: 0.35s;
}

.slider-track img:hover {
    transform: scale(1.05) rotate(1deg);
}

.contact-box {
    background:
        radial-gradient(circle at 18% 20%, rgba(0,229,255,0.25), transparent 30%),
        linear-gradient(135deg, #ffffff, #eef8ff);
    border-radius: 42px;
    padding: 76px 30px;
    text-align: center;
    box-shadow: 0 35px 90px rgba(15,23,42,0.12);
}

.contact-box h2 {
    font-size: clamp(32px, 4vw, 58px);
}

.contact-box p {
    max-width: 760px;
    margin: 18px auto 30px;
    color: var(--muted);
    line-height: 1.8;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

footer {
    background: #050816;
    color: #cbd5e1;
    text-align: center;
    padding: 24px;
}

.reveal {
    opacity: 0;
    transform: translateY(55px);
    transition: 0.85s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatProfile {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-24px) rotate(-1deg); }
}

@keyframes smallFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

@keyframes shapeMove {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translateY(-115vh) rotate(260deg);
        opacity: 0;
    }
}

@keyframes slideGallery {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 1050px) {
    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .internship-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card {
        min-height: 610px;
    }

    .profile-card {
        width: 88%;
        margin: auto;
    }
}

@media (max-width: 720px) {
    .top-strip {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 10px;
    }

    .navbar {
        flex-direction: column;
        gap: 18px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .services-grid,
    .internship-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
    }

    .about-content {
        padding: 30px;
    }

    .about-image img,
    .profile-card img {
        height: 380px;
    }

    .float-box {
        position: relative;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin-top: 18px;
    }

    .hero-card {
        min-height: auto;
    }

    .slider-track img {
        width: 290px;
        height: 220px;
    }
}
