.pdf-viewer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pdf-viewer-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 999px;
}

.pdf-viewer-close span:first-child {
    transform: rotate(45deg);
}

.pdf-viewer-close span:last-child {
    transform: rotate(-45deg);
}

.pdf-viewer-close:hover {
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.15);
}

.pdf-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pdf-viewer-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.pdf-viewer-body {
    flex: 1;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
}

.pdf-viewer-body iframe {
    width: 100%;
    height: 100%;
    background: #0a1120;
}

@media screen and (max-width: 640px) {
    .pdf-viewer-content {
        height: 90vh;
        padding: 1rem;
        border-radius: 16px;
    }

    .pdf-viewer-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body.modal-open {
    overflow: hidden;
}

#app {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.navbar-logo img {
    height: 130px;
    width: auto;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #64ffda;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #64ffda, #00d4ff);
    transition: width 0.3s ease;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0a0a0a;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    list-style: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

.dropdown:hover .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown:hover .dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
.dropdown:hover .dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
.dropdown:hover .dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }
.dropdown:hover .dropdown-menu li:nth-child(5) { transition-delay: 0.25s; }

/* Nested Dropdown Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-menu-sub {
    position: absolute;
    top: 0; /* Ana dropdown'ın altına yerleştir */
    left: 100%;
    background: #0a0a0a;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    margin-top: 0.25rem; /* Boşluğu azalt */
    pointer-events: none;
}

/* Dropdown'lar arasında görünmez köprü oluştur */
.dropdown-menu-sub::before {
    content: '';
    position: absolute;
    top: -0.25rem; /* Yukarıya köprü */
    left: 0;
    width: 100%;
    height: 0.25rem;
    background: transparent;
    pointer-events: auto;
}

/* Ana dropdown hover olduğunda nested dropdown'ı da göster */
.dropdown-submenu:hover .dropdown-menu-sub,
.dropdown-submenu.submenu-open .dropdown-menu-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


/* Dropdown-submenu hover olduğunda ana dropdown'ı da aktif tut */
.dropdown-submenu:hover,
.dropdown-submenu.submenu-open {
    background: rgba(100, 255, 218, 0.05);
}

.dropdown-menu-sub li {
    list-style: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-submenu:hover .dropdown-menu-sub li,
.dropdown-submenu.submenu-open .dropdown-menu-sub li {
    opacity: 1;
    transform: translateX(0);
}

.dropdown:hover .dropdown-submenu .dropdown-menu-sub li:nth-child(1) { transition-delay: 0.1s; }
.dropdown-submenu:hover .dropdown-menu-sub li:nth-child(1) { transition-delay: 0.1s; }

.dropdown-menu a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-left-color 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    border-left-color: #64ffda;
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 3px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 1;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navbar-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        background: #0a0a0a;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    }
    
    .nav-item.dropdown.mobile-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        max-height: 500px;
    }
    
    .dropdown-menu li {
        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .nav-item.dropdown.mobile-open .dropdown-menu li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(5) { transition-delay: 0.25s; }
    
    .dropdown-menu a {
        padding: 0.75rem 3rem;
        font-size: 0.85rem;
        border-left: 3px solid transparent;
    }
    
    .dropdown-menu a:hover {
        background: rgba(100, 255, 218, 0.1);
        color: #64ffda;
        /* border-left-color: #64ffda; */
    }
    
    /* Add arrow indicator for dropdown items
    .nav-item.dropdown .nav-link::after {
        content: '▼';
        float: right;
        transition: transform 0.3s ease;
        font-size: 0.8rem;
        color: #64ffda;
    }
    
    .nav-item.dropdown.mobile-open .nav-link::after {
        transform: rotate(180deg);
    } */
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .navbar-logo img {
        height: 120px;
    }
}

/* Dynamic Content Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
    transform: translateY(-2px);
}

.project-item h3 {
    color: #64ffda;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    /* margin-top: 2rem; */
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info strong {
    color: #64ffda;
    min-width: 120px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-item {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .contact-info strong {
        min-width: auto;
    }
}

/* Contact Section Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3,
.contact-map h3 {
    color: #64ffda;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.contact-map iframe {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-map iframe {
        height: 300px;
    }
}

/* Loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 1;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #64ffda;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #64ffda, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* 3D Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Scroll container */
#scroll-container {
    position: relative;
    z-index: 2;
    /* height: 1500vh; Increased for all sections */
    padding-top: 70px; /* Account for fixed navbar */
}

/* Sections */

/* Ensure all section titles are centered */
.scroll-section h1,
.scroll-section h2,
.scroll-section h3 {
  text-align: center !important;
}

/* References Logos */
.references-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 2rem 0;
  justify-items: center;
  align-items: center;
}

.reference-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.reference-logo-item:hover {
  transform: translateY(-5px);
}

.reference-logo {
  width: 250px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.reference-logo:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #64ffda;
  box-shadow: 0 8px 25px rgba(100, 255, 218, 0.3);
}

.reference-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.reference-logo:hover img {
  transform: scale(1.1);
}

.reference-name {
  display: none;
}

@media screen and (max-width: 480px) {
  .references-logos {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
  }
  
  .reference-logo {
    width: 150px;
    height: 60px;
  }
}

.logo-section {
    height: 200px;
    display: flex;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    position: fixed;
}

.logo-section img {
    width: 200px;
    height: 200px;
}

.text-background {
    background: linear-gradient(45deg, #64ffda, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* services */

.services-container {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;
    align-items: center;
}

.services-container-reverse {
    flex-direction: row-reverse;
}

.services-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 600px) {
    .services-image {
        width: 200px;
        height: 200px;
    }
}

.services-text-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: start;
    margin-left: 60px;
}

@media screen and (max-width: 1200px) {
    .services-text-container {
        margin-left: 0px;
    }
}

.services-subheader {
    font-size: 1.1rem!important;
    font-weight: 600!important;
    text-align: start!important;
    /* color: #d4feff!important; */
}

.services-text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.services-list {
    list-style-type: disc;
    margin-left: 20px;
}

.services-list li {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.certificate-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.certificate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.25);
    border-radius: 18px;
    background: rgba(4, 15, 27, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    border-color: #64ffda;
    box-shadow: 0 15px 35px rgba(100, 255, 218, 0.15);
    transform: translateY(-2px);
}

.certificate-item.disabled {
    opacity: 0.6;
    pointer-events: none;
    border-style: dashed;
}

.certificate-item-text {
    text-align: left;
}

.certificate-item-text h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1.1rem;
    color: #e2fdf7;
}

.certificate-item-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.certificate-item-cta {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    /* text-transform: uppercase; */
    color: #64ffda;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.certificate-item-cta::after {
    content: '↗';
    font-size: 1rem;
}

.certificate-item-cta.disabled {
    color: rgba(255, 255, 255, 0.4);
}

.pdf-viewer-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.pdf-viewer-modal.active {
    display: flex;
}

.pdf-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 3, 10, 0.85);
    backdrop-filter: blur(6px);
}

.pdf-viewer-content {
    position: relative;
    width: min(1100px, 92vw);
    height: min(85vh, 900px);
    background: rgba(4, 10, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 2rem;
    max-width: 720px;
}

.info-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

.info-card {
    position: relative;
    background: rgba(10, 25, 47, 0.9);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 16px;
    overflow: hidden;
    height: 200px;
    width: 200px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}

.info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(4, 14, 24, 0) 0%,
        rgba(4, 14, 24, 0.25) 25%,
        rgba(4, 14, 24, 0.55) 55%,
        rgba(4, 14, 24, 0.85) 100%
    );
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.info-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: #64ffda;
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.12);
}

.info-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.info-card:hover .info-card-image img {
    transform: scale(1.05);
}

.info-card:hover::after {
    opacity: 1;
}

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    text-align: left;
}

.content-page {
    background: radial-gradient(circle at top, rgba(100, 255, 218, 0.08), transparent 55%), #020812;
    min-height: 100vh;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
}

.content-ornament {
    position: absolute;
    inset: -10% auto auto 50%;
    width: 200px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.2), transparent 65%);
    transform: translateX(-50%);
    filter: blur(80px);
    opacity: 0.7;
    pointer-events: none;
}

.content-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(180deg, rgba(2, 8, 18, 0.95), rgba(2, 8, 18, 0.65));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 80px;
}

.content-header-inner {
    max-width: 1280px;
    height: 80px;
    margin: 0 auto;
    padding: 1.5rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
}

.back-link {
    color: #64ffda;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #4fd3b8;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.detail-main {
    padding: clamp(2rem, 5vw, 4rem) 5vw 5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.detail-grid.detail-grid-single {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.detail-grid.detail-grid-single .detail-side {
    display: none;
}

.detail-info {
    background: rgba(4, 14, 25, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: clamp(2rem, 3vw, 3rem);
    box-shadow: 0 30px 80px rgba(2, 6, 14, 0.7);
    position: relative;
    overflow: hidden;
}

.detail-info::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    border: 1px solid rgba(100, 255, 218, 0.08);
    pointer-events: none;
}

.detail-tag {
    color: #64ffda;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.detail-info h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(45deg, #64ffda, #7f5eff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-summary {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 720px;
    margin-top: 1rem;
}

.detail-media {
    margin-top: 1.8rem;
    position: relative;
}

.detail-media-frame {
    border-radius: 28px;
    overflow: hidden;
    min-height: clamp(220px, 40vh, 420px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.detail-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.8s ease;
}

.detail-media:hover .detail-media-frame img {
    transform: scale(1.06);
}

.detail-media-accent {
    position: absolute;
    inset: auto 12% -10% auto;
    width: 45%;
    height: 140px;
    background: linear-gradient(120deg, rgba(100, 255, 218, 0.3), rgba(127, 94, 255, 0.3));
    filter: blur(20px);
    border-radius: 50%;
    opacity: 0.8;
}

.detail-richtext {
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.detail-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-side-card {
    background: rgba(4, 14, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.detail-side-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
}

.detail-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(100, 255, 218, 0), rgba(100, 255, 218, 0.6));
}

.detail-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #64ffda;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.detail-note {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
}

.detail-note h2 {
    margin-top: 0;
    color: #64ffda;
}

.detail-note p {
    color: rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .detail-info,
    .detail-side-card {
        border-radius: 20px;
        padding: 1.5rem;
    }

    .detail-media-frame {
        min-height: 200px;
    }
}

@media screen and (max-width: 1200px) {
    .services-container {
        flex-direction: column;
    }
}






.hero-section,
.scroll-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scroll-section {
    background: transparent;
}

.section-content {
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(45deg, #64ffda, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #64ffda, #00d4ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(100, 255, 218, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(100, 255, 218, 0.8), 0 0 40px rgba(0, 212, 255, 0.5);
    }
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.hero-animated-sentences {
    position: relative;
    height: auto;
    min-height: 8rem;
    width: 1200px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

@media screen and (max-width: 1200px) {
    .hero-animated-sentences {
        width: 1000px;
    }
}

@media screen and (max-width: 1000px) {
    .hero-animated-sentences {
        width: 800px;
    }
}

@media screen and (max-width: 800px) {
    .hero-animated-sentences {
        width: 600px;
    }
}

@media screen and (max-width: 600px) {
    .hero-animated-sentences {
        width: 400px;
    }
}

@media screen and (max-width: 400px) {
    .hero-animated-sentences {
        width: 340px;
    }
}

/* Responsive font sizes for hero sentences */
@media screen and (max-width: 1200px) {
    .hero-sentence {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 800px) {
    .hero-sentence {
        font-size: 2.8rem; /* Daha küçük font */
        line-height: 1.3; /* Daha iyi satır aralığı */
    }
    .hero-animated-sentences {
        min-height: 7rem;
    }
}

@media screen and (max-width: 600px) {
    .hero-sentence {
        font-size: 2.2rem; /* Daha küçük font */
        line-height: 1.4; /* Daha iyi satır aralığı */
        padding: 0 15px; /* Daha fazla padding */
    }
    .hero-animated-sentences {
        min-height: 6rem;
    }
}

@media screen and (max-width: 400px) {
    .hero-sentence {
        font-size: 1.8rem; /* Daha küçük font */
        line-height: 1.5; /* Daha iyi satır aralığı */
        padding: 0 10px;
    }
    .hero-animated-sentences {
        min-height: 5rem;
    }
}


.hero-sentence {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.77,0,0.18,1), transform 0.7s cubic-bezier(0.77,0,0.18,1);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    background: linear-gradient(45deg, #64ffda, #00d4ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
    margin: 0;
    padding: 0 20px;
    word-break: keep-all; /* Kelimeleri bölme */
    hyphens: none; /* Tire ile bölme */
    /* overflow-wrap: normal; Sadece gerekirse böl */
}
.hero-sentence.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}
.hero-sentence.exit {
    opacity: 0;
    transform: translateY(-60px);
    z-index: 1;
}
.hero-sentence.enter {
    opacity: 0;
    transform: translateY(60px);
    z-index: 2;
}

/* UI Overlay */
#ui-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.scroll-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.scroll-progress {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #64ffda, #00d4ff);
    border-radius: 2px;
    transition: height 0.1s ease-out;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-content h2 {
        font-size: 2rem;
    }
    
    .section-content p,
    .hero-content p {
        font-size: 1rem;
    }
    
    .scroll-indicator {
        right: 15px;
        width: 3px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-content h2 {
        font-size: 1.5rem;
    }
    
    .section-content {
        padding: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    /* Navbar height (70px) */
    scroll-padding-top: 70px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #64ffda, #00d4ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #00d4ff, #64ffda);
} 

/* Dynamic sections content should be left-aligned */
.scroll-section .section-content {
    text-align: left;
    width: 100%;
}

/* GeoVinci Form Styles */
.geovinci-description {
    text-align: center;
    margin-bottom: 3rem;
}

.geovinci-description p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.geovinci-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.geovinci-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64ffda;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #64ffda;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.file-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.submit-btn {
    background: linear-gradient(45deg, #64ffda, #00d4ff);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    color: #0a0a0a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-loading .loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(10, 10, 10, 0.2);
    border-top: 2px solid #0a0a0a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Toast Message Styles */
.toast-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    max-width: 350px;
    border-left: 4px solid;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    border-left-color: #64ffda;
}

.toast.error {
    border-left-color: #ff6b6b;
}

.toast.info {
    border-left-color: #00d4ff;
}

/* Responsive Design for GeoVinci Form */
@media (max-width: 768px) {
    .geovinci-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .toast-container {
        right: 15px;
        left: 15px;
    }
    
    .toast {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .geovinci-form-container {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
    
    .submit-btn {
        padding: 0.8rem 1.5rem;
    }
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .navbar-nav.active .nav-item.dropdown .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        background: #0a0a0a;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    }
    
    .navbar-nav.active .nav-item.dropdown.mobile-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        max-height: 500px;
    }
    
    .dropdown-menu li {
        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .nav-item.dropdown.mobile-open .dropdown-menu li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }
    .nav-item.dropdown.mobile-open .dropdown-menu li:nth-child(5) { transition-delay: 0.25s; }
    
    .dropdown-menu a {
        padding: 0.75rem 3rem;
        font-size: 0.85rem;
        border-left: 3px solid transparent;
    }
    
    .dropdown-menu a:hover {
        background: rgba(100, 255, 218, 0.1);
        color: #64ffda;
        /* border-left-color: #64ffda; */
    }
    
    /* Submenu styles for mobile */
    .dropdown-menu-sub {
        position: static !important;
        left: auto !important;
        top: auto !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        background: rgba(15, 15, 15, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        margin-top: 0.5rem;
        margin-left: 1rem;
        padding: 0;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    }
    
    .dropdown-submenu.submenu-open .dropdown-menu-sub {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        max-height: 300px !important;
    }
    
    .dropdown-menu-sub li {
        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .dropdown-submenu.submenu-open .dropdown-menu-sub li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .dropdown-submenu.submenu-open .dropdown-menu-sub li:nth-child(1) { transition-delay: 0.05s; }
    .dropdown-submenu.submenu-open .dropdown-menu-sub li:nth-child(2) { transition-delay: 0.1s; }
    .dropdown-submenu.submenu-open .dropdown-menu-sub li:nth-child(3) { transition-delay: 0.15s; }
    
    .dropdown-menu-sub a {
        padding: 0.75rem 3rem;
        font-size: 0.8rem;
    }
    
    /* Add arrow indicator for dropdown items */
    /* .nav-item.dropdown .nav-link::after {
        content: '▼';
        float: right;
        transition: transform 0.3s ease;
        font-size: 0.8rem;
        color: #64ffda;
    }
    
    .nav-item.dropdown.mobile-open .nav-link::after {
        transform: rotate(180deg);
    } */
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid #334155;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left p {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-right {
    display: flex;
    align-items: center;
}

.developer-logo {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.developer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.developer-logo:hover::before {
    opacity: 1;
}

.developer-logo img {
    width: 100px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.developer-logo:hover img {
    transform: scale(1.05);
}

.developer-logo:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0;
        margin-top: 60px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-left p {
        font-size: 13px;
    }
    
    .developer-logo img {
        width: 80px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 0;
        margin-top: 40px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-left p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .developer-logo img {
        width: 70px;
        height: 14px;
    }
}

/* Footer Animation */
@keyframes footerGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    }
}

.footer {
    animation: footerGlow 4s ease-in-out infinite;
}

/* Quality Management Section Styles */
.quality-content {
    margin-top: 1rem;
}

.read-more-container {
    margin-top: 1.5rem;
    text-align: center;
}

/* Info Card Wrapper for About, Mission, Vision */
.info-card-wrapper {
    background: rgba(10, 25, 47, 0.6);
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.info-card-wrapper:hover {
    background: rgba(10, 25, 47, 0.7);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 32px rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.info-card-wrapper p {
    margin: 0;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .info-card-wrapper {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.read-more-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(45deg, #64ffda, #00d4ff);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.read-more-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.4);
    background: linear-gradient(45deg, #00d4ff, #64ffda);
}

.read-more-link:active {
    transform: translateY(0);
}
