* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

:root {
    --primary: #1a3a5c;
    --secondary: #2d6a8a;
    --accent: #00b4d8;
    --light: #f0f8ff;
    --dark: #0d1b2a;
    --text: #333;
    --white: #ffffff;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.logo-img {
    height: 50px;
    width: auto;
    background: transparent;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
}

.lang-switch {
    background: var(--accent);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
    margin-left: 1rem;
}

.lang-switch:hover {
    background: var(--secondary);
}

.nav-phones {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-left: 2rem;
    padding: 8px 12px;
    background: rgba(0, 180, 216, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(0, 180, 216, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-phones:hover {
    background: rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.3);
}

.phone-number {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.phone-number:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 180, 216, 0.8);
    transform: translateX(3px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(26, 58, 92, 0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a3a5c" width="1200" height="600"/><path fill="%232d6a8a" d="M0 300L50 283.3C100 266.7 200 233.3 300 233.3C400 233.3 500 266.7 600 283.3C700 300 800 300 900 283.3C1000 266.7 1100 233.3 1150 216.7L1200 200V600H1150C1100 600 1000 600 900 600C800 600 700 600 600 600C500 600 400 600 300 600C200 600 100 600 50 600H0V300Z"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--accent);
    touch-action: manipulation;
}

.cta-button:hover {
    background: transparent;
    color: var(--accent);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    letter-spacing: -0.5px;
}

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

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

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
    font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -1px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text);
}

/* Services */
.services {
    padding: 100px 0;
}

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

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

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.service-list {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
}

/* Projects - Simple mobile-first */
.projects {
    padding: 100px 0;
    background: var(--light);
}

.projects-simple {
    width: 100%;
}

.project-item-simple {
    width: 100%;
    margin-bottom: 2rem;
    display: block;
}

.project-item-simple img {
    width: 100% !important;
    height: 200px !important;
    display: block !important;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    object-fit: cover !important;
}

.project-item-simple h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    padding: 0;
}

.project-item-simple p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* Tablet - 2 columns */
@media (min-width: 601px) and (max-width: 900px) {
    .projects-simple {
        font-size: 0;
    }
    
    .project-item-simple {
        display: inline-block;
        width: 50%;
        padding: 0 1rem;
        vertical-align: top;
        font-size: 16px;
    }
    
    .project-item-simple img {
        height: 180px !important;
    }
}

/* Desktop - 3 columns */
@media (min-width: 901px) {
    .projects-simple {
        font-size: 0;
    }
    
    .project-item-simple {
        display: inline-block;
        width: 33.333%;
        padding: 0 1rem;
        vertical-align: top;
        font-size: 16px;
    }
    
    .project-item-simple img {
        height: 200px !important;
    }
}

/* Mobile - 1 column (default) */
@media (max-width: 600px) {
    .project-item-simple {
        display: block;
        width: 100%;
        padding: 0;
    }
    
    .project-item-simple img {
        height: 200px !important;
        width: 100% !important;
    }
}

/* Hover effect */
.project-item-simple:hover img {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transform: translateY(-5px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-item-simple img {
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Safari mobile fix */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 600px) {
        .project-item-simple {
            display: block !important;
            width: 100% !important;
        }
        
        .project-item-simple img {
            height: 200px !important;
            width: 100% !important;
            display: block !important;
            object-fit: cover !important;
        }
    }
}

.projects-container {
    text-align: center;
    font-size: 0;
}

.project-box {
    display: inline-block;
    width: 33.333%;
    vertical-align: top;
    padding: 0 1rem;
    margin-bottom: 2rem;
    text-align: left;
    font-size: 16px;
}

.project-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.project-img-wrap img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
}

.project-info {
    padding: 0.5rem 0;
}

.project-info h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    padding: 0;
}

.project-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* Tablet */
@media (max-width: 900px) {
    .project-box {
        width: 50%;
    }
    
    .project-img-wrap {
        height: 180px;
    }
    
    .project-img-wrap img {
        height: 180px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .project-box {
        width: 100%;
        padding: 0;
    }
    
    .project-img-wrap {
        height: 160px;
    }
    
    .project-img-wrap img {
        height: 160px !important;
    }
    
    .project-info h3 {
        font-size: 1.1rem;
    }
}

/* Hover */
.project-box:hover .project-img-wrap {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transform: translateY(-5px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-img-wrap {
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Safari mobile override */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    @media (max-width: 600px) {
        .project-box {
            width: 100% !important;
            display: block !important;
        }
        
        .project-img-wrap img {
            height: 160px !important;
            width: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }
    }
}

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

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

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light);
}

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

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

.project-card h3 {
    color: var(--primary);
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* MOBILE FIRST - Safari fix */
@media (max-width: 576px) {
    .projects-grid {
        display: block;
        gap: 0;
    }
    
    .project-card {
        display: block;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .project-image {
        display: block;
        height: 160px;
        width: 100%;
    }
    
    .project-image img {
        display: block;
        height: 160px !important;
        width: 100% !important;
        object-fit: cover !important;
        max-width: 100%;
    }
    
    .project-card h3 {
        display: block;
        font-size: 1.1rem;
        padding: 0.8rem 1rem 0.4rem;
    }
    
    .project-card p {
        display: block;
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .project-image {
        height: 180px;
    }
}

/* Safari mobile specific */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 576px) {
        .project-card {
            display: block !important;
        }
        
        .project-image {
            height: 160px !important;
            display: block !important;
        }
        
        .project-image img {
            height: 160px !important;
            width: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }
        
        .project-card h3,
        .project-card p {
            display: block !important;
        }
    }
}

.projects-grid {
    /* Fallback for old browsers */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -1rem;
    
    /* Modern browsers */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0;
}

.project-card {
    /* Fallback for old browsers */
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 300px;
    -ms-flex: 0 1 300px;
    flex: 0 1 300px;
    margin: 0 1rem 2rem;
    
    /* Modern browsers - reset fallback */
    margin: 0;
    
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light);
}

.project-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
}

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

.project-card h3 {
    color: var(--primary);
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    /* Fallback */
    .project-card {
        -webkit-flex: 0 1 280px;
        -ms-flex: 0 1 280px;
        flex: 0 1 280px;
    }
}

@media (max-width: 768px) {
    .projects {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    /* Fallback */
    .project-card {
        -webkit-flex: 0 1 250px;
        -ms-flex: 0 1 250px;
        flex: 0 1 250px;
        margin: 0 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-card h3 {
        font-size: 1.1rem;
        padding: 0.8rem 1rem 0.4rem;
    }
    
    .project-card p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Fallback - full width */
    .project-card {
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        margin: 0 0 1.5rem 0;
    }
}

/* Safari mobile fixes */
@supports (-webkit-touch-callout: none) {
    .projects-grid {
        display: -webkit-flex;
        -webkit-flex-wrap: wrap;
    }
    
    .project-card {
        display: block;
        -webkit-flex: 0 1 300px;
    }
    
    .project-image {
        display: block;
    }
    
    .project-image img {
        display: block;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.project-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    -o-object-fit: cover !important;
    display: block;
    transition: transform 0.3s;
}

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

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

/* Safari mobile fixes */
@supports (-webkit-touch-callout: none) {
    .project-img-container {
        height: 200px !important;
    }
    
    .project-img {
        height: 200px !important;
        object-fit: cover !important;
        width: 100% !important;
    }
}

/* Responsive fixes for mobile */
@media (max-width: 768px) {
    .project-img-container {
        height: 180px;
    }
    
    .project-img {
        height: 180px !important;
    }
}

@media (max-width: 576px) {
    .project-img-container {
        height: 160px;
    }
    
    .project-img {
        height: 160px !important;
    }
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

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

.project-card h3 {
    color: var(--primary);
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin: 0;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--light);
    flex-shrink: 0;
    display: block;
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

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

.project-card h3 {
    color: var(--primary);
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    flex-shrink: 0;
    margin: 0;
    background: var(--white);
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin: 0;
    background: var(--white);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--light);
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

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

.project-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.project-card p {
    padding: 0.5rem 1.5rem 1.5rem;
    color: #666;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.project-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.project-card p {
    padding: 0.5rem 1.5rem 1.5rem;
    color: #666;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin: 0;
}

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

/* Fix for mobile */
@media (max-width: 768px) {
    .project-image {
        height: 150px;
    }
    
    .project-card h3 {
        padding: 0.8rem 0.8rem 0.4rem;
        font-size: 1.1rem;
    }
    
    .project-card p {
        padding: 0.4rem 1rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .project-image {
        height: 180px;
    }
    
    .project-card h3 {
        padding: 0.8rem 0.8rem 0.4rem;
        font-size: 1rem;
    }
    
    .project-card p {
        padding: 0.4rem 1rem 1rem;
        font-size: 0.85rem;
    }
}

/* Responsive image height */
@media (max-width: 768px) {
    .project-image {
        height: 150px;
    }
    
    .project-image img {
        height: 150px;
    }
}

@media (max-width: 600px) {
    .project-image,
    .project-image img {
        height: 180px;
    }
}

.project-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding: 1rem 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.project-card p {
    padding: 0.5rem 1.5rem 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

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

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

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.submit-button {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
}

.submit-button:hover {
    opacity: 0.9;
}

/* Honeypot hidden field */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
}

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

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-info > p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-family: 'Roboto', sans-serif;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-button {
    padding: 15px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    touch-action: manipulation;
}

.submit-button:hover {
    background: var(--secondary);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.footer-logo-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    background: transparent;
}

.footer p {
    color: #aaa;
}

/* Director Section */
.director {
    padding: 100px 0;
    background: var(--white);
}

.director-content {
    max-width: 800px;
    margin: 0 auto;
}

.director-text h3 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.director-title {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.director-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.director-list {
    list-style: none;
    margin-top: 1.5rem;
}

.director-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #eee;
    font-weight: 400;
}

.director-list li::before {
    content: '⚓';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Security: Honeypot field */
.oneypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse 2s infinite;
}

.floating-whatsapp span {
    font-size: 2rem;
    line-height: 1;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .logo-circle {
        width: 45px;
        height: 45px;
    }

    .logo-img {
        height: 38px;
    }

    .logo-text {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(13, 27, 42, 0.98);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: left 0.3s;
        gap: 1.5rem;
    }

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

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .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(7px, -6px);
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        height: 100vh;
        height: 100dvh;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 20px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

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

    .about-text p {
        font-size: 1rem;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        flex: 1;
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-list li {
        font-size: 0.85rem;
    }

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

    .project-image {
        height: 150px;
    }

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

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
    }

    .director-text h3 {
        font-size: 1.5rem;
    }

    .director-title {
        font-size: 1rem;
    }

    .director-list li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        padding-left: 1.5rem;
    }

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

    .about,
    .services,
    .projects,
    .contact,
    .director {
        padding: 60px 0;
    }

    .footer-logo-circle {
        width: 45px;
        height: 45px;
    }

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

    .footer-logo {
        font-size: 1.2rem;
    }

    .footer p {
        font-size: 0.85rem;
    }

    .lang-switch {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        padding: 6px 12px;
        font-size: 0.8rem;
        margin-left: 0;
    }

    .nav-phones {
        display: none;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp span {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .stat {
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .about,
    .services,
    .projects,
    .contact,
    .director {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }
}
