/* Apply Playfair Display to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700; /* Use bold weight for emphasis */
}

/* Apply Poppins to all body text */
body, p, li, input, textarea, button {
    font-family: 'Merriweather', sans-serif;
    font-weight: 400; /* Regular weight for body text */
    line-height: 1.6; /* Improve readability with appropriate line spacing */
}

/* Optional: Customize buttons to align with the body font */
button, .btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* Slightly bolder for buttons */
}

/* Example customization */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    font-weight: 400;
}


.container {
    max-width: 1200px;
    margin: 0;
    padding: 0 20px;
}

.btn {
    font-family: 'Merriweather',serif;
    display: inline-block;
    background-color: #A8D5BA; /* Pastel green */
    color: #fffcfc;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #BFDDEB; /* Pastel blue on hover */
    transform: translateY(-3px);
}

/* Landing Section */

/* Playfair Display for Landing Page Title */
.landing-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 3rem; /* Adjust size as needed */
    text-align: center;
    margin-top: 20px;
}

#landing {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background: linear-gradient(to bottom, #FFD5CD, #BFDDEB); /* Peach to pastel blue gradient */
    color: #4A4A4A;
    position: relative;
    overflow: hidden;
}

#landing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/abstract-shape.png') no-repeat center center / cover;
    opacity: 0.1; /* Softer overlay */
    z-index: -1;
}

.landing-title {
    font-size: 3.5rem;
    font-weight: 600;
}

.landing-subtitle {
    font-size: 1.5rem;
    margin-top: 10px;
    color: #ffffff;
}

/* Section Styling */
section {
    padding: 60px 20px;
}

h1 {
    font-family: 'Roboto Mono',monospace;
    font-size: 2rem;
    color: #fcfcfc; /* Accent pastel green */
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #A8D5BA; /* Accent pastel green */
    margin-bottom: 20px;
    text-align: center;
}

p {
    line-height: 1.6;
    color: #4A4A4A;
}

/* Skills Section */
#skills {
    background-color: #FFE4E1; /* Light pastel pink */
    padding: 40px 0;
}

.skills-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.skills-category img.skills-icon {
    width: 160px; /* Set a balanced width */
    height: 160px; /* Match height for symmetry */
    margin-bottom: 20px; /* Space between image and text */
    object-fit: contain; /* Ensures the image scales correctly */
}

.skills-category {
    padding: 20px; /* Space inside the container */
    text-align: center; /* Center-align content */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center content horizontally */
}

.skills-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Keep 3 columns */
    gap: 15px; /* Adjust grid gap */
}

.skills-list li {
    list-style: none;
    font-size: 1rem;
    margin: 5px 0;
}

.skills-list li::before {
    content: '\2022';
    color: #383637; /* Pastel peach */
    margin-right: 10px;
    font-size: 1.2rem;
}

.skills-list li {
    list-style: none; /* Remove default bullets */
    font-size: 1rem;
    margin: 5px 0;
    display: flex;
    align-items: center; /* Align text and bullet vertically */
}

.skills-list li::before {
    content: '\2022';
    color: #000000; /* Pastel peach */
    margin-right: 5px; /* Reduce margin */
    font-size: 1.5rem; /* Increase bullet size */
    line-height: 0; /* Adjust bullet alignment */
}

/* Contact Section */
#contact {
    background-color: #FFE4E1;
}

input, textarea, button {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

input, textarea {
    background-color: #F7F7F7;
    color: #4A4A4A;
}

button {
    background-color: #A8D5BA;
    color: #4A4A4A;
}

button:hover {
    background-color: #BFDDEB;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 20px;
    background-color: #F7F7F7;
}

footer p {
    margin: 0;
    color: #7E7E7E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-title {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .skills-section {
        grid-template-columns: 1fr;
    }
}

/* Navigation Bar Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to right, #FFDDE1, #D7EAF3); /* Pastel pink to blue gradient */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4A4A4A; /* Neutral dark gray for a professional look */
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    font-size: 1rem;
    color: #4A4A4A; /* Neutral dark gray for text */
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #BFDDEB; /* Pastel blue background */
    color: #FFFFFF; /* White text on hover for contrast */
}

/* Toggle Menu for Mobile */
nav .menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #4A4A4A;
    cursor: pointer;
}

nav ul.mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, #FFDDE1, #D7EAF3); /* Same pastel gradient */
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); /* Depth for dropdown */
    z-index: 999;
}

nav ul.mobile-nav li {
    margin: 10px 0;
}

nav ul.mobile-nav li a {
    display: block;
    padding: 10px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    nav .menu-toggle {
        display: block;
    }

    nav ul.mobile-nav {
        display: flex;
    }
}

form input[type="text"],
form input[type="email"],
form textarea {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

form textarea {
    resize: none;
    height: 120px; /* Adjust this height as needed */
}

form button {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF; /* Adjust the color as needed */
    color: #fff;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3; /* Adjust hover color */
}

.social-icons img {
    width: 100px; /* Ideal size for social icons */
    height: 100px; /* Maintain square aspect ratio */
    margin: 10px; /* Add space between icons */
    transition: transform 0.2s ease; /* Add hover effect */
}

.social-icons img:hover {
    transform: scale(1.2); /* Slightly enlarge the icon on hover */
}

.portfolio-image {
    max-width: 70%; /* Ensure images fit within their container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure images are visible */
    margin: 0 auto; /* Center-align the images */
}

#landing {
    background-image: url('wallpaper.jpeg');
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 100vh; /* Makes the landing section cover the full height of the viewport */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff; /* Adjust text color for better visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adds contrast to the text */
}

.typewriter {
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange }
}

.social-proof img {
    max-width: 100px;
    margin: 0 10px;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    font-size: 1.5rem;
    color: #fff;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.tagline {
    font-size: 1.5rem;
    margin-top: 10px;
    color: #f0f8ff;
}

/* For the wave animation */
@keyframes wave {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(-20deg); }
    40% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

.wave-emoji {
    display: inline-block;
    animation: wave 2s infinite;
    transform-origin: 70% 70%; /* Adjust the origin for realistic waving */
    font-size: 3.5rem; /* Adjust size */
}

.greeting {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #f0f8ff;
}

#typewriter-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #FFB6B9; /* Pastel pink theme, adjust as needed */
    display: block;
    margin-top: 10px;
    text-align: center;
}

.scroll-down {
    margin-top: 20px;
    font-size: 1.5rem;
    color: #FFB6B9;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.portfolio-image {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Resize the wave hand */
.wave {
    font-size: 1.5em; /* Adjust this size to match the text */
    vertical-align: middle; /* Align it properly with the text */
  }
  
  /* Adjust spacing for the hero section */
  #hero h1 {
    font-size: 2.5em; /* Size for main heading */
    margin-bottom: 0.5em;
  }
  
  #hero h2 {
    font-size: 2em; /* Size for the second line */
    margin-bottom: 0.3em;
  }
  
  #hero p {
    font-size: 1.2em; /* Adjust paragraph size */
    margin-bottom: 0.5em;
  }
  
  #hero h3 {
    font-size: 1.5em; /* Size for the tagline */
    margin-top: 0.7em;
  }
  
  /* Ensure button and icons are properly spaced */
  #hero .btn {
    margin-top: 1em;
  }
  
  #hero .social-icons {
    margin-top: 1em;
  }
  /* About Paragraph Styling */
.about-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    margin: 1em 0;
    margin-bottom: 1.5rem;
    text-align: center; /* Center-align the paragraph */
    color: #ffffff; /* Adjust color for better contrast */
    max-width: 800px; /* Limit the width for readability */
    margin-left: auto;
    margin-right: auto; /* Center the paragraph horizontally */
}

/* Typewriter Effect Styling */
.roles-typewriter {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff; /* Adjust for visibility */
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

/* Education Section */
#education {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

#education .section-title {
    margin-bottom: 30px;
}

#education .section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
}

#education .education-intro {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

.education-details {
    text-align: center;
    margin-top: 20px;
}

.education-details .degree-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.education-details .university-name,
.education-details .duration,
.education-details .cgpa {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 10px;
}

.coursework {
    margin-top: 20px;
}

.coursework-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.coursework-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
}

.coursework-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.coursework-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #000;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrolling caused by overflowing content */
}


@keyframes blink-cursor {
    from {
        border-right-color: #000000;
    }
    to {
        border-right-color: transparent;
    }
}

#about-me {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9; /* Light background */
    color: #333; /* Text color */
}

#about-me h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#about-me p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}


.download-resume-btn {
    font-family: "Playfair display",serif;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color:  #A8D5BA; /* Primary color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-resume-btn:hover {
    background-color:  #A8D5BA;; /* Darker shade on hover */
}


footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.footer-links li {
    display: inline;
    margin-right: 15px;
}

#portfolio {
    padding: 30px 0;
    background-color: #fbceff;
    text-align: center;
}

#portfolio h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

#portfolio p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.portfolio-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 250px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.portfolio-item h3 {
    font-size: 1.2rem;
    margin: 10px 8px;
    font-family: 'Merriweather', serif;
}

.portfolio-item p {
    font-size: 0.9rem;
    margin: 0 8px 10px;
    color: #666;
}

.portfolio-item .btn {
    display: inline-block;
    margin: 8px;
    padding: 8px 15px;
    background-color: #c3a8d5;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.portfolio-item .btn:hover {
    background-color: #c3a8d5;
}


/*blog styling  */
#blog {
    padding: 30px 0;
    background-color: #f9f9f9;
    text-align: center;
}

#blog h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

#blog p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.blog-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 250px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.blog-item h3 {
    font-size: 1.2rem;
    margin: 10px 8px;
    font-family: 'Merriweather', serif;
}

.blog-item p {
    font-size: 0.9rem;
    margin: 0 8px 10px;
    color: #666;
}

.blog-item .btn {
    display: inline-block;
    margin: 8px;
    padding: 8px 15px;
    background-color: #c3a8d5;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.blog-item .btn:hover {
    background-color: #c3a8d5;
}

#about .about-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensures responsiveness */
}

#about .about-text {
    flex: 1;
}

#about .about-image {
    flex: 1;
    text-align: center;
}

#about .about-image img {
    width: 100%;
    max-width: 300px; /* Restricts the image size */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a soft shadow */
}

#about p {
    margin-bottom: 20px; /* Adds space between paragraphs */
    line-height: 1.6; /* Improves readability */
}

.skills-section {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line on smaller screens */
    justify-content: space-around; /* Distributes items evenly */
    gap: 20px; /* Adds space between items */
}

.skills-category {
    flex: 1 1 30%; /* Allows flexibility and sets a base width */
    min-width: 200px; /* Ensures a minimum width for each item */
    background: #fff; /* Background color */
    padding: 15px; /* Inner spacing */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: center; /* Centers text */
}

@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-section img {
        margin-bottom: 10px;
    }
}
