/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0e1a; /* Dark navy background */
    color: #ffffff;
    overflow-x: hidden;
}


/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #131829
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span{
    color: #5581f0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #b0b0b0;
    font-size: 1rem;
    transition: 0.3s;
}

nav ul li a.active, nav ul li a:hover {
    color: #fff;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

/* Button Styling */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #9333ea); /* Purple/Blue gradient */
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
/* Portfolio Section General Styles */
.portfolio-section {
    background-color: #0b0e1a;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header with Cityscape/Tech Background */
.portfolio-header {
    background: linear-gradient(rgba(11, 14, 26, 0.8), rgba(11, 14, 26, 0.8)), 
                url('https://i.ibb.co/qFVK85Z2/Hero-Image.png'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    padding: 20px 8%;
    text-align: left;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 1.2rem;
    color: #d1d1d1;
    letter-spacing: 0.5px;
}
/* About Me Section */
.about-me {
    padding: 100px 8%;
    background-color: #131829;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

/* Text Styling */
.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    color: #f9f7f7;
    line-height: 1.7;
    margin-bottom: 30px;
}

.decorative-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.2), transparent);
}

/* Image Styling */
.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Purple Glow Effect behind/around the image */
.glow-effect {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
    z-index: -1;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        justify-content: center;
        order: -1; /* Image appears above text on mobile */
    }

    .decorative-line {
        margin: 0 auto;
    }
}
/* Services Section Styling */
.services-section {
    padding: 80px 8%;
    background-color: #0b0e1a; /* Ensure consistency with body background */
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
}

.service-card {
    background-color: #262c45; /* Darker background for the cards */
    padding: 30px;
    border-radius: 12px;
    width: 400px; /* Fixed width for consistent cards */
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid transparent; /* Subtle border for hover effect */
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: #2a2f44; /* Slightly lighter on hover */
    border-color: #4f46e5; /* Highlight border on hover */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.6;
}

.service-card img{
    width: 70px;
    height: 70px;
}
/* Responsive adjustments for services */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%; /* Make cards take more width on small screens */
    }
}

/* Why Choose Me Section */
.why-choose-me {
    padding: 80px 8%;
    background-color: #131829;
    text-align: center;
}

.why-choose-me h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Grid Layout */
.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Feature Card Styling */
.feature-card {
    background: rgba(255, 255, 255, 0.03); /* Glassmorphism background */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #4f46e5; /* Highlight on hover */
}

/* Icon and Header Styling */
.feature-header {
    margin-bottom: 20px;
}

.feature-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #efeef3, #efeef3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-header i {
    font-size: 2.5rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .features-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        width: 100%;
    }
}
/* Work Together Section */
.work-together {
    padding: 80px 8%;
    background-color: #0b0e1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Subtle separator */
}

.cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-text-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-text-group h2 {
    font-size: 1.8rem;
    color: #ffffff;
    white-space: nowrap;
}

.cta-text-group p {
    font-size: 1rem;
    color: #b0b0b0;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

/* Reusing the gradient button style from the hero section */
.work-together .btn {
    text-decoration: none;
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4f46e5, #8109f0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text-group {
        flex-direction: column;
        gap: 5px;
    }

    .cta-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Skills & Tools Section */
.skills-tools-section {
    padding: 80px 8%;
    background-color: #131829;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Separator line */
}

.skills-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 20px;
}

.skills-header h2 {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap; /* Prevents text from wrapping */
}

.skills-header .line {
    width: 100px; /* Length of the line */
    height: 2px;
    background: linear-gradient(to right, #4f46e5, #9333ea);
    /* For the left line, we want the gradient to go from right to left */
}

.skills-header .left-line {
    background: linear-gradient(to left, rgba(147, 51, 234, 0.8), rgba(79, 70, 229, 0.8), transparent);
}

.skills-header .right-line {
    background: linear-gradient(to right, rgba(147, 51, 234, 0.8), rgba(79, 70, 229, 0.8), transparent);
}


/* Tools Grid */
.tools-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
    gap: 30px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05); /* Transparent background with opacity */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(79, 70, 229, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 30px rgba(79, 70, 229, 0.4);
}

.tool-card img {
    width: 80px; /* Adjust icon size as needed */
    height: 80px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-header {
        flex-direction: column;
        gap: 15px;
    }
    .skills-header .line {
        width: 80%; /* Lines span more width on small screens */
    }
    .skills-header h2 {
        font-size: 1.6rem;
    }
    .tools-grid {
        gap: 20px;
    }
    .tool-card {
        width: 100px;
        height: 100px;
    }
    .tool-card img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .skills-header .line {
        width: 60%;
    }
}



/* Footer Styling */
.site-footer {
    background-color: #0b0e1a; /* Consistent dark background */
    padding: 40px 8%;
    text-align: center;
    color: #b0b0b0;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Separator line from content */
}

.site-footer p {
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: #b0b0b0; /* Default icon color */
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Circular background */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden; /* To contain the hover effect */
    background: rgba(255, 255, 255, 0.05); /* Subtle transparent background */
}

/* Specific icon colors on hover */
.social-icons a:nth-child(1):hover { /* LinkedIn */
    background-color: #0A66C2;
    color: #fff;
}

.social-icons a:nth-child(2):hover { /* Instagram */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
}

.social-icons a:nth-child(3):hover { /* YouTube */
    background-color: #FF0000;
    color: #fff;
}

.social-icons a:nth-child(4):hover { /* Facebook */
    background-color: #1877F2;
    color: #fff;
}

/* Fallback for specific icons if background color not wanted on initial state */
.social-icons a .fab {
    z-index: 1; /* Ensure icon is above hover background */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Ensures it stays above all other sections */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* Subtle pulse animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}
