
/* General Styles */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #ff6f61, #ffcc00);
  color: #fff;
}
/* General Styles */
body {
font-family: "Arial", sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #ff6f61, #ffcc00);
color: #fff;
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

/* Attractive Header */
.header {
background: linear-gradient(135deg, #1e3c72, #2a5298);
color: white;
padding: 50px 0;
padding-left: 20px;
padding-right: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
header h1 {
font-size: 3rem;
margin: 0;
animation: rotateName 10s infinite;
}

header p {
font-size: 1.2rem;
margin: 10px 0 0;
}

.header-title {
flex-grow: 1;
text-align: center;
font-size: 3rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}

.profile-img {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
}

/* About Section with Left-Right Layout */
#about {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10x 0;
}

.about-content {
flex: 2;
}
#about h2 {
font-size: 2.5rem;
margin-bottom: 20px;
}
#about p {
font-size: 1.1rem;
line-height: 1.6;
}

.about-img {
flex: 1;
text-align: left

}

.about-img img {
width: 300px;
height: auto;
border-radius: 100px;
}

/* Skills Section */
#skills {
padding: 50px 0;
}

.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
}

.skill {
text-align: center;
padding: 20px;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
transition: transform 0.3s ease;
}

.skill:hover {
transform: scale(1.1);
}

.skill i {
font-size: 2rem;
margin-bottom: 10px;
}

/* Deployment Platforms */
#deployment {
padding: 50px 0;
}

#deployment h2 {
font-size: 2.5rem;
margin-bottom: 20px;
background: linear-gradient(135deg, #1e3c72, #2a5298);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.deployment-content {
display: flex;
align-items: center;
gap: 20px;
}

.platforms {
flex: 1;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
}

.platform {
text-align: center;
padding: 20px;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
transition: transform 0.3s ease;
}

.platform:hover {
transform: scale(1.1);
}

.platform i {
font-size: 2rem;
margin-bottom: 10px;
}

.image {
flex: 1;
text-align: right;
}

.image img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
text-align: center;
padding: 20px 0;
background: linear-gradient(135deg, #1e3c72, #2a5298);
}

footer h2 {
font-size: 2rem;
margin-bottom: 10px;
}

footer p {
font-size: 1.1rem;
margin: 5px 0;
}

.social-links {
margin-top: 10px;
padding: 20px;
}
.social-links a {
color: #fff;
font-size: 1.5rem;
margin: 0 10px;
padding: 30px;
transition: color 0.3s ease;
}
/* Social Icons Styling */
.social-icon {
font-size: 2rem; /* Icon size */
color: white;
padding: 20px;
transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
color: #facc15; /* Yellow on hover */
transform: scale(1.2); /* Slight zoom effect */
}


.social-links a:hover {
color: #ebf0f6;
}
/* Experience Section */
#experience {
padding: 50px 0;
}

#experience h2 {
font-size: 2.5rem;
margin-bottom: 20px;
text-align: center;
}

.experience-item {
background: rgba(255, 255, 255, 0.1);
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
margin-bottom: 20px;
}

.company-name {
font-size: 1.2rem;
font-weight: bold;
color: #ffcc00;
}

.duration {
font-size: 1rem;
font-style: italic;
margin-bottom: 10px;
}

.responsibilities {
list-style-type: none;
padding: 0;
}

.responsibilities li {
margin-bottom: 8px;
padding-left: 20px;
position: relative;
}

.responsibilities li::before {
content: "✔";
position: absolute;
left: 0;
color: #ff6f61;
font-weight: bold;
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Attractive Header */
.header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 50px 0;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header h1 {
  font-size: 3rem;
  margin: 0;
  animation: rotateName 10s infinite;
}

header p {
  font-size: 2rem;
  margin: 10px 0 0;
}

.header-title {
  flex-grow: 1;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* About Section with Left-Right Layout */
/* #about {
  display: flex;
  flex-direction: column;
  padding: 50px 0;
} */
/* #about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0;
} */

.about-content {
  flex: 2;
}
#about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
#about p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-img {
  flex: 1;
  text-align: left;
}

.about-img img {
  width: 300px;
  height: auto;
  border-radius: 100px;
}

/* Skills Section */
#skills {
  padding: 50px 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.skill {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.skill:hover {
  transform: scale(1.1);
}

.skill i {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Deployment Platforms */
#deployment {
  padding: 50px 0;
}

#deployment h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.deployment-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.platforms {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.platform {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.platform:hover {
  transform: scale(1.1);
}

.platform i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.image {
  flex: 1;
  text-align: right;
}

.image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

footer h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

footer p {
  font-size: 1.1rem;
  margin: 5px 0;
}

.social-links {
  margin-top: 10px;
  padding: 20px;
}
.social-links a {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 10px;
  padding: 30px;
  transition: color 0.3s ease;
}

/* Social Icons Styling */
.social-icon {
  font-size: 2rem; /* Icon size */
  color: white;
  padding: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #facc15; /* Yellow on hover */
  transform: scale(1.2); /* Slight zoom effect */
}

.social-links a:hover {
  color: #ebf0f6;
}

/* Experience Section */
#experience {
  padding: 50px 0;
}

#experience h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.experience-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffcc00;
}

.duration {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 10px;
}

.responsibilities {
  list-style-type: none;
  padding: 0;
}

.responsibilities li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.responsibilities li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ff6f61;
  font-weight: bold;
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  #about {
    flex-direction: column;
  }
  .about-img img {
    width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .header-title {
    font-size: 1.5rem;
  }
  .about-img img {
    width: 150px;
  }
}

@keyframes scrollLeftToRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes scrollRightToLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Apply the animations */
@keyframes scrollLeftToRight {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}

@keyframes scrollRightToLeft {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}

/* Apply the animations to the scrolling sections */
.scroll-left-to-right {
animation: scrollLeftToRight 15s linear infinite;
}

.scroll-right-to-left {
animation: scrollRightToLeft 15s linear infinite;
}

/* Common styles for tech icons */
.tech-icon {
font-size: 80px; /* Increased icon size */
transition: transform 0.3s ease, color 0.3s ease;
}

.tech-icon:hover {
transform: scale(1.3); /* Slight zoom effect */
color: #fff;
}

/* Specific Icon Colors */
.react-icon {
color: #61dafb;
}

.nodejs-icon {
color: #6cc24a;
}

.database-icon {
color: #f29200;
}

.css-icon {
color: #2965f1;
}

.html5-icon {
color: #e34f26;
}

.tailwind-icon {
color: #38bdf8;
}

.github-icon {
color: #333;
}

.postman-icon {
color: #ff6f61;
}

.aws-icon {
color: #ff9900;
}

.netlify-icon {
color: #00c7b7;
}

.java-icon {
color: #f7b731;
}

.cogs-icon {
color: #9ca3af;
}

.microblog-icon {
color: #6b4fbb;
}

.mobile-icon {
color: #4f92f1;
}

.cloud-icon {
color: #4d9df7;
}

/* Right Scroll specific colors */
.angular-icon {
color: #dd0031;
}

.vuejs-icon {
color: #42b883;
}

.firebase-icon {
color: #ffcb2b;
}

.js-icon {
color: #f7df1e;
}

.git-icon {
color: #f1502f;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
.scroll-left-to-right,
.scroll-right-to-left {
flex-wrap: nowrap; /* Ensure all icons stay in one row */
overflow-x: auto; /* Allow horizontal scrolling if the icons don't fit */
display: flex;
justify-content: space-evenly;
}

.tech-icon {
font-size: 60px; /* Smaller size for mobile view */
}
}

@media (max-width: 480px) {
.tech-icon {
font-size: 50px; 
padding: 10px;/* Further reduce icon size for very small screens */
}
}
