/* Genel Stiller */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --dark-color: #2f2e41;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --white-color: #ffffff;
    --black-color: #000000;
    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.75rem;
    --h4-font-size: 1.5rem;
    --h5-font-size: 1.25rem;
    --h6-font-size: 1rem;
    --p-font-size: 1rem;
    --small-font-size: 0.875rem;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: var(--h2-font-size);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-transform: capitalize;
}

.section-title p {
    font-size: var(--p-font-size);
    color: var(--gray-color);
}

/* Buton Stilleri */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: var(--p-font-size);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	margin-right: 5px
}

.btn-primary:hover {
    color: var(--white-color);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
    transform: translateY(-3px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-image: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);

    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
    transform: translateY(-3px);
}

/* Ripple Efekti */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Butonlara özel hover efekti */
.btn:hover {
    --x: 50%;
    --y: 50%;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader .loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: var(--h3-font-size);
    font-weight: 700;
    color: var(--dark-color);
}

.logo a span {
    color: var(--primary-color);
}

.open-nav-menu {
    width: 30px;
    height: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding: 5px 0;
}

.open-nav-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Menü açıldığında çizgilerin dönüşümü */
.open-nav-menu.open span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 7px;
}

.open-nav-menu.open span:nth-child(2) {
    opacity: 0;
}

.open-nav-menu.open span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -7px;
}


.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.close-nav-menu {
    width: 30px;
    height: 30px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--black-color);
    font-size: var(--h4-font-size);
    margin-left: auto;
    margin-bottom: 20px;
}

.menu {
    display: flex;
}

.menu-item {
    margin-left: 30px;
}

.menu-item a {
    font-size: var(--p-font-size);
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
    position: relative;
}

.menu-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu-item a:hover::after,
.menu-item a.active::after {
    width: 100%;
}

.menu-item a:hover,
.menu-item a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: var(--white-color);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: var(--h1-font-size);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text h2 {
    font-size: var(--h3-font-size);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gray-color);
}

.hero-text p {
    font-size: var(--p-font-size);
    margin-bottom: 30px;
    color: var(--gray-color);
}

.hero-btns {
    display: flex;
    align-items: center;
}

.hero-image {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
}

.hero-image .image-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.hero-image .image-box img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.social-links {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
}

.social-links2.minimal a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #6c63ff;
    border: 2px solid #6c63ff;
    border-radius: 50%;
    margin: 0 8px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links2.minimal a:hover {
    background: #6c63ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}
.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white-color);
    color: var(--dark-color);
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

/* About Section */
.about-content {
  display: flex;
  flex-wrap: wrap; /* Önemli: Taşma durumunda alt satıra geçmesini sağlar */
  gap: 30px;
}

.about-image {
  flex: 0 0 40%;
  max-width: 40%;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
	margin-top: 50px;
}

.about-text {
  flex: 0 0 55%; /* Toplam 40% + 55% + gap = 100% */
  max-width: 55%;
}
.about-text h3 {
    font-size: var(--h3-font-size);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    font-size: var(--p-font-size);
    margin-bottom: 20px;
    color: var(--gray-color);
}

.about-info {
    display: flex;
    margin-bottom: 30px;
}

.info-item {
    flex: 0 0 50%;
    max-width: 50%;
}

.info-item p {
    margin-bottom: 10px;
    font-size: var(--p-font-size);
}

.info-item p span {
    font-weight: 600;
    color: var(--dark-color);
    margin-right: 5px;
}

.skills {
    margin-bottom: 30px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-item h4 {
    font-size: var(--p-font-size);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.skill-item h4 span {
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Services Section */
.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    font-size: var(--h3-font-size);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.service-item h3 {
    font-size: var(--h4-font-size);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-item p {
    font-size: var(--p-font-size);
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    font-size: var(--p-font-size);
    font-weight: 600;
    color: var(--dark-color);
    background-color: transparent;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    margin: 0 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(108, 99, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: var(--h4-font-size);
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 15px;
	text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.portfolio-link {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: var(--h5-font-size);
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-more {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials Section */
.testimonials-content {
    position: relative;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.client-info h3 {
    font-size: var(--h5-font-size);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.client-info span {
    font-size: var(--small-font-size);
    color: var(--gray-color);
}

.client-review p {
    font-size: var(--p-font-size);
    color: var(--gray-color);
    margin-bottom: 15px;
    font-style: italic;
}

.rating {
    color: var(--warning-color);
    font-size: var(--h5-font-size);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-controls button {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    margin: 0 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}

.slider-controls button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(108, 99, 255, 0.4);
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: space-between;
}

.contact-info {
    flex: 0 0 40%;
    max-width: 40%;
}

.contact-form {
    flex: 0 0 55%;
    max-width: 55%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    font-size: var(--h4-font-size);
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: var(--h5-font-size);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.contact-text p {
    font-size: var(--p-font-size);
    color: var(--gray-color);
}

.contact-social {
    display: flex;
    margin-top: 10px;
}

.contact-social a {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: var(--p-font-size);
    color: var(--dark-color);
    background-color: var(--white-color);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: var(--h3-font-size);
    font-weight: 700;
    color: var(--white-color);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    font-size: var(--p-font-size);
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--small-font-size);
    color: var(--gray-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width:50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: var(--h5-font-size);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
}

/* Responsive Styles */
/* Responsive düzenlemeler */
@media (max-width: 992px) {
  .hero-content {
    flex-wrap: wrap;
  }

  .hero-text,
  .hero-image {
    flex: 0 0 100%;
    max-width: 100%;
    order: 0; /* Sıralamayı sıfırla */
  }

	.back-to-top: {
		width: 50px;
		height: 50px;
		left: 50px;
		right: 50px;
	}
	
  .hero-text {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-image .image-box {
    max-width: 500px;
  }
}
@media (max-width: 992px) {
  .about-image {
    flex: 0 0 100% !important; /* !important ile diğer kuralları eziyoruz */
    max-width: 100% !important;
    margin-bottom: 30px;
  }
  
  .about-text {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 992px) {
  .hero-text,
  .hero-image,
  .about-image,
  .about-text,
  .contact-info,
  .contact-form {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-image {
    padding: 0 20px;
  }

  .hero-image .image-box {
    max-width: 500px;
    margin: 0 auto;
  }

.about-content {
    display: flex;
    flex-direction: column; /* Dikey düzen için */
    align-items: center;
  }

  .about-image {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
    order: 1; /* Üstte olması için */
  }

  .about-text {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2; /* Altta olması için */
  }

  .about-info {
    flex-direction: column;
  }

  .info-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    margin-bottom: 50px;
  }

  .footer-content {
    flex-direction: column;
	text-align: center;
  }
	
  .footer-content #footer-title {
	font-size: 1.7rem;
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-links {
    margin-bottom: 30px;
  }

  /* Grid system improvements */
  .services-content,
  .portfolio-content {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-main {
    padding: 15px 0;
  }

  .open-nav-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    z-index: 999;
    transition: var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .close-nav-menu {
    display: flex;
  }

  .menu {
    flex-direction: column;
    width: 100%;
  }

  .menu-item {
    margin: 0 0 20px;
  }

  .services-content,
  .portfolio-content {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 120px 0 70px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .services-content,
  .portfolio-content {
    grid-template-columns: 1fr;
  }

  .testimonial-item {
    padding: 20px;
  }

  .client-info {
    flex-direction: column;
    text-align: center;
  }

  .client-info img {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* Form responsiveness */
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .hero-btns {
    width: 100%;
  }

  .hero-btns .btn {
    display: block;
  }
}

/* Landscape orientation support */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .section {
    padding: 50px 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-text p {
    margin-bottom: 20px;
  }
}

/* Add better support for large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  :root {
    --h1-font-size: 3rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 2rem;
    --p-font-size: 1.1rem;
  }

  .hero-text {
    padding-right: 50px;
  }

  .hero-image .image-box {
    max-width: 90%;
    margin: 0 auto;
  }

  .service-item,
  .portfolio-item,
  .testimonial-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .service-item:hover,
  .portfolio-item:hover,
  .testimonial-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Add grid system improvements */
@media (max-width: 992px) {
  .services-content,
  .portfolio-content {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* Improve form responsiveness */
@media (max-width: 576px) {
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .hero-btns {
    width: 100%;
  }

  .hero-btns .btn {
    display: block;
  }
}

/* Add flexbox improvements for better alignment */
@media (max-width: 768px) {
  .social-links,
  .footer-social,
  .contact-social {
    justify-content: center;
  }

  .portfolio-filter {
    justify-content: center;
  }
	.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
	height: auto;
	max-width: 100%;
}
}

/* Add these responsive styles to the existing media queries section */

/* For extra small devices (phones, 400px and down) */
@media (max-width: 400px) {
  :root {
    --h1-font-size: 1.8rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.3rem;
    --p-font-size: 0.9rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .portfolio-img img {
    height: 200px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Improve tablet responsiveness */
@media (max-width: 768px) {
  .hero-content,
  .about-content,
  .contact-content {
    gap: 30px;
  }

  .portfolio-filter {
    gap: 10px;
  }

  .filter-btn {
    padding: 6px 18px;
    margin: 0 5px 10px;
  }

  .service-item {
    padding: 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

}

/* Add specific styles for landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .section {
    padding: 50px 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-text p {
    margin-bottom: 20px;
  }
}

/* Add better support for large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  :root {
    --h1-font-size: 3rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 2rem;
    --p-font-size: 1.1rem;
  }

  .hero-text {
    padding-right: 50px;
  }

  .service-item,
  .portfolio-item,
  .testimonial-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .service-item:hover,
  .portfolio-item:hover,
  .testimonial-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Add grid system improvements */
@media (max-width: 992px) {
  .services-content,
  .portfolio-content {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* Improve form responsiveness */
@media (max-width: 576px) {
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .hero-btns {
    width: 100%;
  }

  .hero-btns .btn {
    display: block;
  }
}

/* Add flexbox improvements for better alignment */
@media (max-width: 768px) {
  .social-links,
  .footer-social,
  .contact-social {
    justify-content: center;
  }

  .portfolio-filter {
    justify-content: center;
  }
}
