/*-------------------------------------------------------------------
  Main Stylesheet
  Project:    3D Portfolio
  Version:    1.0
-------------------------------------------------------------------*/

/*-------------------------------------------------------------------
  Table of Contents
  
  1. General Styles
  2. Dark Mode Styles
  3. Header Styles
  4. Hero Section
  5. About Section
  6. Skills Section
  7. Portfolio Section
  8. Services Section
  9. Testimonials Section
  10. Contact Section
  11. Footer Section
  12. 3D Elements & Animations
  13. Responsive Styles
-------------------------------------------------------------------*/

/*-------------------------------------------------------------------
  1. General Styles
-------------------------------------------------------------------*/
:root {
    /* Light Mode Colors */
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --text-color: #333;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --border-color: #eaeaea;
    --card-bg: #fff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --section-padding: 100px 0;
    
    /* Transition */
    --transition: all 0.3s ease;
}

/* Dark Mode Colors */
.dark-mode {
    --primary-color: #4fa3e0;
    --secondary-color: #3ee08f;
    --text-color: #f0f0f0;
    --bg-color: #121212;
    --light-bg: #1e1e1e;
    --border-color: #2d2d2d;
    --card-bg: #1e1e1e;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: var(--transition);
}

p {
    margin-bottom: 15px;
    transition: var(--transition);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/*-------------------------------------------------------------------
  2. Dark Mode Styles
-------------------------------------------------------------------*/
.theme-toggle {
    position: fixed;
    right: 20px;
    top: 100px;
    z-index: 999;
}

#theme-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

#theme-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.light-mode .fa-sun {
    display: none;
}

.light-mode .fa-moon {
    display: inline-block;
}

.dark-mode .fa-sun {
    display: inline-block;
}

.dark-mode .fa-moon {
    display: none;
}

/*-------------------------------------------------------------------
  3. Header Styles
-------------------------------------------------------------------*/
.navbar {
    padding: 50px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--bg-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
}

.logo-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
    position: relative;
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/*-------------------------------------------------------------------
  4. Hero Section
-------------------------------------------------------------------*/
.hero-section {
    height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    z-index: -1;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.cube-wrapper {
    perspective: 1000px;
    width: 200px;
    height: 200px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.1);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.front {
    transform: translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/*-------------------------------------------------------------------
  5. About Section
-------------------------------------------------------------------*/
.about-image {
    position: relative;
    margin-bottom: 30px;
}

.rounded-3d {
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    text-align: center;
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.experience-badge .text {
    font-size: 14px;
}

.about-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.personal-info {
    margin: 30px 0;
}

.info-item {
    margin-bottom: 15px;
    display: flex;
}

.info-title {
    min-width: 120px;
    font-weight: 600;
    color: var(--primary-color);
}

.info-value {
    color: var(--text-color);
}

.info-value.available {
    color: var(--secondary-color);
}

.about-btns {
    display: flex;
    gap: 15px;
}

/*-------------------------------------------------------------------
  6. Skills Section
-------------------------------------------------------------------*/
.skill-category {
    margin-bottom: 40px;
}

.skill-category h3 {
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.skill-category h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.skill-bar {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
}

.stars {
    color: #ffd700;
    font-size: 22px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    letter-spacing: 4px;
}

/*-------------------------------------------------------------------
  7. Portfolio Section
-------------------------------------------------------------------*/
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: transparent;
}

.portfolio-container {
    margin-top: 30px;
}

.portfolio-item {
    margin-bottom: 30px;
}

.portfolio-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: var(--card-bg);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-links {
    display: flex;
    gap: 15px;
}

.portfolio-links a {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-links a {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-links a:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.portfolio-links a:nth-child(2) {
    transition-delay: 0.1s;
}

.portfolio-info {
    padding: 20px;
    text-align: center;
}

.portfolio-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--primary-color);
    margin-bottom: 0;
}

/*-------------------------------------------------------------------
  8. Services Section
-------------------------------------------------------------------*/
.service-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 300px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 30px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(0.8);
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-bg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition);
}

.service-card:hover .service-hover-content {
    opacity: 1;
    transform: scale(1);
}

.service-hover-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-hover-content p {
    margin-bottom: 20px;
}

/*-------------------------------------------------------------------
  9. Testimonials Section
-------------------------------------------------------------------*/
.testimonial-slider {
    margin-top: 30px;
}

.testimonial-item {
    padding: 20px;
}

.testimonial-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition);
}

.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.testimonial-content:before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-text {
    margin-bottom: 20px;
}

.testimonial-text p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--primary-color);
    margin-bottom: 0;
}

/*-------------------------------------------------------------------
  10. Contact Section
-------------------------------------------------------------------*/
.contact-info {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-info-item .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-right: 20px;
}

.contact-info-item .content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info-item .content p {
    margin-bottom: 0;
}

.social-links {
    margin-bottom: 30px;
}

.social-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

textarea.form-control {
    height: auto;
}

.form-submit {
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    font-weight: 500;
}

/*-------------------------------------------------------------------
  11. Footer Section
-------------------------------------------------------------------*/
.footer-section {
    background-color: var(--light-bg);
    padding: 80px 0 30px;
    position: relative;
}

.footer-widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--text-color);
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-links li a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-links li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.newsletter-form .form-group {
    position: relative;
}

.newsletter-form input {
    height: 50px;
    border-radius: 50px;
    padding-right: 50px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.copyright-text p {
    margin-bottom: 0;
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/*-------------------------------------------------------------------
  12. 3D Elements & Animations
-------------------------------------------------------------------*/
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

.animate__zoomIn {
    animation-name: zoomIn;
}

/* 3D Card Effect */
.portfolio-card, .service-card, .testimonial-content {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-card:hover, .service-card:hover, .testimonial-content:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

/* 3D Button Effect */
.btn {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translateZ(-5px);
    filter: blur(10px);
    opacity: 0.5;
    transition: var(--transition);
}

.btn:hover:before {
    transform: translateZ(-10px);
    filter: blur(20px);
}

/*-------------------------------------------------------------------
  13. Responsive Styles
-------------------------------------------------------------------*/
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content h2 {
        font-size: 22px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .navbar-nav {
        background-color: var(--bg-color);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--card-shadow);
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .about-image {
        margin-bottom: 50px;
    }
    
    .experience-badge {
        right: 50%;
        transform: translateX(50%);
    }
    
    .skill-category {
        margin-bottom: 30px;
    }
    
    .portfolio-filter {
        overflow-x: auto;
        padding-bottom: 15px;
    }
    
    .contact-info {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .about-content h3 {
        font-size: 22px;
    }
    
    .info-item {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .info-title {
        margin-bottom: 5px;
    }
    
    .about-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-btns .btn {
        width: 100%;
    }
    
    .portfolio-filter {
        justify-content: flex-start;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .copyright-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info-item .icon {
        margin: 0 auto 15px;
    }
    
    .social-icons {
        justify-content: center;
    }
}
