:root {
    --primary: #4B7C85;
    --accent: #F5C542;
    --secondary: #D8A731;
    --text-dark: #FFFFFF;
    --light: #f8f9fa;
    --dark: #2d3748;
    --gray: #718096;
}

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

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

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

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 2px var(--accent), 0 0 15px rgba(245, 197, 66, 0.4);
    animation: logoColorChange 8s infinite alternate;
    background: white;
    padding: 3px;
}

@keyframes logoColorChange {
    0% {
        box-shadow: 0 0 0 2px var(--accent), 0 0 15px rgba(245, 197, 66, 0.4);
        transform: rotate(0deg);
    }
    25% {
        box-shadow: 0 0 0 2px var(--primary), 0 0 15px rgba(75, 124, 133, 0.4);
        transform: rotate(3deg);
    }
    50% {
        box-shadow: 0 0 0 2px var(--secondary), 0 0 15px rgba(216, 167, 49, 0.4);
        transform: rotate(-3deg);
    }
    75% {
        box-shadow: 0 0 0 2px #4B7C85, 0 0 15px rgba(75, 124, 133, 0.4);
        transform: rotate(2deg);
    }
    100% {
        box-shadow: 0 0 0 2px var(--accent), 0 0 15px rgba(245, 197, 66, 0.4);
        transform: rotate(0deg);
    }
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

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

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--accent);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
    font-size: 15px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    margin-left: auto;
}

/* Hero Section - PREMIUM DESIGN Z LOGO */
.hero {
    background: url('https://sup.aizein.com/storage/v1/object/public/screenshots//werk10.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-dark);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Lekka nakładka dla lepszej czytelności tekstu - PREMIUM VERSION */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, 
            rgba(0, 0, 0, 0.2) 0%, 
            rgba(47, 52, 48, 0.6) 40%, 
            rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(135deg, 
            rgba(58, 97, 104, 0.7) 0%, 
            rgba(46, 125, 50, 0.4) 20%,
            rgba(245, 197, 66, 0.1) 40%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(245, 197, 66, 0.1) 60%,
            rgba(46, 125, 50, 0.4) 80%, 
            rgba(58, 97, 104, 0.8) 100%);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* Dodatkowa nakładka dla jeszcze lepszej czytelności */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.1) 30%,
            rgba(0, 0, 0, 0.1) 70%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-logo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://sup.aizein.com/storage/v1/object/public/screenshots//logorafs.jpeg') center/contain no-repeat;
    opacity: 0.08;
    z-index: 1;
    transform: translateZ(-10px) scale(2);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out;
    animation: logoBackgroundFloat 25s ease-in-out infinite;
}

@keyframes logoBackgroundFloat {
    0%, 100% {
        opacity: 0.08;
        transform: translateZ(-10px) scale(2) rotate(0deg);
    }
    50% {
        opacity: 0.12;
        transform: translateZ(-10px) scale(2.1) rotate(1deg);
    }
}

.hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f5c542' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 1;
    animation: patternShift 30s ease-in-out infinite;
}

@keyframes patternShift {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(0) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(10px) translateY(-5px);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 8px 16px rgba(0, 0, 0, 0.4);
}

/* PREMIUM LOGO W HERO */
.hero-logo {
    margin-bottom: 40px;
    position: relative;
    z-index: 4;
    display: inline-block;
    opacity: 0;
    animation: logoFadeIn 1.5s ease 0.2s forwards;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8)) 
            drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
}

.hero-logo-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(245, 197, 66, 0.8);
    box-shadow: 
        0 0 30px rgba(245, 197, 66, 0.4),
        0 0 60px rgba(75, 124, 133, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    animation: logoGlow 4s ease-in-out infinite;
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(245, 197, 66, 0.3) 0%, 
        rgba(75, 124, 133, 0.2) 50%, 
        rgba(216, 167, 49, 0.3) 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: logoHalo 6s ease-in-out infinite;
    filter: blur(15px);
}

.hero-logo::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%, 
        rgba(245, 197, 66, 0.1) 100%);
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(245, 197, 66, 0.4),
            0 0 60px rgba(75, 124, 133, 0.3),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(245, 197, 66, 0.6),
            0 0 80px rgba(75, 124, 133, 0.4),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
        transform: scale(1.05);
    }
}

@keyframes logoHalo {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(180deg);
    }
}

.hero-logo:hover .hero-logo-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 50px rgba(245, 197, 66, 0.7),
        0 0 100px rgba(75, 124, 133, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(245, 197, 66, 1);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.3),
        0 0 20px rgba(245, 197, 66, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards, subtleColorShift 24s ease-in-out infinite;
    background: linear-gradient(45deg, 
        #ffffff 10%, 
        #F5C542 25%,
        #147193 50%,
        #D8A731 75%,
        #ffffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Subtelna i profesjonalna animacja kolorów tylko na literach */
@keyframes subtleColorShift {
    0% {
        background-position: 0% 50%;
    }
    20% {
        background-position: 25% 50%;
    }
    40% {
        background-position: 50% 50%;
    }
    60% {
        background-position: 75% 50%;
    }
    80% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    color: rgba(255, 255, 255, 0.95);
}

/* PREMIUM FLOATING ELEMENTS */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: premiumFloat 20s infinite ease-in-out;
    backdrop-filter: blur(5px);
    box-shadow: 
        0 0 20px rgba(245, 197, 66, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(245, 197, 66, 0.4) 0%, 
        rgba(75, 124, 133, 0.3) 50%, 
        rgba(216, 167, 49, 0.4) 100%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(8px);
    animation: haloRotate 15s linear infinite;
}

.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    background: radial-gradient(circle, 
        rgba(245, 197, 66, 0.4) 0%, 
        rgba(245, 197, 66, 0.1) 70%, 
        transparent 100%);
}

.floating-element:nth-child(2) {
    width: 140px;
    height: 140px;
    top: 65%;
    left: 85%;
    animation-delay: 3s;
    background: radial-gradient(circle, 
        rgba(75, 124, 133, 0.3) 0%, 
        rgba(75, 124, 133, 0.1) 70%, 
        transparent 100%);
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 75%;
    left: 15%;
    animation-delay: 6s;
    background: radial-gradient(circle, 
        rgba(216, 167, 49, 0.35) 0%, 
        rgba(216, 167, 49, 0.1) 70%, 
        transparent 100%);
}

.floating-element:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 25%;
    left: 75%;
    animation-delay: 9s;
    background: radial-gradient(circle, 
        rgba(75, 124, 133, 0.25) 0%, 
        rgba(245, 197, 66, 0.1) 70%, 
        transparent 100%);
}

/* Dodatkowe floating particles */
.floating-element:nth-child(5) {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 5%;
    animation-delay: 12s;
    background: radial-gradient(circle, 
        rgba(245, 197, 66, 0.3) 0%, 
        rgba(245, 197, 66, 0.05) 70%, 
        transparent 100%);
}

.floating-element:nth-child(6) {
    width: 90px;
    height: 90px;
    top: 10%;
    left: 90%;
    animation-delay: 15s;
    background: radial-gradient(circle, 
        rgba(216, 167, 49, 0.25) 0%, 
        rgba(216, 167, 49, 0.05) 70%, 
        transparent 100%);
}

@keyframes premiumFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-40px) translateX(20px) rotate(90deg) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) translateX(-15px) rotate(180deg) scale(0.9);
        opacity: 1;
    }
    75% {
        transform: translateY(-60px) translateX(10px) rotate(270deg) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes haloRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.5;
    }
}

/* PRZYCISK HERO - OSTRY TEKST BEZ ROZMYCIA */
.btn {
    display: inline-block;
    background: rgba(245, 197, 66, 0.95);
    color: var(--dark);
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(245, 197, 66, 0.8);
    box-shadow: 0 4px 15px rgba(245, 197, 66, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 10;
    /* Zapewnienie ostrego tekstu */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.btn:hover {
    background: rgba(245, 197, 66, 1);
    border-color: rgba(245, 197, 66, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 197, 66, 0.5);
}

.btn:hover:before {
    left: 100%;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.services:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234b7c85' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.7rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover:before {
    transform: scaleX(1);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary), #3a6168);
    color: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.4rem;
}

/* About Section - PREMIUM DESIGN */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(75, 124, 133, 0.05) 0%, 
        rgba(245, 197, 66, 0.03) 50%, 
        rgba(216, 167, 49, 0.05) 100%);
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease-in-out infinite;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 124, 133, 0.15) 0%, rgba(75, 124, 133, 0) 70%);
    animation: floatingGlow 8s ease-in-out infinite alternate;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(245, 197, 66, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(75, 124, 133, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(216, 167, 49, 0.2) 0%, transparent 50%);
    opacity: 0.6;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
}

@keyframes floatingGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    50% { transform: translate(-20px, -30px) scale(1.1); opacity: 0.25; }
    100% { transform: translate(20px, 30px) scale(0.9); opacity: 0.15; }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text h2 {
    font-size: 2.7rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    text-shadow: 0 4px 15px rgba(75, 124, 133, 0.3);
    background: linear-gradient(135deg, var(--primary), rgba(75, 124, 133, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    bottom: -10px;
    left: 0;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(245, 197, 66, 0.4);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.feature-item:nth-child(1) { transition-delay: 0.2s; }
.feature-item:nth-child(2) { transition-delay: 0.4s; }
.feature-item:nth-child(3) { transition-delay: 0.6s; }

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--dark);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(245, 197, 66, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover .feature-icon::before {
    left: 100%;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(245, 197, 66, 0.5);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(245, 197, 66, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    opacity: 0;
    transform: perspective(1000px) rotateY(-5deg) translateX(50px);
}

.about-image.animate {
    opacity: 1;
    transform: perspective(1000px) rotateY(-5deg) translateX(0);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(245, 197, 66, 0.1) 0%, 
        rgba(75, 124, 133, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(245, 197, 66, 0.4),
        0 0 50px rgba(245, 197, 66, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.05) contrast(1.1);
}

.about-image:hover img {
    transform: scale(1.08);
}

/* Gallery Section - PREMIUM DESIGN */
.gallery {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        #3a6b75 25%, 
        var(--accent) 50%, 
        var(--secondary) 75%, 
        var(--primary) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 124, 133, 0.1);
    backdrop-filter: blur(1px);
}

/* Floating Particles */
.gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(245, 197, 66, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(245, 197, 66, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(216, 167, 49, 0.5), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(245, 197, 66, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(75, 124, 133, 0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
}

@keyframes floatingParticles {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

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

.gallery .section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.gallery .section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.gallery .section-title h2 {
    color: white;
    text-shadow: 0 4px 20px rgba(75, 124, 133, 0.6);
    font-size: 3rem;
    margin-bottom: 20px;
}

.gallery .section-title p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(75, 124, 133, 0.4);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
    background: rgba(75, 124, 133, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 197, 66, 0.3);
    box-shadow: 
        0 8px 32px rgba(75, 124, 133, 0.2),
        0 0 0 1px rgba(245, 197, 66, 0.1);
}

.gallery-item:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(75, 124, 133, 0.3),
        0 0 0 1px rgba(245, 197, 66, 0.2),
        inset 0 1px 0 rgba(245, 197, 66, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(245, 197, 66, 0.15) 0%, 
        transparent 50%, 
        rgba(75, 124, 133, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(0.9) contrast(1.1);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.2) saturate(1.3);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(75, 124, 133, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(245, 197, 66, 0.4);
    color: white;
    padding: 25px;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 2;
}

.gallery-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(245, 197, 66, 0.25) 0%, 
        rgba(75, 124, 133, 0.15) 100%);
    border-radius: inherit;
    z-index: -1;
}

.gallery-overlay h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(75, 124, 133, 0.5);
    letter-spacing: 0.5px;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    background: rgba(75, 124, 133, 0.3);
    backdrop-filter: blur(25px) saturate(200%);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.contact:before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 66, 0.1) 0%, rgba(245, 197, 66, 0) 70%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.8rem;
    position: relative;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    bottom: -8px;
    left: 0;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background-color: var(--accent);
    transform: scale(1.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(75, 124, 133, 0.2);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.form-message {
    margin-top: 20px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    font-size: 14px;
    animation: fadeInUp 0.5s ease;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    font-size: 14px;
    animation: fadeInUp 0.5s ease;
}

.contact-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary), #3a6168);
    color: var(--text-dark);
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://sup.aizein.com/storage/v1/object/public/screenshots//logoraf.jpeg') center/contain no-repeat;
    opacity: 0.05;
    filter: blur(1px);
    transform: scale(1.2);
    animation: footerLogoFloat 20s ease-in-out infinite;
    z-index: 1;
}

footer > * {
    position: relative;
    z-index: 2;
}

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

.footer-column h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    bottom: -8px;
    left: 0;
}

.footer-column p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-column ul li a i {
    margin-right: 10px;
    width: 20px;
}

.footer-column ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.powered-by {
    font-size: 12px !important;
    margin-top: 10px;
}

.aizein-link {
    color: var(--primary) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aizein-link:hover {
    color: var(--accent) !important;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes footerLogoFloat {
    0% {
        transform: scale(1.2) translateY(0px) rotate(0deg);
        opacity: 0.05;
    }
    25% {
        transform: scale(1.25) translateY(-10px) rotate(1deg);
        opacity: 0.08;
    }
    50% {
        transform: scale(1.3) translateY(-5px) rotate(0deg);
        opacity: 0.06;
    }
    75% {
        transform: scale(1.25) translateY(-15px) rotate(-1deg);
        opacity: 0.07;
    }
    100% {
        transform: scale(1.2) translateY(0px) rotate(0deg);
        opacity: 0.05;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header {
        height: 60px;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 15px 0;
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        color: var(--accent);
    }
    
    .mobile-menu {
        display: flex;
        margin-left: auto;
        margin-right: 10px;
    }
    
    .hero {
        padding: 150px 0 80px;
        background-attachment: scroll, scroll;
    }
    
    .hero-logo-background {
        opacity: 0.1;
        transform: none;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 18px;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    nav ul {
        display: flex !important;
    }
}