.card-img-top{
    height: 234.5px;
    width: 414px;
}
        /* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- CSS Variables for Easy Themeing --- */
:root {
    --bg-color: #0d0c22;
    --text-color: #ffffff;
    --primary-color: #ff007b;
    --secondary-color: #6a00f4;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* --- Base & Body Styling --- */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    padding-top: 70px;
    background-image: linear-gradient(315deg, var(--bg-color) 0%, #291a4c 74%);
    overflow-x: hidden;
}

/* --- Animated Gradient Background --- */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #00d4ff);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    z-index: -1;
    opacity: 0.2;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* --- Navbar --- */
.navbar {
    background: rgba(13, 12, 34, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.navbar .nav-link { color: var(--text-color); font-weight: 500; transition: color 0.3s ease; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary-color); }
.navbar-brand { color: var(--text-color) !important; }

/* --- Hero Section --- */
.hero-section { min-height: calc(100vh - 70px); position: relative; z-index: 1; }
.typed-text-container { font-size: 1.8rem; font-weight: 300; color: rgba(255, 255, 255, 0.8); }
#typed-text { color: var(--primary-color); font-weight: 600; }
.typed-cursor { font-size: 2rem; color: var(--primary-color); }
.social-icons-hero a { transition: transform 0.3s ease; }
.social-icons-hero a:hover { transform: scale(1.2); color: var(--primary-color) !important; }

/* --- Custom Button --- */
.btn-brand { background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); color: var(--text-color); border: none; padding: 12px 30px; border-radius: 50px; font-weight: 600; transition: all 0.3s ease; background-size: 200% 100%; }
.btn-brand:hover { background-position: right center; color: var(--text-color); box-shadow: 0 0 20px var(--primary-color); }

/* --- General Section Styling --- */
section { padding: 60px 0; }
.section-title { font-weight: 700; margin-bottom: 40px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; width: 50%; height: 3px; background: var(--primary-color); bottom: -10px; left: 25%; }

/* --- About Section --- */
.profile-image-container { border: 5px solid var(--glass-border); border-radius: 50%; padding: 10px; background: var(--glass-bg); max-width: 350px; margin: 0 auto; }
.profile-image-container img { border-radius: 50%; }

/* --- Glassmorphism Cards (Shared Styles) --- */
.skill-card, .project-card, .service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}
.skill-card:hover, .project-card:hover, .service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(255, 0, 123, 0.2);
}

/* --- Service Card Specifics --- */
.service-card .icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.service-card:hover .icon-container {
    box-shadow: 0 0 15px var(--primary-color);
}
.service-card h5 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.service-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Skill Card Specifics --- */
.skill-card { width: 150px; height: 150px; }

/* --- Project Card Specifics --- */
.project-card .card-body { padding: 1.5rem; }
.project-card img { border-top-left-radius: 15px; border-top-right-radius: 15px; }
.project-card .tech-stack span { background: rgba(255, 255, 255, 0.1); padding: 4px 10px; border-radius: 5px; font-size: 0.8rem; margin-right: 5px; margin-bottom: 5px; display: inline-block; }

/* --- Footer --- */
footer { border-top: 1px solid var(--glass-border); background: rgba(13, 12, 34, 0.3); }


/* Contact * /

/* --- NEW: Contact Modal Specific Styling --- */
.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.modal-header {
    border-bottom: 1px solid var(--glass-border);
}

.modal-footer {
    border-top: 1px solid var(--glass-border);
}

.contact-info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

/* --- Form Control Styling for Dark Theme --- */
.form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    border-radius: 8px;
}

.form-control:focus {
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 123, 0.25); /* Primary color with transparency */
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-label {
    color: rgba(255, 255, 255, 0.8);
}