
:root {
    --scale-factor: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f7fa;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.boxfont {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.navifont {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}


.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar-logo {
    height: 50px;
    /* filter: brightness(0.2);*/
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #2d3748 !important;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 600;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #3182ce, #2b6cb0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #3182ce !important;
}

.navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav {
    margin-left: 0;
}

.navbar-nav .nav-link {
    margin-right: 0rem;
    align-items: center;

}

.hero-logo {
    height: 400px;
    /* filter: brightness(0.2);*/
    transition: transform 0.3s ease;
}

.hero-section {
    position: relative;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #4b1d6f, #0a2a66);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-divider {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5));
    margin: 0 auto;
}

.glow-logo {
    filter: drop-shadow(0 0 25px rgba(255, 105, 180, 0.6)) drop-shadow(0 0 50px rgba(255, 20, 147, 0.35)) drop-shadow(0 0 80px rgba(199, 21, 133, 0.2));
    transition: filter 0.5s ease, transform 0.4s ease;
}

.glow-logo:hover {
    filter: drop-shadow(0 0 40px rgba(255, 105, 180, 0.9)) drop-shadow(0 0 70px rgba(255, 20, 147, 0.6)) drop-shadow(0 0 110px rgba(199, 21, 133, 0.4));
    transform: scale(1.06);
}

/* Hero class Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}


.section-spacing {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    color: #1a202c;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3182ce, #2b6cb0);
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }
}


.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}


.company-layer {
    background: #ffffff;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(49, 130, 206, 0.15);
}

.info-card-header {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.info-card-title {
    color: #ffffff;
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    margin: 0;
    position: relative;
    z-index: 1;
}

.info-card-body {
    padding: 2.5rem;
}

.info-text {
    color: #2d3748;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}


.solutions-layer {
    background: #f7fafc;
}

.solution-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    height: 100%;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.solution-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3182ce, #2b6cb0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-box:hover {
    transform: translateY(-8px);
    border-color: #3182ce;
    box-shadow: 0 15px 40px rgba(49, 130, 206, 0.15);
}

.solution-box:hover::before {
    transform: scaleX(1);
}

.solution-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.solution-box:hover .solution-icon-wrapper {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    transform: rotate(360deg) scale(1.1);
}

.solution-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #3182ce;
    font-family: 'Orbitron', sans-serif;
    transition: color 0.4s ease;
}

.solution-box:hover .solution-number {
    color: #ffffff;
}

.solution-heading {
    font-size: 1.2rem;
    color: #1a202c;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.solution-description {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
}

.brands-layer {
    background: #ffffff;
}

.brand-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 2px solid #e2e8f0;
}

.brand-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(49, 130, 206, 0.2);
    border-color: #3182ce;
}

.brand-image-container {
    padding: 3rem;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    transition: background 0.4s ease;
}

.brand-card:hover .brand-image-container {
    background: #ebf8ff;
}

.brand-image {
    max-width: 240px;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.brand-card:hover .brand-image {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(49, 130, 206, 0.15);
}

.brand-content {
    padding: 2rem 2.5rem;
}

.brand-text {
    color: #2d3748;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}


.team-layer {
    background: #f7fafc;
}

.team-member-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid #e2e8f0;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(49, 130, 206, 0.15);
    border-color: #3182ce;
}

.team-role-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.3);
    transition: all 0.4s ease;
}

.team-member-card:hover .team-role-badge {
    transform: scale(1.1) rotate(360deg);
}

.team-member-name {
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-member-title {
    color: #3182ce;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}


.chairman-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(49, 130, 206, 0.2);
    border: 3px solid #3182ce;
    transition: all 0.5s ease;
    height: 100%;
    text-align: center;
}

.chairman-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(49, 130, 206, 0.3);
}

.chairman-image-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    box-shadow: 0 10px 30px rgba(49, 130, 206, 0.4);
    transition: all 0.4s ease;
}

.chairman-card:hover .chairman-image-wrapper {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(49, 130, 206, 0.5);
}

.chairman-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
}

.chairman-name {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.chairman-title {
    color: #3182ce;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0;
}


.contact-layer {
    background: #ffffff;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.4s ease;
}

.contact-card:hover {
    box-shadow: 0 20px 60px rgba(49, 130, 206, 0.2);
    border-color: #3182ce;
}

.contact-company-name {
    font-size: 2rem;
    color: #1a202c;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-detail-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 500;
    margin: 0.25rem 0;
}

.footer-section {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    padding: 2.5rem 0;
    border-top: 4px solid #3182ce;
}

.footer-text {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin: 0;
    letter-spacing: 0.02em;
    text-align: center;
}


@media (max-width: 992px) {

    .navbar {
        background: white !important;
        box-shadow: none !important;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 1rem;
        background: transparent !important;
        box-shadow: none !important;
        z-index: 1050;
    }

    .navbar-nav {
        background: #ffffff;
        border-radius: 10px;
        padding: 0.75rem 0;
        width: max-content;
        box-shadow: 0 10px 25px rgba(255, 255, 255, 0.12);
    }

    .navbar-nav .nav-link {
        padding: 0.7rem 1.4rem;
        font-size: 1.6rem;
        white-space: nowrap;
    }

    .nav-item {
        padding-left: 0 !important;
    }

    .navbar-toggler {
        width: 75px;
        height: 50px;
        border: 1.5px solid rgb(180, 180, 180, 180);
    }

    .navbar-toggler-icon {
        background-size: 34px 34px;
    }

    .info-card{
        width: 75%;     
    }
    
    /* .navbar-light .navbar-toggler-icon {
        filter: invert(1);
    } */
}

/* Center info cards ONLY on medium screens */
@media (min-width: 768px) and (max-width: 991px) {
  .main-info {
    justify-content: center;
  }

  .main-info > div {
    display: flex;
    justify-content: center;
  }

  .info-card {
    max-width: 900px;
    width: 100%;
  }
  .info-text{
    font-size: 1.4rem;
  }

  
}


@media (max-width: 768px) {

    body {
        padding-top: 70px;
        overflow-x: hidden;
    }

    /* .hero-section {
        margin-top: -70px;
        padding-top: 70px;
    } */
     /* .hero-section {
        height: calc(100vh / var(--scale-factor, 1)) !important;
        min-height: calc(100vh / var(--scale-factor, 1)) !important;
        display: flex;
        align-items: center;
    } */

    .hero-section {
        min-height: 100vh;          
        height: 340vh;              
        display: flex;            
        align-items: center;
    }

   

    .info-card {
        max-width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    .info-card-title {
        text-align: center;
    }

    .info-text {
        text-align: center;
        font-size: 2.05rem;
        line-height: 1.8;
    }

    .info-card-header,
    .info-card-body {
        padding: 1.5rem 1.25rem;
    }

    .brand-image-container {
        padding: 2rem;
        min-height: 220px;
    }

    .brand-text {
        text-align: center;
        font-size: 1.2rem;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-description {
        font-size: 1.5rem;
    }

    #solutions .row>[class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 45% !important;

    }

    #solutions .solution-box {
        min-height: 100%;
        padding: 1.75rem 1.5rem;
        /* text-align: center; */
    }

    #solutions .solution-description {
        font-size: 1.8rem;
        line-height: 1.6;
    }

    #solutions .solution-heading {
        font-size: 2rem;
    }

    #solutions .row {
        justify-content: center;
    }

    #solutions .row>[class*="col-"] {
        display: flex;
        justify-content: center;
    }

    #solutions .solution-box {
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
    }

    #solutions .solution-number {
        font-size: 2.2rem;
    }

    #contact .contact-card {
        max-width: 85%;
        margin: 0 auto;
    }

    #contact .contact-details-grid {
        display: grid;
        grid-template-columns: repeat(2, 280px);
        justify-content: center;
        gap: 1.75rem 6rem;
    }

    #contact .contact-detail-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    #contact .contact-text {
        text-align: left;
    }

    #contact .contact-label {
        font-size: 0.8rem;
    }

    #contact .contact-value {
        font-size: 1rem;
        line-height: 1.45;
    }

    .scroll-animate {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
        will-change: transform, opacity;
    }

    .scroll-animate.in-view {
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
    .scroll-animate:nth-child(2) { transition-delay: 0.2s; }

}

/* Mobile responsive issue fixingg*/
body {
    min-width: 1200px;
    overflow-x: auto;
}

.container {
    width: 1200px !important;
    max-width: 1200px !important;
    min-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.navbar .container {
    width: 1200px !important;
    min-width: 1200px !important;
}


.solutions-layer .row>div {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
}


.brands-layer .row>div {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
}


.team-layer .col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

.team-layer .col-lg-5 {
    flex: 0 0 41.666% !important;
    max-width: 41.666% !important;
}


html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@media (max-width: 1199px) {
    body {
        height: auto !important;
        min-height: 100vh;
    }


    body::after {
        content: "";
        display: block;
        height: 1px;
    }
}