/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page {
    display: none;
    min-height: 80vh;
    padding: 40px 0;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a.active {
    color: #3498db;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
}

/* Home Page */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #7f8c8d;
}

.cta-button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 24px;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #3498db;
}

/* About Page */
.about-container {
    display: flex;
    gap: 40px;
}

.about-content {
    flex: 2;
}

.about-sidebar {
    flex: 1;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.skills {
    margin-top: 40px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-name {
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: #3498db;
    border-radius: 5px;
    transition: width 1s ease;
}

.personal-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    margin-bottom: 15px;
}

.info-item span {
    font-weight: bold;
    color: #2c3e50;
    display: inline-block;
    width: 120px;
}

.download-cv {
    display: block;
    text-align: center;
    margin-top: 30px;
    padding: 12px;
    background-color: #2ecc71;
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.download-cv:hover {
    background-color: #27ae60;
    color: #fff;
}

/* Resume Page */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #ecf0f1;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 3px solid #3498db;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.left::after {
    right: -13px;
}

.timeline-item.right::after {
    left: -13px;
}

.timeline-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-date {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.timeline-location {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 10px;
}

/* Services Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    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;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3498db;
    color: #fff;
    font-size: 40px;
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-description {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: #3498db;
    font-weight: bold;
}

/* Portfolio Page */
.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: 500;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    color: #3498db;
}

.filter-btn.active {
    font-weight: bold;
    position: relative;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: #3498db;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(52, 152, 219, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-category {
    color: #ecf0f1;
    margin-bottom: 20px;
}

.portfolio-link {
    display: inline-block;
    background-color: #fff;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background-color: #ecf0f1;
    transform: translateY(-2px);
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    color: #7f8c8d;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.blog-excerpt {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.read-more {
    color: #3498db;
    font-weight: bold;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.read-more:hover {
    border-bottom-color: #3498db;
}

/* Single Blog Post */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.post-meta {
    display: flex;
    align-items: center;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.post-author {
    margin-right: 20px;
}

.post-date {
    margin-right: 20px;
}

.post-category {
    background-color: #3498db;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #2c3e50;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #2c3e50;
}

.post-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
}

.post-tag {
    background-color: #ecf0f1;
    color: #7f8c8d;
    padding: 5px 15px;
    border-radius: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background-color: #3498db;
    color: #fff;
}

/* Testimonials Page */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 40px;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #7f8c8d;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-rating {
    color: #f39c12;
    font-size: 20px;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.client-details h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.client-details p {
    color: #7f8c8d;
}

.slide-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slide-control-btn {
    background-color: #ecf0f1;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-control-btn:hover {
    background-color: #3498db;
    color: #fff;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slide-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ecf0f1;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background-color: #3498db;
}

/* Contact Page */
.contact-container {
    display: flex;
    gap: 40px;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ecf0f1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-details p {
    color: #7f8c8d;
}

.map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 40px;
}

/* Pricing Page */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid #3498db;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #3498db;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.9rem;
    border-bottom-left-radius: 10px;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    background-color: #f9f9f9;
}

.pricing-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.pricing-subtitle {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 3rem;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 5px;
}

.pricing-duration {
    color: #7f8c8d;
}

.pricing-features {
    padding: 30px;
    list-style: none;
}

.pricing-feature {
    padding: 10px 0;
    color: #7f8c8d;
    position: relative;
    padding-left: 30px;
}

.pricing-feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.pricing-cta {
    display: block;
    text-align: center;
    margin: 0 30px 30px;
    padding: 12px;
    background-color: #3498db;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
}

/* FAQ Page */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background-color: #fff;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-title {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
}

.accordion-icon {
    font-size: 1.2rem;
    color: #3498db;
    transition: transform 0.3s ease;
}

.accordion.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    background-color: #f9f9f9;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion.active .accordion-content {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3498db;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #3498db;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1) 

}
.footer-bottom p {
        color: #bdc3c7;
    }
    
    /* Responsive Styles */
    @media screen and (max-width: 991px) {
        .hero {
            flex-direction: column-reverse;
            text-align: center;
        }
        
        .hero-content {
            padding-right: 0;
            margin-top: 40px;
        }
        
        .hero-image img {
            max-width: 60%;
        }
        
        .social-icons {
            justify-content: center;
        }
        
        .about-container {
            flex-direction: column;
        }
        
        .section-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .contact-container {
            flex-direction: column;
        }
    }
    
    @media screen and (max-width: 768px) {
        .nav-links {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: #fff;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            flex-direction: column;
            align-items: center;
            padding: 20px 0;
        }
        
        .nav-links.active {
            display: flex;
        }
        
        .nav-links li {
            margin: 10px 0;
        }
        
        .mobile-menu-btn {
            display: block;
        }
        
        .timeline::after {
            left: 31px;
        }
        
        .timeline-item {
            width: 100%;
            padding-left: 70px;
            padding-right: 0;
        }
        
        .timeline-item.left {
            text-align: left;
        }
        
        .timeline-item.left::after {
            left: 21px;
            right: auto;
        }
        
        .timeline-item.right::after {
            left: 21px;
        }
    }
    
    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .phone-number:hover {
        text-decoration: underline;
        color: #0066cc; /* Optional: change color on hover */
      }

      .email-link {
        color: inherit; /* Inherits the color from parent element */
        text-decoration: none; /* Removes underline */
      }
      
      .email-link:hover {
        text-decoration: underline;
        color: #0066cc; /* Optional: change color on hover */
      }

      .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        animation: fadeIn 0.3s ease;
    }
    
    .modal-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        text-align: center;
        min-width: 300px;
    }
    
    .modal-icon {
        font-size: 50px;
        color: #3498db;
        margin-bottom: 20px;
    }
    
    .modal-title {
        font-size: 24px;
        margin-bottom: 10px;
        color: #2c3e50;
    }
    
    .modal-message {
        color: #7f8c8d;
        margin-bottom: 20px;
    }
    
    .modal-close-btn {
        background-color: #3498db;
        color: #fff;
        border: none;
        padding: 10px 30px;
        border-radius: 30px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .modal-close-btn:hover {
        background-color: #2980b9;
        transform: translateY(-2px);
    }

