/* About Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #000;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #eaeaea;
    background-color: #000;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-family: 'Zain', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

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

/* Header */
.header {
    background: linear-gradient(180deg, #000000 0%, #000000 30%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.4) 80%, transparent 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.nav-logo { display: none; }

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Main Content */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
}

/* Profile Section */
.profile-section {
    padding: 4rem 0;
    text-align: center;
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-photo-link {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.profile-photo-link:hover {
    transform: scale(1.05);
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.profile-info {
    flex: 1;
    text-align: left;
}

.profile-info h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}

.profile-info h2 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.profile-info p {
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.contact-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-family: 'Inter', sans-serif;
}

.contact-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.contact-item a:hover {
    color: #888;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.social-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: transparent;
}

.social-text {
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: rgba(255,255,255,0.02);
}

.services-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}

.service-card p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #fff;
    opacity: 0.9;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.service-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .profile-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-info {
        text-align: center;
    }
    
    .profile-info h1 {
        font-size: 2.5rem;
        text-align: justify;
    }
    
    /* Left justify name and title on mobile */
    .profile-info h3,
    .profile-info h4 {
        text-align: left;
        padding-left: 1rem;
        padding-top: 0.5rem;
    }
    
    /* Block justify paragraphs on mobile */
    .profile-info p {
        text-align: justify;
    }
    
    .contact-info {
        justify-content: flex-start;
        text-align: left;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    /* Block justify service card paragraphs on mobile */
    .service-card p {
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .profile-info h2 {
        font-size: 1.2rem;
    }
    
    .services-section h2 {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        padding: 0.4rem;
    }
    
    .social-image {
        width: 32px;
        height: 32px;
    }
}