/* Vasna Investment Company - Main Stylesheet */

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

body {
    font-family: 'B Nazanin', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f5f5f5;
}

/* Top Banner */
#top {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 0;
    font-size: 14px;
}

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

#top a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

#top a:hover {
    opacity: 0.8;
}

#top img {
    vertical-align: middle;
    margin: 0 8px;
}

/* Header */
#header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header .cnt {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 62px;
}

.logo h2 {
    color: #1e3c72;
    font-size: 2em;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    font-size: 1.8em;
    color: #1e3c72;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
    position: relative;
}

/* Navigation */
#menu {
    flex: 1;
    margin-right: 40px;
}

.uMenuRoot {
    list-style: none;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.uMenuRoot > li {
    position: relative;
}

.uMenuRoot > li > a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 5px;
}

.uMenuRoot > li > a:hover {
    background: #1e3c72;
    color: white;
}

.uMenuRoot ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 250px;
    border-radius: 5px;
    padding: 10px 0;
    list-style: none;
    z-index: 1000;
}

.uMenuRoot li:hover > ul {
    display: block;
}

.uMenuRoot ul li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.uMenuRoot ul li a:hover {
    background: #f0f0f0;
}

.uMenuRoot ul ul {
    right: 100%;
    top: 0;
}

/* Hero Slider */
#slider-cnt {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

#slider-cnt h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#slider-cnt p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.breadcrumb a {
    color: #1e3c72;
    text-decoration: none;
    margin: 0 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 5px;
    color: #999;
}

/* Main Content */
.cnt {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.oh {
    overflow: hidden;
}

.page-container {
    padding: 60px 20px;
    min-height: 60vh;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Company Section */
#customers {
    padding: 60px 20px;
    background: white;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.title1 {
    font-size: 2.5em;
    color: #1e3c72;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.title1:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

.title1-descr {
    font-size: 1.2em;
    line-height: 2;
    text-align: justify;
    margin: 30px 0;
    color: #555;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

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

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

.service-card i {
    font-size: 3em;
    color: #1e3c72;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* News Section */
#works {
    padding: 60px 20px;
    background: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card .news-content {
    padding: 25px;
}

.news-card h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #1e3c72;
}

.news-card h4 a {
    color: #1e3c72;
    text-decoration: none;
}

.news-card h4 a:hover {
    text-decoration: underline;
}

.news-card p {
    color: #666;
    margin-bottom: 15px;
}

.news-card .date {
    font-size: 0.9em;
    color: #999;
}

/* Footer */
#footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h5 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #2a5298;
}

.footer-col .f-contact {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col .f-contact i {
    color: #2a5298;
    min-width: 20px;
}

.footer-col a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #2a5298;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:before {
    content: '◄';
    color: #2a5298;
}

#bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    color: #999;
}

/* Scroll to Top Button */
#go-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #1e3c72;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    font-size: 1.5em;
}

#go-top:hover {
    background: #2a5298;
    transform: translateY(-5px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.trust-badge {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Mobile Menu Toggle */
.menu-icon {
    display: none;
    font-size: 1.5em;
    color: #1e3c72;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 10000;
}

/* Responsive */
@media (max-width: 968px) {
    .menu-icon {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 10001;
        background: white;
        border-radius: 5px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    #header .cnt {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 20px;
    }

    .logo {
        text-align: center;
    }

    #menu {
        display: none !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        overflow-y: auto;
        z-index: 9999;
        padding: 20px 0;
        margin-right: 0;
    }

    #menu.active {
        display: block !important;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

    .uMenuRoot {
        flex-direction: column;
        gap: 0;
    }

    .uMenuRoot > li {
        border-bottom: 1px solid #f0f0f0;
    }

    .uMenuRoot > li > a {
        padding: 15px 20px;
        border-radius: 0;
        display: block;
        width: 100%;
    }

    .uMenuRoot ul {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        display: none;
        min-width: auto;
    }

    .uMenuRoot li.active > ul {
        display: block;
    }

    .uMenuRoot ul ul {
        background: #f0f0f0;
        padding-right: 20px;
    }

    #slider-cnt h1 {
        font-size: 1.8em;
        padding: 0 10px;
    }

    #slider-cnt p {
        font-size: 1em;
        padding: 0 10px;
    }

    #top .cnt {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 0.9em;
    }

    .page-content {
        padding: 20px;
    }

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

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

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

    .title1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }
}

