/* Import additional Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
/* Typography Base Styles */
:root {
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --accent-font: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color:  #2c2c2c;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

header {
    background: #272727;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /*backdrop-filter: blur(10px);*/
    border-bottom: 1px solid rgba(255, 75, 110, 0.1);
}




.header-container {
display: flex;
justify-content: center;
align-items: center;     
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
z-index: 2;
position: relative;

}

.header-container .logo {
display: flex;
align-items: center;
margin-right: 20px; 
}
.logo img {
width: 50px;      
height: 50px;      
border-radius: 50%; 
object-fit: cover;  
border: 1px solid #ff808e; 
animation: spin 1s linear forwards;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(100deg); }
}

@media (max-width: 768px) {
.logo img {
width: 80px;   
height: 80px;
}
}

@media (max-width: 768px) {
.header-container {
flex-direction: row; 
justify-content: flex-start; 
}
	
.header-container h1 {
display: none;
}

.logo {
margin-right: 10px; 
}

.logo img {
width: 80px;    
height: 80px;
}


.hamburger {
display: block;
font-size: 2rem;
background: none;
border: none;
color: white;
cursor: pointer;
position: absolute;
right: 1rem;
top: 1rem;
z-index: 2000; 
}

	
nav {
display: none;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(57, 57, 57); /* Matches your dark background */
z-index: 1500; 
align-items: center;
justify-content: center;
transition: opacity 0.3s ease, visibility 0.3s ease;
opacity: 0;
visibility: hidden;
}

	
nav.show {
display: flex;
opacity: 1;
visibility: visible;
}

nav ul {
flex-direction: column;
}

nav ul li {
margin: 20px 0;
}

nav ul li a {
font-size: 2rem; 
color: #fff;
}
}


h1 {
   
    color: #ff4c60;
    
    font-size: 1.5rem;
    transition: color 0.3s ease;
    cursor: pointer;
}


/*
nav {
    display: flex;
    justify-content: center;
    flex: 1;
}
*/
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
    transition: background 0.3s ease;
}

nav ul li:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

nav ul li a {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 15px;
    display: block;
}

nav ul li a:hover {
    color: #ff4c60;
}

nav ul li a.active {
    color: #ff4c60;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Hero Section 
.hero {
    background: linear-gradient(to right, #333, #444);
    color: #fff;
    height: 100vh;
    min-height: 600px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}
*/
.hero {        
    color: #fff;
    background: linear-gradient(to right, #333, #444);
    color: #fff;
    height: 100vh;
    min-height: 600px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    font-family: var(--body-font);
}

/* Diamond Pattern Background 
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    z-index: 1;
}
*/

/* Red Gradient Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,75,110,0.1) 0%, rgba(26,26,26,0.2) 100%);
    z-index: 2;
}


/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 76, 96, 0.1);
    border-radius: 50%;
    animation: float 20s linear infinite;
}

.shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

/* Content Container */
.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100vh; /* Change from 500vh to 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 50px; /* Add this to move content up */
    /* or */
    transform: translateY(-50px); /* Alternative way to move content up */
}

* Animations */
@keyframes gradientMove {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 500px 500px, -500px -500px, 0 0, 0 0; }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.4;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.8;
    }
}

#heading {
    color: #ff4c60;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Pacifico', cursive;
}
/* Glass Morphism Effect */
.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Main Heading */
.hero-content h1 {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #ff4c60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 6s ease infinite;
}
/* Subheading/Statement */
.hero-content .statement {
    font-family: var(--accent-font);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}


/* Role Text */
.hero-content .role {
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: green;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.statement {
   /* color: #e0e0e0; /* Light grey for better readability */
    /* or */
    color: rgba(255, 255, 255, 0.85); /* Slightly transparent white */
}

.role {
    background: linear-gradient(45deg, #ff4b6e, #ff8f8f); /* Matching your theme's gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* or */
    color: #ff4b6e; /* Solid color matching your accent */
}

/* Role Text Decoration */
.hero-content .role::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff4c60;
    border-radius: 2px;
}

/* CTA Button */
.hero-content .btn {
    font-family: var(--body-font);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1em 2.5em;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Animated Text Elements */
.animated-text {
    display: block;
    font-family: var(--heading-font);
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.animated-text:nth-child(2) {
    animation-delay: 0.2s;
}

.animated-text:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animations */
@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .hero-content .statement {
        font-size: clamp(1rem, 2vw, 1.5rem);
    }

    .hero-content .role {
        font-size: clamp(1.25rem, 2.5vw, 2rem);
    }

    .animated-text {
        font-size: clamp(0.875rem, 1.5vw, 1.25rem);
    }
}

/* Additional Text Styles */
.highlight-text {
    position: relative;
    display: inline-block;
    color: #ff4c60;
    font-weight: 600;
}

.highlight-text::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(255, 76, 96, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

/* Glass Morphism Enhancement */
.hero-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.btn {
    background: #ff4c60;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-block;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background: #ff6677;
}

.hero-image img {
    padding: 20px 30px;
    border-radius: 50%; 
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin-top: 40px; 
}


/* Responsive Hero */
@media (max-width: 768px) {
    .hero {  
        flex-direction: column;
        text-align: center;
    }

	.hero-container {
        margin-top: 30px; /* Smaller offset for mobile */
        /* or */
        transform: translateY(-30px);
	}
	 .hero .role {
        font-size: 1.8rem; 
    }
	
	 .hero .statement {
        font-size: 1rem; 
    }

    .hero-content {
        margin-right: 0;
        margin-top: 1rem;
    }

    .hero-image img {
        padding: 20px 20px;
        width: 210px;
        height: 210px;
        margin-top: 0;
    }
	
	#heading {
    font-size: 1.7rem;
}
	

}

/* Mobile Menu */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
     h2 {
        font-size: 2.5rem;
    }

    .hero .statement {
        font-size: 1.2rem;
    }

    .hero .role {
        font-size: 2rem;
    }

    nav {
        display: none;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.95);
z-index: 1500; /* Ensure the menu panel is above other elements */
align-items: center;
justify-content: center;
transition: opacity 0.3s ease, visibility 0.3s ease;
opacity: 0;
visibility: hidden;
}

nav.show {
display: flex;
opacity: 1;
visibility: visible;
}

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
font-size: 2rem;
color: #fff;
text-decoration: none; 
z-index: 2000; 
}

    .hamburger {
display: block;
font-size: 2rem;
background: none;
border: none;
color: white;
cursor: pointer;
position: absolute;
right: 1rem;
top: 1rem;
z-index: 2000; 
}


.hamburger.close-icon i {
content: "\f00d"; 
position: relative;
}
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer-container p {
    margin: 0.5rem 0;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.social-links li {
    margin: 0 10px;
}

.social-links li a {
    color: #ff4c60;
    font-size: 1.5rem;
    text-decoration: none;
}

.social-links li a:hover {
    color: #fff;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff4c60;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: none;
    z-index: 1000;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.back-to-top:hover {
    background: #ff6677;
}

.back-to-top.show {
    display: block;
    opacity: 1;
}

/* Preloader */
#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.spinner {
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #ff4c60;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}


.projects {
  background: #f9f9f9;
  padding: 4rem 1rem;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  /*padding: 0 80px;*/
}

.view-toggle {
margin-bottom: 2rem;
}

.toggle-btn {
background: #fff;
border: 2px solid #ff4c60;
color: #ff4c60;
padding: 0.5rem 1rem;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
transition: background 0.3s ease, color 0.3s ease;
margin: 0 0.5rem;
}

.toggle-btn.active {
background: #ff4c60;
color: #fff;
}

.toggle-btn:hover {
    background: #ff6677;
    color:#fff;
}

.projects h2 {
  font-family: 'Pacifico', cursive;
  color: #ff4c60;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}



/* Grid layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Project card */
.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.projects-list {
display: inline-block;
}


.project-card:hover {  
  transform: translateY(-10px);  
  box-shadow: 0 15px 40px rgba(255, 75, 110, 0.2);  
}  

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}


.project-info {
  padding: 1rem;
}

.project-info h3 {
  color: #ff4c60;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.project-info p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.project-info .btn {
  background: #ff4c60;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.project-info .btn:hover {
  background: #ff6677;
}

/* List view styles */
.project-card.list-view {
display: block;
}

.project-card.list-view img {
width: 150px;
height: 100px;
margin-right: 1rem;
}

.project-info.list-view {
flex: 1;
}
/* Responsive */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 40px; /* more vertical space between single-column cards */
  }
}
.toggle-btn {
font-size: 0.9rem;
padding: 0.4rem 0.8rem;
}

.project-card img {
height: 150px;
}


.project-info p {
font-size: 0.875rem;
}

.projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }


	 .project-image {
        height: 180px;
	 }

.project-card.list-view {
flex-direction: column;
}

.project-card.list-view img {
width: 100%;
height: auto;
margin-bottom: 1rem;
}
}


    .project-card {
        border-radius: 20px;
    }


.typewriter-container {
font-size: 2em;
font-family: 'Courier', monospace;
color: #fff;
text-align: center;
/* margin: 100px 0; */
position: relative;
}

.typewriter .text {
display: inline-block;
white-space: nowrap;
transition: opacity 1s ease;
}



@media (max-width: 768px) {
    .typewriter-container {
        font-size: 3rem;
    }
}































































/* ABOUT ME */
.about {
    background: #f9f9f9;
    padding: 4rem 8rem;
}

.bio {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    margin-bottom: 3rem;
}

.bio img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.bio-content {
    flex: 1;
    margin-left: 2rem;
}

.bio-content p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    display: block;
max-width: 500px; 
margin-bottom: 100px; 
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.skill {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 3rem;
    transition: background 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.skill:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.skill h3 {
    color: #ff4c60;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.skill p {
    color: #333;
}

/* Education Section */
.education {
margin-bottom: 3rem;

}

.education h2 {
font-size: 1rem;
margin-bottom: 1rem;
color: #ff4c60;
}

/* Timeline styling */
.education .timeline {
border-left: 4px solid #ff4c60;
padding-left: 1rem;
margin-left: 1.5rem;
}

.education .timeline-item {
margin-bottom: 2rem;
display: flex;
flex-direction: column;
align-items: flex-start;
}

/* Institution's logo next to name */
.education .timeline-item h3 {
font-size: 1.4rem;
color: #ff4c60;
display: flex;
align-items: center;
margin-bottom: 0.5rem;
}

.education .timeline-item h3 img {
width: 40px;
height: 40px;
margin-right: 10px;
border-radius: 50%;
}

/* Date span */
.education .timeline-item span {
color: #333;
font-size: 1rem;
margin-bottom: 0.5rem;
display: block;
}

/* Certificate image */
.education .timeline-item img {
width: 100%;
max-width: 400px;
margin: 1rem 0;
border-radius: 10px;
object-fit: cover;
border: 2px solid #444;
transition: transform 0.3s ease;
}

.education .timeline-item img:hover {
transform: scale(1.05);
}

/* Text description */
.education .timeline-item p {
font-size: 1rem;
color: #333;
line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {    
.education .timeline-item img {
max-width: 100%;
}
}


/* Modal styles */
.modal {
display: none; 
position: fixed; 
z-index: 1000; 
left: 0;
top: 0;
width: 100%; 
height: 100%; 
overflow: auto; 
background-color: rgba(0,0,0,0.8); 
align-items: center;
justify-content: center;
}

.modal-content {
margin: auto;
display: block;
width: 80%;
max-width: 600px;
}

.modal img {
width: 100%;
height: auto;
}

.close {
position: absolute;
top: 15px;
right: 35px;
color: #fff;
font-size: 40px;
font-weight: bold;
cursor: pointer;
}

.close:hover,
.close:focus {
color: #ff4c60;
text-decoration: none;
cursor: pointer;
}




/* Experience Section */
/* .experience {
    margin-bottom: 3rem;
}

.experience h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff4c60;
}

.timeline {
    border-left: 4px solid #ff4c60;
    padding-left: 1rem;
    margin-left: 1.5rem;
}

.timeline-item {
    margin-bottom: 2rem;
}

.timeline-item h3 {
    color: #fff;
    font-size: 1.5rem;
}

.timeline-item span {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-item p {
    font-size: 1rem;
    color: #333;
} */

.skeleton {
background-color: #ddd;
border-radius: 4px;
animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-text {
height: 20px;
margin: 10px 0;
width: 80%;
}

.skeleton-paragraph {
height: 60px;
width: 100%;
margin: 10px 0;
}

@keyframes pulse {
0% {
    background-color: #e0e0e0;
}
50% {
    background-color: #f0f0f0;
}
100% {
    background-color: #e0e0e0;
}
}

/* Contact Section */
.contact {
    text-align: center;
    margin-top: 2rem; 
}

.contact a {
    background: #ff4c60;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-block;
    transition: background 0.3s ease;
}

.contact a:hover {
    background: #ff4c60;
}

@media (max-width: 768px) {
    .about {
    background: #f9f9f9;
    padding: 4rem 3rem;
}
    .bio {
        flex-direction: column; 
        text-align: center;
    }

    .bio-content {
        margin-left: 0;
        margin-top: 1rem;
    }
}










