/* Custom styles for portfolio website */
.header-banner {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.language-switcher {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.profile-section {
    margin-top: -80px;
}

.profile-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    margin-top: -120px;  
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.3);
}

.profile-image-hero {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.header-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 90px;  
}

.timeline-item {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid #0d6efd;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0d6efd;
}

.timeline-year {
    font-weight: bold;
    color: #0d6efd;
}

.gallery-image {
    transition: transform 0.3s;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-section {
        margin-top: 20px;
    }
}

/* Custom Hindi font */
.hindi-text {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
.section {
    margin-bottom: 50px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.section h3 {
    color: #1a3263;
    border-bottom: 2px solid #f8961e;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background-color: #f8961e;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-date {
    font-weight: 700;
    color: #1a3263;
    margin-bottom: 5px;
    display: inline-block;
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 3px solid #f8961e;
}

/* Gallery Styles */
.gallery-img {
    height: 200px;
    object-fit: cover;
}

/* YouTube Video Styles */
.featured-video-container {
    margin-bottom: 30px;
}

.embed-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Social Media Links */
.social-links-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #f8961e;
    text-decoration: none;
}

.social-link i {
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #f8961e;
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

/* Quote Box */
.quote-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.quote-box .blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 0;
    padding: 0 20px;
}

/* News Articles */
.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Banner Carousel Styles */
.banner-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    padding: 0 15%;
}

.banner-content {
    max-width: 900px;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out;
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for banner */
@media (max-width: 768px) {
    .banner-image {
        height: 400px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
}

/* Career Timeline Styles */
.career-timeline {
    background-color: #f8f9fa;
    border-left: 4px solid #ff9933;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.career-timeline p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.career-timeline strong {
    color: #ff9933;
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin: 30px 0;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
    border-left: 2px solid #ff9933;
    padding-bottom: 15px;
}

.timeline-date {
    position: absolute;
    left: -15px;
    top: 0;
    background-color: #ff9933;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.timeline-item h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.timeline-item p {
    margin-bottom: 5px;
    color: #555;
}

.timeline-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9933, #ff7e33);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(255,153,51,0.3);
}

.timeline-icon i {
    font-size: 18px;
}

.timeline-item:nth-child(even) .timeline-content {
    background: linear-gradient(145deg, #f9f9f9, #f0f0f0);
}

.timeline-item:nth-child(even) .timeline-content-inner:before {
    background: radial-gradient(circle, rgba(255,153,51,0.1) 0%, rgba(255,153,51,0) 70%);
}

.timeline-date:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255,153,51,0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .profile-image, .profile-image-hero {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 300px;
    }
    
    .profile-image, .profile-image-hero {
        width: 100px;
        height: 100px;
    }
}

/* Enhanced Political Experience Section - Modern & Colorful Version */
.political-experience {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid rgba(0,0,0,0.05);
}

.political-experience:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff9933, #ffffff, #138808);
}

.section-header.premium {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.section-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.section-icon {
    background: linear-gradient(135deg, #ff9933, #ff7e33);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.decoration-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    max-width: 100px;
}

.decoration-star {
    margin: 0 15px;
    color: #ff9933;
    font-size: 18px;
    transform: rotate(0deg);
    animation: starRotate 10s linear infinite;
}

@keyframes starRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Premium Card with Flag Decoration */
.intro-card.premium-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.intro-card.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.card-flag-decoration {
    display: flex;
    height: 8px;
}

.flag-stripe {
    flex: 1;
}

.flag-stripe.saffron {
    background-color: #ff9933;
}

.flag-stripe.white {
    background-color: #ffffff;
}

.flag-stripe.green {
    background-color: #138808;
}

.intro-content {
    padding: 25px 30px;
}

.intro-content p {
    margin: 0;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* Premium Timeline Styling */
.timeline-block.premium-timeline {
    margin-bottom: 50px;
}

.timeline-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-left: 10px;
}

.timeline-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #138808;
    color: white;
    margin-right: 15px;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(19, 136, 8, 0.3);
}

.timeline-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.timeline.modern {
    position: relative;
    padding: 20px 0;
}

.timeline.modern:before {
    content: '';
    position: absolute;
    left: 65px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #ff9933, #138808);
    border-radius: 2px;
}

.timeline-item.premium {
    display: flex;
    position: relative;
    margin-bottom: 35px;
    padding-left: 95px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-date {
    background-color: #ff9933;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    box-shadow: 0 3px 8px rgba(255,153,51,0.3);
    text-align: center;
    min-width: 70px;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px #ff9933, 0 5px 15px rgba(0,0,0,0.1);
    z-index: 3;
    position: relative;
}

.timeline-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    padding: 20px 25px;
    flex: 1;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.timeline-content:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.timeline-description {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Party Position Badge */
.party-position {
    margin-top: 10px;
}

.position-badge {
    display: inline-block;
    background: linear-gradient(135deg, #138808, #0c6404);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.party-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.party-logo {
    max-height: 60px;
    max-width: 100px;
}

.party-flag {
    display: inline-block;
    padding: 3px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    background-color: rgba(255,255,255,0.7);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .timeline.modern:before {
        left: 40px;
    }
    
    .timeline-item.premium {
        padding-left: 60px;
    }
    
    .timeline-marker {
        width: 90px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .timeline-date {
        font-size: 0.8rem;
        padding: 3px 10px;
        min-width: 60px;
    }
    
    .timeline-content {
        padding: 15px 20px;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .political-experience {
        padding: 30px 20px;
    }
    
    .section-header-inner {
        flex-direction: column;
    }
    
    .section-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-header-icon {
        margin-bottom: 10px;
    }
}

/* Resume Section Styling */
.resume-section {
    margin-bottom: 50px;
}

.resume-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.resume-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, #ff9933, #138808);
    z-index: 1;
}

.education-card:after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,153,51,0.1) 0%, rgba(255,153,51,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.experience-card:after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(19,136,8,0.1) 0%, rgba(19,136,8,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.resume-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 2;
}

.resume-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9933, #ff7e33);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 3px 8px rgba(255,153,51,0.3);
}

.resume-header h4 {
    margin: 0;
    font-size: 1.4rem;
    color: #333;
}

.resume-timeline {
    position: relative;
    padding-left: 25px;
}

.resume-timeline:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    height: calc(100% - 20px);
    width: 3px;
    background: linear-gradient(to bottom, #ff9933, #138808);
    border-radius: 3px;
}

.resume-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.resume-item:before {
    content: '';
    position: absolute;
    top: 5px;
    left: -11px;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #ff9933;
    border-radius: 50%;
    z-index: 2;
}

.resume-item:last-child {
    margin-bottom: 0;
}

.resume-date {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: 500;
}

.resume-title {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 8px;
}

.resume-institute {
    color: #138808;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 1rem;
}

.resume-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Skills styling */
.skills-container {
    margin-top: 20px;
}

.skill-item {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.skill-name {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.skill-level {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff9933;
}

.skill-progress-bg {
    height: 8px;
    background-color: #e9e9e9;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, #ff9933, #138808);
    border-radius: 10px;
    transition: width 1s ease;
}

.skill-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .resume-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .resume-timeline {
        padding-left: 15px;
    }
    
    .resume-item {
        padding-left: 20px;
    }
}

/* Personal Information Section Styling */
.section.personal-info {
    padding: 40px 30px;
    margin-bottom: 40px;
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.section.personal-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff9933, #ffffff, #138808);
}

.personal-info-container {
    margin-top: 35px;
}

.info-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.info-card-body {
    padding: 25px;
}

.info-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    color: #777;
    margin-bottom: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.info-label i {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,153,51,0.2), rgba(255,153,51,0.1));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #ff9933;
    font-size: 0.9rem;
}

.info-value {
    color: #333;
    font-weight: 600;
    font-size: 1.05rem;
    padding-left: 35px;
}

/* Responsive styles for personal info */
@media (max-width: 992px) {
    .info-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section.personal-info {
        padding: 30px 20px;
    }
    
    .info-label i {
        width: 22px;
        height: 22px;
        font-size: 0.85rem;
    }
    
    .info-value {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .info-card-body {
        padding: 20px;
    }
    
    .info-row {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
}

/* Address Information Styling */
.address-info {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid rgba(0,0,0,0.05);
}

.address-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff9933, #ffffff, #138808);
}

.address-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.address-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, #ff9933, #138808);
    z-index: 2;
}

.card-subtitle {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.card-subtitle i {
    color: #ff9933;
    margin-right: 12px;
    font-size: 1.2rem;
}

.address-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 0;
}

.contact-item i {
    color: #138808;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: #333;
    font-size: 1.05rem;
}

/* Family Members Styling */
.family-info {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid rgba(0,0,0,0.05);
}

.family-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff9933, #ffffff, #138808);
}

.family-members {
    margin-top: 30px;
}

.family-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.family-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.family-photo {
    width: 120px;
    height: 120px;
    margin: 25px auto 15px;
    position: relative;
}

.family-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.family-details {
    padding: 20px;
    text-align: center;
}

.family-details h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.relation-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9933, #ff7e33);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.family-details p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.no-data-message {
    background-color: #f9f9f9;
    border-left: 4px solid #ccc;
    padding: 15px 20px;
    color: #666;
    font-style: italic;
    text-align: center;
    border-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .personal-info,
    .address-info,
    .family-info {
        padding: 25px 20px;
    }
    
    .info-item,
    .address-card,
    .family-card {
        margin-bottom: 20px;
    }
    
    .family-photo {
        width: 100px;
        height: 100px;
    }
}

/* Profile Header Styling */
.profile-header {
    background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,1) 100%);
    padding: 30px 0;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.profile-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff9933 33%, white 33%, white 66%, #138808 66%);
}

.profile-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.profile-image-container {
    position: relative;
    margin-top: -80px;
    margin-bottom: 15px;
    z-index: 10;
}

.profile-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.profile-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #333;
    position: relative;
    display: inline-block;
}

.profile-name:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 70px;
    background: linear-gradient(to right, #ff9933, #138808);
    border-radius: 3px;
}

.position-badge {
    display: inline-block;
    background: linear-gradient(135deg, #138808, #0c6404);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(19, 136, 8, 0.3);
    margin: 15px 0 5px;
}

.social-icons {
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    margin: 0 5px;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.social-icon:nth-child(1):hover {
    background: #ff9933;
    color: white;
    transform: translateY(-3px);
}

.social-icon:nth-child(2):hover {
    background: white;
    color: #ff9933;
    transform: translateY(-3px);
}

.social-icon:nth-child(3):hover {
    background: white;
    color: #138808;
    transform: translateY(-3px);
}

.social-icon:nth-child(4):hover {
    background: #138808;
    color: white;
    transform: translateY(-3px);
}

.quick-stats {
    padding: 15px 0;
    margin: 25px auto 10px;
    background: #f9f9f9;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.03);
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.stat-item:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff9933;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Responsive styles for profile header */
@media (max-width: 768px) {
    .profile-name {
        font-size: 1.8rem;
    }
    
    .position-badge {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
    
    .profile-image {
        width: 130px;
        height: 130px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Enhanced Profile Header Elements */
.position-badge {
    display: inline-block;
    background: linear-gradient(135deg, #138808, #0c6404);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 10px auto 15px;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 80%;
    position: relative;
}

.position-badge:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background-color: #138808;
    border-radius: 3px;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    color: white;
}

.social-icon:nth-child(1):hover {
    background-color: #3b5998; /* Facebook */
}

.social-icon:nth-child(2):hover {
    background-color: #1da1f2; /* Twitter */
}

.social-icon:nth-child(3):hover {
    background-color: #c32aa3; /* Instagram */
}

.social-icon:nth-child(4):hover {
    background-color: #ff0000; /* YouTube */
}

/* Quick Stats */
.quick-stats {
    padding: 15px 0;
    margin: 25px auto 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 600px;
}

.stat-item {
    padding: 0 25px;
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #ff9933, #138808);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments for header elements */
@media (max-width: 768px) {
    .position-badge {
        font-size: 1rem;
        padding: 6px 20px;
    }
    
    .quick-stats {
        margin: 20px auto 5px;
    }
    
    .stat-item {
        padding: 0 15px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Banner Button Styling */
.banner-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.banner-btn {
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 30px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary.banner-btn {
    background: linear-gradient(135deg, #ff9933, #ff7e33);
    border: none;
}

.btn-primary.banner-btn:hover {
    background: linear-gradient(135deg, #ff7e33, #ff9933);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 153, 51, 0.4);
}

.btn-outline-light.banner-btn {
    border: 2px solid white;
}

.btn-outline-light.banner-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 255, 255, 0.2);
}

/* Enhanced carousel indicators */
.carousel-indicators {
    margin-bottom: 25px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 14px;
    height: 14px;
    background-color: white;
    border: 2px solid rgba(255, 153, 51, 0.7);
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: linear-gradient(90deg, rgba(0,0,0,0.3), transparent);
}

.carousel-control-next:hover {
    background: linear-gradient(270deg, rgba(0,0,0,0.3), transparent);
}

@media (max-width: 768px) {
    .banner-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .banner-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
        min-width: 200px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* Contact Information Styling */
.contact-info-container {
    margin-top: 35px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.contact-card-header {
    display: flex;
    align-items: center;
    padding: 20px 25px 0;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9933, #ff7e33);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.contact-card-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.contact-card-body {
    padding: 20px 25px 25px;
}

.contact-address p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(19,136,8,0.2), rgba(19,136,8,0.1));
    color: #138808;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 16px;
}

.contact-text {
    color: #333;
    font-weight: 500;
    font-size: 1.05rem;
}

/* Responsive adjustments for Contact section */
@media (max-width: 992px) {
    .contact-card {
        margin-bottom: 20px;
    }
    
    .contact-card-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .address-info {
        padding: 30px 20px;
    }
    
    .contact-card-header {
        padding: 20px 20px 0;
    }
    
    .contact-card-body {
        padding: 15px 20px 20px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .contact-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .contact-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-card-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
