@font-face {
    font-family: 'Alegreya';
    src: url(Alegreya/Alegreya-VariableFont_wght.ttf);
}
@font-face {
    font-family: 'Menphis';
    src: url(Alegreya/Memphis\ River.otf);
}

@font-face {
    font-family: 'Raleway';
    src: url(Alegreya/Raleway-Thin.ttf);
}
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
/* Global Styles */
:root {
    --yellow: #FFCE32;
    --prussian-blue: #1D63FF;
    --white-lilac: #F8F8F9;
    --dark: #333333;
    --light-gray: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white-lilac);
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
}

.btn {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-git {
    background-color: var(--dark);
    color: white;
}

.btn-demo {
    background-color: var(--prussian-blue);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--prussian-blue);
}

.section-header h3 {
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 400;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--yellow);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 200, 20, 0.95);
    padding: 10px 0;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}


.logo {
    font-size: 2.5rem;
    font-family: 'Menphis', sans-serif;
    color: var(--prussian-blue);
    text-decoration: none;

}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Alegreya', sans-serif;
}

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

.nav-links a.active {
    color: var(--prussian-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--prussian-blue);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Home Section */
#home {
    display: flex;
    align-items: center;
    background-color: var(--yellow);
}

.home-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Unique border design */
.custom-border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #FFCE32;
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% 70%, 
        80% 100%, 
        60% 70%, 
        40% 100%, 
        20% 70%, 
        0 100%
    );
}

.home-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-left: 7%;
}

.home-text h3,
.home-text h1,
.home-text h2,
.home-text p {
    text-align: center; /* Ensures text aligns left within container */
    width: 100%; /* Takes full width of container */
    margin: -5px 0; /* Adjust spacing between elements */
}

.home-text h3 {
    font-size: 5rem;
    margin-bottom: 0px;
    color: var(--black);
    font-family: 'Menphis', sans-serif;
}

.home-text h1 {
    font-size: 2rem;
    margin-bottom: 0px;
    color: var(--black);
    font-family: 'Alegreya', sans-serif;
}

.home-text h2 {
    font-size: 3.5rem;
    margin-bottom: 0px;
    color: var(--prussian-blue);
    line-height: 1.2;
    font-family: 'Alegreya', sans-serif;
}

.home-text p {
    margin-top: 5px;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 30px;
}

/* Home Buttons */
.home-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    width: 100%;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #1D63FF;
    color: #1D63FF;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-solid {
    background: #1D63FF;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-solid:hover {
    background: #1551D1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 99, 255, 0.3);
}

.home-bitmoji {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-bitmoji img {
    max-width: 400px;
    width: 100%;
    height: auto;
    animation: floating 6s ease-in-out infinite;
}

/* About Section */
#about {
    background-color: var(--white-lilac);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.about-bitmoji {
    flex: 1;
}

.about-bitmoji img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--prussian-blue);
    font-family: 'Alegreya', sans-serif;
}

.about-text h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0px;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
    
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text .btn{
    font-family: 'Alegreya', sans-serif;

}

.about-boxes {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.about-boxes .box {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-boxes .box h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--prussian-blue);
    font-family: 'Alegreya', sans-serif;
}

.about-boxes .box p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Experience Section */
#experience {
    background-color: var(--yellow);
}
.container .section-header h3{
    font-family: 'Raleway';
}

.container .section-header h2{
    font-family: 'Alegreya', sans-serif;
}

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

.experience-boxes .box {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
}

.experience-boxes .box:hover {
    transform: translateY(-10px);
}

.experience-boxes .box h4 {
    font-size: 1.3rem;
    font-family: 'Alegreya', sans-serif;
    margin-bottom: 20px;
    color: var(--prussian-blue);
    
}

.experience-boxes .box ul {
    list-style: none;
}

.experience-boxes .box ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.experience-boxes .box ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--prussian-blue);
}

/* Leadership Section */
#leadership {
    background-color: var(--white-lilac);
}

.work-boxes h4{
    font-family: 'Alegreya', sans-serif;
}

.leadership-boxes h4{
    font-family: 'Alegreya', sans-serif;
}

.work-boxes, .leadership-boxes {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.work-boxes .box, .leadership-boxes .box {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.work-boxes .box:hover, .leadership-boxes .box:hover {
    transform: translateY(-10px);
}

.org-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.org-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.work-boxes .box h4, .leadership-boxes .box h4 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--prussian-blue);
}

.work-boxes .box p, .leadership-boxes .box p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 0.9rem;
}

.work-boxes .box ul, .leadership-boxes .box ul {
    list-style: none;
}

.work-boxes .box ul li, .leadership-boxes .box ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 0.9rem;
}

.work-boxes .box ul li::before, .leadership-boxes .box ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--prussian-blue);
}

/* Portfolio Section */
#portfolio {
    background-color: var(--yellow);
}

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



.project {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project:hover .project-image img {
    transform: scale(1.1);
}

.project h4 {
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
    color: var(--dark);
    font-family: 'Alegreya', sans-serif;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px 20px;
}

.project-links .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-family: 'Alegreya', sans-serif;
}

/* Contact Section */
#contact {
    background-color: var(--white-lilac);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-box {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.info-box i {
    font-size: 2rem;
    color: var(--prussian-blue);
    margin-bottom: 15px;
}

.info-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-family: 'Alegreya', sans-serif;
}

.info-box p {
    margin-bottom: 15px;
    color: var(--dark);
}

.info-box a {
    color: var(--prussian-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-box a:hover {
    color: var(--yellow);
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form .btn{
    font-family: 'Alegreya', sans-serif;
}

.info-box{
    font-family: 'Alegreya', sans-serif;
}
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--prussian-blue);
    box-shadow: 0 0 0 3px rgba(29, 99, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--prussian-blue);
    color: white;
    padding: 50px 0 20px;
    text-align: center;
}

footer h2 {
    font-size: 2rem;
    margin-top: 15px;
    margin-bottom: 30px;
    font-family: 'Alegreya', sans-serif;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-family: 'Alegreya', sans-serif;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Alegreya', sans-serif;
}

.footer-links a:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--yellow);
    color: var(--dark);
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    font-family: 'Alegreya', sans-serif;
}

/* Border Design */
.border-design {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: inherit;
    z-index: 10;
}

.border-design.top {
    top: -50px;
    clip-path: ellipse(100% 100% at 50% 100%);
}

.border-design.middle {
    bottom: -50px;
    clip-path: ellipse(100% 100% at 50% 0%);
}

.border-design.bottom {
    bottom: -50px;
    clip-path: ellipse(100% 100% at 50% 0%);
}

/* Animations */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .home-content, .about-content, .contact-content {
        flex-direction: column;
    }
    
    .home-text, .about-text, .contact-info, .contact-form {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .about-boxes {
        flex-direction: column;
    }
    
    .experience-boxes {
        grid-template-columns: 1fr;
    }
    
    .work-boxes, .leadership-boxes {
        flex-direction: column;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--yellow);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1000;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header h3 {
        font-size: 1rem;
    }
    
    .home-text h2 {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}