/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2C3E50;
    overflow-x: hidden;
    padding-top: 56px;
}

section {
    padding: 80px 40px;
}

.section-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #1A5276;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: #1ABC9C;
    margin: 0 auto 30px;
}

/* Content Area */
.content-wrapper {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

@media (min-width: 992px) {
    body {
        padding-top: 60px;
    }

    .navbar-expand-lg {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 82, 118, 0.8), rgba(44, 62, 80, 0.9)), url('https://via.placeholder.com/1920x1080') no-repeat center center;
    background-size: cover;
    height: auto;
    padding: 100px 0 60px;
    display: flex;
    align-items: center;
    text-align: center;
}

/* About Section */
.profile-img {
    max-width: 250px;
    border: 8px solid rgba(26, 188, 156, 0.2);
}

/* Skills Section */
.skill-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #1ABC9C;
}

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

.skill-icon {
    color: #8E44AD;
}

/* Portfolio Section */
.portfolio-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid #8E44AD;
}

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

.portfolio-card img {
    transition: transform 0.5s ease;
}

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

/* Experience Section */
/*.timeline {*/
/*    position: relative;*/
/*    padding-left: 30px;*/
/*}*/

/*.timeline-item {*/
/*    position: relative;*/
/*    padding-left: 30px;*/
/*    border-left: 2px solid #8E44AD;*/
/*}*/

/*.timeline-item:before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: -10px;*/
/*    top: 0;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    border-radius: 50%;*/
/*    background-color: #1ABC9C;*/
/*}*/

/* Footer */

.footer-bg {
    background: linear-gradient(rgba(26, 82, 118, 0.8), rgba(44, 62, 80, 0.9));
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #8E44AD;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    opacity: 1;
    color: white;
    background-color: #1ABC9C;
    transform: translateY(-3px);
}

/* Section Background Colors */
section:nth-child(even) {
    background-color: #F5F7FA; /* Light gray for even sections */
}

section:nth-child(odd) {
    background-color: #ffffff; /* White for odd sections */
}

/* Button Styles */
.btn-primary {
    background-color: #1A5276 !important; /* Primary color */
    border-color: #1A5276 !important;
}

.btn-primary:hover {
    background-color: #154360 !important; /* Darker shade of primary */
    border-color: #154360 !important;
}

.btn-outline-primary {
    color: #1A5276 !important;
    border-color: #1A5276 !important;
}

.btn-outline-primary:hover {
    background-color: #1A5276 !important;
    color: #fff !important;
}

.btn-outline-dark {
    color: #2C3E50 !important;
    border-color: #2C3E50 !important;
}

.btn-outline-dark:hover {
    background-color: #2C3E50 !important;
    color: #fff !important;
}

.btn-outline-secondary {
    color: #8E44AD !important;
    border-color: #8E44AD !important;
}

.btn-outline-secondary:hover {
    background-color: #8E44AD !important;
    color: #fff !important;
}

/* Footer Background */
.bg-dark {
    background-color: #2C3E50 !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        padding: 60px 0;
    }

    section {
        padding: 60px 20px;
    }

    .timeline {
        padding-left: 0;
    }

    /* Adjust navbar on mobile */
    .navbar-collapse {
        background-color: #2C3E50;
        padding: 1rem;
        border-radius: 0 0 0.5rem 0.5rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Ensure smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Account for fixed navbar */
}
