/* Consolidated stylesheet (merged from style1.css) */
/* ===== CSS Variables ===== */
:root {
    --primary-color: #0d6efd;
    --primary-light: #3182ce;
    --primary-dark: #0a4ca8;
    --accent-color: #ffc107;
    --text-light: #e9ecef;
    --text-muted: #adb5bd;
    --bg-dark: #0f0f0f;
    --bg-darker: #1a1a1a;
    --bg-card: #1f1f1f;
    --border-color: #2d2d2d;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(13, 110, 253, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 50%, #1a0a2e 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.center-cover {
    background-attachment: fixed;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.display-4 {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
}

p, .lead {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    line-height: 1.7;
}

.big-para {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.lead {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-light {
    color: var(--text-light) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ===== Container ===== */
.container-fluid, .container {
    position: relative;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section > .row {
    position: relative;
    z-index: 1;
}

/* ===== Contact Section ===== */
.contact-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

/* ===== Highlight ===== */
.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.2));
}

/* ===== Links ===== */
.nav-link-custom {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link-custom:hover {
    color: var(--accent-color);
}

.nav-link-custom:hover::after {
    width: 100%;
}

/* ===== Image Styling ===== */
.img-cover {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.img-cover:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.3);
    border-color: var(--accent-color);
}

.rounded-circle {
    border-radius: 50% !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

/* ===== Contact Cards ===== */
.contact-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.contact-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(13, 110, 253, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.contact-link:hover .contact-card {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.2);
}

.contact-link:hover .contact-card::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.contact-link:hover .card-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.card-icon.linkedin-icon {
    background: linear-gradient(135deg, #0077b5, #00a0df);
}

.card-icon.github-icon {
    background: linear-gradient(135deg, #24292e, #555);
}

.contact-card h3 {
    font-size: 1.35rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-light);
}

.contact-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Info Cards ===== */
.info-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(13, 110, 253, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.1);
}

.info-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Navbar & Footer ===== */
#navbar, #footer {
    min-height: 80px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

#footer {
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
}

/* ===== Utilities ===== */
.border-secondary {
    border-color: var(--border-color) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-section::before {
        width: 400px;
        height: 400px;
        right: -20%;
    }

    .contact-section {
        min-height: auto;
        padding: 2rem 0;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .img-cover {
        max-width: 300px;
    }

    .contact-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        min-height: auto;
        padding: 1.5rem 0;
    }

    .img-cover {
        max-width: 250px;
    }

    .contact-section {
        min-height: auto;
        padding: 1.5rem 0;
    }

    .contact-card {
        padding: 1.25rem 1rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .pt-5 {
        padding-top: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .display-4 {
        font-size: 1.75rem !important;
    }

    .big-para, .lead, p {
        font-size: 0.95rem;
    }

    .hero-section {
        padding: 1rem 0;
    }

    .img-cover {
        max-width: 180px;
    }

    .contact-section {
        padding: 1rem 0;
    }

    .contact-card {
        padding: 1rem 0.75rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-card h3 {
        font-size: 1rem;
        margin: 0.75rem 0 0.25rem;
    }

    .contact-card p {
        font-size: 0.85rem;
    }

    .info-card {
        padding: 1rem;
    }

    .info-card h4 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.85rem;
    }

    .row {
        row-gap: 1rem !important;
    }

    .pt-5 {
        padding-top: 1.5rem !important;
    }

    .pb-5 {
        padding-bottom: 1.5rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .text-center {
        text-align: center;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 1.5rem;
    }

    .display-4 {
        font-size: 1.4rem !important;
    }

    .img-cover {
        max-width: 150px;
    }

    .contact-card {
        padding: 0.75rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .contact-card h3 {
        font-size: 0.95rem;
    }

    .big-para {
        font-size: 0.9rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* End of consolidated stylesheet */
