@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --bs-body-font-family: "Poppins", sans-serif;
}

body {
    padding-top: 70px;
}

/* carousel */

.carousel-caption h5, .carousel-caption p {
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 2px rgba(0, 0, 0, 0.7),
        1px -1px 2px rgba(0, 0, 0, 0.7),
        -1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* contacts */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.contact-icons a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    transition: color 0.3s ease;
}

.contact-icons a:hover {
    color: teal; /* Change to your preferred hover color */
}

/* about section */

/* Profile Image Enhancements */
.about-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 320px;
    margin: 0 auto;
    padding: 16px;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.08), rgba(0, 128, 128, 0.02));
    border: 1px solid rgba(0, 128, 128, 0.12);
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.profile-img {
    width: 100%;
    max-width: 280px;
    height: 360px;
    object-fit: cover;
    object-position: center top;
    border-radius: 25px;
    border: 4px solid rgba(0, 128, 128, 0.12);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.profile-img:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 40px rgba(0, 128, 128, 0.18);
}

/* About Section Spacing */
#about {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .about-image-wrap {
        max-width: 260px;
    }

    .profile-img {
        height: 300px;
    }
}


/* home section */
/* Background and Layout */
.home-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    padding: 50px 0;
}

/* Animated Text */
.animated-text {
    font-size: 2.5rem;
    font-weight: bold;
    animation: fadeInUp 1s ease-in-out;
}

.highlight {
    color: teal;
}

/* Social Icons */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.contact-icons a {
    font-size: 1.5rem;
    color: #333;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons a:hover {
    transform: scale(1.1);
    color: teal;
}

/* Call-to-Action Button */
.btn-primary {
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 30px;
}

/* Fade-In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* navbar */

/* Glassmorphism Navbar */
.glass-navbar {
    background: rgba(7, 18, 25, 0.76);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1.5rem;
    color: #fff !important;
    transition: transform 0.3s ease;
    letter-spacing: 0.04em;
}

.navbar-brand:hover {
    transform: scale(1.04);
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 999px;
    position: relative;
    transition: all 0.25s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #ffffff;
    background: rgba(0, 128, 128, 0.14);
}

/* Underline Hover Effect */
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4d4, #00a3a3);
    transition: width 0.3s ease-in-out;
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    border-radius: 10px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar .btn {
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #0aa7a7, #007d7d);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 18px rgba(0, 128, 128, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0, 128, 128, 0.35);
}


/* homepage image */
/* Define keyframes for pulsing effect */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Apply the pulse animation to the SVG */
.profile-svg {
    animation: pulse 3s ease-in-out infinite;
    transform-origin: center;
}

/* contacts */
.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-info p {
    font-size: 18px;
    margin: 10px 0;
}

.contact-info i {
    color: teal;
    margin-right: 10px;
}

/* Experience Section Styles */
#experience {
    background-color: #ffffff;
    padding: 60px 0;
}

#experience .card {
    border-left: 4px solid teal;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#experience .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.15);
}

#experience .card-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

#experience .card-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
}

#experience ul {
    margin-left: 1.25rem;
    line-height: 1.8;
}

#experience li {
    margin-bottom: 0.5rem;
}

/* Skills Section Enhancement */
.skills.section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.skills .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.skills .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 128, 128, 0.1);
}

.skills .progress {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 8px;
}

.skills .progress-bar {
    border-radius: 10px;
    font-weight: 600;
}

/* Projects Section Enhancement */
#projects {
    background-color: #ffffff;
}

#projects .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

#projects .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 128, 128, 0.15);
}

.badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Button Enhancements */
.btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

.btn-outline-primary {
    color: teal;
    border-color: teal;
}

.btn-outline-primary:hover {
    background-color: teal;
    border-color: teal;
    color: white;
}

/* Social Icons */
.contact-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
}

.contact-icons a:hover {
    background-color: teal;
    color: white !important;
    transform: scale(1.15) translateY(-3px);
}

/* Certificates Section */
.certificates-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .animated-text {
        font-size: 2rem;
    }
    
    .home-section {
        min-height: auto;
        padding: 30px 0;
    }
    
    .contact-icons {
        gap: 10px;
    }
    
    .btn-group-vertical .btn {
        width: 100% !important;
    }
}

.contact-info a {
    color: #212529;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
    color: teal; /* Change to your preferred hover color */
}
.social-icons {
    margin-top: 20px;
}

.social-icon {
    font-size: 24px;
    margin: 0 10px;
    color: #495057;
    transition: color 0.3s ease-in-out;
}

.social-icon:hover {
    color: teal;
}
