/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #a5f8dc;
    color: #333;
}

/* Navbar */
/* Modern Navigation Bar */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.92); /* Semi-transparent */
    backdrop-filter: blur(50px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; /* Pill shape */
    padding: 10px 30px;
    z-index: 1000;
    box-shadow: 0 3px 32px rgb(3, 217, 255);
}

.navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }


/* Logo Styling */
.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .accent {
    color: #007bff;
}

.logo-icon {
    background: #007bff;
    color: white;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 16px;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: #007bff;
}
.nav-links li {
    padding: 0 15px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Hover Underline Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-signin {
    background: #007bff;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* Dropdown logic */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    top: 100%;
    left: 0;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}


/* Mobile Menu Toggle Styling */
.menu-toggle {
    display: none; /* Hidden on Desktop */
    color: rgb(5, 5, 5);
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Media Query for Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger on mobile */
    }

    .nav-links {
        display: none; /* Hide links by default */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on your header height */
        left: 0;
        width: 100%;
        background-color: #94ffd4f3;
        padding: 20px 0;
        z-index: 1000;
    }

    /* Show menu when 'active' class is added via JS */
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    /* Ensure dropdowns work on mobile tap */
    .dropdown-menu {
        position: relative;
        background: #ffffff00;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .yt-icon {
        display: none; /* Optional: hide YT icon on very small headers to save space */
    }
}
/* Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.btn-cta {
    text-decoration: none;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-cta:hover {
    background: #007bff;
    transform: scale(1.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* Responsive Fix */
@media (max-width: 992px) {
    .nav-links, .nav-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    header {
        width: 95%;
        top: 10px;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('main.png');
    background-size: cover;
    background-position: center;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 { font-size: 4rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; }
.hero-btns { margin-top: 30px; }

.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 5px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.hero-btn:hover { background: #0056b3; }

/* Project Grid */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 5%;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.project-card:hover { transform: translateY(-10px); }

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-info { padding: 20px; text-align: center; }
.card-info h2 { margin-bottom: 10px; color: #333; }
.card-info p { font-size: 0.9rem; color: #666; margin-bottom: 20px; }

.click-btn {
    display: inline-block;
    border: 1px solid #303030;
    padding: 8px 20px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 30px;
}
.click-btn:hover { background: #0064fa; }

/* Footer Styles */
:root {
    --footer-bg: #111;
    --footer-text: #b0b0b0;
    --accent-color: #007bff; /* Chip Craft blue */
    --white: #ffffff;
    --footer-bottom: #000;
}

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 60px;
    font-family: 'Poppins', sans-serif;
    border-top: 4px solid var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

/* Brand Section */
.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-logo span { color: var(--accent-color); }

.social-media a {
    color: var(--footer-text);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s;
}
.social-media a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Links Section */
.footer-section h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 12px;
}
.footer-section ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: 0.3s;
}
.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Contact Section */
.contact p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.contact i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

/* Bottom Bar */
.footer-bottom {
    background-color: var(--footer-bottom);
    padding: 20px 0;
    margin-top: 30px;
    font-size: 0.85rem;
}
.footer-bottom .footer-container {
    align-items: center;
}

.back-to-top {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}
.back-to-top i {
    margin-left: 5px;
    transition: 0.3s;
}
.back-to-top:hover i {
    transform: translateY(-5px);
}

/* Responsive Grid */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-media {
        justify-content: center;
        display: flex;
    }
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; } /* You would add a hamburger menu here */
    .hero h1 { font-size: 2.5rem; }

}

