@charset "utf-8";
@import url(./root.css);

/*--------------------------------*/
/*General Rules*/
/*--------------------------------*/

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

html {
    font-family: 'Nunito Sans', 'Open Sans', Arial, sans-serif;
    font-size: 62.5%;
}

/* Font utility classes */
.roboto {
    font-family: 'Roboto', sans-serif;
}

.orbitron {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

.kanit {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

/* Optional: Target specific tags with fonts */
h1, h2{
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

p, a, li, span {
    font-family: 'Roboto', sans-serif;
}

/* For more creative style */
.hero-content h1 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
}

.container {
    width: min(100% - 30px, 1400px);
    margin-inline: auto;
}

.flex {
    display: flex;
}

.bg {
    background:#F9FAFB ;
}

/********************/
/****** Header ******/
/********************/

header {
    background-color: 	#002D62;
}

.logo {
    font-size: 25px;
    font-weight: 700;
    cursor: default;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.logo-text {
    color: var(--app-font-color);
}

.menu-icon {
    display: none;
    line-height: 50px;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin:  5px auto;
    transition: all 0.3s ease-in-out;
    background-color: 	#FFF;
}

.nav {
    justify-content: space-between;
    align-items: center;
}

.nav-list li {
    line-height: 50px;
    margin-left: 15px;
    font-size: 20px;
    cursor: pointer;
}

.home {
    color: var(--app-button-color);
}

a {
    text-decoration: none;
    color: 	#FFF;
}

a:hover {
    color: #FFA347;
}

@media (max-width: 1000px) {
    .menu-icon {
        display: block;
    }

    .menu-icon.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-icon.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-list {
        position: fixed;
        left: -100%;
        top: 50px;
        gap: 0;
        flex-direction: column;
        background-color: #1a1d28;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }  

    .nav-list.active {
        left: 0;
    }

    .logo-text {
        font-size: 15px;
        font-weight: 700;
        line-height: 50px;
        cursor: default;
    }

    .logo-icon {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .logo-text {
        font-size: 15px;
        font-weight: 500;
        line-height: 50px;
        cursor: default;
    }

    .logo-icon {
        display: none;
    }
}

/********************/
/****** body ******/
/********************/

body {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    margin: 0;
}

main {
    min-height: 100svh;
}

/********************HERO BANNER**************************/

.hero {
    background: url('../img/workers.jpg') center/cover no-repeat;
    color: var(--app-box-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60svh;
}
  
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 0.5); 
    z-index: 1;
}
  
.hero-content {
    text-align: center;
    z-index: 2;
    margin: auto;
}
  
.hero h1 {
    font-size: 50px;
    text-align: center;
}
  
.hero p {
    font-size: 25px;
    line-height: 2;
    margin-bottom: 35px;
    text-align: center;
    padding: 0px 100px;
}
  
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--app-button-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}
  
.btn:hover {
    background-color: #e59200;
    color: var(--app-font-color);
}

/********************JAMPROS SERVICES**************************/
.services-section {
    padding: 60px 15px;
    text-align: left;
    background-color: #292e40;
    color: var(--app-font-color);
}
  
.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}
  
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
  
.service-card {
    background-color: #ffffff10;
    padding: 32px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 15px rgb(0 0 0 /0.15);
    transition: transform 0.3s ease;
}

.service-card p {
    line-height: 2;
}

.service-card h3 {
    margin-bottom: 15px;
    font-weight: 500;
}
  
.service-card:hover {
    transform: translateY(-5px);
}
  
.service-icon {
    font-size: 32px;
    color: var(--app-button-color);
    margin-bottom: 15px;
}  

/********************FAQ SECTIONS**************************/
.faq-section {
    padding: 50px;
    background-color: #31374c;
    color: var(--app-font-color);
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.faq-question {
    font-size: 20px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--app-font-color);
}

.faq-question:hover {
    color: #FFA347;
}

.toggle-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-size: 15px;
    color: #dfe2eb;
    margin-left: 10px;
}

/* Active state */
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 10px 0;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg); /* + becomes × */
}

@media screen and (max-width: 768px) {
    .hero p {
        font-size: 17px;
        line-height: 2;
        margin-bottom: 35px;
        text-align: center;
        padding: 0px 50px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        min-height: 100svh;
    }

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(0 0 0 / 0.7); 
        z-index: 1;
    }

    .hero-content {
        z-index: 2;
        margin: auto;
    }
      
    .hero h1 {
        font-size: 30px;
        max-width: 800px;
    }

    .hero p {
        font-size: 17px;
        line-height: 2;
        margin-bottom: 35px;
        text-align: center;
        padding: 0px 50px;
    }
      
    .btn {
        display: inline-block;
        padding: 12px 24px;
        background-color: var(--app-button-color);
        color: #fff;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        transition: background 0.3s ease;
    }
      
    .btn:hover {
        background-color: #e59200;
        color: #FFF;
    }
}

/****Team members*****/
/*********************/

.team-section {
    padding: 60px 20px;
    background-color: #292e40;
    color: var(--app-font-color);
}

.smooth {
    animation: fadeInUp 1s ease-in-out;
}

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

.team-card {
    background-color: #ffffff10;
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 15px rgb(0 0 0 /0.15);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.team-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-role {
    font-weight: 500;
    color: var(--app-button-color);
    margin-bottom: 10px;
}

.team-desc {
    font-size: 20px;
    color: var(--app-font-color);
}

/***************************************/
/*sign up */
/***************************************/
.contact-us {
    background-color: #31374c;
    color: var(--app-font-color);
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    padding: 60px 15px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--app-button-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background-color: #e59200;
    color: #FFF;
}


@media screen and (max-width: 768px) {
    .contact-us {
        font-size: 20px;
    }

    .team-img {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 15px;
    }

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

@media screen and (max-width: 480px) {
    .contact-us {
        font-size: 15px;
    }

    .team-img {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 15px;
    }

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

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
    }
}


/***************/
/****footer*****/
/***************/

footer {
    background-color: 	#002D62;
    color: 	#FFF;
}

.footer {
    justify-content: space-between;
}

.copyright {
    height: 50px;
    cursor: default;
}

p {
    line-height: 50px; 
}

.social-list li {
    line-height: 50px;
    font-size: 20px;
}

.social-list li a {
    margin-right: 15px;
    color: 	#FFF;
}

.social-list li a:hover {
    color: #FFA347;
}

