@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary-bg: #122540;
  --secondary-bg: #2060c0; 
  --info-color: #007bff;
  --card-bg: rgba(33, 67, 179, 0.1);
  --text-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--secondary-bg);
    color: var(--text-color);
}

.header-gradient {
    background: linear-gradient(to right, #0d1117, #3e71c9);
}

/* Updated section backgrounds with gradients */
#about {
    background: linear-gradient(to bottom, #1a2333, #3e71c9);
}

#certificates {
    background: linear-gradient(to bottom, #3e71c9, #1a2333);
}

#projects {
    background: linear-gradient(to bottom, #1a2333, #3e71c9);
}

#contact {
    background: linear-gradient(to bottom, #3e71c9, #1a2333);
}

.hero-section {
    min-height: 100vh;
    background: url('img/Gemini_Generated_Image_cdyewicdyewicdye.png') no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.dropdown-menu {
    background-color: transparent ! important;
}

.card {
    background: rgba(18, 23, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.card-title {
    color: var(--info-color);
}

.project-tags span {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 20px;
    color: var(--info-color);
    border: 1px solid rgba(0, 123, 255, 0.5);
}

.project-img-container {
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    /* margin: -1rem -1rem 1rem -1rem; */
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-fluid {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.03);
}

.coming-soon-badge {
    position: relative;
}

.coming-soon-badge::after {
    content: "Coming Soon";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 5;
    white-space: nowrap;
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 1s ease-out forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--info-color) !important;
}

.btn-outline-info {
    transition: all 0.3s ease;
}

.btn-outline-info:hover {
    background-color: var(--info-color);
    color: #fff;
}

.section-header {
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.section-header:hover {
    color: var(--info-color) !important;
}

.section-header span {
    position: relative;
}

.section-header i {
    transition: transform 0.3s ease;
}

.section-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}