/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: black;
    color: #333;
}

:root {
    --header-height: 100px;
    --mobile-header-height: 80px;
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
}


.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 190px;
    width: auto;
    object-fit: contain;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navigation ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navigation ul li a:hover {
    color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.4s;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .sticky-header {
        height: var(--mobile-header-height);
    }

    .header-container {
        position: relative;
    }

    .navigation {
        display: none;
    }


    /* Mobile Menu Toggle Animation */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #2c3e50;
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: left;
}

/* Toggle Menu Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

    /* Mobile Menu Overlay Styling */
.mobile-menu-overlay {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--mobile-header-height));
    background-color: #f8f9fa; /* Soft light background */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-navigation {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.mobile-navigation ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-navigation ul li {
    width: 100%;
    margin: 10px 0;
    text-align: center;
}

.mobile-navigation ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.mobile-navigation ul li a:hover {
    background-color: #3498db;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-navigation ul li a.active {
    background-color: #3498db;
    color: white;
}

    .logo-container {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
    padding-top: var(--header-height);
}

@media screen and (max-width: 768px) {
    html {
        padding-top: var(--mobile-header-height);
    }
}

/* Active Link Styling */
.navigation ul li a.active,
.mobile-navigation ul li a.active {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Mobile Menu Overlay - Hidden on Desktop */
.mobile-menu-overlay {
    display: none;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .sticky-header {
        height: var(--mobile-header-height);
    }

    .header-container {
        position: relative;
    }

    /* Hide desktop navigation */
    .navigation {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Show mobile menu overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: var(--mobile-header-height);
        left: 0;
        width: 100%;
        height: calc(100% - var(--mobile-header-height));
        background-color: white;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .mobile-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
    }

    .mobile-navigation ul li {
        margin: 20px 0;
    }

    .logo-container {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

/* Ensure desktop navigation is visible on larger screens */
@media screen and (min-width: 769px) {
    .navigation {
        display: block !important;
    }

    .mobile-menu-toggle,
    .mobile-menu-overlay {
        display: none !important;
    }
}


#about {
    display: flex;
    align-items: center;
    gap: 20px;
    align-content: center;
    
}

.about-content {
    display: flex;
    flex-direction: row; /* Default desktop layout */
    align-items: center;
    justify-content: center;
    gap: 40px; /* Space between image and text */
    max-width: 1200px; /* Increased max-width */
    margin: 0 auto;
    padding: 40px 20px;
}

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; /* Prevent image from shrinking */
}

.about-text {
    max-width: 700px; /* Increased max-width for better readability */
    width: 100%;
    text-align: left; /* Left-align text on desktop */
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .about-text {
        text-align: center;
        padding: 0 15px;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .about-image {
        width: 250px;
        height: 250px;
    }

    .about-text {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .about-image {
        width: 200px;
        height: 200px;
    }

    .about-text {
        font-size: 0.9rem;
    }
}

.typing-container {
    text-align: center;
    margin-bottom: 20px;
    width: 100%; /* Full width */
    display: flex;
    justify-content: center;
    align-items: center;
}

.typing-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word; /* Alternative for word-wrap */
    max-width: 90%; /* Prevent full width to look better */
    display: inline-block;
    text-align: center;
    line-height: 1.4; /* Improved line spacing */
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .typing-text {
        font-size: 1.2rem; /* Smaller font on mobile */
        max-width: 95%; /* Slightly wider on mobile */
    }
}


@keyframes typing-cursor {
    0%, 100% { border-color: transparent; }
    50% { border-color: #333; }
}

.typing-container {
    display: block;
    min-height: 50px; /* Ensure some height */
}

.typing-text {
    display: inline-block;
    border-right: 2px solid black; /* Optional cursor effect */
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: black; }
}



.qualifications-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.qualifications-column {
    flex: 1;
}

.qualifications-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qualifications-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.qualifications-card h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.4rem;
}

.qualifications-card h2 i {
    margin-right: 15px;
    color: #3498db;
}

.qualifications-list {
    list-style-type: none;
    padding: 0;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f4f6f7;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.qualifications-list li:hover {
    background-color: #e8f4f8;
}

.qualification-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    color: #3498db;
}

.qualification-details h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.qualification-details p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.educational-qualifications {
    border-top: 4px solid #2ecc71;
}

.professional-qualifications {
    border-top: 4px solid #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .qualifications-container {
        flex-direction: column;
        gap: 20px;
    }
}

.about-text p {
    margin-bottom: 15px;
    text-align: left; /* Ensures paragraph text remains left-aligned */
    width: 100%;/* Maintain full width for paragraph */
}

.social-links  {
    display: flex;
    justify-content: center; /* Center the icons horizontally */
    align-items: center;/* Center the icons vertically */
    gap: 15px;
    width: 100%;/* Ensure full width */
    margin-top: 10px;/* Add some space above the icons */

}

.social-icon{

    text-decoration: none;
    color: #333;
    font-size: 24px;
    transition: color   0.3s;
    align-content: center;

}

.social-icon:hover{
    color: #0073b1;
}

#experience {
    background-color: #f9f9f9;
    padding: 50px 0;
}

#experience h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
}

.experience-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.experience-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-card {
    display: flex;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.experience-logo {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f1;
    padding: 20px;
}

.experience-logo img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.experience-details {
    flex: 1;
    padding: 20px;
}

.experience-details h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.experience-details h4 {
    color: #34495e;
    margin-bottom: 10px;
    font-size: 1rem;
}

.experience-duration {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-style: italic;
}

.experience-responsibilities {
    list-style-type: disc;
    padding-left: 20px;
    color: #555;
}

.experience-responsibilities li {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-container {
        flex-direction: column;
    }

    .experience-card {
        flex-direction: column;
    }

    .experience-logo {
        width: 100%;
        padding: 15px;
    }

    .experience-logo img {
        max-width: 80px;
        max-height: 80px;
    }
}


#skills {
    background-color: #f4f4f4;
    padding: 50px 0;
}

#skills h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.skills-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill:hover {
    transform: scale(1.02);
}

.skill-name {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.skill-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.skill-level {
    background-color: #3498db;
    height: 25px;
    border-radius: 10px;
    text-align: right;
    line-height: 25px;
    color: white;
    padding-right: 10px;
    transition: width 1s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
        gap: 20px;
    }
}

section {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 8px;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;

}

ul {
    list-style-type: square;
}

#projects {
    background-color: #f4f6f8;
    padding: 60px 0;
}

#projects h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card {
    display: flex;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    background-color: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.project-details {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.project-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7f8c8d;
}

.project-detail i {
    color: #3498db;
}

.project-technologies h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.tech-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-stack span {
    background-color: #ecf0f1;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.project-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #2c3e50;
    display: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-card {
        flex-direction: column;
    }
    
    .project-image {
        flex: 0 0 auto;
        height: 250px;
    }
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-load-more {
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-load-more:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
}

.btn-load-more i {
    font-size: 1.2rem;
}

.hidden-project {
    display: none;
}

#contact-me {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.contact-column {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.contact-column h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.contact-details {
    color: #34495e;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #2980b9;
}

/* WhatsApp Column Specific Styling */
.whatsapp-column .contact-icon {
    color: #25D366;
}

.whatsapp-column a {
    display: block;
}

/* Contact Info Column Specific Styling */
.contact-info-column .contact-icon {
    color: #2ecc71;
}

/* Address Column Specific Styling */
.address-column .contact-icon {
    color: #e74c3c;
}

address {
    font-style: normal;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-column {
        width: 100%;
    }
}


footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

form label {
    display: block;
    margin: 10px 0 5px;
}

form input, form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    background-color: #333;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #555;
}

#response {
    margin-top: 20px;
    font-weight: bold;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3498db; /* Vibrant blue */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Add these modifications for mobile view */
@media screen and (max-width: 768px) {
    .typing-container {
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words if necessary */
        overflow-wrap: break-word; /* Alternative for word-wrap */
        max-width: 100%; /* Ensure it doesn't overflow */
    }
}

/* Add these modifications for mobile view */
@media screen and (max-width: 768px) {
    .about-text p {
        text-align: center; /* Center text in mobile view */
    }
}



