/* ===========================
   1. GENERAL RESET & BODY
   =========================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px; /* Adjust to your nav height */
}
:root{
    --primary:#0F0326;
    --secondary:#E65F5C;
    --accent:#FFFF82;
    --bg-light:#F5F7DC;
    --card-light:#ffffff;
    --card-soft:#B5D99C;
}

body {
    background-color: var(--bg-light); 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px; 
    line-height: 1.6em;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}

/* ===========================
   2. HEADER (Raj's Portfolio)
   =========================== */
header#main-header {
    background-image: url('public/header.png');
    min-height: 180px; 
    display: flex;     
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
        position: relative;
    overflow: hidden;

}
header#main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,130,0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

header#main-header h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 36px; 
    font-weight: 900;
    text-shadow: 2px 2px 4px #000000;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}


/* ===========================
   3. NAVIGATION BAR - IMPROVED
   =========================== */
nav#navbar {
    background-color: var(--primary);
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--accent);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

nav#navbar ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav#navbar ul li {
    display: inline-block;
    padding: 5px 15px; 
    margin: 0 5px;     
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav#navbar ul li a {
    color: #B5D99C;
    font-family: sans-serif;
    font-size: 14px; 
    text-decoration: none;
    font-weight: bold;
    display: block;
    text-transform: uppercase; 
}

nav#navbar ul li:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    cursor: pointer;
}

nav#navbar ul li:hover a {
    color: #0F0326; 
}
nav#navbar ul li.active {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 0 10px #FFFF82;
}

nav#navbar ul li.active a {
    color: #0F0326;
}

section {
    padding: 60px 20px; 
    width: 90%;         
    max-width: 1200px;
    margin: 30px auto;  
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    overflow: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}
/* ===========================
   4. SECTIONS (Global Card Style)
   =========================== */
section {
    padding: 40px 20px; 
    width: 90%;         
    max-width: 1000px; /* Increased max-width slightly to fit 2-3 cards per row */
    margin: 30px auto;  
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    overflow: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

/* ===========================
   5. HOME SECTION
   =========================== */
#Home {
    background: linear-gradient(135deg, var(--primary) , var(--secondary));
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap; 
    gap: 40px;
    text-align: center;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        animation: fadeInUp 1s ease;

}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.profile-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary);
    max-width: 300px;
        animation: fadeInUp 1s ease 0.3s backwards;

}

.profile-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border: 4px solid var(--accent);

}

.profile-card img:hover {
    transform: scale(1.05) rotate(3deg);
}

.profile-card .t h2 {
    color: #FFFF82;
    font-size: 24px;
    margin: 10px 0 5px 0;
}

.profile-card .t .subtitle {
    font-size: 14px;
    font-style: italic;
    color: #ddd;
    margin: 0;
}

/* ===========================
   6. ABOUT SECTION
   =========================== */
section#about {
    background-color: var(--bg-light);
    color: #0F0326;
    text-align: center;
    font-size: 18px; 
}
section#about h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--primary);
}

section#about p {
line-height: 1.8em;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

/* ===========================
   7. CERTIFICATES SECTION (UPDATED FOR ROW VIEW)
   =========================== */
section#Certificates {
    background-color: var(--bg-light);
    border: none;
    text-align: center;
    overflow: hidden;
}
section#Certificates h2 {
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 32px;
}
section#Certificates h1 {
    color: var(--primary);
    margin-bottom: 25px;
}

/* CHANGED: Added Flexbox to the UL */
section#Certificates ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to next line */
    justify-content: center; /* Centers items */
    gap: 20px; /* Space between cards */
}


section#Certificates ul li h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0F0326;
    min-height: 50px; /* Ensures titles align even if one is longer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-treadmill{
    overflow: hidden;
    width: 100%;
    position: relative;
}
.cert-track{
    display: flex;
    gap: 30px;
    width: max-content;
    animation: treadmill 40s linear infinite;
}
.cert-treadmill:hover .cert-track{
    animation-play-state: paused;
}
.cert-card{
    min-width:320px;
    max-width: 320px;
    background-color:var(--card-light) ;
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15,3,38,0.15);
    transition: transform 0.3s ease,box-shadow 0.35s ease;
     display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.cert-card:hover{
    transform:scale(1.05);
    box-shadow: 0 14px 30px rgba(15,3,38,0.25);
}
.cert-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cert-card p {
    font-size: 14px;
    margin: 8px 0;
    color: #555;
}


/* Certificate Images */
.imager1 {
   width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}
@keyframes treadmill{
    from{transform: translateX(0);}to{transform:translateX(-50%);}
}
.imager1:hover {
    transform: scale(1.03);
    cursor: pointer;
}

.imager2 {
    width: 100%; /* Changed from fixed 400px to 100% to fit the card */
    max-width: 100%;
    height: 200px;
    object-fit: cover; 
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.imager2:hover {
    transform: scale(1.03);
    cursor: pointer;
}

/* ===========================
   8. SKILLS SECTION
   =========================== */
section#skills {
    background: linear-gradient(135deg,#E65F5C,#31146a);
    color: var(--bg-light);
    min-height:100vh;
    text-align: center;
    display: grid;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
    place-items: center;
}
#skills .carousel23{
perspective: 1200px;
width: 100%;
    max-width: 500px;
    margin: 0 auto 60px;
}

#skills h2 {
   font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);

}

#skills .ring {
    position: relative;
    list-style: none;
    animation: spin 20s linear infinite;
    transform-style: preserve-3d;
     width: 440px;
     height: 300px;
     padding: 0;
     margin: 0 auto;
}
.ring:hover {
    animation-play-state: paused;
}

 #skills .headings {
    position: absolute;
    list-style: none;
    padding: 18px;
    place-items: center;
   width: 320px;
   height: auto;
   background-color: var(--card-light);
   color: var(--primary);
   text-align: left;
   border: 1px solid var(--primary);
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transform-style: preserve-3d;
    
}

#skills .headings > strong{
    color: var(--secondary);
 display: block;
 margin-bottom: 12px;
 font-size: 16px;
 letter-spacing: 1px;
     text-transform: uppercase;

}
.headings:nth-child(1){
    transform: rotateY(0deg)  translateZ(247px);
}
.headings:nth-child(2){
    transform: rotateY(72deg) translateZ(247px);
}
.headings:nth-child(3){
    transform: rotateY(144deg) translateZ(247px);
}
.headings:nth-child(4){
    transform: rotateY(216deg) translateZ(247px);
}
.headings:nth-child(5){
    transform: rotateY(288deg) translateZ(247px) ;
}

#skills .headings:hover {
    background-color: #ffffff;
    color: #0F0326;
    cursor: pointer;
}

 #skills.panel{
    list-style: none;
    margin: 0;
    padding:0;
   
}

#skills .panel li{

    background-color:transparent;
    margin-bottom: 8px;
        padding: 8px 0;

    line-height: 1.4;
    font-size: 13px;
    color: var(--primary);
    border-bottom:1px solid rgba(15,3,38,0.15);
}

@keyframes spin{
    from{ transform: rotateY(0deg);} to {transform: rotateY(360deg);}
}
.Additional {
    background: rgba(255,255,255,0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 20px;
    border: 2px solid rgba(255,255,255,0.3);
}

.Additional h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent);
}

.Additional .last {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.Additional .last li {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.Additional .last li:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(5px);
}
/* ===========================
   9. CONTACT SECTION
   =========================== */
/* ===========================
   CONTACT SECTION - IMPROVED WITH FORM
   =========================== */

section#contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #F5F7DC;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Optional animated background effect */
section#contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: contactPulse 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes contactPulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 10%) scale(1.1); }
}

section#contact .container {
    position: relative;
    z-index: 1;
}

section#contact h2 {
    font-size: 38px;
    color: var(--accent);
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro-text {
    text-align: center;
    font-size: 17px;
    margin-bottom: 50px;
    color: #fff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ===========================
   LEFT SIDE: CONTACT INFO
   =========================== */

.contact-info {
    text-align: left;
}

.contact-info h3 {
    color: var(--accent);
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 12px;
    display: inline-block;
}

.contact-item {
    margin-bottom: 20px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-item strong {
    display: block;
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.contact-item a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
    transform: translateY(-2px);
}

/* ===========================
   RIGHT SIDE: CONTACT FORM
   =========================== */

.contact-form {
    background: rgba(255, 255, 255, 0.15);
    padding: 35px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 26px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 130, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    max-height: 300px;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, var(--secondary), #c74a47);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(230, 95, 92, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #c74a47, var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 95, 92, 0.6);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Form Status Message */
.form-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.2);
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.form-status.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.2);
    border: 2px solid #f44336;
    color: #f44336;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media screen and (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    section#contact {
        padding: 40px 25px;
    }

    section#contact h2 {
        font-size: 30px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media screen and (max-width: 768px) {
    section#contact h2 {
        font-size: 26px;
    }

    .intro-text {
        font-size: 15px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 22px;
    }

    .contact-item {
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
}
/* ===========================
   10. FOOTER
   =========================== */
footer#main-footer {
    background-color: var(--primary);
    color: #888;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    margin-top: 40px;
}
footer#main-footer p {
    margin: 5px 0;
}

/* ===========================
   11. MOBILE RESPONSIVENESS
   =========================== */
@media screen and (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    nav#navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--primary);
        padding: 20px 0;
    }

    nav#navbar ul.active {
        display: flex;
    }

    nav#navbar ul li {
        width: 90%;
        margin: 8px auto;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .carousel23 {
        transform: scale(0.8);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    #projects-carousel > li {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .carousel-wrapper {
        padding: 0 50px;
    }
}

@media screen and (max-width: 768px) {
    header#main-header h1 {
        font-size: 28px;
    }

    section {
        width: 95%;
        padding: 40px 20px;
    }

    .hero-content {
        flex-direction: column;
    }

    .cert-card {
        min-width: 280px;
        max-width: 280px;
    }

    @keyframes treadmill {
        from { transform: translateX(0); }
        to { transform: translateX(calc(-280px * 6 - 180px)); }
    }
}
/* ===========================
   12. ACTIVE STATE (For Javascript)
   =========================== */


/* ===========================
   PROJECTS SECTION - CAROUSEL VERSION
   =========================== */
section#Projects {
    background-color: var(--bg-light);
    color: #0F0326;
}

section#Projects h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    text-transform: uppercase;
     color: var(--primary);

}

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 60px; /* Space for navigation buttons */
    margin: 20px 0;
}

/* Projects UL - Modified for Carousel */
section#Projects ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: nowrap; /* CHANGED: No wrapping */
    gap: 30px;
    transition: transform 0.5s ease-in-out; /* Smooth sliding animation */
    width: 100%;
}

section#Projects ul li {
    background-color: var(--card-light);
    color: var(--primary);
    flex: 0 0 380px; /* CHANGED: Fixed width, no grow/shrink */
    max-width: 380px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 550px;
}

section#Projects ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(15, 3, 38, 0.8);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.carousel-btn:hover {
    background-color: #E65F5C;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: rgba(15, 3, 38, 0.4);
}

.carousel-btn:disabled:hover {
    transform: translateY(-50%) scale(1);
    background-color: rgba(15, 3, 38, 0.4);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Carousel Dots Indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 10px 0;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(15, 3, 38, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background-color: rgba(15, 3, 38, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background-color: #E65F5C;
    border-color: #0F0326;
    transform: scale(1.3);
}

/* Project Image Container */
.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    align-items: center;
}

section#Projects ul li:hover .project-image img {
    transform: scale(1.05);
}

/* Project Content */
section#Projects ul li h3 {
    font-size: 20px;
    margin: 20px 20px 10px 20px;
    color: #0F0326;
    font-weight: bold;
}

section#Projects ul li p {
    padding: 0 20px;
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    flex-grow: 1;
    text-align: left;
    overflow: visible;
    max-height: none;
}

/* Project Button */
.project-btn {
    display: block;
    background-color: #E65F5C;
    color: white;
    text-align: center;
    padding: 12px 20px;
    margin: 0 20px 20px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-btn:hover {
    background-color: #0F0326;
    transform: translateX(3px);
}

/* Coming Soon Card */
.coming-soon-card {
    background: linear-gradient(135deg, rgba(181, 217, 156, 0.3) 0%, rgba(230, 95, 92, 0.3) 100%);
    border: 2px dashed #0F0326 !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 10px !important;
    min-height: 550px !important; /* CHANGED: Match other cards */
    box-shadow: 0 6px 12px rgba(0,0,0,0.1) !important;
}

.coming-soon-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.coming-soon-card h3 {
    margin: 10px 0;
    font-size: 18px;
}

.coming-soon-card p {
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin: 10px 10px;
}

/* Fix for nested lists (Key Features) */
section#Projects ul li article ul {
    padding-left: 20px;
    margin: 10px 20px 15px 20px;
    
    text-align: left;
    display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: center; /* Vertical alignment inside container */
  height: 200px; /* Example height */
  list-style: none; /* Remove bullets if needed */
  
}

section#Projects ul li article ul li {
    background: none;
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
    padding: 5px;
  background: lightblue;
    flex: none;
    min-height: max-content;
    list-style-type: disc;
    list-style-position: outside;
    font-size: 14px;
    line-height: 1.6;
}

section#Projects ul li article ul li:hover {
    transform: none;
    box-shadow: none;
}

/* Mobile Responsiveness for Carousel */



.f1,.f2,.f3,.f4,.f5{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.f6,.f7,.f8,.f9,.f10{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.f11,.f12,.f13,.f14,.f15{
  font-family: 'Courier New', Courier, monospace;
}
.f16,.f17,.f18,.f19{
    font-family: Arial, Helvetica, sans-serif;
}

  