/*  */

/* general styling  */

* {
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(45deg, #000, #333, #000);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    font-family: 'Times New Roman', Times, serif;
}

.topbar {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: black;
}

.icons {
    display: flex;
    color: white;
    margin-right: 35px;
    gap: 20px;
    font-size: 1.2rem;
    cursor: pointer;
}

.icons a{
    color: white;
}

.star {
    color: brown;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
}

.icons :hover {
    color: brown;
}

.links {
    display: flex;
    gap: 20px;
    margin-left: 25px;
    font-size: 1.0rem;
}

.links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.links a:hover {
    color: brown;
}

/* Gradient Animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Footer Container */
.footer {
    background-color: #000; 
    color: white; 
    padding: 30px 0; /* Top and bottom padding */
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Footer Content */
.footer-content {
    margin-bottom: 30px; /* Space between content and footer bottom */
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-content p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

/* Social Icons */
.footer-social {
    margin-top: 20px;
}

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

.footer-social a:hover {
    color: #3498db; /* Hover effect (light blue) */
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #555; /* Thin top border */
    padding-top: 20px;
    font-size: 14px;
}

/* Footer Links */
.footer-links {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.footer-links li {
    display: inline;
    margin: 0 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db; 
}

.about-section {
    padding: 40px 0;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.about-section .container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section h2 {
    font-size: 28px;
    /* color: #2c3e50; */
    color: white;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 16px;
    line-height: 1.6;
    /* color: #333; */
    color: white;
    margin-bottom: 20px;
}

.about-section strong {
    font-weight: bold;
}


.story-section .container, 
.why-tech-section .container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-section h2, 
.why-tech-section h2 {
    font-size: 28px;
    /* color: #2c3e50; */
    color: white;
    margin-bottom: 20px;
}

.story-section p, 
.why-tech-section p {
    font-size: 16px;
    line-height: 1.6;
    /* color: #333; */
    color: white;
    margin-bottom: 20px;
}

.story-section strong, 
.why-tech-section strong {
    font-weight: bold;
}


/* Add styling for the About Me two-column layout */
.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

.about-text {
    flex: 1;
}

/* Ensure responsiveness for smaller screens */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

.story-section {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    max-width: 1100px;
    margin: 20px auto;
}


.experience-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

.experience-text {
    flex: 1;
}

/* Ensure responsiveness for smaller screens */
@media (max-width: 768px) {
    .experience-content {
        flex-direction: column;
        text-align: center;
    }
    .experience-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Add red underline on hover to all headings and improve word spacing */
h1, h2, h3, h4, h5, h6 {
    display: inline-block;
    word-spacing: 4px;
    transition: text-decoration-color 0.3s ease;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    text-decoration: underline;
    text-decoration-color: red;
}

/* Update section backgrounds with a glassmorphism effect for a more appealing, shining look */
.about-section,
.why-tech-section,
.experience-content {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    max-width: 1100px;
    margin: 20px auto;
}

.experience-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Add a gradient background to the header section */
.topbar {
    background: linear-gradient(45deg, #000, #333, #000);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add a gradient background to the footer section */
.footer {
    background: linear-gradient(45deg, #000, #333, #000);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add a hover effect to the navigation links */
.links a:hover {
    color: #3498db;
}

/* Add a hover effect to the social media icons */
.footer-social a:hover {
    color: #3498db;
}

/* Add a hover effect to the navigation dropdown menu */
.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: #333;
}

/* Add a hover effect to the footer social media icons */
.footer-social a:hover {
    color: #3498db;
}

/* Enhance text readability on glassmorphism backgrounds with softer text shadow */
.about-section,
.why-tech-section,
.experience-content {
    color: #fff; /* white text for contrast */
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}


