/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    animation: preloaderFadeIn 0.8s ease-out;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin: 0 auto 20px;
    animation: logoScale 2s ease-in-out infinite alternate;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.preloader-text {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-top: 20px;
    opacity: 0;
    animation: textReveal 0.8s ease-out 0.3s forwards;
}

.preloader-text .letter {
    display: inline-block;
    opacity: 0;
    animation: letterSlide 0.4s ease-out forwards;
}

.preloader-text .letter:nth-child(1) { animation-delay: 0.3s; }
.preloader-text .letter:nth-child(2) { animation-delay: 0.35s; }
.preloader-text .letter:nth-child(3) { animation-delay: 0.4s; }
.preloader-text .letter:nth-child(4) { animation-delay: 0.45s; }
.preloader-text .letter:nth-child(5) { animation-delay: 0.5s; }
.preloader-text .letter:nth-child(6) { animation-delay: 0.55s; }
.preloader-text .letter:nth-child(7) { animation-delay: 0.6s; }
.preloader-text .letter:nth-child(8) { animation-delay: 0.65s; }
.preloader-text .letter:nth-child(9) { animation-delay: 0.7s; }
.preloader-text .letter:nth-child(10) { animation-delay: 0.75s; }
.preloader-text .letter:nth-child(11) { animation-delay: 0.8s; }
.preloader-text .letter:nth-child(12) { animation-delay: 0.85s; }

@keyframes preloaderFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoScale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes letterSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide page content during loading */
body.preloader-active {
    overflow: hidden;
}

body.preloader-active .header,
body.preloader-active main,
body.preloader-active .hero,
body.preloader-active .services,
body.preloader-active .about,
body.preloader-active .projects,
body.preloader-active .references,
body.preloader-active .blog,
body.preloader-active .comments,
body.preloader-active .contact,
body.preloader-active .footer {
    visibility: hidden;
}

/* Preloader Mobile Responsive */
@media (max-width: 768px) {
    .preloader-logo {
        width: 80px;
        height: 80px;
    }
    
    .preloader-text {
        font-size: 1.5rem;
    }
    
    .preloader-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        width: 60px;
        height: 60px;
    }
    
    .preloader-text {
        font-size: 1.2rem;
    }
    
    .preloader-text .letter {
        margin: 0 1px;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Hide blog and references on desktop */
@media (min-width: 769px) {
    .nav-list li:nth-child(5), /* Referanslar */
    .nav-list li:nth-child(8) { /* Blog */
        display: none;
    }
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Simple Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    padding-top: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-simple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(37, 99, 235, 0.4));
}

.hero-content-simple {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 2rem 0;
}

.hero-text-center {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-simple {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title-simple {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-description-simple {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions-simple {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-simple {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary-simple {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
}

.btn-primary-simple:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary-simple {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary-simple:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-slider-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 1.8rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: 100%;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e40af, #3b82f6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    color: white;
    font-size: 2.2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.25);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.35);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-align: center;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: justify;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: white;
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    display: none;
}

.project-overlay h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* References Section */
.references {
    padding: 100px 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

.references .section-title {
    color: white;
}

.references .section-subtitle {
    color: #d1d5db;
}

.references-slider {
    overflow: hidden;
    position: relative;
}

.reference-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 3rem;
}

.reference-item {
    flex: 0 0 200px;
    height: 120px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Mobile optimizations for references */
@media (max-width: 768px) {
    .reference-track {
        animation: scroll 15s linear infinite; /* Hızlandırıldı */
        gap: 1.5rem;
    }
    
    .reference-item {
        flex: 0 0 140px; /* Küçültüldü */
        height: 80px; /* Düşürüldü */
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .reference-track {
        animation: scroll 12s linear infinite; /* Daha da hızlandırıldı */
        gap: 1rem;
    }
    
    .reference-item {
        flex: 0 0 120px; /* Daha da küçültüldü */
        height: 70px; /* Daha da düşürüldü */
        padding: 0.3rem;
        border-radius: 10px;
    }
}

.reference-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.reference-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: #f8fafc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-image a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.blog-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

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

.blog-date {
    color: #9ca3af;
    font-size: 0.875rem;
}

.blog-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #1d4ed8;
}

/* Comments Section */
.comments {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
}

.comments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.comments .container {
    position: relative;
    z-index: 2;
}

.comments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.comment-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 30px;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    overflow: hidden;
}

.comment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-card:hover::before {
    opacity: 1;
}

.comment-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.comment-card:hover .quote-icon {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 35px rgba(102, 126, 234, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.15);
}

.comment-text {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    margin: 2.5rem 0 1.5rem 0;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.comment-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 2rem;
    color: #3b82f6;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.comment-text::after {
    content: '"';
    position: absolute;
    bottom: -15px;
    right: -5px;
    font-size: 2rem;
    color: #3b82f6;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.comment-author {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(59, 130, 246, 0.1);
    position: relative;
    letter-spacing: 0.5px;
}

.comment-author::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: #d1d5db;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
    color: inherit !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

.contact-details a:hover,
.contact-details a:active,
.contact-details a:focus,
.contact-details a:visited {
    color: inherit !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

.contact-map {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    height: 400px;
    overflow: hidden;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.footer-logo img {
    height: 40px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile Bottom Buttons */
.mobile-bottom-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 1000;
}

.mobile-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.call-btn {
    background: #2563eb;
}

.whatsapp-btn {
    background: #25d366;
}

.mobile-btn i {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.mobile-btn span {
    font-size: 0.875rem;
}

.mobile-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .comments-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }

    .service-card {
        padding: 1.6rem 1.3rem;
        min-height: 150px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin: 0;
        line-height: 1.25;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
    
    .comments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .comment-card {
        padding: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 90px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding: 2rem;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-title-simple {
        font-size: 2.5rem;
    }

    .hero-description-simple {
        font-size: 1.1rem;
    }

    .hero-actions-simple {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-slider-nav {
        bottom: 15px;
    }

    .btn-simple {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .service-card {
        padding: 1.5rem 1.2rem;
        min-height: 140px;
    }

    .service-icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.05rem;
        margin: 0;
        line-height: 1.2;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .references {
        padding: 60px 0;
    }
    
    .project-gallery,
    .comments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comment-card {
        padding: 1.8rem;
        margin-top: 1.5rem;
    }

    .quote-icon {
        top: -18px;
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .comment-text {
        font-size: 0.9rem;
        margin: 2rem 0 1.2rem 0;
    }

    .comment-author {
        font-size: 0.85rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-map {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .whatsapp-button {
        display: none;
    }

    .mobile-bottom-buttons {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .project-tabs {
        flex-direction: column;
        align-items: center;
    }

    .hero-indicators {
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 80px;
    }
    
    .hero-title-simple {
        font-size: 2rem;
    }

    .hero-badge-simple {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-description-simple {
        font-size: 1rem;
    }

    .hero-slider-nav {
        bottom: 10px;
    }

    .btn-simple {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .slider-dots {
        gap: 0.75rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .references {
        padding: 50px 0;
    }

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

    .comments-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        min-height: 130px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin: 0;
        line-height: 1.15;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }

    .blog-card,
    .comment-card {
        padding: 1.5rem;
    }

    .comment-card {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .quote-icon {
        top: -15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-width: 2px;
    }

    .comment-text {
        font-size: 0.9rem;
        margin: 2rem 0 1rem 0;
    }

    .comment-author {
        font-size: 0.8rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .contact-map {
        padding: 1.5rem;
    }
}

/* Blog Detail Styles */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: 80px;
}

.breadcrumb-nav {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-nav a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #764ba2;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #adb5bd;
}

.breadcrumb-current {
    color: #343a40;
    font-weight: 500;
}

.blog-detail {
    padding: 60px 0;
    background-color: #fff;
}

.blog-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.blog-content {
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.blog-header {
    margin-bottom: 40px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.blog-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.blog-date {
    color: #6c757d;
}

.blog-read-time {
    color: #6c757d;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 30px;
}

.blog-featured-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-lead {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #667eea;
}

.blog-content-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 40px 0 20px 0;
}

.blog-content-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 30px 0 15px 0;
}

.blog-content-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 25px 0 10px 0;
}

.blog-content-text ul, .blog-content-text ol {
    margin: 20px 0;
    padding-left: 25px;
}

.blog-content-text li {
    margin-bottom: 8px;
}

.blog-content-text li strong {
    color: #667eea;
}

.blog-quote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #667eea;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: #495057;
    border-radius: 10px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.feature-item h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 16px;
}

.feature-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.social-share {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin: 40px 0;
}

.social-share h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #1a1a1a;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h3 {
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 18px;
}

.author-details p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.blog-sidebar {
    background: white;
}

.sidebar-widget {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 600;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.related-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-image {
    flex-shrink: 0;
}

.related-image img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-content h4 {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.related-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #667eea;
}

.related-content time {
    font-size: 12px;
    color: #6c757d;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #495057;
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #667eea;
}

.category-list span {
    background: #dee2e6;
    color: #6c757d;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #667eea;
    color: white;
}

.comments-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.comments-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #1a1a1a;
}

.comment-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.comment-form h3 {
    margin-bottom: 25px;
    color: #1a1a1a;
    font-size: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Blog Detail Responsive */
@media (max-width: 1024px) {
    .blog-detail-grid {
        max-width: 100%;
        gap: 40px;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-detail {
        padding: 40px 0;
    }
    
    .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-featured-image img {
        height: 250px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 15px 0;
    }
    
    .breadcrumb-nav {
        font-size: 12px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blog-title {
        font-size: 1.5rem;
    }
    
    .blog-content-text {
        font-size: 15px;
    }
}

/* Laws and Regulations Page Styles */
.laws-regulations {
    padding: 0px 0 80px;
    background: #f8fafc;
}

.laws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.law-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.law-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.law-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.law-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.law-content {
    padding: 25px;
}

.law-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.3;
}

.law-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.law-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border: 2px solid #2563eb;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.05);
}

.law-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.law-link i {
    font-size: 0.8rem;
}

/* Responsive Design for Laws Page */
@media (max-width: 1024px) {
    .laws-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .law-content {
        padding: 20px;
    }
    
    .law-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .laws-regulations {
        padding: 100px 0 60px;
    }
    
    .laws-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .law-image {
        height: 180px;
    }
    
    .law-content {
        padding: 20px;
    }
    
    .law-content h3 {
        font-size: 1.2rem;
    }
    
    .law-content p {
        font-size: 0.9rem;
    }
    
    .law-link {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .laws-regulations {
        padding: 90px 0 50px;
    }
    
    .law-image {
        height: 160px;
    }
    
    .law-content {
        padding: 16px;
    }
    
    .law-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .law-content p {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    
    .law-link {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
} 