/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #0A192F;
    color: white;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
}

/* Hero Section */
.heroo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85%;
}

.heroo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.text-section {
    max-width: 500px;
}

.text-section p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ccd6f6;
}

.text-section h1 {
    font-size: 3rem;
    color: #0ef;
    margin-bottom: 0.5rem;
}

.text-section h2 {
    font-size: 1.8rem;
    color: #8892b0;
    margin-bottom: 1rem;
}

.description {
    font-size: 1rem;
    color: #8892b0;
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    background-color: #0ef;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    background-color: rgba(0, 238, 255, 0.2);
    color: #cfd5de;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.6);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}



/* Keyframe Animation for Hover Effect */
@keyframes buttonHover {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Profile Picture */
.profile-picture {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 238, 255, 0.5);
}

/* Background animation for glowing and rotating */
.profile-picture::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 399px; /* Slightly larger than the image */
    height: 399px;
    background: linear-gradient(180deg, rgba(0, 238, 255, 0.6), rgba(100, 255, 218, 0));
    border-radius: 50%;
    animation: rotateGlowBackground 5s linear infinite; /* Rotating and glowing animation */
    transform: translate(-50%, -50%);
    z-index: -1; /* Position it behind the image */
}

/* Keep the profile image static */
.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1; /* Position above the background */
}

/* Rotating and glowing keyframes */
@keyframes rotateGlowBackground {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(100, 255, 218, 0.8);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
    }
}
/* Social Icons */
.social-icons {
    margin-top: 1rem;
    display: flex;
    gap: 20px;
}

/* Social Icon Styling */
.social-icons a {
    color: #0ef;
    font-size: 1.5rem;
    text-decoration: none;
    display: inline-block;
    animation: wave 2s infinite ease-in-out; /* Add bouncing animation */
    transition: transform 0.3s ease,color 0.3s ease; /* Smooth scaling */
    transform-origin: bottom center;
}

/* Bouncing Keyframes 
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px); /* Bounce upward *
    }
}*/

@keyframes wave {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

/* Stop Bouncing on Hover */
.social-icons a:hover {
    animation-play-state: paused; /* stop waving only this icon */ 
    color: #ffffff; /* change color on hover */
}

/* Scale separately without breaking wave animation */
.social-icons a:hover::after {
    content: '';
    display: block;
    transform: scale(1.2);
}

/* Footer Navigation */
.footer-nav {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: #112240;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Ensure it stays above other elements */
    overflow: hidden;
    border: 2px solid transparent; /* Base border */
}

.footer-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.173) 50%, rgba(255, 255, 255, 0) 100%);
    border-radius: 25px; /* Match the shape of the footer-nav */
    animation: runThrough 3s linear infinite; /* Running animation */
    z-index: -1; /* Keep it behind the content */
}

/* Keyframes for the running glow */
@keyframes runThrough {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.footer-nav {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: #112240;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Ensure it stays above other elements */
    overflow: hidden;
    border: 2px solid transparent; /* Base border */
}

.footer-nav a {
    margin: 0 15px;
    font-size: 1.5rem;
    color: #0ef;
    text-decoration: none;
    transition: color 0.3s;
    z-index: 1; /* Ensure icons are above the animated border */
}

.footer-nav a:hover {
    color: #b4c9c2;
}

/* Typing effect */
.typing-animation {
    display: inline-block;
    overflow: hidden; /* Ensures text stays within bounds */
    white-space: nowrap; /* Prevents text from wrapping */
    border-right: 2px solid #0ef; /* Creates the cursor effect */ 
    /* animation: typing 5s steps(20, end), blink 0.5s step-end infinite; */
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from {
        border-right-color: #0ef;
    }
    to {
        border-right-color: transparent;
    }
}


/* Page Fade-out and Fade-in Transitions */
.page-transition {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0A192F;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* About */

/* About Me Section */
.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    text-align: center;
    height: 70vh;
    justify-content: space-between;
}

.about-me h1 {
    font-size: 2.5rem;
    color: #0ef;
    margin-left: 390px;
    margin-top: 100px;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-in-out;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    animation: slideUp 1s ease-in-out;
}

.text-section {
    max-width: 600px;
}

.text-section h2 {
    font-size: 2rem;
    color: #ccd6f6;
    margin-bottom: 1rem;
    animation: slideIn 1s ease-in-out;
}

.text-section .description {
    font-size: 1.2rem;
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}


/* services Section */

.Services-section {
    text-align: center;
    padding: 50px;
    background-color: #0A192F;
    color: #ccd6f6;
}

.Services-section h2 {
    font-size: 2.5rem;
    color: rgb(235, 242, 242);
    margin-top: 100px;
    margin-bottom: 40px;
}

.Services-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.more-text {
    display: none; /* hide extra text initially */
}

.Service-card.expanded .more-text {
    display: inline; /* show when expanded */
}

.Service-card p {
    transition: all 0.3s ease;
}
.Service-card {
    background-color: #112240;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.5);
}

.icon {
    font-size: 3rem;
    color: #0ef;
    margin-bottom: 20px;
}

.Service-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ccd6f6;
}

.Service-card p {
    font-size: 1rem;
    color: #8892b0;
    margin-bottom: 20px;
}

.Service-card .btn {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #0ef;
    color: #0A192F;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.Service-card .btn:hover {
    background-color: #0a95cf;
    transform: scale(1.1);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #112240;
}

.footer-nav a {
    font-size: 1.5rem;
    color: #0ef;
    transition: transform 0.3s, color 0.3s;
}

.footer-nav a:hover {
    color: #ffffff;
    transform: scale(1.2);
}



/* Projects Section */
.projects-section {
    padding: 50px;
    background-color: #0A192F;
    text-align: center;
    color: #ccd6f6;
}

.projects-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0ef;
}

.projects-section h1 span {
    color: #f0eff6;
}

.projects-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.project-item {
    position: relative;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.5);
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-info h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0ef;
}

.project-info p {
    font-size: 0.9rem;
    color: #8892b0;
}




/* Resume Section */

.resume-section {
    padding: 50px;
    background-color: #0A192F;
    color: #ccd6f6;
    text-align: left;
}

.resume-header {
    text-align: center;
    margin-bottom: 30px;
}

.resume-header h1 {
    font-size: 2.5rem;
    color: #0ef;
}

.resume-header h1 span {
    color: #6C63FF;
}

.resume-header p {
    font-size: 1rem;
    color: #8892b0;
}

/* Resume Content */
.resume-content {
    display: flex;
    gap: 20px;
}

/* Tabs */
.resume-tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    background-color: #112240;
    color: #ccd6f6;
    padding: 10px;
    border: none;
    border-left: 5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: #6C63FF;
    border-left: 5px solid #0ef;
    color: white;
}


/* resume *//* Resume Section *//* General */ 
/* General */

/* Resume Section */
.resume-section {
    margin-top: 30px;
}

.resume-layout {
    display: flex;
    gap: 30px;
}

/* Left Column */
.resume-left {
    flex: 1;
    max-width: 300px;
}

.resume-header {
    margin-bottom: 20px;
}

.resume-header h2 {
    font-size: 2rem;
    color: #0ef;
}

.resume-header p {
    color: #8892b0;
}

/* Tabs */
.resume-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    padding: 10px 15px;
    background-color: #112240;
    color: white;
    border: none;
    border-left: 5px solid transparent;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn.active {
    background-color: #112240;
    border-left-color: #0ef;
    box-shadow: 0 0 10px #0ef;
    color: white;
}

.tab-btn:hover {
    background-color: #0ef;
    color: black;
}

/* Right Column */
.resume-details {
    flex: 3;
    background-color: #112240;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
}

.section-title {
    font-size: 1.5rem;
    color: #6C63FF;
    margin-bottom: 20px;
}
/* Resume Details with Scrollable Grid */
.resume-details {
    flex: 3;
    background-color: #112240;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
    overflow-y: auto; /* Enable vertical scrolling */
    max-height: 600px; /* Set fixed height for the content area */
}

/* Section Title */
.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.section-title span {
    color: white; /* "My" in white */
    font-weight: bold;
}

.section-title {
    color: #0ef; /* Rest of the title in green */
    font-weight: bold;
}
/* Experience Grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.experience-item {
    background-color: #112240;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
    transition: all 0.3s ease;
}

.experience-item:hover {
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.5);
}

.experience-item h3 {
    color: #0ef;
}

.experience-item h4 {
    margin-top: 10px;
    font-size: 1.2rem;
}

.experience-item p {
    margin-top: 5px;
    color: #8892b0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Adjust to fit all items */
    gap: 20px;
    margin-top: 20px;
}

.skill-item {
    background-color: #112240;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
    position: relative;
    overflow: hidden;
    height: 100px; /* Fixed height for consistent design */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-item:hover {
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.5);
}

.skill-item i {
    font-size: 4rem;
    color: #0ef;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    /* Default rotation state */
    transform: translate(-50%, 0) rotate(0deg);
}

.skill-item:hover i {
    font-size: 2rem; /* Icon becomes smaller */
    left: 20px; /* Move to the left */
    transform: translate(0, 0) rotate(360deg); /* Add rotation */
}

.skill-item p {
    font-size: 1rem;
    color: #ccd6f6;
    opacity: 0; /* Hidden by default */
    position: absolute;
    right: 20px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.skill-item:hover p {
    opacity: 1; /* Show on hover */
}

/*water anime*/
.skill-item {
    position: relative;
    overflow: hidden;
}

.water-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.6s ease-in-out;
    z-index: 0;
}

.skill-item:hover .water-fill {
    height: var(--fill-height);
}

/* Common Wave Styling */
.wave {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 40%;
    animation: wave-animation 4s linear infinite;
    opacity: 0.6;
}

.wave1 {
    left: -50%;
    animation-delay: 0s;
}

.wave2 {
    left: -50%;
    animation-delay: 2s;
    opacity: 0.4;
}

/* Wave Keyframes */
@keyframes wave-animation {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50%) translateY(0);
    }
}
/*
.water-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    height: 0%;
    z-index: 0;
    transition: height 0.6s ease-in-out;
}
.skill-item:hover .water-fill {
    height: var(--fill-height);
}
.skill-item i,
.skill-item p { 
    z-index: 1;
}

@keyframes waveMove {
    0%   { background-position-x: 0; }
    100% { background-position-x: 200px; }
  }
  
  @keyframes waveRise {
    from { transform: translateY(100%); }
    to   { transform: translateY(calc(100% - var(--fill-height))); }
  }*/

/* About Section */
.about-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Profile Image */
.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid #6C63FF;
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.3);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 238, 255, 0.5);
}

/* About Description */
.about-description {
    flex: 2;
    color: #ccd6f6;
    font-size: 1rem;
    line-height: 1.8;
}

.about-description strong {
    color: #0ef;
}

.about-description .cta {
    margin-top: 20px;
}

.about-description .btn-primary {
    background-color: #6C63FF;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
    transition: all 0.3s ease;
}

.about-description .btn-primary:hover {
    background-color: #0ef;
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.5);
    color: #0A192F;
}

.about-description .btn-secondary {
    background-color: transparent;
    border: 2px solid #6C63FF;
    color: #6C63FF;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.about-description .btn-secondary:hover {
    background-color: #6C63FF;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

/* Highlights Section */
.about-highlights {
    margin-top: 40px;
    padding: 20px;
    background-color: #112240;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
}

.about-highlights h4 {
    font-size: 1.5rem;
    color: #6C63FF;
    text-align: center;
    margin-bottom: 20px;
}

.highlight-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-card {
    background-color: #0A192F;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.5);
    transform: translateY(-5px);
}

.highlight-card i {
    font-size: 2rem;
    color: #0ef;
    margin-bottom: 10px;
}

.highlight-card p {
    color: #ccd6f6;
    font-size: 0.9rem;
    line-height: 1.5;
}

/*cards inner*/

.project-detail-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  justify-content: center;
  align-items: flex-start;
} 

.web-card:hover {
  transform: translateY(-10px) scale(1.03); 
}
 

.demo-area {
  flex: 2;
  background-color: #0f0f1a;
  border-radius: 16px;
  padding: 10px;
  min-height: 300px;
  width: 100%;
  max-width: 600px;
}

.demo-area iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}



/* neew cards css.........................*

.web-card-stack {
     position: relative;
    top: 40px;
    left: 0;
    width: 100%;
    min-height: 400px;
   /*  pointer-events: none; prevents blocking UI underneath, optional *
  }
*/
  .web-card-stack {
    display: flex; 
    gap: 30px;
    scroll-behavior: smooth;
    padding: 60px 40px;
    white-space: nowrap;
    /*overflow-x: auto;     Enable horizontal scroll 
    overflow-y: hidden;*/
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
  }

  .web-card {
    flex: 0 0 auto;
    width: 300px;
    transition: transform 0.4s ease, z-index 0.3s ease;
    position: relative;
}

 /* Move forward on hover */
.web-card:hover {
    transform: scale(1.1) translateY(-20px);
    z-index: 10;
}
  .web-card-stack .web-card { 
    pointer-events: auto;
  }


/* First card 
.web-card-stack .web-card:nth-child(1) {
    top: -10px;
    left: 10%;
    transform: rotate(-12deg);
    z-index: 1;
  }*/
  
  /* Second card 
  .web-card-stack .web-card:nth-child(2) {
    top: -100px;
    left: 35%;
    transform: rotate(6deg);
    z-index: 2;
  }
  */
  /* Third card 
  .web-card-stack .web-card:nth-child(3) {
    top: -30px;
    left: 50%;
    transform: rotate(-6deg);
    z-index: 3;
  }*/
  /* Third card 
  .web-card-stack .web-card:nth-child(4) {
    top: -30px;
    left: 70%;
    transform: rotate(-6deg);
    z-index: 3;
  }*/
  /* fifth card 
  .web-card-stack .web-card:nth-child(5) {
    top: -100px;
    left: 35%;
    transform: rotate(6deg);
    z-index: 4;
  }*/

  .hero {
    transition: transform 0.4s ease;
  }
  
  .hero:nth-child(1) {
    transform: rotate(-8deg);
  }
  
  .hero:nth-child(2) {
    transform: rotate(-3deg);
  }
  
  .hero:nth-child(3) {
    transform: rotate(3deg);
  }
  
  .hero:nth-child(4) {
    transform: rotate(8deg);
  }
  
.hero {
    display: inline-block;
    position: relative;
    width: 300px;
    min-width: 300px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
    margin: 30px;
  }
  
  .hero:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
  }

/* Random scattered positions and rotations */
.card-a {
    top: 20px;
    left: 10%;
    transform: rotate(-10deg);
    z-index: 3;
  }
  
  .card-b {
    top: 60px;
    left: 35%;
    transform: rotate(8deg);
    z-index: 2;
  }
  
  .card-c {
    top: 10px;
    left: 60%;
    transform: rotate(-5deg);
    z-index: 3;
  }

  .card-d {
    top: 60px;
    left: 35%;
    transform: rotate(8deg);
    z-index: 4;
  }


  .web-card-stack .hero {
    position: absolute;
    width: 280px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .image {
    height: 70%;
  }
  
  .text {
    background-image: linear-gradient(0deg, #3f5efb, #fc466b);
    border-radius: 30px;
    position: absolute;
    top: 55%;
    left: -5px;
    height: 65%;
    width: 108%;
    transform: skew(19deg, -9deg);
  }
  
  .second .text {
    background-image: linear-gradient(-20deg, #bb7413, #e7d25c)
  }
  

  .logo {
    height: 80px;
    width: 80px;
    border-radius: 20px;
    background-color: #fff;
    position: absolute;
    bottom: 28%;
    left: 30px;
    overflow: hidden;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .main-text {
    position: absolute;
      color: #fff;
      font-weight: 500;
      left: 140px;
      bottom: 26%;
  }
  
  .hero-btn {
    position: absolute;
    color: #fff;
    right: 30px;
    bottom: 10%;
    padding: 10px 20px;
    border: 1px solid #fff;
    animation: button-anim 2s ease 0s infinite normal forwards;
  }
  
  @keyframes button-anim {
    0% {
      transform: translate(0);
    }
  
    20% {
      transform: translate(-2px, 2px);
    }
  
    40% {
      transform: translate(-2px, -2px);
    }
  
    60% {
      transform: translate(2px, 2px);
    }
  
    80% {
      transform: translate(2px, -2px);
    }
  
    100% {
      transform: translate(0);
    }
  }
  
  .hero-btn:hover {
    animation: none;
  }
  
  .hero-btn a {
    color: #fff;
  }
  
  .date {
    position: absolute;
    color: #fff;
    left: 30px;
    bottom: 10%;
  }
  
  .btn i:before {
    width: 14px;
    height: 14px;
    position: fixed;
    color: #fff;
    background: #0077B5;
    padding: 10px;
    border-radius: 50%;
    top: 5px;
    right: 5px;
  }

  .hero:hover {
    animation: shake 0.4s ease;
    transform: scale(1.05);
  }
  
  @keyframes shake {
    0% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
    100% { transform: rotate(0); }
  }





/* General */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #0A192F;
    color: white;
}

.container {
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #112240;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header h1 {
    font-size: 1.5rem;
    color: #0ef;
}

.header nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.header nav a:hover,
.header nav a.active {
    color: #6C63FF;
}

/* Contact Section */
.contact-section {
    margin-top: 30px;
}

.contact-layout {
    display: flex;
    gap: 30px;
}

/* Left Column */
.contact-left {
    flex: 1;
}

.contact-left h2 {
    font-size: 2rem;
    color: #0ef;
}

.contact-left p {
    margin: 10px 0 20px;
    color: #8892b0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.info-item i {
    color: #6C63FF;
    font-size: 1.5rem;
}

/* Right Column */
.contact-right {
    flex: 1.5;
    background-color: #112240;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
}

.contact-right h2 {
    font-size: 1.8rem;
    color: #6C63FF;
    margin-bottom: 20px;
}

.contact-right h2 span {
    color: #0ef;
}

.contact-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    background-color: #0A192F;
    border: 1px solid #6C63FF;
    border-radius: 5px;
    color: white;
    resize: none;
}

.contact-form textarea {
    min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1px solid #0ef;
}

.contact-form .btn {
    background-color: #0ef;
    color: #0A192F;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #6C63FF;
    color: white;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #0A192F;
    color: #ccd6f6;
    margin-top: 100px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 100px;
}

.section-title span {
    color: #0ef;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 150px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white; /* White for all logos */
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-icon.rotate-icon {
    animation: rotate-horizontal 3s linear infinite;
}

@keyframes rotate-horizontal {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}


.contact-icon.indeed {
    background-color: #003A9B; /* Indeed blue */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.indeed-circle {
    width: 29px;
    height: 29px;
    background-color: #fff;
    color: #003A9B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    font-family: Arial, sans-serif;
}


.contact-icon:hover {
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.5);
    transform: scale(1.1); /* Slight enlargement on hover */
}

.contact-info-display {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #ccd6f6;
    background-color: #112240;
    padding: 15px;
    border-radius: 10px;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 15px rgba(0, 238, 255, 0.2);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


.skill-item::after {
    content: attr(style);
    display: none;
}

.skill-item:hover::after {
    content: attr(data-skill-level) '%';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}