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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #c5e4dd94;
    color: #333;
    line-height: 1.6;
}
.highlight {
    color: #ece80e; 
    font-weight: bold; 
}

h1, h2 {
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

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


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 150px;
    background-color: #333;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.navbar .logo {
    color: #da9292;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
}

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

.navbar .nav-links li {
    display: inline-block;
}

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

.navbar .nav-links a:hover {
    color: #b45959;
}


body.dark-mode {
    background-color: #1a1a1a;
    color: #f4f4f4;
}


.landing {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #4b79a1;
    height: 100vh;
    color: white;
    text-align: center;
    padding-top: 70px;  
}

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

.intro-text {
    flex: 1;
}

.intro-photo img {
    width: 300px;
    height: auto;
    border-radius: 50%;
    border: 5px solid white;
    transition: transform 0.3s ease;
}

.intro-photo img:hover {
    transform: scale(1.1);
}


#typewriter-text {
    font-size: 24px;
    font-weight: 300;
    color: #ffdd57;
    border-right: 2px solid white;
    white-space: nowrap;
    overflow: hidden;
    animation: typewriter 4s steps(30) 1 normal both, blink 0.75s step-end infinite;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}


.about {
    background-color: #f4f4f4;
    padding: 60px 0;
}


.skills-grid {
    display: flex;
    justify-content: space-between;
}

.skill-card {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.skill-card img {
    width: 48px;
}

.project-grid {
    display: flex;
    justify-content: space-around;
}

.project-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 45%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

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


.contact form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact button {
    padding: 15px;
    background-color: #4b79a1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact button:hover {
    background-color: #3a5b79;
}


#darkModeToggle {
    position: fixed;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}


#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4b79a1;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}


@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

footer p {
    margin: 0;
    font-size: 14px;
}

footer .social-links {
    margin-top: 10px;
}

footer .social-links a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #0072b1; 
}
footer .social-links a:nth-child(2):hover {
    color: #29b69e; 
}
footer .social-links a:nth-child(3):hover {
    color: #1da1f2; 
}
