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

html {
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
}

header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

.logo {
    width: 160px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0088cc;
}

.hero, .hero-section, .hero-slider {
    margin-top: 115px;
}

.hero-slider {
    position: relative;
    height: calc(100vh - 115px);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 0s 1s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out, visibility 0s 0s;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero {
    height: calc(100vh - 115px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: white;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-content p,
.hero-content .hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-content .btnbluemain {
    opacity: 0;
    animation: fadeInOnly 1s ease 1s forwards;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInOnly {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btnbluemain, .btnblue {
    padding: 12px 30px;
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btnbluemain:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.hero-content .btnbluemain:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btnblue:hover {
    transform: none;
    filter: brightness(1.1);
}

.pill-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 40px 20px;
    background: white;
}

.category-pill,
.filter-btn,
.tab-button {
    padding: 12px 28px;
    border-radius: 25px;
    border: 2px solid #1498D5;
    background: white;
    color: #1498D5;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.category-pill::before,
.filter-btn::before,
.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-pill:hover::before,
.filter-btn:hover::before,
.tab-button:hover::before {
    opacity: 1;
}

.category-pill:hover,
.filter-btn:hover,
.tab-button:hover {
    border-color: #1498D5;
    color: white;
}

.category-pill span,
.filter-btn span,
.tab-button span {
    position: relative;
    z-index: 1;
}

.category-pill.active,
.filter-btn.active,
.tab-button.active {
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    color: white;
    border: 2px solid #1498D5;
}

.intro-section {
    background-color: #f8f9fa;
    text-align: center;
    padding: 80px 20px;
}

.intro-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 300;
}

.intro-section p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.projects {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    will-change: opacity;
}

.projects.animate {
    animation: fadeIn 0.8s ease forwards;
}

.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #333;
    opacity: 0;
}

.section-title.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    height: 300px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.project-card.animate {
    animation: fadeInScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.25s; }
.project-card:nth-child(3) { animation-delay: 0.4s; }
.project-card:nth-child(4) { animation-delay: 0.55s; }

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

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
}

.project-card .project-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 152, 213, 0.97) 0%, rgba(3, 84, 162, 0.97) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    transform: translateZ(0);
}

.project-card:hover .project-content {
    opacity: 1;
}

.project-card .project-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
    transform: translateY(20px) translateZ(0);
    transition: transform 0.25s ease 0.05s;
}

.project-card:hover .project-content h3 {
    transform: translateY(0) translateZ(0);
}

.project-card .project-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-size: 14px;
    transform: translateY(20px) translateZ(0);
    transition: transform 0.25s ease 0.08s;
}

.project-card:hover .project-content p {
    transform: translateY(0) translateZ(0);
}

.news {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.news-banner {
    height: 300px;
    background: linear-gradient(135deg, #1a0a4e 0%, #4a2c7c 50%, #0088cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.news-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.news-banner.animate {
    animation: fadeInScale 1s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.news-banner h2 {
    font-size: 56px;
    color: white;
    z-index: 2;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.news-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    padding-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.news-grid {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2%;
    will-change: transform;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    flex: 0 0 32%;
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
}

.news-card.animate {
    animation: fadeInUpBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeInUpBounce {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.news-card.animate:nth-child(1) {
    animation-delay: 0.2s;
}
.news-card.animate:nth-child(2) {
    animation-delay: 0.35s;
}
.news-card.animate:nth-child(3) {
    animation-delay: 0.5s;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 152, 213, 0.05) 0%, rgba(3, 84, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

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

.news-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #0354A2;
    transform: translateY(-4px);
}

.news-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    position: relative;
    overflow: hidden;
    transition: filter 0.3s ease;
}

.news-card:hover .news-image {
    filter: brightness(1.1);
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.news-content {
    padding: 24px;
    background: white;
    position: relative;
    z-index: 1;
}

.news-content h3 {
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-content h3 {
    color: #0354A2;
}

.news-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-date {
    text-align: right;
    font-size: 12px;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.news-navigation {
    text-align: center;
    margin-top: 50px;
}

.news-navigation p {
    margin-bottom: 20px;
    font-size: 15px;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot:hover {
    background: #999;
}

.dot.active {
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    transform: scale(1.1);
}

.contact {
    padding: 80px 0;
    background: #d5d5d5;
}

.contact h2 {
    font-size: 48px;
    margin-bottom: 60px;
    text-align: center;
    opacity: 0;
}

.contact h2.animate {
    animation: fadeInUp 0.8s ease forwards;
}

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

.contact-card {
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    color: white;
    padding: 60px;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
}

.contact-card.animate {
    animation: slideInLeft 0.8s ease forwards;
}

.contact-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-card p {
    text-align: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    opacity: 0;
}

.contact-form-wrapper.animate {
    animation: slideInRight 0.8s ease forwards;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

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

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #333;
    background: transparent;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #333;
}

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

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

.btnblue {
    align-self: flex-end;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

footer {
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: white;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

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

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-info i {
    width: 20px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    footer {
        padding: 40px 0 0;
    }

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

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
