@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #B21F24;
    --primary-hover: #8e181c;
    --text-dark: #101828;
    --text-gray: #667085;
    --text-light: #475467;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-dark: #0C111D;
    --border-color: #EAECF0;
    --font-main: 'Inter', sans-serif;
    --font-size-subtitle : 20px ;
    --line-height-subtitle : 30px ;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.1);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

button {
    cursor: pointer;
    font-family: var(--font-main);
    border: none;
    background: none;
    transition: all 0.2s ease;
}
.back-btn-wrapper {
    margin-bottom: 48px;
}

.back-btn {
    padding: 8px 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn-icon {
    width: 16px;
}
ul {
    list-style: none;
}

.container {
    width: 85%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

#hero.container {
    width: 100%;
    max-width: 1280px;
}


/* Navbar Implementation */
header {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 999px;
    padding: 8px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1100px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 40px;
}

.nav-logo-text {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
}

.nav-logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-gray);
}
#nav_first_span{
    display: inline; color:red; font-weight: 400; font-size: 19px;
}
#nav_second_span{
    display: inline; color: grey; font-weight: 400;font-size: 19px;
}
#nav_third_span{
    color: black; font-size: 10px; font-weight: bold;
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    
}

.nav-links li a {
    font-weight: 500;
    color: #2D2323;
    font-size: 16px;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-nav-toggle {
    display: none;
    color: var(--text-dark);
    font-size: 24px;
}

/* About Section  */
.about {
    padding: 100px 0;
    border-top: 1px solid var(--border-color); 
}

.about .about_header {
    width: 80%;
    margin: auto;
}

/* Layout */
.about__wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
}

/* Columns */
.about__content,
.about__image {
    flex: 1;
}

/* Text styles */
.section-tag {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 24px;
}

.about__title {
    font-size: 36px;
    margin: 12px 0;
}

.about__description {
    margin-bottom: 40px;
    color: var(--text-light);
}

/* Features  section*/


.about__features {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-left: 32px;
}

.about__features::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        var(--text-light),
        var(--text-light)
    );
    border-radius: 4px;
}

.about__features > div {
    position: relative;
}




.feature__title {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature__text {
    color: var(--text-gray);
}

/* Image */
.about__image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}


/* Section Components */
.section-tag {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
}

.h1 {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #101828;
    line-height: 72px;
}

.p-large {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: var(--text-light);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(178, 31, 36, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(178, 31, 36, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

.hero-icons-container {
    display: flex;
    gap: 80px;
    margin-bottom: 24px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.hero-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.connecting-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.connecting-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 12px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 999px;
    filter: blur(1px);
    animation: flowPulse 2s infinite ease-in-out;
}

@keyframes flowPulse {
    0% {
        left: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.animate-float {
    animation: floatingIcon 4s infinite ease-in-out;
}

.animate-float-delayed {
    animation: floatingIcon 4s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes floatingIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Mobile Nav Menu */
.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    gap: 20px;
    align-items: flex-start;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* New classes from separated inline styles */

/* Header & Nav */
.nav-lang-icon {
    width: 18px;
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-icon-box.zap {
    background: #FFF4F4;
    color: var(--primary-color);
}

.hero-icon-box.cloud {
    background: #F2EEFF;
    color: #6941C6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Client Logos */
.client-logos-wrapper {
    margin-top: 80px;
}

.client-logos-text {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 32px;
}

.client-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.client-logo-img {
    height: 40px;
}

.see-all-btn {
    margin-top: 32px;
   
     font-weight: 700;
    font-size: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
}

/* Statistics Section */
.stats-section {
    padding: 100px 0;
    background-color: #F9FAFB;
    text-align: center;
}

.stats-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    margin-bottom: 12px;
}

.stats-subtitle {
    color: var(--text-light);
    font-size: var(--font-size-subtitle);
    line-height: var(--line-height-subtitle);
    font-weight: 400;
    margin-bottom: 64px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stats-item-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stats-item-label {
    font-weight: 500;
}

/* SAP Section */
.sap-section {
    padding: 100px 0;
    background-color: #000;
    color: white;

}

.sap-container {
    text-align: center;
}

.sap-title {
    color: white;
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;

}

.sap-subtitle {
    color:var(--bg-white);
    max-width: 600px;
    margin: 0 auto 64px;
}

.sap-grid {
 

    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;

    

}

.sap-card {
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #344054;
    text-align: center;
    background-color: #0d0d0d;

}

.sap-card-icon {
    margin: auto;
    width: 48px;
    height: 48px;
    padding: 10px;
    background: linear-gradient(#BE1E25, #2A0709);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;

}

.sap-card-title {
    margin-bottom: 12px;
    color: #FFFFFF;
    line-height: 24px;
}

.sap-card-text {
    color: #E9E9E9;
    font-size: 14px;
}

.sap-see-all {
    margin-top: 48px;
    color: #E9E9E9;
    font-weight: 700;
    font-size: 20px;
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
}

.industries-header {
    text-align: center;
    margin-bottom: 80px;
}

.industries-title {
    font-size: 36px;
}

.industries-p {
    margin: 0 auto;
    color: #475467;
}

.industry-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.industry-item.reversed {
    grid-template-columns: 1.2fr 1fr;
}

.industry-icon-box {
    width: 40px;
    height: 40px;
    background: #FFF4F4;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.industry-card-title {
    font-size: 28px;
}

.industry-card-text {
    color: var(--text-gray);
    margin-bottom: 32px;
}

.industry-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.industry-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.industry-list-icon {
    color: var(--primary-color);
    width: 20px;
}

.industry-img {
    width: 100%;
    border-radius: 12px;
}

.industries-footer {
    text-align: center;
}

.industries-view-all {
    margin-top: 40px;
}
#footer_first_span{
    display: inline; color: red; font-size: 18px; font-weight: bold;
}
#footer_second_span{
    display: inline; color: #fff; font-weight: bold; font-size: 18px;
}
#footer_third_span{
    color: #fff;
}
/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 64px;
}

.contact-title {
    font-size: 36px;
}

.contact-p {
    margin: 0 auto;
}

/* Contact Grid → Flex */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    justify-content: space-between;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1 1 45%; 
    min-width: 300px;
}

.contact-info-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-info-title {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-text {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-icon-small {
    color: #BE1E25;
    width: 14px;
    display: inline;
    vertical-align: middle;
    margin-right: 4px; 
   
}
.contact-info-text >span{
    margin-left: 20px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    flex: 1 1 45%; 
    min-width: 300px;
}

/* Form Groups */
.form-group-half {
    flex: 1 1 48%; 
}

.form-group-full {
    flex: 1 1 100%; 
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.form-textarea {
    height: 120px;
}

.form-submit-btn {
    width: 100%;
}

/* Button loader */
.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Loading state */
button.loading {
  pointer-events: none;
  opacity: 0.8;
}

button.loading .btn-text {
  display: none;
}

button.loading .btn-loader {
  display: inline-block;
}

/* Status messages */
.form-status {
  display: none;
  margin-top: 12px;
  font-size: 14px;
}

.form-status.success {
  color: #16a34a;
}

.form-status.error {
  color: #dc2626;
}


/* Footer */
.footer-main {
  background-color: #000 !important;
    color: white;
    padding: 24px 0 22px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-social-links {
    display: flex;
    gap: 24px;
}

.footer-social-link {
   
    padding: 5px;
    border: 1px solid #fff;  
    border-radius: 10px;  
}


.footer-social-link :hover{
       color:rgb(79, 151, 206);

}

.footer-logo {
    border-color: #fff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    /* Responsive */
    @media (max-width: 768px) {
          .footer-main {
        flex-direction: column !important;
        align-items: center;      
        gap: 16px;                
        text-align: center;       
    }
        .about__wrapper {
            flex-direction: column;
            gap: 48px;
        }

        .about__title {
            font-size: 28px;
        }
    }

    .h1 {
        font-size: 28px !important;
        line-height: normal;
        >br{
            display: none;
        }
    }

    .p-large {

        font-size: 15px !important;
        line-height: normal;
        >br{
            display: none;
        }
    }

    .see-all-btn {
        margin-bottom: 30px;
        
    }

    .about__description > br{
        display: none;
    }
    .about__title,
    .sap-title,
    .industries-title,
    .contact-title {
        font-size: 24px !important;
        line-height: normal;
        
    }

    .stats-title {
        font-size: 20px !important;
    }
    .stats-subtitle{
        font-size: medium;
        line-height: normal;
    }
    .stats-item-value {
        font-size: 36px !important;
    }

    .stats-item-label {
        font-size: 14px !important;
    }

    .hero-icons-container {
        margin-top: 120px;
    }

    nav {
        border-radius: 20px;
        padding: 8px 16px;
        width: 95%;
    }

    .nav-logo-text {
        font-size: 16px;
    }

    .nav-logo-text span {
        font-size: 10px;
    }

    .container {
        padding: 0 20px;
    }

    

    /* Reverse some rows for mobile */
    div[style*="grid-template-columns: 1.2fr 1fr"] {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    /* Buttons display stack */
    div[style*="display: flex; gap: 12px; margin-top: 24px;"] {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Statistics Section */
    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

    /* SAP Section */
    .sap-grid {
      
        flex-direction: column;
        gap: 30px;
    }

    .sap-card {
        padding: 32px 24px;
    }

    /* Industries Section */
    .industry-item,
    .industry-item.reversed {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 64px;
    }

    .industry-item.reversed {
        display: flex;
        flex-direction: column-reverse;
    }

    .industry-card-title {
        font-size: 24px;
    }
    .industries-view-all{
        margin-bottom: 30px;
    }
    
    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .form-group-half {
        grid-column: span 2;
    }
    #industries{
        padding-top: 50px;
    }
}

