
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* Utility Classes */
.text-red { color: #ef4444; }
.text-white { color: #fff; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #374151;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-image {
    height: 2rem;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-image {
        max-width: 150px;
    }
}

.logo-text {
    color: #ef4444;
    font-size: 1.25rem;
    font-weight: bold;
    font-style: italic;
}

.desktop-menu {
    display: none;
}

@media (min-width: 768px) {
    .desktop-menu {
        display: block;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #fff;
}

.contact-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-btn:hover {
    background: #dc2626;
}

.mobile-menu-btn {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger {
    width: 20px;
    height: 2px;
    background: #9ca3af;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 0.5rem 0.75rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    color: #d1d5db;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    display: block;
}

.mobile-nav-link:hover {
    color: #fff;
}

.mobile-contact-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
    width: 100%;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1rem;
    width: 100%;
}

@media (max-width: 640px) {
    .hero-container {
        padding: 3rem 0.5rem;
    }
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-subtitle {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 0.875rem;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.btn-primary {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 200px;
}

@media (min-width: 640px) {
    .btn-primary {
        width: auto;
    }
}

.btn-primary:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.btn-secondary {
    border: 1px solid #ef4444;
    color: #ef4444;
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 200px;
}

@media (min-width: 640px) {
    .btn-secondary {
        width: auto;
    }
}

.btn-secondary:hover {
    background: #ef4444;
    color: #fff;
}

.hero-image {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-image {
        justify-content: flex-end;
    }
}

.profile-container {
    position: relative;
}

.profile-image {
    width: 16rem;
    height: 20rem;
    background: linear-gradient(135deg, #374151, #1f2937);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
    .profile-image {
        width: 18rem;
        height: 22rem;
    }
}

@media (min-width: 1024px) {
    .profile-image {
        width: 20rem;
        height: 24rem;
    }
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

.decoration {
    position: absolute;
    background: #ef4444;
    border-radius: 0.5rem;
}

.decoration-1 {
    width: 4rem;
    height: 4rem;
    bottom: -1rem;
    left: -1rem;
    opacity: 0.2;
}

@media (min-width: 1024px) {
    .decoration-1 {
        width: 5rem;
        height: 5rem;
    }
}

.decoration-2 {
    width: 3rem;
    height: 3rem;
    top: -1rem;
    right: -1rem;
    opacity: 0.3;
}

@media (min-width: 1024px) {
    .decoration-2 {
        width: 4rem;
        height: 4rem;
    }
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20rem;
    height: 20rem;
    background: #ef4444;
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(60px);
}

@media (min-width: 1024px) {
    .hero-bg {
        width: 24rem;
        height: 24rem;
    }
}

/* About Section */
.about {
    padding: 3rem 0;
    background: rgba(17, 24, 39, 0.5);
}

@media (min-width: 768px) {
    .about {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .about {
        padding: 5rem 0;
    }
}

.about-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .about-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .about-container {
        padding: 0 2rem;
    }
}

.about-card {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid #374151;
}

@media (min-width: 640px) {
    .about-card {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .about-card {
        padding: 3rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-divider {
    width: 5rem;
    height: 0.25rem;
    background: #ef4444;
    margin: 0 auto;
}

.about-content {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .about-content {
        font-size: 1.125rem;
    }
}

.about-text {
    margin-bottom: 2rem;
}

.about-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.subsection-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.services-list {
    list-style: none;
    color: #d1d5db;
}

.services-list li {
    margin-bottom: 0.5rem;
}

/* Blog Section */
.blog {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .blog {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .blog {
        padding: 5rem 0;
    }
}

.blog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .blog-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .blog-container {
        padding: 0 2rem;
    }
}

.blog-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .blog-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .blog-title {
        font-size: 3rem;
    }
}

.blog-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .blog-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #374151;
}

.blog-card:hover {
    transform: scale(1.05);
    border-color: rgba(239, 68, 68, 0.5);
}

.blog-image-container {
    position: relative;
}

.blog-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.blog-category span {
    background: #ef4444;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-content {
    padding: 1rem;
}

@media (min-width: 640px) {
    .blog-content {
        padding: 1.5rem;
    }
}

.blog-post-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

@media (min-width: 640px) {
    .blog-post-title {
        font-size: 1.25rem;
    }
}

.blog-post-title:hover {
    color: #ef4444;
}

.blog-description {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9ca3af;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-author, .blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    background: none;
    border: none;
    color: #ef4444;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s;
}

.read-more:hover {
    color: #fca5a5;
}

/* Footer */
.footer {
    background: #111827;
    border-top: 1px solid #374151;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 640px) {
    .footer-container {
        padding: 3rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 3rem 2rem;
    }
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section .logo-text {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-description {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.75;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #ef4444;
}

.contact-info {
    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.social-section {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

@media (min-width: 640px) {
    .social-links {
        gap: 1.5rem;
    }
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #9ca3af;
    transition: all 0.2s;
    font-size: 1.125rem;
}

.social-link:hover {
    color: #fff;
    background: #ef4444;
}

.copyright {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.copyright p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Extra responsive adjustments */
@media (max-width: 480px) {
    .hero-container {
        padding: 2rem 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .blog-title {
        font-size: 1.75rem;
    }
    
    .about-card {
        padding: 1rem;
    }
    
    .blog-content {
        padding: 0.75rem;
    }
    
    .profile-image {
        width: 14rem;
        height: 18rem;
    }
    
    .decoration-1 {
        width: 3rem;
        height: 3rem;
    }
    
    .decoration-2 {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo-image {
        max-width: 100px;
        height: 1.5rem;
    }
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-container {
        padding: 2rem 1rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .profile-image {
        width: 19rem;
        height: 23rem;
    }
}

/* Large screen adjustments */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .blog-title {
        font-size: 3.5rem;
    }
}
.social-links a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: #ff5050;
    transform: scale(1.2);
}
.projects {
    padding: 60px 20px;
    background-color: #0f0f0f;
    color: #fff;
}
.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

@media (max-width: 480px) {
    .project-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-name {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-description {
    font-size: 14px;
    margin-bottom: 15px;
}

.project-links a {
    margin-right: 10px;
    text-decoration: none;
    background: #ff5050;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.project-links a:hover {
    background: #ff3333;
}
html {
  scroll-behavior: smooth;
}

.contact {
  padding: 60px 20px;
  background-color: #111;
  color: #fff;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-text {
  margin-bottom: 20px;
  font-size: 18px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-size: 16px;
}
.project-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0.5rem;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20rem;
    height: 20rem;
    background: #ef4444;
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(60px);
    z-index: -1; /* ✅ Yeh line add karo */
}

.hero-text {
    position: relative;
    z-index: 1; /* ✅ Yeh line add karo */
}

.hero-buttons {
    z-index: 1; /* ✅ Button ke liye bhi */
}
 

html {
  scroll-behavior: smooth;
}





    

