/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
    --primary-color: #022a2c;
    --secondary-color: #4b8f2c;
    --accent-color: #94c924;
    --light-accent: #ade82b;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #fff;
    --dark-background: #022a2c;
    --white: #ffffff;
    --border-color: #ccc;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scrollbar-width: auto;
    scrollbar-color: #7ab97a #f1f1f1;
}

::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #7ab97a;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #68a768;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    -webkit-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled::before {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

nav.scrolled .nav-links a {
    color: var(--primary-color);
}

nav.scrolled .nav-links a:hover {
    color: var(--accent-color);
}

nav.scrolled .logo {
    color: var(--secondary-color);
    mix-blend-mode: normal;
}

nav .container {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    height: 70px;
}

.logo img {
    height: 100%;
    width: auto;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.logo-light {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
}

nav.scrolled .logo-light {
    opacity: 0;
}

nav.scrolled .logo-dark {
    opacity: 1;
}

/* Desktop Navigation */
.nav-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    padding: 5px 0;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 5px;
    height: 5px;
    background: var(--accent-color);
    border-radius: 50%;
    -webkit-transform: translateY(-50%) scale(0);
    -ms-transform: translateY(-50%) scale(0);
    transform: translateY(-50%) scale(0);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.nav-links a:hover::before {
    -webkit-transform: translateY(-50%) scale(1);
    -ms-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
}

/* Banner Yeni Tasarım */
.hero {
    position: relative;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1558655146-9f40138edfeb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-filter: brightness(0.7) contrast(1.2);
    filter: brightness(0.7) contrast(1.2);
    -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition: -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero:hover::before {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -o-linear-gradient(315deg,
            rgba(2, 42, 44, 0.95) 0%,
            rgba(2, 42, 44, 0.85) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    background: linear-gradient(135deg,
            rgba(2, 42, 44, 0.95) 0%,
            rgba(2, 42, 44, 0.85) 50%,
            rgba(0, 0, 0, 0.8) 100%);
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: left;
}

.hero-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 60px auto;
    grid-template-columns: 1fr auto;
    gap: 60px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.hero-text {
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    position: relative;
}

.hero h1 span {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-line {
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.hero-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    -webkit-animation: lineAnim 2s infinite;
    animation: lineAnim 2s infinite;
}

@-webkit-keyframes lineAnim {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    50% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@keyframes lineAnim {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    50% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.hero-stats {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.scroll-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    -webkit-animation: scrollAnim 2s infinite;
    animation: scrollAnim 2s infinite;
}

@-webkit-keyframes scrollAnim {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes scrollAnim {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

/* About Section */
.about {
    position: relative;
    padding: 150px 0;
    background: -o-linear-gradient(315deg, #fff 0%, var(--light-color) 100%);
    background: linear-gradient(135deg, #fff 0%, var(--light-color) 100%);
    overflow: hidden;
    margin-bottom: 0;
}

.about::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        -o-radial-gradient(20% 50%, circle, rgba(128, 0, 32, 0.03) 0%, transparent 50%),
        -o-radial-gradient(80% 50%, circle, rgba(128, 0, 32, 0.03) 0%, transparent 50%);
    background:
        radial-gradient(circle at 20% 50%, rgba(128, 0, 32, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(128, 0, 32, 0.03) 0%, transparent 50%);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 80px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: none;
    margin: 0;
}

.about-text {
    text-align: left;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 500;
    position: relative;
    padding-left: 45px;
    display: inline-block;
}

.about-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--light-accent);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.about-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--light-accent);
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    position: relative;
    padding-left: 30px;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.about-image {
    position: relative;
    padding-top: 120%;
    border-radius: 20px;
    overflow: hidden;
    -webkit-box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.about-image:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    pointer-events: none;
}

.experience-years {
    position: absolute;
    bottom: 40px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    -webkit-box-shadow: 0 15px 30px rgba(128, 0, 32, 0.2);
    box-shadow: 0 15px 30px rgba(128, 0, 32, 0.2);
}

.years-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.years-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .about-content {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        padding-top: 80%;
    }

    .experience-years {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 100px 0;
    }

    .about h2 {
        font-size: 2.5rem;
    }

    .about-header {
        margin-bottom: 50px;
    }

    .about-features {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .experience-years {
        padding: 20px;
    }

    .years-number {
        font-size: 2.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 150px 0;
    background: -webkit-gradient(linear, left top, left bottom, from(var(--light-color)), to(white));
    background: -o-linear-gradient(top, var(--light-color) 0%, white 100%);
    background: linear-gradient(to bottom, var(--light-color) 0%, white 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.projects::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    opacity: 0.03;
    border-radius: 50%;
    top: -300px;
    right: -200px;
    -webkit-animation: rotateBackground 30s linear infinite;
    animation: rotateBackground 30s linear infinite;
}

.projects::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 80px solid var(--primary-color);
    opacity: 0.03;
    bottom: -200px;
    left: -200px;
    animation: rotateBackground 20s linear infinite reverse;
}

@-webkit-keyframes rotateBackground {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotateBackground {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.projects h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.projects h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--light-accent);
    bottom: -10px;
    left: 0;
}

.projects-header {
    text-align: left;
    max-width: 600px;
    margin-bottom: 80px;
}

.projects-header p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 30px;
}

.project-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    position: relative;
}

.project-card {
    -ms-grid-column-span: 4;
    grid-column: span 4;
    aspect-ratio: 0.8;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    -webkit-box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.project-card:nth-child(1) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 5;
    grid-column: 1 / span 5;
}

.project-card:nth-child(2) {
    -ms-grid-column: 6;
    -ms-grid-column-span: 4;
    grid-column: 6 / span 4;
    margin-top: 60px;
}

.project-card:nth-child(3) {
    -ms-grid-column: 10;
    -ms-grid-column-span: 3;
    grid-column: 10 / span 3;
    margin-top: 120px;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    object-fit: cover;
    object-position: center;
}

.project-card:hover .project-image {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: -webkit-gradient(linear,
            left bottom, left top,
            from(rgba(2, 42, 44, 0.95)),
            color-stop(50%, rgba(2, 42, 44, 0.8)),
            to(transparent));
    background: -o-linear-gradient(bottom,
            rgba(2, 42, 44, 0.95) 0%,
            rgba(2, 42, 44, 0.8) 50%,
            transparent 100%);
    background: linear-gradient(to top,
            rgba(2, 42, 44, 0.95) 0%,
            rgba(2, 42, 44, 0.8) 50%,
            transparent 100%);
    color: white;

}

.project-card:hover .project-info {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

/* Modal açıkken kartların hover efektlerini devre dışı bırak */
body.modal-open .project-card:hover .project-image {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

body.modal-open .project-card:hover .project-info {
    -webkit-transform: translateY(100px);
    -ms-transform: translateY(100px);
    transform: translateY(100px);
}

/* Modal kapatıldığında kartların transform özelliklerini sıfırla */
.modal.fade:not(.show)~.project-card .project-image,
.modal.fade:not(.show)~.project-card .project-info {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    transition: none;
}

.project-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    font-weight: 600;
}

.project-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: white;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right;
    -ms-transform-origin: right;
    transform-origin: right;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.project-link:hover::after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
}

.project-link i {
    font-size: 0.8rem;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.project-link:hover i {
    -webkit-transform: translateX(5px);
    -ms-transform: translateX(5px);
    transform: translateX(5px);
}

@media (max-width: 1200px) {
    .project-card {
        -ms-grid-column-span: 6 !important;
        grid-column: span 6 !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .project-card {
        grid-column: 1 / -1 !important;
    }

    .projects h2 {
        font-size: 2.5rem;
    }

    .projects-header {
        margin-bottom: 40px;
    }

    .projects-header p {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    position: relative;
    padding: 150px 0;
    background: -o-linear-gradient(315deg, var(--light-color) 0%, #fff 100%);
    background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
    overflow: hidden;
    margin-top: 0;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        -o-radial-gradient(0% 0%, circle, rgba(128, 0, 32, 0.03) 0%, transparent 50%),
        -o-radial-gradient(100% 100%, circle, rgba(128, 0, 32, 0.03) 0%, transparent 50%);
    background:
        radial-gradient(circle at 0% 0%, rgba(128, 0, 32, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(128, 0, 32, 0.03) 0%, transparent 50%);
}

.contact-header {
    text-align: left;
    margin-bottom: 80px;
    position: relative;
}

.contact-header h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.contact-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--light-accent);
}

.contact-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 30px 0 0;
    line-height: 1.8;
}

.contact-wrapper {
    position: relative;
    background: white;
    border-radius: 30px;
    -webkit-box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: -o-linear-gradient(45deg, transparent, rgba(128, 0, 32, 0.03), transparent);
    background: linear-gradient(45deg, transparent, rgba(128, 0, 32, 0.03), transparent);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: gradientMove 8s linear infinite;
    animation: gradientMove 8s linear infinite;
    z-index: -1;
}

@-webkit-keyframes gradientMove {
    0% {
        -webkit-transform: rotate(45deg) translateY(0);
        transform: rotate(45deg) translateY(0);
    }

    100% {
        -webkit-transform: rotate(45deg) translateY(-50%);
        transform: rotate(45deg) translateY(-50%);
    }
}

@keyframes gradientMove {
    0% {
        -webkit-transform: rotate(45deg) translateY(0);
        transform: rotate(45deg) translateY(0);
    }

    100% {
        -webkit-transform: rotate(45deg) translateY(-50%);
        transform: rotate(45deg) translateY(-50%);
    }
}

.contact-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 0 1.5fr;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    min-height: 600px;
}

.contact-info {
    background: var(--primary-color);
    padding: 60px;
    color: var(--light-text);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: -o-radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -500px;
    right: -500px;
    -webkit-animation: pulse 4s infinite;
    animation: pulse 4s infinite;
}

@-webkit-keyframes pulse {

    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        opacity: 0.3;
    }
}

@keyframes pulse {

    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.contact-info-header {
    margin-bottom: 50px;
}

.contact-info-header h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.contact-info-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

.contact-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    padding-bottom: 20px;
}

.contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent));
    background: -o-linear-gradient(left, transparent, rgba(255, 255, 255, 0.2), transparent);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.contact-item i {
    font-size: 24px;
    color: var(--light-accent);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 0%;
    
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.contact-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-item-content p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 1px 1px, #1a4a4d 1px, transparent 0),
        radial-gradient(circle at 1px 1px, #1a4a4d 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-color: var(--white);
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.full {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 1rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    background: var(--white);
}

.contact-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-form button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.contact-form button i {
    transition: transform 0.3s ease;
}

.contact-form button:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
    }
    
    .form-group textarea {
        min-height: 150px;
    }
    
    .contact-form button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Footer */
footer {
    position: relative;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 100px 0 40px;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-color) 50%,
            transparent 100%);
    opacity: 0.3;
}

.footer-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 60px 1fr 60px 1fr;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    background: -o-linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.7));
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-color);
}

.footer-info p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 400px;
}

.footer-newsletter {
    position: relative;
    margin-top: 20px;
}

.footer-newsletter input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: 'Poppins', sans-serif;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.footer-newsletter input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    outline: none;
}

.footer-newsletter input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter button {
    position: absolute;
    right: 5px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background: var(--light-accent);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    color: var(--light-accent);
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--light-accent);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
    z-index: -1;
}

.footer-links ul li a:hover {
    color: var(--light-text);
    -webkit-transform: translateX(5px);
    -ms-transform: translateX(5px);
    transform: translateX(5px);
}

.footer-links ul li a:hover::before {
    width: 10px;
}

.footer-bottom {
    position: relative;
    padding-top: 40px;
    margin-top: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: -webkit-gradient(linear,
            left top, right top,
            from(transparent),
            color-stop(50%, rgba(255, 255, 255, 0.2)),
            to(transparent));
    background: -o-linear-gradient(left,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
}

.footer-social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    text-decoration: none;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .footer-content {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }

    .footer-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        display: none;
    }

    .contact-content {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 0 20px;
    }
}

/* Loader */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 9999;
    -webkit-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
}

.loader div:nth-child(1) {
    border-top-color: rgba(255, 255, 255, 0.9);
    -webkit-animation: spin1 2s linear infinite;
    animation: spin1 2s linear infinite;
}

.loader div:nth-child(2) {
    border-right-color: rgba(255, 255, 255, 0.8);
    -webkit-animation: spin2 2s linear infinite;
    animation: spin2 2s linear infinite;
}

.loader div:nth-child(3) {
    border-bottom-color: rgba(255, 255, 255, 0.7);
    -webkit-animation: spin3 2s linear infinite;
    animation: spin3 2s linear infinite;
}

.loader div:nth-child(4) {
    border-left-color: rgba(255, 255, 255, 0.6);
    -webkit-animation: spin4 2s linear infinite;
    animation: spin4 2s linear infinite;
}

@-webkit-keyframes spin1 {
    0% {
        -webkit-transform: rotate(0deg) scale(1.1);
        transform: rotate(0deg) scale(1.1);
    }

    100% {
        -webkit-transform: rotate(360deg) scale(1.1);
        transform: rotate(360deg) scale(1.1);
    }
}

@keyframes spin1 {
    0% {
        -webkit-transform: rotate(0deg) scale(1.1);
        transform: rotate(0deg) scale(1.1);
    }

    100% {
        -webkit-transform: rotate(360deg) scale(1.1);
        transform: rotate(360deg) scale(1.1);
    }
}

@-webkit-keyframes spin2 {
    0% {
        -webkit-transform: rotate(90deg) scale(1.05);
        transform: rotate(90deg) scale(1.05);
    }

    100% {
        -webkit-transform: rotate(450deg) scale(1.05);
        transform: rotate(450deg) scale(1.05);
    }
}

@keyframes spin2 {
    0% {
        -webkit-transform: rotate(90deg) scale(1.05);
        transform: rotate(90deg) scale(1.05);
    }

    100% {
        -webkit-transform: rotate(450deg) scale(1.05);
        transform: rotate(450deg) scale(1.05);
    }
}

@-webkit-keyframes spin3 {
    0% {
        -webkit-transform: rotate(180deg) scale(1);
        transform: rotate(180deg) scale(1);
    }

    100% {
        -webkit-transform: rotate(540deg) scale(1);
        transform: rotate(540deg) scale(1);
    }
}

@keyframes spin3 {
    0% {
        -webkit-transform: rotate(180deg) scale(1);
        transform: rotate(180deg) scale(1);
    }

    100% {
        -webkit-transform: rotate(540deg) scale(1);
        transform: rotate(540deg) scale(1);
    }
}

@-webkit-keyframes spin4 {
    0% {
        -webkit-transform: rotate(270deg) scale(0.95);
        transform: rotate(270deg) scale(0.95);
    }

    100% {
        -webkit-transform: rotate(630deg) scale(0.95);
        transform: rotate(630deg) scale(0.95);
    }
}

@keyframes spin4 {
    0% {
        -webkit-transform: rotate(270deg) scale(0.95);
        transform: rotate(270deg) scale(0.95);
    }

    100% {
        -webkit-transform: rotate(630deg) scale(0.95);
        transform: rotate(630deg) scale(0.95);
    }
}

.loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    -webkit-animation: pulse 1s ease-in-out infinite;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        -webkit-transform: translate(-50%, -50%) scale(0.8);
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    50% {
        -webkit-transform: translate(-50%, -50%) scale(1.2);
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: white;
    -webkit-animation: fadeInUp 2s infinite;
    animation: fadeInUp 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    margin-bottom: 10px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    -webkit-animation: scrollMouse 1.5s infinite;
    animation: scrollMouse 1.5s infinite;
}

@-webkit-keyframes scrollMouse {
    0% {
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translate(-50%, 15px);
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes scrollMouse {
    0% {
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translate(-50%, 15px);
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@-webkit-keyframes fadeInUp {
    0% {
        -webkit-transform: translate(-50%, 20px);
        transform: translate(-50%, 20px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        -webkit-transform: translate(-50%, 20px);
        transform: translate(-50%, 20px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Navigation Enhancements */
.menu-btn {
    display: none;
    position: relative;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
    margin-left: auto;
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--light-text);
    margin: 6px auto;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

nav.scrolled .menu-btn span {
    background: var(--primary-color);
}

.menu-btn.active span {
    background: var(--primary-color);
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobil Menü */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-clip-path: circle(0% at calc(100% - 50px) 50px);
    clip-path: circle(0% at calc(100% - 50px) 50px);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    -webkit-clip-path: circle(150% at calc(100% - 50px) 50px);
    clip-path: circle(150% at calc(100% - 50px) 50px);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu li {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.mobile-menu.active li {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: calc(0.1s * var(--i));
    -o-transition-delay: calc(0.1s * var(--i));
    transition-delay: calc(0.1s * var(--i));
}

.mobile-menu a {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 30px;
    position: relative;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--secondary-color);
    -webkit-transform: translateX(10px);
    -ms-transform: translateX(10px);
    transform: translateX(10px);
}

.mobile-menu a:hover::before,
.mobile-menu a:hover::after {
    width: 20px;
}

/* Menü Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
        position: relative;
        width: 50px;
        height: 50px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
        padding: 0;
        margin-left: auto;
    }

    .menu-btn span {
        display: block;
        width: 30px;
        height: 2px;
        background: var(--light-text);
        margin: 6px auto;
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        transform-origin: center;
    }

    .nav-links {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Küçük Ekranlar İçin */
@media (max-width: 480px) {
    .menu-btn {
        width: 40px;
        height: 40px;
    }

    .menu-btn span {
        width: 25px;
        margin: 5px auto;
    }

    .mobile-menu a {
        font-size: 1.3rem;
        padding: 12px 25px;
    }
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

/* References Section */
.references {
    padding: 80px 0;
    background: -webkit-gradient(linear, left top, left bottom, from(white), to(var(--light-color)));
    background: -o-linear-gradient(top, white 0%, var(--light-color) 100%);
    background: linear-gradient(to bottom, white 0%, var(--light-color) 100%);
    position: relative;
    overflow: hidden;
}

.references-header {
    text-align: center;
    margin-bottom: 50px;
}

.references-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.references-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--light-accent);
}

.references-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.references-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.references-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-animation: slideLogos 20s linear infinite;
    animation: slideLogos 20s linear infinite;
    gap: 40px;
}

.reference-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.reference-item:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

.reference-item img {
    width: 150px;
    height: 80px;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: -webkit-filter 0.3s ease;
    transition: -webkit-filter 0.3s ease;
    -o-transition: filter 0.3s ease;
    transition: filter 0.3s ease;
    transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}

.reference-item:hover img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

@-webkit-keyframes slideLogos {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-100% - 40px));
        transform: translateX(calc(-100% - 40px));
    }
}

@keyframes slideLogos {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-100% - 40px));
        transform: translateX(calc(-100% - 40px));
    }
}

@media (max-width: 768px) {
    .references {
        padding: 60px 0;
    }

    .references-header h3 {
        font-size: 1.8rem;
    }

    .references-header p {
        font-size: 1rem;
    }

    .reference-item {
        padding: 15px;
    }

    .reference-item img {
        width: 120px;
        height: 60px;
    }
}

/* Section Connectors */
.section-connector {
    position: relative;
    height: 100px;
    background: var(--primary-color);
    overflow: hidden;
}

.section-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 60px;
    background: var(--accent-color);
    animation: connectorPulse 2s infinite;
}

.section-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: connectorRotate 4s linear infinite;
}

@keyframes connectorPulse {

    0%,
    100% {
        height: 60px;
        opacity: 1;
    }

    50% {
        height: 80px;
        opacity: 0.5;
    }
}

@keyframes connectorRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.modal-body img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.modal-body img:hover {
    transform: scale(1.02);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-title {
        font-size: 1.6rem;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .modal-body {
        padding: 25px;
    }
    
    .modal-body p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .modal-body ul {
        gap: 20px;
        margin: 25px 0;
    }
    
    .modal-body ul li {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 20px;
    }
    
    .modal-body ul li strong {
        font-size: 1rem;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 1.4rem;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .modal-body ul li {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 15px;
    }
    
    .modal-body ul li strong {
        font-size: 0.95rem;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
}

.modal-content {
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 0 35px 70px rgba(2, 42, 44, 0.15);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, transparent 100%);
    opacity: 0.03;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.02;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.modal-header {
    border-bottom: none;
    padding: 40px 45px;
    background: var(--primary-color);
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, transparent 100%);
    opacity: 0.1;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    transform: translateZ(20px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 0.8s ease forwards 0.5s;
}

.btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 15px;
    margin: -15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    position: relative;
    overflow: hidden;
    transform: translateZ(10px);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    filter: brightness(0) invert(1);
}

.btn-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-close:hover {
    transform: rotate(90deg) translateZ(20px);
    opacity: 1;
    background: var(--accent-color);
    filter: none;
}

.modal-body {
    padding: 45px;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.4px;
    position: relative;
    z-index: 1;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.modal-body p {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    padding: 20px 25px;
    border-left: none;
    transform: translateZ(15px);
    background: linear-gradient(to right, rgba(2, 42, 44, 0.02), transparent);
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    transition: all 0.4s ease;
}

.modal-body p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transition: all 0.4s ease;
}

.modal-body p:hover {
    transform: translateX(10px) translateZ(20px);
    background: linear-gradient(to right, rgba(2, 42, 44, 0.04), transparent);
}

.modal-body p:hover::before {
    width: 8px;
    box-shadow: 0 0 20px var(--accent-color);
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.modal-body ul li {
    position: relative;
    padding: 20px;
    color: var(--primary-color);
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, rgba(2, 42, 44, 0.02) 0%, transparent 100%);
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    transform: translateZ(20px);
    border: 1px solid rgba(2, 42, 44, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.modal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    transition: all 0.4s ease;
}

.modal-body ul li:hover {
    transform: translateX(10px) translateZ(30px) rotateY(5deg);
    background: linear-gradient(135deg, rgba(2, 42, 44, 0.04) 0%, transparent 100%);
    box-shadow: 0 15px 30px rgba(2, 42, 44, 0.1);
    border-color: var(--accent-color);
}

.modal-body ul li:hover::before {
    width: 8px;
    box-shadow: 0 0 20px var(--accent-color);
}

.modal-body ul li strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 8px;
}

.modal-body ul li strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.modal-body ul li:hover strong::after {
    width: 60px;
}

.modal-backdrop.show {
    opacity: 0.95;
    backdrop-filter: blur(15px);
    background: rgba(2, 42, 44, 0.8);
}

/* Modal Animasyonları */
.modal.fade .modal-dialog {
    transform: scale(0.9) translateY(-40px) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0) rotateX(0);
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}