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

html, body {
    background-color: #080808;
    scroll-behavior: smooth;
}

.universal {
    background-color: #080808;
    min-height: 100vh;
    width: 100%;
    overflow: auto;
}
.navbar{
    color: #9C9C9C;
    background-color: #1b1b1b;
    width: 100%;
    max-width: 1250px;
    height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}
.social-media {
    font-size: large;
    background: none;
    border: none;
    cursor: pointer;
}
.navbar a {
    background-color: transparent;
    border: none;
    color: #9C9C9C;
    cursor: pointer;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.nav-texts{
    display:flex;
    gap: 40px;
    padding-right: 20px;
}
.nav-name{
    color: white;
    font-size: 28px;
    font-weight: 700;
    padding-left: 20px;
}
.nav-name:hover{
    color: white;
}
.home:hover{
    color: white;
    text-decoration: underline;
}
.projects:hover{
    color: white;
    text-decoration: underline;
}
.contact:hover{
    color: white;
    text-decoration: underline;
} 
.social-media:hover{
    color: white;
}
.hero{
    padding-top: 70px;
    display: flex;
    margin: auto;
}
.hero-text{
    
    width: 50%;
    height: 600px;
    
}
.hero-text h1{
     display: flex;
    justify-content: center;
    padding-top: 20%;
    color: white;
    font-size: 56px;
}
.hero-text p{
    font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  line-height: 1.6;
    padding-top: 20px;
    /* display: flex; */
    margin-left: 220px;
    color: #9C9C9C;
}
.span{
        background: linear-gradient(135deg, #34d399, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 22px;
}

.photo {
    width: 400px;
    height: 400px;

    background-image: url('images/my-photo.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    border-radius: 50%;
    overflow: hidden;

    margin: auto; /* centers inside hero */
    margin-top: 150px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid transparent;
}

.photo:hover {
    transform: scale(1.03) rotate(1deg);
    border-color: #3f8e00;
    box-shadow: 0 0 40px rgba(63, 142, 0, 0.3);
}
.button{
    background-color: #3f8e00;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  padding: 18px 40px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow:
    0 0 0 2px #62ba1c,
    0 5px 30px rgba(106, 165, 44, 0.6);
    margin-left: 220px;
    margin-top: 45px;
}

.button:hover {
    background-color: #4eb000;
    transform: translateY(-2px);
    box-shadow: 
        0 0 0 2px #62ba1c,
        0 8px 30px rgba(78, 176, 0, 0.4);
}
.worked-with{
    font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  margin-left: 220px;
  margin-top: 30px;
    color: white;
}
.edquest-logo {
    width: 210px;
    height: 120px;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 1px;
    margin-top: 20px;
    margin-left: 210px;
    margin-bottom: 20px;
    background-color: #0b0b0b;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.edquest-logo img{
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 90%;
    height: 90%;
}
.edquest-logo img:hover{
    transform: scale(1.05);
}
.first{
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.first:target {
    animation: home-highlight 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes home-highlight {
    0% {
        box-shadow: inset 0 0 150px rgba(34, 197, 94, 0.15);
        background-color: #0d1a12;
    }
    100% {
        box-shadow: inset 0 0 0 rgba(34, 197, 94, 0);
        background-color: transparent;
    }
}
.logo-link{
    width: fit-content;
}
/* SECOND */
/* Reset */
.gy-projects-section * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Section */
.gy-projects-section {
  background: #000;
  padding: 100px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.gy-projects-section:target {
    animation: projects-highlight 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes projects-highlight {
    0% {
        box-shadow: inset 0 0 150px rgba(34, 197, 94, 0.2);
        background-color: #0d1a12;
    }
    100% {
        box-shadow: inset 0 0 0 rgba(34, 197, 94, 0);
        background-color: #000;
    }
}

/* Container */
.gy-projects-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Title */
.gy-projects-title {
  font-size: 60px;
  margin-bottom: 15px;
}

/* Subtitle */
.gy-projects-subtitle {
  font-size: 18px;
  color: #9ca3af;
  margin-bottom: 70px;
}

/* Section Heading */
.gy-section-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #34d399, #22c55e, #a3e635, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
  margin-top: 60px;
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: none;
  position: relative;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.3));
}

.gy-section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, rgba(34, 197, 94, 0.05));
  border-radius: 2px;
}

/* Grid */
.gy-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 40px;
}

/* Card */
.gy-project-card {
  background: #111111;
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  border: 1px solid #222;
}

/* Image */
.gy-project-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Content */
.gy-project-content {
  padding: 25px;
}

/* Heading */
.gy-project-heading {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Date */
.gy-project-date {
  font-size: 13px;
  color: #22c55e;
  margin-bottom: 15px;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

/* Description */
.gy-project-description {
  font-size: 15px;
  line-height: 1.6;
  color: #9ca3af;
  margin-bottom: 20px;
}

/* Tags */
.gy-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.gy-project-tag {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Buttons */
.gy-project-buttons {
  display: flex;
  gap: 15px;
}

.gy-btn-primary {
  background: #22c55e;
  color: #000;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
}

.gy-btn-outline {
  border: 1px solid #22c55e;
  color: #22c55e;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
}
/* Smooth transitions */
.gy-project-card,
.gy-project-image,
.gy-btn-primary,
.gy-btn-outline {
  transition: all 0.35s ease;
}

/* Card hover effect */
.gy-project-card:hover {
  transform: translateY(-10px);
  border: 1px solid #22c55e;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.25);
}

/* Image zoom on hover */
.gy-project-card:hover .gy-project-image {
  transform: scale(1.05);
}

/* Primary button hover */
.gy-btn-primary:hover {
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.7);
  transform: scale(1.05);
}

/* Outline button hover */
.gy-btn-outline:hover {
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.6);
  transform: scale(1.05);
}

/* Footer Styles */
.footer {
    background-color: #0b0b0b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 20px 40px;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.footer:target {
    animation: footer-highlight 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes footer-highlight {
    0% {
        box-shadow: inset 0 0 150px rgba(34, 197, 94, 0.4);
        border-top-color: rgba(34, 197, 94, 0.6);
        background-color: #0d1a12;
    }
    100% {
        box-shadow: inset 0 0 0 rgba(34, 197, 94, 0);
        border-top-color: rgba(255, 255, 255, 0.05);
        background-color: #0b0b0b;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #34d399, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p, .footer-college {
    color: #9ca3af;
    font-size: 16px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 5px;
}

.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

.footer-email, .footer-phone {
    display: block;
    color: #22c55e;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-email:hover, .footer-phone:hover {
    color: #34d399;
    text-decoration: underline;
}

.footer-phone {
    margin-bottom: 25px; /* Spacing before socials */
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #9ca3af;
    font-size: 24px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #22c55e;
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .navbar {
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-text p, .button, .worked-with, .edquest-logo {
        margin-left: 50px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        padding-top: 100px;
        text-align: center;
    }

    .hero-text {
        width: 100%;
        height: auto;
        padding-bottom: 50px;
    }

    .hero-text h1 {
        padding-top: 30px;
        font-size: 42px;
    }

    .hero-text p {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 16px;
    }

    .photo {
        width: 280px;
        height: 280px;
        margin-top: 0;
    }

    .button {
        margin-left: 0;
        margin-top: 30px;
        padding: 15px 30px;
        font-size: 18px;
    }

    .worked-with {
        margin-left: 0;
        text-align: center;
        margin-top: 40px;
    }

    .edquest-logo {
        margin: 20px auto;
    }

    .nav-texts {
        gap: 20px;
        font-size: 14px;
    }

    .nav-name {
        font-size: 24px;
    }

    .gy-projects-title {
        font-size: 40px;
    }

    .gy-projects-grid {
        grid-template-columns: 1fr;
    }

    .gy-project-card {
        max-width: 100%;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-texts {
        gap: 0;
        position: static;
        width: 100%;
        background: #1b1b1b;
        flex-direction: column;
        align-items: flex-start;
        display: flex; /* Changed from none to flex */
        padding: 0;
        z-index: 999;
        overflow: hidden;
        
        /* Bi-directional transition */
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.3s ease, 
                    transform 0.3s ease;
        pointer-events: none;
    }
    .nav-texts.open {
        max-height: 300px; /* Adjust based on content */
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-texts a {
        font-size: 18px;
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .nav-texts.open a {
        opacity: 1;
        transform: translateX(0);
    }
    /* Staggered entrance for items when opening */
    .nav-texts.open a:nth-child(1) { transition-delay: 0.1s; }
    .nav-texts.open a:nth-child(2) { transition-delay: 0.15s; }
    .nav-texts.open a:nth-child(3) { transition-delay: 0.2s; }

    .navbar {
        padding-left: 6px;
        padding-right: 6px;
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
        position: fixed !important;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }
    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 70px;
        cursor: pointer;
        margin-right: 10px;
    }
    .burger-menu span {
        display: block;
        width: 28px;
        height: 3px;
        margin: 3px 0;
        background: #fff;
        border-radius: 2px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }
    /* Burger transformation to X */
    .burger-menu.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    .burger-menu.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .nav-name {
        z-index: 1001;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .photo {
        width: 220px;
        height: 220px;
    }

    .gy-projects-title {
        font-size: 32px;
    }

    .gy-section-heading {
        font-size: 22px;
    }
}
