/* General body style */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f0f0f; /* fallback for older browsers */
    color: #ffffff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: linear-gradient(90deg, #1e1e2f, #3a3a5a);
}

.nav-logo {
    font-weight: bold;
    font-size: 20px;
    color: #00f0ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00f0ff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #0f0f0f, #1a1a2f, #2a2a50);
}

.hero h1 {
    font-size: 48px;
    max-width: 800px;
    background: linear-gradient(90deg, #00f0ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #ccc;
    max-width: 600px;
    margin: 20px 0;
}

/* Button */
.btn {
    background: #00f0ff;
    color: #0f0f0f;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
}

.btn:hover {
    background: #ff00ff;
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 80px 10%;
    text-align: center;
}

/* Cards */
.cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a3a);
    padding: 30px;
    width: 250px;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #00f0ff, #ff00ff);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: linear-gradient(90deg, #1e1e2f, #3a3a5a);
    color: #ccc;
}
.portfolio-grid{
display:flex;
gap:30px;
justify-content:center;
flex-wrap:wrap;
margin-top:40px;
}

.portfolio-card{
background:#1a1a1a;
padding:30px;
width:260px;
border-radius:12px;
text-align:center;
transition:0.3s;
}

.portfolio-card:hover{
transform:translateY(-5px);
background:#222;
}

.portfolio-card p{
color:#aaa;
margin:15px 0;
}
/* Animated gradient background */
body {
    background: linear-gradient(-45deg, #0f0f0f, #1a1a2f, #2a2a50, #000);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* Glow button */
.btn {
    background: #00f0ff;
    color: black;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 0 15px #00f0ff;
    transition: 0.3s;
}

.btn:hover {
    box-shadow: 0 0 25px #ff00ff;
    transform: scale(1.05);
}
/* Contact form styling */
.contact-form {
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #1a1a1a;
    color: white;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover glow */
.card:hover {
    box-shadow: 0 0 20px #00f0ff;
}

/* Navbar blur effect */
.navbar {
    backdrop-filter: blur(10px);
}
.testimonials{
display:flex;
gap:25px;
justify-content:center;
flex-wrap:wrap;
margin-top:40px;
}

.testimonial{
background:#1a1a1a;
padding:25px;
width:260px;
border-radius:12px;
text-align:left;
transition:0.3s;
}

.testimonial:hover{
transform:translateY(-5px);
box-shadow:0 0 20px #00f0ff;
}

.testimonial p{
color:#ccc;
margin-bottom:15px;
}

.testimonial h4{
color:#00f0ff;
font-weight:normal;
}
/* Carousel container */
.testimonial-carousel{
display:flex;
gap:20px;
overflow:hidden;
position:relative;
}

/* Individual testimonial */
.testimonial{
background:#1a1a1a;
padding:25px;
width:280px;
border-radius:15px;
text-align:center;
position:relative;
transition:0.3s;
}

/* Speech bubble triangle */
.testimonial::after{
content:"";
position:absolute;
bottom:-10px;
left:50%;
transform:translateX(-50%);
border-width:10px;
border-style:solid;
border-color:#1a1a1a transparent transparent transparent;
}

/* Profile picture */
.testimonial img{
width:60px;
height:60px;
border-radius:50%;
margin-bottom:15px;
}

/* Stars */
.stars{
color:gold;
margin:10px 0;
font-size:18px;
}

/* Hover effect */
.testimonial:hover{
transform:translateY(-8px);
box-shadow:0 0 20px #00f0ff;
}
#form-status{
margin-top:15px;
color:#00f0ff;
font-weight:bold;
}
.hero {
position: relative;
}

.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.6);
}

.hero * {
position: relative;
}
.portfolio-card {
position: relative;
overflow: hidden;
}

.portfolio-card::after {
content: "View Project";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
color: white;
font-size: 18px;
transition: 0.3s;
}

.portfolio-card:hover::after {
opacity: 1;
}

.portfolio-card img {
transition: 0.3s;
}

.portfolio-card:hover img {
filter: brightness(0.5);
}
.btn {
background: linear-gradient(45deg, #00f0ff, #ff00ff);
color: white;
box-shadow: 0 0 20px rgba(0,240,255,0.6);
}
.section {
position: relative;
z-index: 1;
}

.section::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255,255,255,0.02);
z-index: -1;
}
.card {
background: linear-gradient(145deg, #1a1a1a, #111);
border: 1px solid rgba(255,255,255,0.05);
transition: 0.3s;
}

.card:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}