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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #0A2540;
    overflow-x: hidden;
    background: #ffffff;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.language-switcher {
    /* Positioned on the right side of the flex container */
    display: flex;
    align-items: center;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #0A2540;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 80px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.lang-dropdown-btn:hover {
    background: rgba(10, 37, 64, 0.05);
    border-color: #0B5ED7;
    transform: translateY(-2px);
}

.lang-dropdown-btn.active {
    background: rgba(11, 94, 215, 0.1);
    border-color: #0B5ED7;
}

.current-lang {
    font-size: 1.2rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.lang-dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.lang-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    width: 100%;
    background: transparent;
    border: none;
    color: #0A2540;
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(11, 94, 215, 0.1);
    color: #0B5ED7;
}

.lang-option.active {
    background: rgba(11, 94, 215, 0.15);
    color: #0B5ED7;
    font-weight: 600;
}

.lang-flag {
    font-size: 1.1rem;
    min-width: 20px;
}

.lang-name {
    flex: 1;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A2540;
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #0A2540;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-link {
    text-decoration: none;
    color: #0A2540;
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0B5ED7;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #0B5ED7;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('example.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}



.hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-right: 2rem;
}

.hero-text {
    color: #ffffff;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    width: 50%;
    max-width: 600px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    animation: slideInLeft 1s ease-out 0.2s both;
    min-height: 4.2rem;
    display: flex;
    align-items: center;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #ffffff;
    animation: slideInLeft 1s ease-out 0.4s both;
    min-height: 4.2rem;
    display: flex;
    align-items: center;
    max-width: 50rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 180px;
    text-align: center;
}

.btn-primary {
    background: #ffffff;
    color: #0B5ED7;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(11, 94, 215, 0.1), transparent);
    transition: left 0.5s;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ffffff;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: #0B5ED7;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.8s both;
}

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

.hero-visual {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engineering-icon {
    font-size: 8rem;
    color: #ffffff;
    animation: rotate 20s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.3;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 1rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0B5ED7;
    animation: expandLine 1s ease-out 0.5s both;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

.section-header p {
    font-size: 1.2rem;
    color: #0A2540;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* About Section */
.about-section {
    background: #f8f9fa;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="network-light" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="%230A2540" opacity="0.1"/><line x1="0" y1="30" x2="60" y2="30" stroke="%230A2540" stroke-width="0.3" opacity="0.08"/><line x1="30" y1="0" x2="30" y2="60" stroke="%230A2540" stroke-width="0.3" opacity="0.08"/><line x1="0" y1="0" x2="60" y2="60" stroke="%230A2540" stroke-width="0.2" opacity="0.06"/><line x1="60" y1="0" x2="0" y2="60" stroke="%230A2540" stroke-width="0.2" opacity="0.06"/></pattern></defs><rect width="100%" height="100%" fill="url(%23network-light)"/></svg>');
    opacity: 0.6;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-text {
    text-align: left;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #0A2540;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    min-height: 100%;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0B5ED7;
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
}

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

.stat-label {
    color: #0A2540;
    opacity: 0.8;
    font-weight: 500;
}

/* Services Section */
.services-section {
    background: white;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 26, 26, 0.05), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #1a1a1a;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #0A2540;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #0A2540;
    opacity: 0.8;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: #0A2540;
    opacity: 1;
    padding-left: 0.5rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:before {
    content: "✓";
    color: #0B5ED7;
    font-weight: bold;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

/* Projects Section */
.projects-section {
    background: #f8fafc;
}

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

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

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

.project-image {
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-grid .project-card:first-child .project-image {
    background-color: #667eea;
    background-image: url('project-1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.projects-grid .project-card:nth-child(2) .project-image {
    background-color: #667eea;
    background-image: url('project2.gif');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.projects-grid .project-card:nth-child(3) .project-image {
    background-color: #667eea;
    background-image: url('project3.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.projects-grid .project-card:nth-child(4) .project-image {
    background-color: #667eea;
    background-image: url('project4.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.project-placeholder {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.project-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Technology Section */
.technology-section {
    background: #f8f9fa;
    position: relative;
}

.technology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="tech-network" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1.2" fill="%230B5ED7" opacity="0.15"/><line x1="0" y1="25" x2="50" y2="25" stroke="%230B5ED7" stroke-width="0.4" opacity="0.1"/><line x1="25" y1="0" x2="25" y2="50" stroke="%230B5ED7" stroke-width="0.4" opacity="0.1"/><line x1="0" y1="0" x2="50" y2="50" stroke="%230B5ED7" stroke-width="0.3" opacity="0.08"/><line x1="50" y1="0" x2="0" y2="50" stroke="%230B5ED7" stroke-width="0.3" opacity="0.08"/></pattern></defs><rect width="100%" height="100%" fill="url(%23tech-network)"/></svg>');
    opacity: 0.7;
}

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

.tech-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 26, 26, 0.05), transparent);
    transition: left 0.6s;
}

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

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #1a1a1a;
}

.tech-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.tech-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.tech-item p {
    color: #0A2540;
    opacity: 0.8;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Team Section */
.team-section {
    background: white;
}

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

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    animation: fadeInUp 0.8s ease-out;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.member-photo {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 26, 26, 0.05), transparent);
}

.photo-placeholder {
    font-size: 4rem;
    color: #1a1a1a;
    position: relative;
    z-index: 2;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.emily-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.emily-photo::before {
    display: none;
}

.emily-photo .member-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.michael-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.michael-photo::before {
    display: none;
}

.michael-photo .member-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.sarah-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sarah-photo::before {
    display: none;
}

.sarah-photo .member-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #000000;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: #0A2540;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #0A2540;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0B5ED7;
    color: white;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
    background: #f8f9fa;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="testimonial-network" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="1" fill="%230A2540" opacity="0.08"/><line x1="0" y1="40" x2="80" y2="40" stroke="%230A2540" stroke-width="0.3" opacity="0.06"/><line x1="40" y1="0" x2="40" y2="80" stroke="%230A2540" stroke-width="0.3" opacity="0.06"/><line x1="0" y1="0" x2="80" y2="80" stroke="%230A2540" stroke-width="0.2" opacity="0.04"/><line x1="80" y1="0" x2="0" y2="80" stroke="%230A2540" stroke-width="0.2" opacity="0.04"/></pattern></defs><rect width="100%" height="100%" fill="url(%23testimonial-network)"/></svg>');
    opacity: 0.5;
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 4rem;
    color: #e9ecef;
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    color: #0A2540;
    opacity: 0.8;
    line-height: 1.7;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.author-info h4 {
    color: #0A2540;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #0A2540;
    opacity: 0.7;
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Process Section */
.process-section {
    background: white;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1a1a1a, #e9ecef);
}

.process-step {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 100px;
    height: 100px;
    background: #0B5ED7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(11, 94, 215, 0.2);
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(11, 94, 215, 0.3);
}

.step-content {
    flex: 1;
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-content:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 1rem;
}

.step-content p {
    color: #0A2540;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content li {
    color: #0A2540;
    opacity: 0.8;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.step-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0B5ED7;
    font-weight: bold;
}

/* Awards Section */
.awards-section {
    background: #f8f9fa;
    position: relative;
}

.awards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="award-network" width="70" height="70" patternUnits="userSpaceOnUse"><circle cx="35" cy="35" r="1.5" fill="%230B5ED7" opacity="0.12"/><line x1="0" y1="35" x2="70" y2="35" stroke="%230B5ED7" stroke-width="0.4" opacity="0.08"/><line x1="35" y1="0" x2="35" y2="70" stroke="%230B5ED7" stroke-width="0.4" opacity="0.08"/><line x1="0" y1="0" x2="70" y2="70" stroke="%230B5ED7" stroke-width="0.3" opacity="0.06"/><line x1="70" y1="0" x2="0" y2="70" stroke="%230B5ED7" stroke-width="0.3" opacity="0.06"/></pattern></defs><rect width="100%" height="100%" fill="url(%23award-network)"/></svg>');
    opacity: 0.6;
}

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

.award-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.award-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 26, 26, 0.05), transparent);
    transition: left 0.6s;
}

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

.award-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #1a1a1a;
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.award-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.award-item p {
    color: #0A2540;
    opacity: 0.8;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact-section {
    background: white;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    justify-content: center;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
}

.contact-icon {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.contact-icon > * {
    font-size: 1.8rem;
    line-height: 1;
    display: block;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #0A2540;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A2540;
    text-decoration: none;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    min-width: 40px;
}

.social-link span {
    display: none;
}

.social-link:hover {
    background: #0B5ED7;
    color: white;
    border-color: #0B5ED7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.2);
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

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

/* Footer */
.footer {
    background: #0A2540;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Mobile Menu Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1rem;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid #e9ecef;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero-section {
        height: 100vh;
        padding: 2rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 1.2rem;
        min-height: auto;
        display: block;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
        line-height: 1.4;
        min-height: auto;
        display: block;
        padding: 0 0.5rem;
        font-weight: 400;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 0;
        width: 100%;
    }
    
    .btn {
        width: 90%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-item {
        padding: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-member {
        margin-bottom: 0;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .member-photo {
        height: 180px;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .member-role {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .process-timeline::before {
        left: 30px;
        width: 3px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: left;
        margin-bottom: 2.5rem;
        padding-left: 0;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1.5rem;
        width: 60px;
        height: 60px;
        font-size: 1rem;
        align-self: flex-start;
    }
    
    .step-content {
        padding: 1.5rem;
        margin-left: 0;
        width: 100%;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .award-item {
        padding: 2rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .hero-visual {
        width: 200px;
        height: 200px;
    }
    
    .engineering-icon {
        font-size: 5rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .hero-section {
        height: 100vh;
        padding: 1.5rem 1rem;
    }
    
    .hero-text {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        line-height: 1.3;
        font-weight: 400;
    }
    
    .btn {
        width: 85%;
        max-width: 260px;
        padding: 0.9rem 1.3rem;
        font-size: 0.95rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .service-card,
    .project-card,
    .tech-item,
    .award-item {
        padding: 1.5rem;
    }
    
    .team-grid {
        max-width: 350px;
        gap: 1.2rem;
    }
    
    .team-member {
        margin-bottom: 0;
        border-radius: 12px;
    }
    
    .member-photo {
        height: 160px;
    }
    
    .photo-placeholder {
        font-size: 2.5rem;
    }
    
    .member-info {
        padding: 1.2rem;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .member-role {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn {
        min-width: 150px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .process-timeline::before {
        left: 25px;
        width: 2px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .step-content {
        padding: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .step-content li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .nav-logo-img {
        height: 45px;
    }
    
     .language-switcher {
         /* Remains in flex position on mobile */
         display: flex;
         align-items: center;
     }
     
     .lang-dropdown-btn {
         padding: 0.4rem 0.8rem;
         font-size: 0.9rem;
         min-width: 70px;
         height: 40px;
     }
     
     .lang-dropdown-menu {
         min-width: 130px;
     }
     
     .lang-option {
         padding: 0.6rem 0.8rem;
         font-size: 0.9rem;
     }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        padding: 1rem 0.8rem;
    }
    
    .hero-text {
        padding: 0 0.3rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
        line-height: 1.3;
        font-weight: 400;
    }
    
    .cta-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        width: 80%;
        max-width: 240px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-visual {
        width: 150px;
        height: 150px;
    }
    
    .engineering-icon {
        font-size: 4rem;
    }
    
    .element {
        width: 15px;
        height: 15px;
    }
    
    .team-grid {
        max-width: 300px;
        gap: 1rem;
    }
    
    .member-photo {
        height: 140px;
    }
    
    .photo-placeholder {
        font-size: 2rem;
    }
    
    .member-info {
        padding: 1rem;
    }
    
    .member-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .member-role {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .quote-icon {
        font-size: 3rem;
        top: 0.5rem;
        right: 1rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}