@import url('../asssets/fonts/stylesheet.css');

/*   Global Styles & Variables   */
:root {
    --primary-color: #00509d;
    --secondary-color: #00296b;
    --accent-color: #fab318;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --bg-light: #f4f7f6;
    --transition-speed: 0.3s;
}

body {
    font-family: 'ISX', sans-serif;
    font-feature-settings: "ss01";
    overflow-x: hidden;
    overflow-x: clip;
    background-color: #fff;
    color: var(--text-dark);
    position: relative;
}

html {
    overflow-x: hidden;
    overflow-x: clip;
}

a {
    text-decoration: none;
    transition: all var(--transition-speed);
}

/*   Navigation Bar   */
.navbar {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all var(--transition-speed);
}

.navbar-toggler {
    border: 0;
    padding: 8px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.6em;
    height: 1.6em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 41, 107, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 41, 107, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6l18 18M24 6L6 24'/%3e%3c/svg%3e");
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all var(--transition-speed);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.btn {
    transition: all var(--transition-speed);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-custom {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.btn-custom:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 80, 157, 0.3);
}

/*   Hero Section   */
.hero-section {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 41, 107, 0.9), rgba(0, 80, 157, 0.8)), url('../asssets/images/Hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-content h1 {
    font-weight: 800;
    font-size: 3.2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-content h2 {
    font-family: 'HatamX';
    font-size: 2.5rem;
    margin-bottom: 40px;
    line-height: 1;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-content .d-flex {
    flex-wrap: wrap;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-shape .shape-fill {
    fill: #FFFFFF;
}

/*   About Section   */
.about-section {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.about-img-wrapper {
    position: relative;
    z-index: 1;
}

.about-img-wrapper img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

/*   Products Section   */
.products-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: none;
    transition: all var(--transition-speed);
    margin-bottom: 10px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-body {
    padding: 25px;
    text-align: right;
}

.product-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/*   Stats Section   */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 41, 107, 0.9), rgba(0, 41, 107, 0.9)), url('../asssets/images/stats.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
}

/*   Services Section   */
.services-section {
    padding: 100px 0;
    background-color: white;
}

.service-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: white;
    border: 1px solid #eee;
    transition: all var(--transition-speed);
}

.service-box:hover {
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 80, 157, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all var(--transition-speed);
}

.service-box:hover .service-icon {
    background: var(--primary-color);
    color: white;
}

.service-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/*   Contact Section   */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-info-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 15px;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info-box .info-item {
    color: inherit;
    text-decoration: none;
}

.contact-info-box .info-item:hover {
    color: inherit;
}

.contact-info-box .info-text h4 {
    color: var(--text-dark);
}

.contact-form textarea.form-control {
    min-height: 130px;
}

.info-text p {
    margin: 0;
    color: #6c757d;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: white;
}

li.mb-3 {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}

.footer-widget .input-group .form-control {
    margin-bottom: 0;
}

.footer-widget .input-group .btn {
    border-radius: 10px 0 0 10px;
    z-index: 2;
}

.footer-widget .input-group .form-control {
    border-radius: 0 10px 10px 0;
}

/* Footer Section */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-widget h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/*   Responsive Design   */
@media (max-width: 991px) {
    .hero-shape svg {
        width: calc(120%);
        height: 100px;
    }

    .hero-content h1 {
        font-size: 2.6rem;
        margin-bottom: 10px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        margin-bottom: 18px;
    }

    .about-img-bg {
        top: -12px;
        right: -12px;
    }

    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        height: auto;
        min-height: 72vh;
        padding: 110px 0 80px;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .d-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-content .btn {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }

    .about-img-bg {
        top: 0;
        right: 0;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }
}

/*   Custom Cursor   */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

@media (min-width: 992px) {

    .cursor-dot,
    .cursor-outline {
        display: block;
    }

    body {
        cursor: none;
    }

    a,
    button,
    .btn,
    .nav-link,
    .card,
    input,
    textarea,
    .form-control,
    label {
        cursor: none;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 80, 157, 0.1);
    border-color: transparent;
}


/*   Partners Slider   */
.partners-section {
    padding: 80px 0;
    background-color: white;
    overflow: hidden;
}

.partners-slider {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scroll-left 40s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    transition: all var(--transition-speed);
    opacity: 0.6;
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}