:root {
    --primary-color: #9b1c1c;
    --primary-hover: #7a1515;
    --dark-bg: #0f1c35;
    --light-bg: #162040;
    --text-white: #ffffff;
    --text-gray: #b3c0d8;
    --accent-color: #9b1c1c;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: #0b1526;
}

.text-white {
    color: var(--text-white);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 28, 53, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(155, 28, 28, 0.3);
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(11, 21, 38, 0.98);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
    font-weight: 400;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.lang-switcher {
    display: flex;
    gap: 10px;
}

.lang-switcher button {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 4px;
}

.lang-switcher button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 70px);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: #000;
    transform: translateY(-3px);
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 17px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(155, 28, 28, 0.15);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

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

.feature-card:hover .feature-card-img {
    transform: scale(1.07);
}

.feature-card-body {
    padding: 20px 15px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-item {
    background: var(--dark-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.service-img-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-img-wrap img {
    transform: scale(1.08);
}

.service-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    font-family: 'Outfit';
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.service-body {
    padding: 24px;
    flex: 1;
    border-top: 3px solid var(--primary-color);
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.services-footer {
    text-align: center;
    font-style: italic;
    color: var(--text-gray);
}

/* Projects Section */
.projects-content {
    margin-bottom: 40px;
}

.projects-content p {
    margin-bottom: 40px;
    max-width: 800px;
    color: var(--text-gray);
}

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

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 350px;
}

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

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Collaboration Banner Image */
.collab-banner {
    width: 100%;
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
    position: relative;
}

.collab-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: transform 0.6s ease;
}

.collab-banner:hover img {
    transform: scale(1.04);
}

.collab-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(11, 21, 38, 0.7), transparent);
    pointer-events: none;
}

/* Collaboration Section – expanded */
.collab-body {
    max-width: 860px;
}

.collab-lead {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.collab-quote {
    border-left: 4px solid var(--primary-color);
    background: rgba(155, 28, 28, 0.1);
    border-radius: 0 8px 8px 0;
    padding: 24px 30px;
    margin: 0 0 50px 0;
    font-size: 18px;
    font-style: italic;
    color: var(--text-white);
    line-height: 1.7;
}

.collab-quote-mark {
    font-size: 40px;
    color: var(--primary-color);
    line-height: 0;
    vertical-align: -16px;
    margin: 0 4px;
    font-style: normal;
}

.collab-quote cite {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    font-style: normal;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.collab-steps {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.collab-step {
    flex: 1;
    min-width: 200px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-white);
}

.step-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.step-arrow {
    flex-shrink: 0;
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 12px;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }

    .collab-steps {
        flex-direction: column;
    }
}

.collab-closing {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Contact Section */
.contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px; 
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.contact-item .icon {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-footer {
    margin-top: 30px;
    font-weight: 600;
}

.contact-img-wrap{
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 520px;        /* looks nice on desktop */
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--glass-border);
  
    aspect-ratio: 16 / 10;   /* keeps height stable */
  }
  
  /* Make the image fill the wrapper properly */
  .contact-photo{
    width: 100%;
    height: 100%;
    object-fit: cover;       /* no squish, no tiny image */
    display: block;
  }

.contact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.contact-img-wrap:hover .contact-photo {
    transform: scale(1.04);
}

.contact-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(to top, rgba(11, 21, 38, 0.85), transparent);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

.powered-by {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 0.5rem;
}

.powered-by img {
    height: 22px; /* adjust if needed */
    width: auto;
}

/* Responsive */
@media (max-width: 991px) {

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

    .contact-img-wrap{
        max-width: 100%;       /* stop shrinking */
        aspect-ratio: 16 / 9;  /* optional: a bit wider on mobile */
      }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .contact-img-wrap {
        display: none;
    }

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

@media (max-width:370px) {
    .contact {
        display: flex;
        justify-content: start;
    }

    #partner-header {
        font-size: 30px;
    }

    .lang-text {
        width: 85%;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        width: 60%;
    }
}
