/* ===================================
   ARM Automation Landing Page Styles
   Color Scheme: White, Light Blue, Blue
   Font: Roboto
   =================================== */

/* CSS Variables */
:root {
    --color-white: #FFFFFF;
    --color-off-white: #F8FAFC;
    --color-light-blue: #E0F2FE;
    --color-sky-blue: #7DD3FC;
    --color-blue: #0EA5E9;
    --color-dark-blue: #0369A1;
    --color-navy: #0C4A6E;
    --color-text: #1E293B;
    --color-text-light: #64748B;
    --color-accent: #06B6D4;
    --color-gradient-start: #0EA5E9;
    --color-gradient-end: #06B6D4;
    --font-family: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
.navbar-brand {    width: 10%;}
.footer-logo .logo {width:50%; display: block}
body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-dark-blue);
}

img {
    max-width: 100%;
    height: auto;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E293B;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #3376DF;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===================================
   Header Styles
   =================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3376DF;
}

.nav-link {
    color: var(--color-text) !important;
    font-weight: 500;
    padding: 10px 20px !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #3376DF !important;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
}

.header-phone,
.header-email {
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone i,
.header-email i {
    color: #3376DF;
}

.header-phone:hover,
.header-email:hover {
    color: #3376DF;
}

/* ===================================
   Hero Slider Styles
   =================================== */
.hero-slider {
    margin-top: 76px;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
}

.slide-bg {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(24, 72, 147), rgba(12, 37, 75, 0.45));
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    text-align: left;
    color: var(--color-white);
    padding: 20px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.03);
}

.slide-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(14, 165, 233, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    backdrop-filter: blur(4px);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--color-blue);
    opacity: 1;
}

.carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--color-white);
}

.carousel-indicators button.active {
    background-color: var(--color-blue);
}

/* ===================================
   About Section Styles
   =================================== */
.about-section {
    background: #3376DF12;
}

.about-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #1E293B;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    text-align: left;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-white), var(--color-light-blue));
}

.feature-item i {
    font-size: 1.5rem;
    color: #3376DF;
}

.feature-item span {
    font-weight: 500;
    color: var(--color-text);
}

.about-images {
    margin-top: 30px;
}

.about-images img {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.about-images img:hover {
    transform: scale(1.02);
}

/* ===================================
   Services Section Styles
   =================================== */
.services-section {
    background-color: var(--color-white);
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid rgba(51, 118, 223, 0.12);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    border-color: #3376DFB8;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(51, 118, 223, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3376DF, #3376DF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0);
}

.service-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.services-image {
    text-align: center;
}

.services-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Technologies Section Styles
   =================================== */
.technologies-section {
    background-color: var(--color-white);
}

.tech-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3376DF;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-light-blue);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--color-white);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tech-item:hover {
    background: linear-gradient(135deg, #4883DF1C, #FFF);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: ;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.tech-icon i {
    font-size: 1.3rem;
    color: var(--color-white);
}

.tech-icon-1{
    background: #084985;
}

.tech-icon-2{
    background: #ffd745;
}

.tech-icon-3{
    background: #64b700;
}

.tech-icon-4{
    background: #57b8ce;
}

.tech-icon-5{
    background: #f0c82c;
}

.tech-icon-6{
    background: #390090;
}

.tech-icon-7{
    background: #840344;
}

.tech-icon-8{
    background: #e07027;
}

.tech-icon-9{
    background: #7dc13e;
}

.tech-icon-10{
    background: #333;
}

.tech-icon-11{
    background: #4386b5;
}

.tech-icon-12{
    background: #512bd4;
}

.tech-icon-13{
    background: #333;
}

.tech-item span {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.tech-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* ===================================
   Contacts Section Styles
   =================================== */
.contacts-section {
    background: #3376DF12;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.form-label {
    font-weight: 500;
    color: var(--color-text);
}

.form-label .required {
    color: #dc3545;
}

.form-control {
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition);
    background-color: var(--color-off-white);
}

.form-control:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    background-color: var(--color-white);
}

.btn-primary {
    background: linear-gradient(135deg, #3376DF, #3376DF);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5796F8, #21529F);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 110, 233, 0.4);
}

.contact-info {
    padding: 20px;
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3376DF;
    margin-bottom: 25px;
}

.contact-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3376DF;
    margin: 30px 0 20px;
}

.company-details {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.detail-item {
    margin-bottom: 10px;
}

.detail-item strong {
    color: #3376DF;
    display: block;
    margin-bottom: 3px;
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3376DF;
    margin-top: 5px;
}

.contact-item strong {
    color: #3376DF;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a {
    color: var(--color-text);
}

.contact-item a:hover {
    color: #3376DF;
}

.documents-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-white);
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.document-link:hover {
    background: linear-gradient(135deg, var(--color-blue), var(--color-accent));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.document-link i {
    color: #dc3545;
}

.document-link:hover i {
    color: var(--color-white);
}

/* Form Response */
#formResponse {
    padding: 15px;
    border-radius: 10px;
    display: none;
}

#formResponse.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#formResponse.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===================================
   Footer Styles
   =================================== */
.footer {
    background: #020509;
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-description {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-light-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contacts {
    list-style: none;
    padding: 0;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contacts li i {
    color: var(--color-light-blue);
    margin-top: 4px;
}

.footer-contacts a,
.footer-contacts span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contacts a:hover {
    color: var(--color-white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0 20px;
}

.footer-bottom {
    text-align: center;
}

.copyright {
    margin-bottom: 0;
    opacity: 0.8;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1199px) {
    .header-contacts {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--color-white);
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--color-light-blue);
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-features {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-slider {
        margin-top: 66px;
    }
    
    .carousel-item {
        height: 70vh;
        min-height: 450px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .about-content {
        margin-bottom: 40px;
    }
    
    .feature-item {
        padding: 12px 20px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
        margin-bottom: 40px;
    }
    
    .contact-info-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .documents-list {
        flex-direction: column;
    }
}

/* ===================================
   Animation Effects
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3376DF, #3376DF);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(14, 110, 233, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: linear-gradient(135deg, var(--color-dark-blue), var(--color-blue));
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-light-blue);
    border-top-color: var(--color-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
