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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0B112B; /* Dark Navy Blue */
    color: #cbd5e1;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Reusable Components */
.container {
    max-width: 1152px; /* 6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #7DF9FF; 
    text-shadow: 0 0 8px rgba(125, 249, 255, 0.5);
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.section-paragraph {
    text-align: center;
    color: #94a3b8;
    line-height: 1.625;
    max-width: 42rem;
    margin: 0 auto;
}

.button {
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: background-color 0.3s;
}

.pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.skill-pill {
    background-color: #2A335B;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.skill-pill:hover {
  transform: scale(1.1);
}

.tech-pill {
    background-color: #2A335B;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 17, 43, 0.8);
    backdrop-filter: blur(4px);
    z-index: 50;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-menu {
    display: none;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
    color: #ffffff;
    background-color: #334155; 
}

/* === Specific Section === */
/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 48rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}

.text-glow {
    color: #7DF9FF;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: #94a3b8;
}

.hero-button {
    margin-top: 2rem;
    background-color: #06b6d4;
}

.hero-button:hover {
    background-color: #0891b2;
}

/* About Section */
.skills-group {
    margin-top: 3rem;
}

/* Projects & Awards Section */
.card-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
}

.card {
    background-color: #171E3B;
    border: 1px solid #2A335B;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #7DF9FF;
}

.card-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.card-image-placeholder {
    width: 100%;
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #A091D8;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.7;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.card-description {
    margin-top: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.award-card {
    padding: 1.5rem;
    text-align: center;
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-content {
    max-width: 36rem;
    text-align: center;
}

.contact-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-button {
    flex: 1;
    justify-content: center;
    display: flex; 
    align-items: center;
    color: #a1a1aa;
    transition: all 0.3s ease;
    
    background-color: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(4px);
    
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(30, 41, 59, 0.5);
    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    font-size: 0.875rem;
    
    gap: 0.75rem;
}

.contact-button:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.25rem);
}

.contact-button .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-filter {
  filter: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(1012%) hue-rotate(201deg) brightness(97%) contrast(90%);
  transition: filter 0.3s ease;
}

.social-button:hover .icon-filter {
  filter: brightness(0) saturate(100%) invert(67%) sepia(85%) saturate(4493%) hue-rotate(204deg) brightness(97%) contrast(94%);
}


/* Footer */
.footer {
    border-top: 1px solid #1e293b;
}

.footer-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.footer-content p:last-child {
    margin-top: 0.25rem;
}


/* === Responsive Design === */
@media (min-width: 640px) {
    .section {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}