/* Global Styles */
:root {
    --primary-color: #0a4d8c;
    --secondary-color: #1a75c0;
    --accent-color: #e9f0f7;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #0a3b6c;
    --light-bg: #f5f5f5;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
}

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

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

.highlight {
    color: #ff6600; /* İstediğin renk (örnek: turuncu) */
    font-size: 18px; /* Yazı boyutu */
    font-weight: bold; /* Kalın yazı */
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f7fafd;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.7rem;
    text-align: center;
    text-transform: uppercase;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2.2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

p {
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(10, 77, 140, 0.10);
    border: 2px solid var(--primary-color);
    letter-spacing: 1px;
}

.btn:hover {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: translateY(-2px) scale(1.04);
}

section {
    padding: 6rem 0 5rem 0;
    position: relative;
    margin-bottom: 2rem;
}

/* --- Professional Header Redesign --- */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a4c8b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 0 40px;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-left {
  display: flex;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 60px;
  width: 60px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.divider {
  width: 2px;
  height: 32px;
  background: #fff3;
  margin: 0 16px;
}
.brand-link {
  text-decoration: none;
}
.brand {
  font-size: 2.5rem;
  font-weight: 400;
  font-family: 'Montserrat', 'Segoe UI', 'Arial', sans-serif;
  color: #fff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(10,77,140,0.10);
  opacity: 0.92;
  transition: color 0.2s, opacity 0.2s;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.2s;
}
.header-nav a:not(.cta-btn):hover {
  color: #ffd700;
}
.header-nav a:not(.cta-btn)::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -4px;
}
.header-nav a:not(.cta-btn):hover::after {
  width: 100%;
}
.cta-btn {
  background: #e6b800;
  color: #222;
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: bold;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}
.cta-btn:hover {
  background: #fff;
  color: #0a4c8b;
}
.menu-toggle {
  display: none;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #fff;
  margin-left: 24px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .header-nav {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: var(--primary-color);
    flex-direction: column;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  }

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

  .header-nav a {
    padding: 1rem 0;
    font-size: 1.1rem;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .header-nav a:last-child {
    border-bottom: none;
  }

  .header-nav .cta-btn {
    margin-top: 1rem;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .main-header {
    padding: 0 16px;
    height: 64px;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-left {
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 75%;
  }

  .logo-img {
    height: 40px;
    width: 40px;
    padding: 2px;
  }

  .divider {
    height: 24px;
    margin: 0 8px;
  }

  .brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    padding: 0;
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
  }

  .menu-toggle i {
    font-size: 24px;
  }

  .header-nav {
    top: 64px;
    height: calc(100vh - 64px);
    width: 100%;
    right: -100%;
  }
}
/* --- End Professional Header Redesign --- */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    /* background: linear-gradient(rgba(20, 40, 70, 0.65), rgba(20, 40, 70, 0.65)), url('../images/gripper_2.png'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
    padding-top: 4rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    animation: fadeIn 1.5s ease-out;
}

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

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(20, 30, 40, 0.38);
    padding: 2.2rem 1.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    max-width: 95%;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 6px 24px rgba(0,0,0,0.95), 0 1px 0 #222;
    color: #fff;
    letter-spacing: 2px;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 3px 12px rgba(0,0,0,0.85);
    color: #fff;
    font-weight: 400;
}

.btn {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border: 2px solid #fff;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem 2.2rem;
    border-radius: 30px;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s;
}

.btn:hover {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: translateY(-2px) scale(1.04);
}

/* About Section */
.about {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.about:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(10, 77, 140, 0.05);
    z-index: 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.skills {
    flex: 1;
    min-width: 300px;
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.skills:after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(10, 77, 140, 0.1);
}

.skills h3 {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skills ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    transition: var(--transition);
}

.skills ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.skills ul li:hover {
    transform: translateX(5px);
}

/* Portfolio Section */
.portfolio {
    background-color: #fff;
    position: relative;
}

.portfolio:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(245, 245, 245, 0.5), transparent);
    z-index: 0;
    pointer-events: none;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.filter-btn {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border: none;
    padding: 0.7rem 1.5rem;
    margin: 0 0.5rem 0.5rem 0;
    border-radius: 22px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(10, 77, 140, 0.06);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.2rem;
    margin: 0 auto 3rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.portfolio-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(10,77,140,0.07);
    overflow: hidden;
    transition: box-shadow 0.18s, transform 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e9f0f7;
    position: relative;
}

.portfolio-card:hover {
    box-shadow: 0 8px 32px rgba(10,77,140,0.13);
    transform: translateY(-4px) scale(1.025);
}

.portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    background: #f7fafd;
    transition: filter 0.2s;
    display: block;
}

.portfolio-card figcaption {
    padding: 1.1rem 1rem 1.2rem 1rem;
    font-size: 1.05rem;
    color: #333;
    text-align: center;
    width: 100%;
    background: #fff;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.portfolio-description {
    padding: 1.5rem 1.5rem 1rem;
}

.portfolio-description h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.portfolio-description p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.portfolio-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.services:before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(10, 77, 140, 0.05);
    z-index: 0;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-column {
    flex: 1;
    min-width: 300px;
}

.service-item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(10, 77, 140, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s, transform 0.18s;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #f0f4fa;
    padding: 2.5rem 2rem 2rem 2rem;
}

.service-item:hover {
    box-shadow: 0 12px 36px rgba(10, 77, 140, 0.16), 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-6px) scale(1.025);
}

.service-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-item ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-item ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: filter 0.2s;
}

.service-item:hover img {
    filter: brightness(0.97) saturate(1.1);
}

/* Contact Section - Professional Redesign */
.contact {
    background: #f7fafd;
    padding: 5rem 0 4rem 0;
}
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-info {
    flex: 1 1 340px;
    background: #e9f0f7;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(10,77,140,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
    min-width: 320px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-details {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}
.contact-details p {
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    font-size: 1.08rem;
    color: #1a2a3a;
    font-weight: 500;
    letter-spacing: 0.1px;
}
.contact-details i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 28px;
    text-align: center;
}
.contact-details a {
    color: var(--secondary-color);
    font-weight: 600;
    margin-left: 0.3rem;
    word-break: break-all;
}
.contact-details a:hover {
    color: var(--primary-color);
}
.contact-details p span, .contact-details p a {
    margin-left: 0.3rem;
}
.contact-details p {
    /* Add space after ':' if present */
}
.contact-details p {
    /* Add space after ':' in text nodes */
}
.contact-form {
    flex: 2 1 400px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(10,77,140,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    min-width: 320px;
    max-width: 600px;
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    border: 1.5px solid #d0d8e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1.08rem;
    transition: border 0.2s, box-shadow 0.2s;
    background: #f7fafd;
    color: #222;
    margin-top: 0.5rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(26, 117, 192, 0.10);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form .btn {
    width: 100%;
    padding: 1.1rem 0;
    font-size: 1.15rem;
    border-radius: 30px;
    margin-top: 0.5rem;
    box-shadow: 0 2px 10px rgba(10,77,140,0.08);
}
@media (max-width: 900px) {
    .contact-content {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .contact-info, .contact-form {
        max-width: 100%;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 4rem 0 1rem;
    position: relative;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo-text h2 {
    font-size: 2.3rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-align: left;
}

.footer-logo-text p {
    color: var(--accent-color);
    font-size: 1.15rem;
    margin-bottom: 0;
    text-align: left;
}

.footer-links {
    text-align: left;
}

.footer-links h3 {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.4rem;
    margin-top: 0.5rem;
}

.footer-links ul {
    padding-left: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 400;
}

.footer-links ul li a {
    color: var(--accent-color);
    font-size: 1rem;
    transition: color 0.2s;
    padding-left: 0;
    font-weight: 500;
}

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

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

.footer-bottom p {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Animation Classes */
.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s, transform 0.7s;
}

.portfolio-item, .service-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s, transform 0.7s;
}

.portfolio-item.visible, .service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem;
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.8rem 0;
    }

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

    .about-content, 
    .services-grid, 
    .contact-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

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

    .footer-logo-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-logo-img {
        height: 80px;
    }

    .footer-logo-text h2, .footer-logo-text p {
        text-align: center;
    }

    .footer-links h3:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links ul li a {
        padding-left: 0;
    }

    .footer-links ul li a:before {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    h2 {
        font-size: 2rem;
    }

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

    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* Modern Before-After Image Comparison Styles */
.image-comparison {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 2.5rem auto 2rem auto;
    user-select: none;
}
.image-compare-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
}
.image-compare-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    background: #fff;
    display: block;
    pointer-events: none;
}
.after-image {
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
    object-fit: contain;
    background: #fff;
}
.before-image-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 50%; /* Başlangıçta üst yarı gösterilecek */
    z-index: 2;
    overflow: hidden;
    transition: height 0.15s cubic-bezier(.4,1.4,.6,1);
}
.before-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slider-bar {
    position: absolute;
    left: 0; top: 50%;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    z-index: 3;
    transform: translateY(-50%);
    cursor: ns-resize;
    transition: background 0.2s;
}
.slider-handle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38px;
    height: 38px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    border: 3px solid #fff;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-handle:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    margin: 0 auto;
}
.compare-label {
    position: absolute;
    bottom: 18px;
    padding: 7px 18px;
    background: rgba(40,40,40,0.82);
    color: #fff;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 500;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.compare-label.left {
    left: 18px;
    top: 18px;
    bottom: auto;
}
.compare-label.right {
    right: 18px;
    bottom: 18px;
    top: auto;
}
@media (max-width: 700px) {
    .image-compare-wrapper { height: 220px; }
}
@media (max-width: 480px) {
    .image-compare-wrapper { height: 140px; }
    .compare-label { font-size: 0.92rem; padding: 5px 10px; }
}

/* Image lazy loading */
img[loading="lazy"] {
    filter: none;
    transition: none;
}
img[loading="lazy"].loaded {
    filter: none;
}

/* Dark Mode for Contact Section */
body.dark-mode .contact {
    background-color: #181f2a;
}
body.dark-mode .contact-form,
body.dark-mode .contact-details {
    background-color: #232b3a;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: #232b3a;
    color: #fff;
    border: 1px solid #2d3950;
}
body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
    color: #b0b8c9;
}
body.dark-mode .contact-form button.btn {
    background: #0a4d8c;
    color: #fff;
    border: 2px solid #0a4d8c;
}

/* Portfolio Image Modal Styles */
.image-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 30, 40, 0.85);
    transition: opacity 0.2s;
}
.image-modal .modal-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    background: #fff;
    object-fit: contain;
}
.close-modal {
    position: absolute;
    top: 32px;
    right: 48px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    text-shadow: 0 2px 8px #000;
    transition: color 0.2s;
}
.close-modal:hover {
    color: #ff5252;
}
@media (max-width: 600px) {
    .image-modal .modal-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .close-modal {
        top: 16px;
        right: 20px;
        font-size: 2rem;
    }
}

/* Blog Section Styles */
.blog-list {
    background: #f7fafd;
    padding: 5rem 0 4rem 0;
    min-height: 60vh;
}
.blog-list h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    font-weight: 800;
}
.blog-summary {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(10,77,140,0.07);
    padding: 2.2rem 2rem 1.5rem 2rem;
    margin-bottom: 2.2rem;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid #e9f0f7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.blog-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: left;
}
.blog-summary p {
    color: #444;
    font-size: 1.08rem;
    margin-bottom: 0.2rem;
    line-height: 1.7;
}
.blog-summary a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.18s;
}
.blog-summary a:hover {
    color: var(--primary-color);
}

.blog-post {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(10,77,140,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    max-width: 800px;
    margin: 4rem auto 4rem auto;
}
.blog-post article h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-align: left;
}
.blog-meta {
    color: #888;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
    letter-spacing: 0.2px;
}
.blog-post article h2 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-top: 2.2rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.blog-post article p, .blog-post article ul {
    font-size: 1.08rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}
.blog-post article ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.blog-post article ul li {
    margin-bottom: 0.5rem;
    list-style: disc inside;
}
.blog-post article a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.18s;
}
.blog-post article a:hover {
    color: var(--primary-color);
}
@media (max-width: 900px) {
    .blog-post {
        padding: 2rem 1rem 1.5rem 1rem;
    }
}
@media (max-width: 600px) {
    .blog-list {
        padding: 2.5rem 0 2rem 0;
    }
    .blog-summary {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .blog-post {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
    .blog-post article h1 {
        font-size: 1.3rem;
    }
    .blog-summary h2 {
        font-size: 1.1rem;
    }
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.brand-bar, .brand-black-a, .brand-y, .brand-s {
  margin-left: 0;
  letter-spacing: 1.2px;
}

.form-group.error label {
    color: #f44336;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #f44336;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1);
}
