*{
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.header{
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(Images/bgimage5.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 250px;
    filter: drop-shadow(0 0 8px #9f68d6); /* soft glow */
    transition: 0.3s ease-in-out;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #C084FC;
    text-decoration: none;
    font-size: 15px;
    text-shadow: 0 0 8px #C084FC;
}

.nav-links ul li a::after{
    content: "";
    width: 0%;
    height: 2px;
    background:linear-gradient(90deg, #e0d4ff, #b48df4);
    display: block;
    margin: auto;
    border-radius: 4px;
    transition: 0.5s;
}

.nav-links ul li a:hover::after{
    width: 100%;
    box-shadow: 0 0 8px #d9bfff
}

.text-box{
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    color:#E9D5FF;
    font-size: 62px;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(192,132,252,0.4);
}

.text-box p{
    color: #D8B4FE;
    max-width: 700px;
    margin: auto;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.3px;
    word-spacing: 1px;
    text-shadow: 0 0 6px rgba(216, 180, 254, 0.3);
}

.hero-btn{
    background: rgba(192, 132, 252, 0.15);
    display: inline-block;
    color: #f5e7ff;
    padding: 12px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(144, 64, 255, 0.2);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 0 0 4px rgba(144, 64, 255, 0.3);
    margin-top: 30px; 
}

.hero-btn:hover {
  background: rgba(192, 132, 252, 0.25);
  box-shadow: 0 12px 24px rgba(144, 64, 255, 0.35);
}

#menu-icon,
#close-icon {
  display: none;
}

/* Mobile styles */
@media (max-width: 700px) {
  #menu-icon {
    display: block; /* Only menu icon shows initially */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 26px;
    color: white;
    cursor: pointer;
    z-index: 3;
  }

  #close-icon {
    display: none; /* Hidden by default */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 26px;
    color: white;
    cursor: pointer;
    z-index: 3;
  }

  .text-box h1 {
    font-size: 30px;
  }

  .nav-links ul li {
    display: block;
  }

  nav img {
    width: 125px;
    padding: 10px;
    margin-top: 10px;
  }

  .nav-links {
    position: absolute;
    background: #1E1B2E;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -100%;
    text-align: left;
    z-index: 2;
    padding: 10px;
    transition: 1s;
  }

  .nav-links ul {
    padding: 30px;
  }
}

/*---------------Projects-----------------------------*/

.project{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #F9FAFB;
}

.project h1 {
    background: linear-gradient(45deg, #8B5CF6, #EC4899, #06B6D4, #8B5CF6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 20s ease-in-out infinite;
    font-family: 'Work Sans', sans-serif;
    font-size: 46px;
    font-weight: 700;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.project p{
    font-size: 16px;
    color: #4B5563;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 50px;
}

.project-row{
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
    align-items: stretch;
}

.project-col {
    text-align: left;
    flex-basis: 31%;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-col:hover {
    transform: translateY(-6px);
    background: rgba(139, 92, 246, 0.05);
    backdrop-filter: blur(20px) contrast(120%);
    -webkit-backdrop-filter: blur(20px) contrast(120%);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.25),
        0 0 20px rgba(139, 92, 246, 0.15);
}

.project-col img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin: 0 auto 16px auto;
}
.project-col h3 {
    color: #1E1B4B; 
    font-size: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-col p {
    color: #272628; 
    font-size: 12px;
    line-height: 1.6;
}


@keyframes twinkle {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .project-row {
        flex-direction: column;
        align-items: center;
    }
    
    .project-col {
        max-width: 100%;
        width: 100%;
    }
}

.learn-more-arrow {
    color: #8B5CF6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: block;
    text-align: center;
    margin: 15px auto 0;
    width: fit-content;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

.learn-more-arrow:hover {
    color: #7C3AED;
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.learn-more-arrow:hover .arrow {
    transform: translateX(4px);
}



/*------contact section---------------------------------------*/

.contact-section {
    background: linear-gradient(135deg, #1a0d2e 0%, #2d1b4e 25%, #4c1d95 50%, #6b21a8 75%, #1a0d2e 100%);
    background-size: 400% 400%;
    animation: gradient-breathe 50s ease-in-out infinite;
    color: white;
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

@keyframes gradient-breathe {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.contact-section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-section-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-section-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-section-logo img {
    width: 250px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}
.contact-section-left p {
    color:  #d5c9e3;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.6;
    opacity: 1;
}
.contact-section-middle {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
    padding-left: 30px
}

.contact-item {
    color: #C084FC;
    font-weight: 500;
    text-shadow: 
        0 0 10px rgba(192, 132, 252, 0.6),
        0 0 20px rgba(192, 132, 252, 0.4),
        0 0 30px rgba(192, 132, 252, 0.2);
}

.contact-item:hover {
    color: #DDD6FE;
    text-shadow: 
        0 0 15px rgba(192, 132, 252, 0.8),
        0 0 25px rgba(192, 132, 252, 0.6),
        0 0 35px rgba(192, 132, 252, 0.4);
    transform: translateX(5px);
}
.contact-item:last-child {
    border-bottom: none;
}
.contact-section-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 20px;
}
.contact-us-btn {
    background: rgba(192, 132, 252, 0.1);
    color: #C084FC;
    padding: 15px 30px;
    border: 2px solid rgba(192, 132, 252, 0.3);
    border-radius: 0; /* No rounded corners */
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(192, 132, 252, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
    display: inline-block;
}

.contact-us-btn:hover {
    background: rgba(192, 132, 252, 0.2);
    border-color: rgba(192, 132, 252, 0.5);
    box-shadow: 
        0 0 30px rgba(192, 132, 252, 0.5),
        0 0 60px rgba(192, 132, 252, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 15px rgba(192, 132, 252, 0.7);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Bottom Section - Copyright */
.contact-section-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 0; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 25px; 
    text-align: center;
}
.contact-section-bottom p {
    color: #D8B4FE;
    font-size: 14px;
    text-align: center;
    opacity: 0.8;
    width: 100%; /* Add this */
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-section-right {
        justify-content: center;
    }
    
    .contact-section-logo {
        justify-content: center;
    }
    
    .contact-item:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 0 15px;
    }
    
    .contact-section-content {
        padding: 0 20px;
    }
    
    .contact-section-bottom {
        padding: 20px 20px 0;
    }
}
