/* 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;
}
/* Contact Section Styling */
.contact-section {
    padding: 80px 8%;
    background-color: #131829;
    color: #fff;
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form, .contact-info {
    flex: 1;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Form Styling */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 8px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .input-group {
    flex: 1;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #4f46e5;
}

textarea {
    height: 120px;
    resize: none;
}

/* Info Box Styling */
.info-box {
    margin-bottom: 25px;
}

.info-box label {
    font-size: 0.9rem;
    color: #b0b0b0;
    display: block;
    margin-bottom: 5px;
}

.info-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Map Styling */
.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* Skills & Tools Section */
.skills-tools-section {
    padding: 80px 8%;
    background-color: #0b0e1a;
    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: #131829; /* 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;
    }
}
