/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo Black', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 80px;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #1e3a8a;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color:  #1e3a8a;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Home Section */
#home {
    background-image: url('../images/home_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.full-height-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(251, 191, 36, 0.6));
}

.home-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.home-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    
}

.home-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.button {
    display: inline-block;
    background-color: #fbbf24;
    color: #1e3a8a;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.4s both;
    
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.5);
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
}

/* Services Section */
#services {
    padding: 100px 20px;
    background: white;
}

#services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1e3a8a;
}

#services h3 {
    text-align: center;
    margin: 3rem 0 2rem 0;
    font-size: 2rem;
    color: #1e3a8a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-item {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.1);
    border-color: #fbbf24;
}

.service-item h3 {
    margin-bottom: 1rem;
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-top: 0;
}

.service-item p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #fbbf24;
}

.skill-item p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1e3a8a;
}

.progress-bar {
    background: #e2e8f0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: linear-gradient(45deg, #1e3a8a, #fbbf24);
    border-radius: 5px;
    transition: width 2s ease;
}

.photoshop { width: 50%; }
.illustrator { width: 40%; }
.dreamweaver { width: 20%; }
.aftereffect { width: 20%; }

/* About Section */
#about {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

#about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1e3a8a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.2);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Portfolio Section */
#portfolio {
    padding: 100px 20px;
    background: white;
}

#portfolio h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1e3a8a;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #e2e8f0;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #64748b;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, #1e3a8a, #fbbf24);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.portfolio-grid {
     column-count: 3;
    column-gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
      margin-bottom: 2rem;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
    border: 2px ; 
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 138, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .overlay {
    transform: translateY(0);
}

.portfolio-item .overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.portfolio-item .overlay p {
    color: #fbbf24;
    font-weight: 500;
}

/* Contact Section */
#contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

#contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-link:hover {
    background: rgba(251, 191, 36, 0.2);
    transform: translateX(10px);
    border-color: #fbbf24;
}

.contact-link .icon {
    font-size: 1.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fbbf24;
    background: rgba(255, 255, 255, 0.2);
}

.video-section {
      background-color: #e9eaed;
      padding: 20px;
    }

    .video-section h2 {
      margin-bottom: 20px;
      font-size: 1.5rem;
      color: #000033;
    }

    .video-grid {
		margin-left: auto;
		margin-right: auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }

    .video-frame {
      width: 100%;
      aspect-ratio: 16 / 9;
      border: none;
      border-radius: 5px;
    }

/* Footer */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background: linear-gradient(45deg, #1e3a8a, #fbbf24);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

#scrollToTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .home-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    nav {
        padding: 0.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .home-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 15px !important;
    }
    
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

