:root {
    /* Sunset Theme Colors */
    --primary-color: #ff6b35;
    --secondary-color: #e55100;
    --accent-color: #ffd700;
    --text-dark: #3e2723;
    --text-light: #8d6e63;
    --bg-light: #fff8f5;
    --bg-white: #ffffff;
    --bg-cream: #fef7f0;
    --border-color: #ffccbc;
    --coral-light: #ff8a65;
    --coral-dark: #d84315;
    --peach: #ffab91;
    --warm-red: #bf360c;
    --golden: #ff8f00;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f4511e 50%, #d84315 100%);
    --gradient-secondary: linear-gradient(135deg, #ff8a65 0%, #ff7043 50%, #ff5722 100%);
    --gradient-warm: linear-gradient(135deg, #ffcc02 0%, #ff6b35 50%, #e91e63 100%);
    --gradient-sunset: linear-gradient(135deg, #ff9800 0%, #ff5722 25%, #e91e63 50%, #9c27b0 100%);
    --shadow-warm: 0 4px 20px rgba(255, 107, 53, 0.15);
    --shadow-sm: 0 1px 2px 0 rgba(255, 107, 53, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(255, 107, 53, 0.15), 0 2px 4px -2px rgba(255, 107, 53, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(255, 107, 53, 0.2), 0 4px 6px -4px rgba(255, 107, 53, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(255, 107, 53, 0.25), 0 8px 10px -6px rgba(255, 107, 53, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    background: var(--gradient-primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 107, 53, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    margin-top:5%;
    min-height: 100vh;
    background: var(--gradient-sunset);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.2"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="120" fill="url(%23a)"/><circle cx="800" cy="300" r="180" fill="url(%23a)"/><circle cx="400" cy="700" r="150" fill="url(%23a)"/><circle cx="600" cy="100" r="100" fill="url(%23a)"/></svg>');
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-image img {
    border-radius: 2rem;
    transition: transform 0.3s ease;
    height:80vh;
    width: 100%;
    object-fit:cover;
}

.hero-image:hover img {
    transform: scale(1.05) rotate(2deg);
}

@media (max-width:768px){
.hero-content {
    position: relative;
    z-index: 2;
    padding-top:220px;
}
}
.typing-text {
    color: var(--accent-color);
    font-weight: 600;
    min-height: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%) !important;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* About Section */
.about-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-item:hover::before {
    transform: scaleX(1);
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--coral-light);
}

.about-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.about-item:hover i {
    color: var(--coral-dark);
    transform: scale(1.1);
}

.about-item h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-item p {
    color: var(--text-light);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-0 {
    left: 0;
    padding-right: 2rem;
}

.timeline-1 {
    left: 50%;
    padding-left: 2rem;
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--coral-light);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}

.timeline-0 .timeline-content::before {
    right: -24px;
    border-left-color: var(--bg-white);
    transform: translateY(-50%);
}

.timeline-1 .timeline-content::before {
    left: -24px;
    border-right-color: var(--bg-white);
    transform: translateY(-50%);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content .text-muted {
    color: var(--text-light) !important;
}

/* Experience Cards */
.experience-section {
    padding: 5rem 0;
}

.experience-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-warm);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.experience-card:hover::before {
    opacity: 0.1;
}

.experience-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--coral-light);
}

.experience-card > * {
    position: relative;
    z-index: 2;
}

.experience-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.experience-card:hover .experience-icon {
    color: var(--coral-dark);
    transform: scale(1.2);
}

.experience-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.experience-duration {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-description {
    color: var(--text-light);
}

/* Project Cards */
.project-card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    height: 100%;
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover::after {
    opacity: 0.1;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--coral-light);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.project-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Skill Cards */
.skill-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.5s ease;
    z-index: 1;
}

.skill-card:hover::before {
    left: 0;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.skill-card > * {
    position: relative;
    z-index: 2;
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.skill-card:hover i {
    color: white;
}

.skill-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.skill-card:hover h4 {
    color: white;
}

.skill-card p {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.skill-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-primary);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: white;
    box-shadow: var(--shadow-warm);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--warm-red) 100%);
    color: white;
    padding: 2rem 0;
}

.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--text-dark);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
    }
    
    .timeline-content::before {
        left: -24px !important;
        border-right-color: var(--bg-white) !important;
        border-left-color: transparent !important;
    }
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Additional decorative elements */
.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-warm);
    border-radius: 2rem;
    z-index: -1;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}
        
textarea{
    resize:none;
}
.swal-wide {
  width: 70% !important;
}

@media (max-width: 768px) {
  .swal-wide {
    width: 100% !important;
  }
}

pre {
    font-family: inherit;
    color: #333; /* Dark text for better contrast */
    overflow-x: auto; /* Horizontal scrolling for long content */
    white-space: pre-wrap; /* Wrap text while preserving formatting */
    line-height: 1.5; /* Improved line spacing */
    font-size: 16px; /* Comfortable font size */
    margin-bottom: 20px; /* Spacing from other elements */
}

.blog-container{
    margin-top:100px;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.post-detail{
    margin-top:20px;

}
.fw-500{
    font-weight:500;
}
.fw-600{
    font-weight:600;
}

.primary-text{
    color: var(--secondary-color);
}

.accent-text{
    color: var(--accent-color);
}

.youtube-iframe{
    width:100%; 
    height:60vh
}

.post-detail span{
    padding:10px;
}
.swal-img{
    width:100%;
    height:60vh;
    object-fit:cover;
}