/* ==========================================
   FS Teknik Yapı Teknolojileri - Stylesheet
   ========================================== */

/* ---------- Loading Screen ---------- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--primary, #0D3140);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    animation: loaderPulse 1.2s ease-in-out infinite alternate;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes loaderPulse {
    from { transform: scale(0.95); opacity: 0.7; }
    to   { transform: scale(1.05); opacity: 1; }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1F8DA6, #30DFF2);
    border-radius: 3px;
    animation: loaderFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderFill {
    0%   { width: 0%; }
    60%  { width: 80%; }
    100% { width: 100%; }
}

.loader-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot,
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #30DFF2;
    top: 0; left: 0;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(48, 223, 242, 0.5);
    top: 0; left: 0;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.hovered {
    width: 56px;
    height: 56px;
    border-color: rgba(48, 223, 242, 0.8);
    background: rgba(48, 223, 242, 0.06);
}

body:not(.has-cursor) .cursor-dot,
body:not(.has-cursor) .cursor-ring {
    opacity: 0;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #1F8DA6, #30DFF2, #D99152);
    z-index: 1001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(48, 223, 242, 0.5);
}

/* ---------- Hero Canvas ---------- */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* ---------- Typed Cursor ---------- */
.typed-cursor {
    display: inline-block;
    color: #30DFF2;
    font-weight: 300;
    animation: blink 0.8s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ---------- Card Tilt (3D) ---------- */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card .tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tilt-card:hover .tilt-shine {
    opacity: 1;
}

/* ---------- Ripple Effect ---------- */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn .ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

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

/* ---------- Magnetic Button Hover ---------- */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, border-color 0.3s ease;
}

/* ---------- About floating card animation ---------- */
.about-floating-card {
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* ---------- Service card hover glow ---------- */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(31,141,166,0.0), rgba(48,223,242,0.0));
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::before {
    background: linear-gradient(135deg, rgba(31,141,166,0.04), rgba(48,223,242,0.04));
}

.service-card > * {
    position: relative;
    z-index: 1;
}

/* ---------- Why card hover glow border ---------- */
.why-card {
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1F8DA6, #30DFF2);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}

.why-card:hover::after {
    transform: scaleX(1);
}

/* ---------- Scroll reveal variants ---------- */
.reveal {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.from-up    { transform: translateY(-30px); }
.reveal.from-down  { transform: translateY(40px); }
.reveal.scale-in   { transform: scale(0.88); }

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Glitch title effect (subtle) ---------- */
.hero h1:hover .hero-highlight {
    animation: glitch 0.4s ease;
}

@keyframes glitch {
    0%   { text-shadow: none; }
    20%  { text-shadow: 2px 0 #BF4E24, -2px 0 #30DFF2; }
    40%  { text-shadow: -2px 0 #BF4E24, 2px 0 #30DFF2; }
    60%  { text-shadow: 2px 0 #30DFF2; }
    80%  { text-shadow: none; }
    100% { text-shadow: none; }
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary, #0D3140);
    color: #30DFF2;
    border: 1px solid rgba(48,223,242,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #30DFF2;
    color: var(--primary, #0D3140);
    box-shadow: 0 0 20px rgba(48,223,242,0.4);
}

/* ---------- Variables ---------- */
:root {
    --primary: #0D3140;
    --secondary: #1F8DA6;
    --accent: #30DFF2;
    --warm: #D99152;
    --danger: #BF4E24;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 141, 166, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 49, 64, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

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

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

.logo-fs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.logo-fs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.logo-text small {
    font-weight: 500;
    opacity: 0.7;
    font-size: 11px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    background: var(--secondary) !important;
    color: var(--white) !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    color: var(--primary) !important;
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 141, 166, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 141, 166, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(48, 223, 242, 0.12) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 12px;
    background: rgba(48, 223, 242, 0.1);
    border: 1px solid rgba(48, 223, 242, 0.2);
    border-radius: 50px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    font-size: 14px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.2s; }
.hero-line:nth-child(3) { animation-delay: 0.3s; }

.hero-highlight {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

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

/* ---------- Section Common ---------- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-tag span {
    width: 30px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2,
.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header h2 em,
.about-content h2 em {
    font-style: normal;
    color: var(--secondary);
}

.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, var(--secondary) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.3;
    border-radius: var(--radius-lg);
}

.about-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.about-floating-card i {
    font-size: 24px;
    color: var(--secondary);
}

.about-floating-card strong {
    display: block;
    font-size: 14px;
    color: var(--primary);
}

.about-floating-card span {
    font-size: 12px;
    color: var(--gray-500);
}

.about-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 141, 166, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    font-size: 18px;
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    font-size: 15px;
    color: var(--primary);
}

.about-feature span {
    font-size: 13px;
    color: var(--gray-500);
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card.featured {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card.featured * {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(48, 223, 242, 0.15);
    color: var(--accent);
}

.service-card.featured .service-features li {
    color: rgba(255,255,255,0.7);
}

.service-card.featured .service-features i {
    color: var(--accent);
}

.service-card.featured .service-number {
    color: rgba(255,255,255,0.1);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 14px;
    background: var(--warm);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 141, 166, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-md);
    font-size: 24px;
    margin-bottom: 20px;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--gray-100);
    position: absolute;
    top: 20px;
    right: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-600);
}

.service-features i {
    font-size: 12px;
    color: var(--secondary);
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-card:hover {
    background: var(--gray-50);
    border-color: var(--gray-200);
    transform: translateY(-4px);
}

.why-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(31, 141, 166, 0.1), rgba(48, 223, 242, 0.1));
    color: var(--secondary);
    border-radius: var(--radius-md);
    font-size: 24px;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Projects ---------- */
.projects {
    padding: 100px 0;
    background: var(--gray-50);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

.project-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover > img {
    transform: scale(1.05);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.project-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.project-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.25);
    gap: 12px;
}

.project-placeholder-content i {
    font-size: 40px;
}

.project-placeholder-content span {
    font-size: 14px;
    font-weight: 500;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(13, 49, 64, 0.9), transparent);
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(48, 223, 242, 0.2);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 8px;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

/* ---------- CTA ---------- */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #143d4f 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(48, 223, 242, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48, 223, 242, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--gray-100);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 141, 166, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-card strong {
    display: block;
    font-size: 14px;
    color: var(--primary);
}

.contact-card span {
    font-size: 13px;
    color: var(--gray-500);
}

.contact-card a {
    font-size: 14px;
    color: var(--secondary);
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    font-size: 18px;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(31, 141, 166, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--primary);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-top: 16px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-contact i {
    font-size: 14px;
    color: var(--secondary);
    width: 16px;
}

.footer-contact a {
    color: rgba(255,255,255,0.5);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

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

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 24px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 30px rgba(0,0,0,0.3);
    }

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

    .nav-links a {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        max-width: 400px;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-badge {
        font-size: 12px;
    }
}
