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

:root {
    --primary: #1a365d;
    --secondary: #2d3748;
    --accent: #3182ce;
    --light: #f7fafc;
    --dark: #1a202c;
    --gray: #718096;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    max-width: 110px;
}

.logo a {
    text-decoration: none;
    color: var(--primary);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s;
}

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

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--light) 0%, #e2e8f0 100%);
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 500;
}

.feature span {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.hero-image {
    flex: 1;
    max-width: 800px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-image-casting {
    flex: 1;
    max-width: 800px;
}

.hero-image-casting img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about {
    padding: 5rem 0;
    background: var(--white);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.capabilities {
    list-style: none;
    padding-left: 0;
}

.capabilities li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.capabilities li:before {
    content: "•";
    color: var(--accent);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.products {
    padding: 5rem 0;
    background: var(--light);
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    padding: 1rem 1rem 0;
    font-size: 1.3rem;
}

.subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    padding: 0.5rem 1rem 1rem;
}

.product-details {
    padding: 0 1rem 1rem;
}

.product-details h4 {
    font-size: 1rem;
    color: var(--primary);
    margin: 1rem 0 0.5rem;
}

.product-details ul {
    list-style: none;
    padding-left: 0;
}

.product-details li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.product-details li:before {
    content: "▸";
    color: var(--accent);
    position: absolute;
    left: 0;
}

.areas {
    padding: 3rem 0;
    background: var(--primary);
    color: var(--white);
}

.areas h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

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

.area-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s;
}

.area-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.railmap {
    padding: 5rem 0;
    background: var(--white);
}

.railmap-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.railmap-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 15px;
}

.railmap-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--white);
}

.railmap-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.railmap-item img {
    width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: contain;
    background: var(--light);
    padding: 0.5rem;
}

.railmap-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.railmap-stat {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 15px;
}

.railmap-stat h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.railmap-stat p {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
}

.partners {
    padding: 5rem 0;
    background: var(--white);
}

.partners-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.partner {
    background: var(--light);
    padding: 1.5rem;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.partner:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.why {
    padding: 3rem 0;
    background: var(--light);
}

.why h2 {
    margin-bottom: 2rem;
}

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

.why-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.why-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-item p {
    color: var(--gray);
}

.approach {
    padding: 3rem 0;
    background: var(--white);
}

.approach h2 {
    margin-bottom: 2rem;
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.timeline-item {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.timeline-content h3 {
    font-size: 0.95rem;
    color: var(--primary);
}

.certification {
    padding: 5rem 0;
    background: var(--primary);
    color: var(--white);
}

.certification h2 {
    color: var(--white);
}

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

.cert-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.cert-item:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.contact {
    padding: 5rem 0;
    background: var(--light);
}

.contact-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

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

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--primary);
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.casting-hero-casting {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1% 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    gap: 1.5rem;
}

.casting-hero-casting h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top:50px;
}

.casting-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1% 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    gap: 1.5rem;
}

.casting-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.casting-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.casting-hero .hero-image {
    max-width: 100%;
    width: 100%;
    margin-top: 1rem;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.casting-hero .hero-image img {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    display: block;
}

.casting-section {
    padding: 5rem 0;
    background: var(--light);
}

.casting-section:nth-child(even) {
    background: var(--white);
}

.casting-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.portfolio-header {
    padding: 4rem 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.portfolio-header h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.product-category-grid {
    display: grid;
    gap: 3rem;
}

.product-item {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.casting-section:nth-child(even) .product-item {
    background: var(--light);
}

.casting-section:nth-child(even) .image-grid {
    background: var(--white);
}

.product-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
}

.image-grid img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .timeline {
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
    }

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

    .nav-menu li {
        margin: 16px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        padding: 100px 20px 50px;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

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

    .product-card h3 {
        padding: 0.8rem 0.8rem 0;
        font-size: 1.1rem;
    }

    .subtitle {
        padding: 0.4rem 0.8rem 0.8rem;
    }

    .product-details {
        padding: 0 0.8rem 0.8rem;
    }

    .timeline {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .timeline-item {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
        min-width: 0;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .timeline-content h3 {
        font-size: 0.85rem;
    }

    .why-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .railmap-gallery {
        grid-template-columns: 1fr;
        padding: 0.5rem;
        gap: 1rem;
    }

    .railmap-item img {
        max-height: 700px;
        padding: 0.2rem;
    }

    .railmap-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .railmap-stat {
        padding: 1rem;
    }

    .railmap-stat h3 {
        font-size: 1.3rem;
    }

    .railmap-stat p {
        font-size: 0.85rem;
    }
}

    .casting-hero h1 {
        font-size: 2rem;
    }

    .casting-hero p {
        font-size: 1rem;
    }

    .casting-hero {
        padding: 2rem 0.5% 1.5rem;
        min-height: auto;
        gap: 1rem;
    }

    .casting-hero .hero-image {
        max-width: 100%;
        margin-top: 0.5rem;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .casting-hero .hero-image img {
        max-height: 500px;
        display: block;
    }
        font-size: 1rem;
    }

    .casting-section {
        padding: 3rem 0;
    }

    .casting-section h2 {
        font-size: 1.5rem;
    }

    .portfolio-header h2 {
        font-size: 1.8rem;
    }

    .casting-hero {
        padding: 1.5rem 0 1rem;
    }

    .casting-hero h1 {
        font-size: 1.8rem;
    }

    .casting-hero p {
        font-size: 0.9rem;
    }

    .casting-hero .hero-image img {
        max-height: 400px;
        border-radius: 15px;
        display: block;
    }

    .product-item {
        padding: 1.5rem;
    }

    .product-item h3 {
        font-size: 1.2rem;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-grid img {
        max-height: 200px;
    }

    h2 {
        font-size: 2rem;
    }
}

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

    h2 {
        font-size: 1.8rem;
    }

    .product-grid,
    .areas-grid,
    .partners-grid,
    .railmap-gallery,
    .railmap-info {
        grid-template-columns: 1fr;
    }

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

    .subtitle {
        font-size: 0.85rem;
    }

    .product-details h4 {
        font-size: 0.9rem;
    }

    .product-details li {
        font-size: 0.85rem;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        gap: 0.8rem;
    }

    .timeline-item {
        flex: 0 0 calc(50% - 0.4rem);
        max-width: calc(50% - 0.4rem);
        min-width: 0;
    }

    .timeline-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .timeline-content h3 {
        font-size: 0.8rem;
    }
}

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

    .timeline-item {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
    }
}