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



:root {

    --primary-color: #1a202c;

    --secondary-color: #4a5568;

    --accent-color: #60a5fa;

    --bg-color: #f7fafc;

    --card-bg: #ffffff;

    --text-color: #2d3748;

    --light-text-color: #edf2f7;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);

    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);

    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    --radius: 8px;

    --transition-speed: 0.3s;

}



*, *::before, *::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



body {

    font-family: 'Poppins', sans-serif;

    line-height: 1.6;

    color: var(--text-color);

    background-color: var(--bg-color);

    min-height: 10vh;

    display: flex;

    flex-direction: column;

    opacity: 0;

    transition: opacity 0.5s ease-in-out;

}



body.fade-in,

body.loaded {

    opacity: 1;

}

body.fade-out {
    opacity: 0;
}


header {

    background-color: var(--primary-color);

    color: var(--light-text-color);

    padding: 20px;

    height: 320px; /* Increased */

    min-height: 320px;

    text-align: center;

    box-shadow: var(--shadow-md);

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}



header h1 {

    font-size: 3rem;

    margin-bottom: 10px;

    font-weight: 700;

    position: relative;

    z-index: 2;

}



header h4 {

    font-size: 1.1rem;

    font-weight: 400;

    opacity: 0.9;

    position: relative;

    z-index: 2;

}



#edu {

    background-image: url("sst.jpeg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-color: transparent;

}



#edu h1,

#edu h4 {

    color: var(--light-text-color);

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

}



#about {

    background-image: none;

    background-color: transparent;

    position: relative;

    overflow: hidden;

}



#about::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-image: url("banner.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    filter: blur(2.25px);

    -webkit-filter: blur(2.25px);

    transform: scale(1.02);

    z-index: 1;

}



#about h1,

#about h4 {

    color: var(--light-text-color);

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

}



#achievements {

    background-image: none;

    background-color: transparent;

    position: relative;

    overflow: hidden;

}



#achievements::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-image: url("https://images.squarespace-cdn.com/content/v1/656bf2e501bf733c04fad6f5/1b0e841b-7fee-4306-b758-4ee303cb4e2d/Personal+Achievements.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    filter: blur(1.25px);

    -webkit-filter: blur(1.25px);

    transform: scale(1.02);

    z-index: 1;

}



#achievements h1,

#achievements h4 {

    position: relative;

    z-index: 2;

    color: var(--light-text-color);

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

}



/* All other CSS continues unchanged from here (nav, main, section, etc.) */





nav {

    background-color: var(--secondary-color);

    box-shadow: var(--shadow-sm);

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    padding: 10px 0;

    position: sticky;

    top: 0;

    z-index: 1000;

}



nav a {

    color: var(--light-text-color);

    text-decoration: none;

    padding: 14px 20px;

    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



nav a:hover,

nav a.active {

    background-color: var(--accent-color);

    color: var(--card-bg);

    border-radius: var(--radius);

}



main, section {

    flex-grow: 1;

    max-width: 1000px;

    margin: 30px auto;

    padding: 0 20px;

}



section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--accent-color), #2c5282);
    color: var(--light-text-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin: 30px auto;
    max-width: 1000px;
}



section h2 {

    color: var(--light-text-color);

    font-size: 2.2rem;

    margin-bottom: 25px;

    text-align: center;

    font-weight: 700;

    position: relative;

    padding-bottom: 10px;

}



section h2::after {

    content: '';

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    bottom: 0;

    width: 60px;

    height: 4px;

    background-color: var(--accent-color);

    border-radius: 2px;

}



section h3 {

    color: var(--light-text-color);

    font-size: 1.5rem;

    margin-top: 25px;

    margin-bottom: 15px;

    font-weight: 600;

}

section p {
    color: var(--light-text-color);
}

ul {

    list-style: none;

    padding: 0;

    margin-bottom: 20px;

}



ul li {

    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text-color);
    border-left: 5px solid var(--card-bg);

    border-left: 5px solid var(--accent-color);

    padding: 12px 15px;

    margin-bottom: 10px;

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;

}



ul li:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-md);

}



ul li strong {

    color: var(--light-text-color);
}

    font-weight: 600;

}



section a {

     color: var(--card-bg);

    text-decoration: none;

    font-weight: 600;

    transition: color var(--transition-speed) ease;

}



section a:hover {

    color: #cbd5e0;

    text-decoration: underline;

}



.hero-section {

    text-align: center;

    padding: 60px 20px;

    background: linear-gradient(135deg, var(--accent-color), #2c5282);

    color: var(--light-text-color);

    border-radius: var(--radius);

    box-shadow: var(--shadow-lg);

    margin-bottom: 30px;

}



.hero-section h2 {

    color: var(--light-text-color);

    font-size: 3rem;

    margin-bottom: 20px;

}



.hero-section p {

    font-size: 1.2rem;

    margin-bottom: 30px;

}



.button {

    display: inline-block;

    background-color: var(--card-bg);

    color: var(--accent-color);

    padding: 15px 30px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 700;

    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, transform var(--transition-speed) ease;

    box-shadow: var(--shadow-sm);

}



.button:hover {

    background-color: var(--light-text-color);

    color: var(--primary-color);

    transform: translateY(-2px);

    box-shadow: var(--shadow-md);

}



.profile-pic {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top; /* adjust this */
    border: 5px solid var(--card-bg);
    box-shadow: var(--shadow-md);
    margin-top: -60px; /* reduce this */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.cert-image {

    max-width: 100%;

    height: auto;

    display: block;

    margin: 20px auto;

    border-radius: var(--radius);

    box-shadow: var(--shadow-md);

}



footer {

    background-color: var(--primary-color);

    color: var(--light-text-color);

    text-align: center;

    padding: 20px;

    margin-top: auto;

    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);

    font-size: 0.9rem;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}



footer p {

    margin: 5px 0;

}



.social-links {

    margin-top: 10px;

    display: flex;

    gap: 15px;

}



.social-links img {

    width: 30px;

    height: 30px;

    border-radius: 4px;

    transition: transform 0.2s ease, opacity 0.2s ease;

}



.social-links img:hover {

    transform: scale(1.1);

    opacity: 0.8;

}



@media (max-width: 768px) {

    header {

        min-height: 320px;

        height: 320px;

        padding: 15px;

    }



    header h1 {

        font-size: 2.5rem;

    }



    header h4 {

        font-size: 1rem;

    }



    nav {

        flex-direction: column;

        align-items: center;

    }



    nav a {

        width: 90%;

        text-align: center;

        padding: 10px 15px;

    }



    main, section {

        margin: 20px auto;

        padding: 0 15px;

    }



    section {

        padding: 25px;

    }



    section h2 {

        font-size: 1.8rem;

    }



    section h3 {

        font-size: 1.3rem;

    }



    .hero-section {

        padding: 40px 15px;

    }



    .hero-section h2 {

        font-size: 2.5rem;

    }



    .hero-section p {

        font-size: 1.1rem;

    }



    .profile-pic {

        width: 150px;

        height: 150px;

        margin-top: -75px;

    }



    .button {

        padding: 12px 25px;

        font-size: 0.95rem;

    }

}



@media (max-width: 480px) {

    header {

        min-height: 250px;

        height: 250px;

        padding: 10px;

    }



    header h1 {

        font-size: 2rem;

    }



    header h4 {

        font-size: 0.9rem;

    }



    nav a {

        padding: 10px;

        font-size: 0.9em;

    }



    section {

        padding: 20px;

    }



    section h2 {

        font-size: 1.6rem;

    }



    section h3 {

        font-size: 1.2rem;

    }



    .hero-section h2 {

        font-size: 2rem;

    }



    .hero-section p {

        font-size: 1rem;

    }



    .profile-pic {

        width: 120px;

        height: 120px;

        margin-top: -60px;

    }

}



[data-fillout-id="oxdu7eEyxLus"] {

    position: fixed !important;

    bottom: 20px;

    left: 20px;

    z-index: 9999;

    display: flex !important;

    align-items: center;

    justify-content: center;

}



[data-fillout-id="oxdu7eEyxLus"]:hover {

    transform: scale(1.05);

}
