/* Styles for the body */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0f00 0%, #2e1a0a 50%, #3d2410 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    width: auto;
    min-height: 100vh;
    color: #f5e6d3;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    color: #1a0f00;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    width: auto;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
    backdrop-filter: blur(10px);
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #1a0f00;
}

.header-subtitle {
    margin: 0;
    font-size: 1.2em;
    color: #422006;
    font-weight: 300;
}

nav {
    text-align: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #2e1a0a 0%, #3d2410 100%);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(145deg, #d97706, #f59e0b);
    color: #1a0f00;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.3);
    font-weight: 500;
}

nav ul li a:hover {
    background: linear-gradient(145deg, #f59e0b, #fbbf24);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.6);
    color: #1a0f00;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2e1a0a 0%, #3d2410 100%);
    padding: 80px 20px;
    text-align: center;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8em;
    color: #fbbf24;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
    line-height: 1.2;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1em;
    color: #f5e6d3;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Specific styles for header h1 only */
header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #1a0f00;
    text-shadow: none;
}

/* General headings - but exclude hero title */
h1:not(.hero-title), h2:not(.hero-title), h3 {
    color: #fbbf24;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
    margin-bottom: 15px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.2em;
    font-weight: bold;
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    margin-bottom: 5px;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    font-size: 1em;
    min-width: 160px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(145deg, #f59e0b, #fbbf24);
    color: #1a0f00;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.6);
    background: linear-gradient(145deg, #fbbf24, #fcd34d);
}

.btn-secondary {
    background: transparent;
    color: #fbbf24;
    border: 2px solid #fbbf24;
}

.btn-secondary:hover {
    background: #fbbf24;
    color: #1a0f00;
    transform: translateY(-2px);
}

/* Main Content Area */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #fbbf24;
    font-size: 2.2em;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header .section-subtitle {
    color: #e0cdb0;
    font-size: 1.1em;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Skills Section */
.skills-section {
    background: linear-gradient(145deg, #2e1a0a 0%, #3d2410 100%);
    border-radius: 15px;
    padding: 50px 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 40px;
}

.skill-row {
    text-align: center;
}

.skill-category-title {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.3em;
    position: relative;
    display: inline-block;
}

.skill-category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 1px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.skill-tag {
    background: linear-gradient(145deg, #d97706, #f59e0b);
    color: #1a0f00;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9em;
    border: 1px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.skill-tag:hover {
    background: linear-gradient(145deg, #f59e0b, #fbbf24);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.5);
}

/* Featured Projects Section */
.featured-projects {
    background: linear-gradient(145deg, #2e1a0a 0%, #3d2410 100%);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.skill-row {
    text-align: center;
    padding: 0;
    margin: 0;
}

.skill-category-title {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 1.2em;
    text-align: center;
    position: relative;
    display: inline-block;
}

.skill-category-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 1px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}

.skill-tag {
    background: linear-gradient(145deg, #d97706, #f59e0b);
    color: #1a0f00;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.skill-tag:hover {
    background: linear-gradient(145deg, #f59e0b, #fbbf24);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.5);
}

/* Featured Projects */
.featured-projects {
    margin: 40px auto;
    max-width: 1200px;
    padding: 40px 20px;
    background: linear-gradient(145deg, #2e1a0a 0%, #3d2410 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.featured-projects h2 {
    text-align: center;
    color: #fbbf24;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

.section-description {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1.1em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
    align-items: start;
}

.project-card {
    background: linear-gradient(145deg, #3d2410, #2e1a0a);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(217, 119, 6, 0.3);
    transition: all 0.3s ease;
    height: fit-content;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.5);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #2e1a0a;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(217, 119, 6, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

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

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2em;
}

.project-link:hover {
    background: rgba(251, 191, 36, 0.3);
    transform: scale(1.1);
    border-color: rgba(251, 191, 36, 0.5);
}

.project-content {
    padding: 30px 25px;
    background: linear-gradient(145deg, #3d2410, #2e1a0a);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-header h3 {
    color: #fbbf24;
    margin: 0;
    font-size: 1.4em;
    flex: 1;
    min-width: 200px;
}

.project-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.project-badge.award {
    background: linear-gradient(145deg, #fbbf24, #f59e0b);
    color: #1a0f00;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

.project-badge:not(.award) {
    background: linear-gradient(145deg, #d97706, #f59e0b);
    color: #1a0f00;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.project-badge.featured {
    background: linear-gradient(145deg, #fbbf24, #f59e0b);
    color: #1a0f00;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

.project-badge.council {
    background: linear-gradient(145deg, #10b981, #059669);
    color: white;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.featured-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.featured-achievement {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(251, 191, 36, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
}

.featured-achievement i {
    color: #fbbf24;
    font-size: 1.1em;
}

.featured-achievement span {
    color: #cbd5e1;
    font-size: 0.9em;
    line-height: 1.4;
}

.project-links-featured {
    margin-top: 15px;
}

.project-link-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(145deg, #059669, #10b981);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: 500;
}

.project-link-small:hover {
    background: linear-gradient(145deg, #047857, #059669);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

.project-description {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    border: 1px solid rgba(251, 191, 36, 0.3);
    font-weight: 500;
}

.project-achievements {
    color: #fbbf24;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    background: rgba(251, 191, 36, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #fbbf24;
    margin-top: 5px;
}

.project-achievements span {
    flex: 1;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

/* Remove old conflicting styles */
.section-description {
    color: #94a3b8;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    text-align: center;
}

/* Featured Projects specific adjustments */
.featured-projects .section-header {
    margin-bottom: 50px;
}

/* Enhanced Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h4 {
    color: #1a0f00;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    color: #1a0f00;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    padding: 5px 0;
    font-weight: 500;
}

.contact-link:hover {
    color: #422006;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(26, 15, 0, 0.3);
    color: #1a0f00;
    font-weight: 500;
}



/* Styles for the main content */
.main-content {
    background: linear-gradient(145deg, #2e1a0a 0%, #3d2410 100%);
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(251, 191, 36, 0.1);
    border-radius: 15px;
    margin: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 119, 6, 0.3);
    width: auto;
    box-sizing: border-box;
    z-index: 0;
    flex: 1;
    color: #f5e6d3;
}

.SA_photo {
    border: 3px solid #f59e0b;
    background: linear-gradient(145deg, #d97706, #f59e0b);
    display: inline-block;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.SA_photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.6);
}

.DD_photo {
    border: 3px solid #f59e0b;
    background: linear-gradient(145deg, #d97706, #f59e0b);
    display: inline-block;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.DD_photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.6);
}

a {
    color: #f59e0b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

nav {   
    text-align: center;
    margin-top: 0px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #2e1a0a 0%, #3d2410 100%);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(145deg, #d97706, #f59e0b);
    color: #1a0f00;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 5px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

nav ul li a:hover {
    background: linear-gradient(145deg, #f59e0b, #fbbf24);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.6);
    color: #1a0f00;
}

footer {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    color: #1a0f00;
    padding: 30px 0;
    text-align: center;
    width: 100%;
    box-shadow: 0 -4px 20px rgba(217, 119, 6, 0.4);
    backdrop-filter: blur(10px);
    margin-top: auto;
}

.footer-Index {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.footer-Index h4 {
    margin-bottom: 10px;
    color: #1a0f00;
    font-weight: 600;
}

.footer-Index a {
    color: #1a0f00;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-Index a:hover {
    color: #422006;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

/* Adjustments for mobile phones */
@media only screen and (max-width: 767px) {
    header {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .header-subtitle {
        font-size: 1em;
    }
    
    nav ul {
        flex-direction: column;
        gap: 8px;
    }
    
    nav ul li a {
        padding: 10px 20px;
        width: 90%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-section {
        padding: 40px 15px;
        margin: 15px 10px;
    }
    
    .hero-title {
        font-size: 2em !important;
    }
    
    .hero-description {
        font-size: 1em;
        padding: 0 10px;
    }
    
    .hero-stats {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 90%;
        max-width: 250px;
        padding: 12px 20px;
    }
    
    .main-content {
        padding: 20px 10px;
    }
    
    .section-header h2 {
        font-size: 1.8em;
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header .section-subtitle {
        font-size: 1em;
        padding: 0 15px;
    }
    
    .skills-section, .featured-projects {
        padding: 30px 20px;
        margin-bottom: 25px;
    }
    
    .skills-container {
        gap: 25px;
        margin-top: 30px;
    }
    
    .skill-tags {
        gap: 10px;
        margin-top: 15px;
    }
    
    .skill-tag {
        font-size: 0.8em;
        padding: 8px 14px;
    }
    
    .projects-cta {
        margin-top: 40px;
        padding-top: 25px;
    }
    
    .skill-tag {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-header h3 {
        font-size: 1.2em;
        min-width: auto;
    }
    
    .project-links {
        gap: 15px;
    }
    
    .project-link {
        width: 50px;
        height: 50px;
        font-size: 1em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
    }
}

/* Adjustments for tablets and larger screens */
@media only screen and (min-width: 768px) {
    header {
        padding: 20px;
    }
    nav ul li a {
        padding: 15px 30px;
    }
    .main-content {
        padding: 20px;
    }
   
}

/* Adjustments for laptops and desktops */
@media only screen and (min-width: 992px) {
    header {
        padding: 30px;
    }
    nav ul li a {
        padding: 20px 40px;
    }
    .main-content {
        padding: 30px;
    }
}

/* Adjustments for extra-large screens */
@media only screen and (min-width: 1200px) {
    .main-content {
        width: 50%;
        margin-left:25% ;
    }
}


