/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7fa;
    color: #2d3748;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Header */
header {
    align-items: center;
    background-color: #000000;
    padding: 15px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    margin: 10px 0px;
    max-width: 100px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 15px;
    transition: color 0.3s ease, background 0.3s ease;
    border-radius: 5px;
}

.nav-link:hover {
    color: #f6ad55;
    background: rgba(246, 173, 85, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease-out;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #f6ad55;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4);
}

.btn-primary:hover {
    background: #ed8936;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(246, 173, 85, 0.6);
}

/* Sections */
.section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #f6ad55;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Services */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 26px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: #718096;
}

/* Team */
.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.team-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.team-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f6ad55;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.team-card .title {
    font-size: 16px;
    font-weight: 400;
    color: #f6ad55;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 15px;
    color: #718096;
}

/* Project */
#Project {
    background: #edf2f7;
}

.project-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.project-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.5s ease;
    cursor: pointer;
}

.project-card img {
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f6ad55;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.project-card .title {
    font-size: 16px;
    font-weight: 400;
    color: #f6ad55;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 15px;
    color: #718096;
}

/* Contact */
.contact-subtitle {
    font-size: 18px;
    color: #718096;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f6ad55;
    outline: none;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: #000000;
    color: #e2e8f0;
    padding: 40px;
    text-align: center;
    font-size: 14px;
    border-top: 4px solid #f6ad55;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    /* Adjusted for balanced spacing */
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
    /* Slightly larger hover effect for visibility */
}

.social-icon {
    font-size: 28px;
    /* Consistent size for all icons */
    color: #e2e8f0;
    /* Matches footer text color */
    transition: color 0.3s ease;
}

.social-link:hover .social-icon {
    color: #f6ad55;
    /* Matches brand color on hover */
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   MOBILE RESPONSIVE FIXES
   =============================== */

/* Mobile Navigation Button */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== Tablets & Mobiles ===== */
@media (max-width: 768px) {

    /* Header */
    header {
        padding: 12px 20px;
    }

    .header-inner {
        padding: 12px 20px;
    }

    .logo img {
        max-width: 80px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #000000;
        display: none;
        flex-direction: column;
    }

    nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links li {
        padding: 12px 0;
    }

    .nav-link {
        font-size: 16px;
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
        padding: 100px 20px 60px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .btn {
        font-size: 16px;
        padding: 12px 26px;
    }

    /* Sections */
    .section {
        padding: 80px 20px;
    }

    h2 {
        font-size: 32px;
    }

    /* Services */
    .service-container {
        grid-template-columns: 1fr;
    }

    /* Team */
    .team-container {
        flex-direction: column;
        align-items: center;
    }

    .team-card {
        width: 100%;
        max-width: 320px;
    }

    /* Projects */
    .project-container {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        width: 100%;
        max-width: 320px;
    }

    /* Contact */
    .contact-form {
        max-width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
    }

    /* Footer */
    footer {
        padding: 30px 20px;
    }

    .footer-social {
        gap: 20px;
    }
}

/* ===== Small Phones ===== */
@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }

    h2 {
        font-size: 28px;
    }
}