/* Root Variables */
:root {
    --primary-color: #007bff;
    --secondary-color: #0d47a1;
    --bg-dark: #0f1419;
    --bg-darker: #0a0e13;
    --text-light: #e0e0e0;
    --text-muted: #b0b0b0;
    --accent-blue: #0099ff;
    --border-color: #1a1f2e;
    --success: #4caf50;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand,
.nav-brand:visited,
.nav-brand:hover,
.nav-brand:focus,
.nav-brand:active {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    border-bottom: none;
    outline: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    background: #0088dd;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 150, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
    width: 100%;
    flex-wrap: wrap;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.greeting {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero h2 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.social-links a:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
    position: relative;
    width: 300px;
    height: 300px;
    max-width: 100%;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
    position: relative;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 150, 255, 0.3);
}

.profile-container {
    width: 300px;
    height: 300px;
    max-width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 150, 255, 0.3);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.profile-container:hover .profile-image {
    transform: scale(1.05);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.15) 0%, rgba(0, 75, 150, 0.1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.profile-container:hover .profile-overlay {
    opacity: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

/* Skills Section */
.skills-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.skill-name {
    color: var(--text-light);
    font-weight: 500;
}

.skill-percent {
    color: var(--accent-blue);
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-color));
    border-radius: 4px;
    animation: progress 1.5s ease-out;
}

@keyframes progress {
    from { width: 0 !important; }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 75, 150, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.testimonial-text p {
    color: var(--text-muted);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-color));
}

.author-info h4 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-extra {
    display: none;
    color: var(--text-muted);
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-section.expanded .about-extra {
    display: block;
}

.about-read-more {
    margin-top: 0;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 150, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-muted);
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-extra {
    display: none;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.service-card.expanded .service-extra {
    display: block;
}

.learn-more {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: #0088dd;
    margin-left: 5px;
}

.service-card.expanded .learn-more {
    color: #8ecbff;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.articles-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.article-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.2) 0%, rgba(0, 75, 150, 0.2) 100%);
    border-bottom: 1px solid var(--border-color);
}

.article-content {
    padding: 1.5rem;
}

.article-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-card h3 {
    margin: 1rem 0;
    color: var(--text-light);
}

.article-extra {
    display: none;
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.8;
}

.article-card.expanded .article-extra {
    display: block;
}

.read-more {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    color: #0088dd;
    margin-left: 5px;
}

.article-card.expanded .read-more {
    color: #8ecbff;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
}

.projects-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.extra-project {
    display: none;
}

.projects-section.expanded .extra-project {
    display: block;
}

.project-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    text-decoration: none;
}

.project-image {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.2) 0%, rgba(0, 75, 150, 0.2) 100%);
    border-bottom: 1px solid var(--border-color);
}

.project-card h3 {
    color: var(--text-light);
    padding: 1.5rem 1.5rem 0.5rem;
}

.project-card p {
    color: var(--text-muted);
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-form > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 5px;
    color: var(--text-light);
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.info-block p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-wrapper {
    flex-shrink: 0;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1), rgba(0, 75, 150, 0.1));
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.footer-logo:hover {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.2), rgba(0, 75, 150, 0.2));
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.brand-info h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.brand-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer Section */
.footer-section {
    transition: all 0.3s ease;
}

.footer-section h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(8px);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a span {
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--accent-blue);
}

.footer-links li:hover a {
    color: var(--accent-blue);
}

.footer-links li:hover a span {
    opacity: 1;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.5rem;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
}

.btn-newsletter {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-color));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.3);
}

.btn-newsletter:active {
    transform: translateY(0);
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 2rem 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 8px;
}

.social-link:hover {
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.social-link:hover::before {
    opacity: 1;
}

/* Scroll To Top Button */
.footer-scroll-top {
    display: flex;
    align-items: center;
}

.scroll-top-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.scroll-top-btn:hover {
    background: rgba(0, 150, 255, 0.2);
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links li:hover {
        transform: translateX(0);
    }


/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        flex-wrap: nowrap;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        flex-wrap: nowrap;
    }

    .hero-image {
        order: 0;
    }

    .hero-text {
        flex: 1;
        min-width: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links {
        justify-content: center;
    }

    .profile-circle,
    .profile-container {
        width: 280px;
        height: 280px;
        border-radius: 15px;
    }

    .skills-grid,
    .testimonials-grid,
    .services-grid,
    .articles-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-info {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .services-section h2,
    .skills-section h2,
    .about-text h2 {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}
