/* ============================================
   Custom CSS Variables - Simple Color Scheme
   ============================================ */
:root {
    --primary-color: #0066FF;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Navbar Styles
   ============================================ */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: var(--bg-light);
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.typing-text {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: #0052CC;
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Profile Image */
.profile-image-wrapper {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-border {
    display: none; /* Removed complex rotating border */
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Section Styles
   ============================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.about-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.key-highlights ul li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.about-info p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.about-info a {
    color: var(--primary-color);
    font-weight: 500;
}

.about-info a:hover {
    color: #0052CC;
}

/* ============================================
   Skills Section
   ============================================ */
.skills-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
    height: 100%;
}

.skill-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.skill-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.skill-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.skill-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   Projects Section
   ============================================ */
.projects-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   Internships Section
   ============================================ */
.internships-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.certificate-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
    height: 100%;
}

.certificate-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.certificate-title {
    color: var(--text-dark);
    font-size: 1.75rem;
}

.internship-details {
    margin-bottom: 1.5rem;
}

.internship-details p {
    margin-bottom: 0.75rem;
}

.internship-details ul {
    margin-bottom: 1.5rem;
}

.internship-details li {
    margin-bottom: 0.5rem;
}

.certificate-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    margin: 0.5rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.contact-info-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
}

.contact-info-wrapper h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-info-item {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info-item .contact-icon {
    margin-bottom: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto;
}

.contact-details h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-details a:hover {
    color: #0052CC;
}

.social-icon-large {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: background 0.2s ease;
}

.social-icon-large:hover {
    background: #0052CC;
    color: white;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #333333;
    color: white;
    padding: 30px 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .typing-text {
        font-size: 1.25rem;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .typing-text {
        font-size: 1.1rem;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-info-wrapper {
        padding: 2rem;
    }
}

/* ============================================
   Premium Dark Aesthetic (Override)
   Keep at the bottom to override safely
   ============================================ */
:root{
    --bg: #0b1220;
    --surface: rgba(255,255,255,.06);
    --surface-2: rgba(255,255,255,.09);
    --border: rgba(255,255,255,.14);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.68);

    --accent: #4f8cff;
    --accent-2: #7c3aed;

    --shadow: 0 18px 55px rgba(0,0,0,.45);
    --shadow-soft: 0 10px 24px rgba(0,0,0,.28);

    --radius: 16px;
    --radius-sm: 12px;
}

html, body{ background: var(--bg); }
body{
    color: var(--text);
    letter-spacing: .2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Bootstrap utility colors used in HTML */
.text-primary{ color: var(--accent) !important; }
.text-muted{ color: var(--muted) !important; }

/* Navbar: glass */
.navbar{
    background: rgba(11,18,32,.72) !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: none;
}
.navbar.scrolled{
    background: rgba(11,18,32,.88) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.40);
}
.navbar-brand{ color: rgba(255,255,255,.92) !important; }
.navbar-nav .nav-link{
    color: rgba(255,255,255,.82) !important;
    border-radius: 999px;
}
.navbar-nav .nav-link:hover{
    color: #fff !important;
    background: rgba(255,255,255,.08);
}
.navbar-nav .nav-link.active{
    color: #fff !important;
    background: rgba(79,140,255,.16);
    border: 1px solid rgba(79,140,255,.28);
}

/* Hero: premium gradients */
.hero-section{
    background:
        radial-gradient(900px 520px at 10% 10%, rgba(79,140,255,.26), transparent 60%),
        radial-gradient(700px 460px at 92% 20%, rgba(124,58,237,.22), transparent 55%),
        radial-gradient(650px 500px at 60% 90%, rgba(45,212,191,.12), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,.02), transparent 42%);
}
.hero-content h1{
    color: #fff;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -.6px;
}
.typing-text{ color: rgba(255,255,255,.95); }

/* Hero badge */
.badge-soft{
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.82);
    font-weight: 600;
    letter-spacing: .2px;
}
.badge-dot{
    width: .55rem;
    height: .55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #2dd4bf);
    box-shadow: 0 0 0 .22rem rgba(79,140,255,.18);
}

/* Hero metrics */
.hero-metrics{
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}
.metric{
    min-width: 140px;
    padding: .85rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
}
.metric-value{
    font-weight: 800;
    color: rgba(255,255,255,.95);
    letter-spacing: -.2px;
}
.metric-label{
    font-size: .92rem;
    color: var(--muted);
}

/* Buttons */
.btn{
    border-radius: 999px;
    font-weight: 750;
    letter-spacing: .2px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:focus{ box-shadow: 0 0 0 .25rem rgba(79,140,255,.25) !important; }
.btn-primary{
    background: linear-gradient(135deg, var(--accent), #2dd4bf);
    border: 0;
}
.btn-primary:hover{
    background: linear-gradient(135deg, #3a7bff, #22c7b1);
}
.btn-outline-primary{
    border: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.90);
}
.btn-outline-primary:hover{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.32);
    color: #fff;
}

/* Sections */
.about-section, .projects-section, .contact-section{ background: transparent; }
.skills-section, .internships-section{
    background: rgba(255,255,255,.03);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.section-title{
    color: #fff;
    letter-spacing: -.4px;
}
.title-underline{
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: .95;
}

/* Cards */
.skill-card, .project-card, .certificate-card, .contact-info-wrapper{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
}
.skill-card:hover, .project-card:hover, .certificate-card:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.project-title, .skill-title, .certificate-title{ color: rgba(255,255,255,.92); }
.project-description{ color: var(--muted); }
.project-image-wrapper{ border-bottom: 1px solid rgba(255,255,255,.10); }
.project-overlay{
    background: rgba(11,18,32,.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.skill-badge, .tech-badge{
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.88);
    border-radius: 999px;
}
.skill-icon, .contact-icon{
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Social icons */
.social-icon{
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.88);
    box-shadow: none;
}
.social-icon:hover{
    background: rgba(79,140,255,.18);
    border-color: rgba(79,140,255,.30);
    color: #fff;
}
.social-icon-large{
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.88);
}
.social-icon-large:hover{
    background: rgba(79,140,255,.18);
    border-color: rgba(79,140,255,.30);
    color: #fff;
}

/* Images */
.profile-image{
    border: 5px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
}
.about-image{
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
}

/* Footer */
.footer{
    background: transparent;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.72);
}

/* Reveal on scroll */
.reveal-on-scroll{
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal-on-scroll.is-visible{
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 576px){
    .metric{ min-width: 132px; }
}
