/* General Styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #222;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    margin-left: 1rem;
    transition: color 0.2s;
    color: #222 !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d6efd !important;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #0A192F, #1f2937);
    color: #fff;
    padding: 4rem 1rem 3rem 1rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 80px;
}

#hero h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

#hero img {
    border: 6px solid #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    width: 400px;
    height: 400px;
    object-fit: cover;
}

#hero .btn-primary {
    background-color: darkseagreen;
    border-color: darkseagreen;
    color: #fff;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.2s, border-color 0.2s;
}

#hero .btn-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

#hero .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.2s, border-color 0.2s;
}

#hero .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    color: #fff;
}

/* About Section */
#about {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    padding: 2rem 1rem;
}

/* Projects Section */
#projects .card {
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: none;
    border-radius: 12px;
}

#projects .card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

#projects .project-img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 220px;
    object-fit: cover;
    width: 100%;
}

/* Skills Section */
#skills {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    padding: 2rem 1rem;
}

.carousel-inner {
    background: linear-gradient(145deg, #0A192F, #1f2937);
    border-radius: 10px;
}

.carousel-item h4 {
    font-weight: bold;
    color: #00A8CC;
}

.carousel-item p {
    color: #fff;
    font-size: 1.1rem;
}

/* Achievements Section */
#Achievements .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

#Achievements .card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

#Achievements img {
    border-radius: 0.75rem;
    object-fit: cover;
    width: 100%;
    max-height: 200px;
}

/* Testimonials Section */
#Testimonials .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

/* Contact Section */
#contact {
    background: #f8f9fa;
    padding: 2rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    text-align: center;
    color: #222;
}
#contact .card {
    border: none;
    border-radius: 1rem;
    margin-bottom: 2rem;
    color: #fff;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 50%;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: #fff;
    padding: 2rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #0A192F, #1f2937);
    width: 100%;
    animation: glow 6s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 8px rgba(5, 91, 23, 0.2);
    }
    100% {
        box-shadow: 0 0 24px rgba(0, 168, 204, 0.6);
    }
}

#contact .btn-primary {
    margin-right: 0.5rem;
}

.social-link i {
    font-size: 2.5rem;
}

.social-link {
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.social-link:hover.text-dark {
    color: #007bff !important;
}

.social-link:hover.text-primary {
    color: #0056b3 !important;
}

.social-link:hover.text-success {
    color: #1a7836 !important;
}

.social-link:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #212529;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

footer a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Tweaks */
@media (max-width: 991.98px) {
    #projects .col-md-6,
    #Achievements .col-md-4,
    #Testimonials .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #hero img {
        width: 220px !important;
        height: 220px !important;
    }
}

@media (max-width: 767.98px) {
    #hero img {
        width: 140px !important;
        height: 140px !important;
    }
    #contact form {
        width: 100% !important;
        padding: 1rem 0.5rem;
    }
    .carousel-inner {
        padding: 1rem 0.5rem;
    }
    #contact .card {
        padding: 1rem 0.5rem;
    }
    .social-link i {
        font-size: 2rem;
    }
}