@font-face {
    font-family: Inter;
    src: url("fonts/Inter.ttf");
}

body {
    background-color: #272932;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 20px;
    scroll-behavior: smooth;
}

.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-margin {
    margin-bottom: 100px;
}

.navbar {
    position: sticky;
    height: 30px;
    z-index: 2000;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #272932;
}

.logo{
    display: flex;
    align-items: center;
}

.logo img {
    width: 65px;
}

.logo span {
    color: #9DAFFF;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 40px;
    font-size: 1.1rem;
    transition: 0.3s ease;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
    text-decoration-thickness: 0.2rem;
    text-decoration-color: #87bbff;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 30px 0;
    gap: 30px;
}

.hero-left {
    flex: 1.2;
    min-width: 400px;
}

.intro-tag {
    font-size: 4rem;
    font-weight: 100;
    margin: 0;
    color: #ffffff;
}

.hero-left h1 {
    font-size: 5.5rem;
    margin: 5px 0;
    line-height: 0.9;
}

.divider-line {
    width: 80px;
    height: 5px;
    background-color: #9DAFFF;
    margin: 30px 0;
}

.hero-desc {
    color: #ffffff;
    max-width: 450px;
    line-height: 1.6;
    font-weight: 100;
    font-size: 1.2rem;
}

.hero-center {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 400px;
}

.profile-circle {
    width: 450px;
    height: 580px;
    background: #303541;
    border-radius: 10%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.profile-circle img {
    width: 100%;
}

.brand-tray {
    background-color: #303541;
    padding: 40px;
    border-radius: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-card {
    background-color: #272932;
    flex: 1;
    min-width: 180px;
    padding: 50px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    transition: 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-10px);
    background-color: #41465B;
}

.brand-card img {
    max-width: 200px;
    filter: brightness(0) invert(1);
}

.video-container-small {
    width: 80%;
    margin: 0 auto;
    aspect-ratio: 16 / 7;
    border-radius: 25px;
    overflow: hidden;
    background: #000;
}

.video-container-small iframe {
    width: 100%;
    height: 100%;
}

.project-block {
    margin-bottom: 80px;
}

.project-block h3 {
    font-size: 2.5rem;
    color: #9DAFFF;
    margin-bottom: 10px;
}

.project-block p {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.2rem;
}
.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 20px;
    width: 100%;
}

.project-shot {
    flex: 1 1 450px; 
    max-width: 500px; 
    aspect-ratio: 16 / 10; 
    border-radius: 15px;
    overflow: hidden;
    background-color: #303541;
}

.project-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.project-shot:hover img {
    transform: scale(1.05);
}

.edu-grid, .talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.edu-card, .talent-card {
    background: #303541;
    padding: 60px 40px;
    border-radius: 25px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
}

.edu-card h3, 
.edu-card p, 
.talent-card h3, 
.talent-card p {
    color: #ffffff;
}

.edu-card h3{
    font-size: 1.2rem;
}

.edu-card p{
    font-size: 1.0rem;
}

.edu-card:hover, .talent-card:hover {
    transform: translateY(-10px);
    border: 1px solid #9DAFFF;
}

.year {
    color: #9DAFFF;
    font-weight: 600;
}

.t-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.school-emblem img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.footer {
    text-align: center;
    padding: 120px 0;
    color: #737DAA;
}

.sub-nav {
    background-color: #303541;
    position: sticky;
    top: 70px;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid #3d3d47;
}

.sub-nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.sub-nav a {
    color: #737DAA;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #737DAA;
    transition: 0.3s ease;
}

.sub-nav a:hover {
    color: #9DAFFF;
    border-color: #9DAFFF;
    background-color: rgba(157, 175, 255, 0.05);
}

.projects-header {
    text-align: center;
    padding: 80px 0;
}

.projects-header h1 {
    font-size: 4rem;
    margin-bottom: 15px;
}

.projects-header p {
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.section-title-blue {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #9DAFFF;
}

.project-hero-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    background: #303541;
    border-radius: 25px;
    padding: 60px;
    margin-bottom: 40px;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.project-hero-card:hover {
    transform: translateY(-10px);
    border: 1px solid #9DAFFF;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
}

.hero-details h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.level {
    color: #9DAFFF;
    font-weight: 600;
    margin-bottom: 20px;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.system-grid a{
    text-decoration: none;
    color: white;
}

#test-image{
    background-image: url('../images/kainna\(1\).png');
    filter: blur(5px);
}

.system-card {
    background: #303541;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.system-card h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.system-card:hover {
    border: 1px solid #9DAFFF;
    transform: translateY(-5px);
}

.proto-card {
    background-color: #303541;
    padding: 60px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.proto-card p{
    margin-bottom: 40px;
}

.proto-card h3{
    font-size: 3rem;
    margin-top: 10px;
}

.proto-image:hover img{
    transform: scale(1.05);
}

.btn-span{
    display: flex;
    gap: 20px;
    justify-content: center;
}

.proto-card:hover {
    transform: translateY(-5px);
    border: 1px solid #9DAFFF;
}

.proto-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.proto-grid{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.proto-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.3s ease;
}

.proto-image {
    flex: 1 1 250px;
    max-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #272932;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.graphics-grid {
    column-count: 3;
    column-gap: 20px;
    width: 100%;
}

.grid-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #303541;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.tall {
    grid-row: span 2;
}

.anim-hero {
    background: #303541;
    border-radius: 25px;
    overflow: hidden;
    transition: 0.3s ease;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
}

.anim-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    background-color: #9DAFFF;
    color: #272932;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: #87bbff;
}

.btn-secondary {
    border: 2px solid #9DAFFF;
    color: #9DAFFF;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(157, 175, 255, 0.1);
}

.btn-periwinkle {
    background-color: #3d3d47;
    color: #9DAFFF;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    border: 1px solid #9DAFFF;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-periwinkle:hover {
    background-color: #41465B;
}

.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-view-more {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9DAFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 30px;
    border: 2px solid #9DAFFF;
    border-radius: 50px;
    transition: 0.3s ease;
}

.btn-view-more span {
    transition: transform 0.3s ease;
    font-size: 1.3rem;
}

.btn-view-more:hover {
    background-color: #9DAFFF;
    color: #272932;
    transform: translateY(-3px);
}

.btn-view-more:hover span {
    transform: translateX(5px);
}

.btn-view-more:active {
    transform: translateY(0);
}

.about-hero-compact {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding-top: 20px;
}

.about-image-small {
    position: relative;
    flex: 0 0 350px;
}

.about-image-small img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.image-accent-small {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid #9DAFFF;
    border-radius: 20px;
    z-index: 1;
}

.skills-overview-grid {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}

.skill-group span { 
    color: #9DAFFF; 
    font-size: 0.85rem; 
    letter-spacing: 1px;
}

.skill-group p { 
    margin: 2px 0 0 0; 
    font-size: 1.1rem; 
}

.achieve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.achieve-card-v2 {
    background: #303541;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.achieve-card-v2:hover {
    transform: translateY(-5px);
    border-bottom-color: #9DAFFF;
}

.achieve-img-box {
    height: 180px;
    background: #272932;
    overflow: hidden;
}

.achieve-img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.achieve-content { 
    padding: 20px; 
}

.achieve-content h3 { 
    margin: 0; 
    font-size: 1.2rem; 
    color: #9DAFFF; 
}

.achieve-content p { 
    margin: 8px 0 0 0; 
    font-size: 0.9rem; 
    color: #ffffff; 
}

.seminar-grid-v3 {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.seminar-featured {
    background: #303541;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #9DAFFF;
    transition: 0.3s ease;
}

.seminar-featured h3{
    color: #9DAFFF;
}

.sem-img-holder { 
    height: 400px; 
}

.sem-img-holder img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; }

.sem-content { 
    padding: 10px 25px; 
}

.seminar-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sem-mini-card {
    background: #303541;
    border-radius: 15px;
    padding: 12px;
    transition: 0.3s;
}

.sem-mini-card:hover { 
    background: #3d4354; 
    transform: translateY(-10px);
}

.sem-thumb {
    aspect-ratio: 5/3;
    background: #272932;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.sem-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.sem-mini-card h4 { 
    margin: 0; 
    font-size: 0.95rem; 
    color: #9DAFFF; 
}
.sem-mini-card p { 
    font-size: 0.75rem; 
    margin: 4px 0 0 0; 
}

.about-hero-balanced {
    display: grid;
    grid-template-columns: 400px 2fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 40px;
}

.about-image-small {
    position: relative;
    width: 100%;
}

.about-image-small img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    display: block;
}

.image-accent-small {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid #9DAFFF;
    border-radius: 20px;
    z-index: 1;
}

.about-intro-center h1 {
    font-size: 4rem;
    margin: 0 0 15px 0;
}

.about-intro-center .hero-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 500px;
}

.skills-sidebar {
    background: rgba(48, 53, 65, 0.5);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 4px solid #9DAFFF;
}

.skill-group span {
    color: #9DAFFF;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 5px;
}

.skill-group p {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

.seminar-featured:hover{
    transform: translateY(-10px);
}

.contact-vertical-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-top: 60px;
}

.contact-header-centered h1 {
    font-size: 5rem;
    margin-bottom: 10px;
}

.contact-email-line {
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.contact-form-centered {
    text-align: left;
    background-color: #303541;
    padding: 50px;
    border-radius: 25px;
    margin-bottom: 60px;
}

.form-row-vertical {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.95rem;
    color: #9DAFFF;
    font-weight: bold;
}

.form-group input, 
.form-group textarea {
    background-color: #272932;
    border: 1px solid #3d3d47;
    border-radius: 10px;
    padding: 15px;
    color: white;
    font-family: inherit;
    transition: 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #9DAFFF;
}

.contact-socials-bottom {
    margin-top: 40px;
}

.contact-socials-bottom .brand-tray {
    justify-content: center;
}

@media (max-width: 1024px) {
    /* Layout Overrides */
    .project-hero-card, 
    .proto-card,
    .system-grid,
    .about-hero-balanced,
    .about-hero-compact,
    .seminar-grid-v3,
    .form-row-vertical {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    /* About Section Specifics */
    .about-image-small {
        margin: 0 auto;
        flex: 0 0 auto;
        width: 100%;
        max-width: 250px;
    }

    .about-intro-center .hero-desc {
        margin: 0 auto;
    }

    .skills-sidebar {
        border-right: none;
        border-bottom: 4px solid #9DAFFF;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-details,
    .action-buttons {
        text-align: center;
        justify-content: center;
    }

    .graphics-grid { 
        column-count: 3; 
    }

    .form-row-vertical {
        gap: 0;
    }

    .form-row-vertical label{
        text-align: left;
    }

    .about-intro-center .hero-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 100%;
    }     

    .about-hero-balanced {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }


    .about-image-small {
        max-width: 500px;
        width: 100%;
    }

    .about-intro-center {
        max-width: 800px;
        width: 100%;
    }

    .skills-sidebar {
        width: 80%;
        max-width: 800px;
        border-right: none;
        border-bottom: 4px solid #9DAFFF;
    }

    .hero{
        align-items: center;
    }
}

@media (max-width: 600px) {
    .section-title{
        font-size: 2rem;
    }

    .btn-primary{
        font-size: 1.2rem;
    }

    .btn-secondary{
        font-size: 1.2rem;
    }

    .section-title-blue{
        font-size: 2rem;
    }

    .navbar {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 15px;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0;
    }

    .nav-links a {
        margin: 0 10px;
        font-size: 1rem;    
    }

    .sub-nav {
        top: 110px; 
    }

    .contact-header-centered h1 {
        font-size: 2.8rem;
    }

    .contact-form-centered {
        padding: 25px;
    }

    .graphics-grid { 
        column-count: 1; 
    }
}