* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f5f9fc;
    color: #1f2937;
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;

    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.container.show {
    opacity: 1;
    transform: translateY(0);
}

.section {
    padding: 80px 0;
}

.alt-section {
    background: #eef5fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.underline {
    width: 80px;
    height: 4px;
    background: #0f766e;
    margin: auto;
    border-radius: 10px;
}

.underline-light{
    width: 80px;
    height: 4px;
    background: #EEF5FA;
    margin: auto;
    border-radius: 10px;
}

.hero {
	position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(3, 37, 65, 0.82), rgba(7, 89, 133, 0.75)),
        url('../assets/background.avif');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 30px 0;
}

.navbar {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: auto;
	transition: all 0.3s ease;
}
.logo img:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}


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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4da6ff;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.15);
}

.menu-toggle img {
    height: 40px;
    width: auto;
	transition: all 0.3s ease;
}

.hero-content {
    width: 90%;
    max-width: 1200px;
    margin: 90px auto 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;	
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 70px;
    width: 50px;
    transform: translateX(-50%);
    z-index: 10;
    animation: scrollMouse 2s ease-in-out infinite;
}

.hero-scroll-indicator img {
    width: 100%;
    height: auto;
}

.tagline-bottom {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    color: #a5f3fc;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    z-index: 10;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 650px;
    margin-bottom: 35px;
	text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.primary-btn {
    background: #0f766e;
    color: white;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}

.secondary-btn {
    border: 2px solid white;
    color: white;
	transition: all 0.3s ease;
}
.secondary-btn:hover {
    background-color: #0f766e;
    color: #FFFFFF;
	transform: scale(0.95);
}
.hero-card {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-card-content {
    padding: 40px;
}

.hero-card ul {
    list-style: none;
}

.hero-card li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
	text-align: justify;
}

.about-info {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

}

.info-item {
    margin-bottom: 20px;

}

.info-label {
    display: block;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 5px;
}

.education {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.education::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #0f766e;
}

.education-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 50px;
}

.education-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0f766e;
}

.education-content,
.project-card{
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card,
.skill-box,
.research-item {
    background: white;
    padding: 25px 50px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.organization {
    color: #3E726C;
    text-decoration: none;
    transition: all 0.3s ease;
}

.organization:hover {
    color: #0f766e;
    text-decoration: underline;
}

.organization:active {
    color: #0a4f4a;
}


.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.cards-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    text-align: center;
}
.project-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    background-color: #3F746E;
    color: #FFFFFF;
	transition: all 0.3s ease;
}

.project-btn:hover {
	transform: translateY(-6px) scale(1.05);
    background-color: #74C365;
    color: #FFFFFF;
	box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}
    
/* contact and socials */
.contact-section {
    background: #3F746E;
    color: white;
}

.contact-card {
    max-width: 800px;
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    text-align: center;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

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

.social-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.social-btn:hover {
    transform: translateY(-6px) scale(1.1);
    background: #3E726C;
    box-shadow: 0 10px 25px rgba(62,114,108,0.35);
}

/* footer */

footer {
    background: #043927;
    color: white;
    text-align: center;
    padding: 25px;
}