/* 
* Custom CSS for Ace Lio UX Consultant Website
* Maintaining branding colors and direction from original website
*/

:root {
    /* Main color scheme based on original website */
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --bg-dark: #0a192f;
    --bg-light: #f5f5f5;
    --success-color: #28a745;
    --discount-color: #e83e8c;
}

/* General Styles */
body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding: 10mm;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #003d7a;
    text-decoration: none;
}

.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.btn {
    font-family: 'Raleway', sans-serif;
    padding: 10mm;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #003d7a;
    border-color: #003d7a;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-light {
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Logo */
.logo-fluid{
    width:25%;
    padding:none;
    /* border:2px solid #ffac00 */
}

.logo-fluid2{
    width:70%;
    padding:none;
}

/* Navigation */

.navbar {
    padding: var(--padding-standard);
    background-color: rgba(33, 37, 41, 0.95);
    transition: all 0.3s ease;
  }
  
  .navbar.scrolled {
    padding: 5mm 10mm;
    background-color: rgba(33, 37, 41, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: white;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 0 15px;
    position: relative;
  }
  
  .navbar-dark .navbar-nav .nav-link:hover,
  .navbar-dark .navbar-nav .nav-link.active {
    color: white;
    height:60px;
    /* border:1px solid #ffac00; */
  }
  
  .navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }
  
  .navbar-dark .navbar-nav .nav-link:hover::after,
  .navbar-dark .navbar-nav .nav-link.active::after {
    width: 30%;
    margin-left:-24px;
  }

/* .navbar {
    background-color: var(--bg-dark);
    padding: 10mm 0;
    transition: all 0.3s ease;
    height:210px;
} */

a.nav-link{
    width: 180px;
}

/* .navbar-brand {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
} */

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Raleway', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 10mm;
    margin: 0 0 rem;
} 

/* .navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: white;
}

.navbar-dark .navbar-nav .nav-link.active {
    position: relative;
}

.navbar-dark .navbar-nav .nav-link.active:after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 25%;
} */

/* Hero Section */
.hero {
    position: relative;
    margin-top: 100px;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    margin-top:150px;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: rgba(10, 25, 47, 0.85);
}

.hero .container {
    position: relative;
    z-index: 1;
    padding: 10mm;
}

.hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero .lead {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero .tagline {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    /* background-color: rgba(0, 0, 0, 0.3); */
    padding: 10mm;
    /* border-radius: 50px; */
    margin: 1rem 0;
    /* margin-left: -40%; */
}

.award-badge img {
    height: 100px;
    margin-right: 10px;
}

.award-badge span {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: xx-large;
    color: var(--accent-color);
}

/* Promotional Banner */
.promo-banner {
    /* background-color: var(--bg-dark); */
    color: var(--dark-color);
    margin-top: 145px;
    padding: 10mm;
    text-align: center;
    position: relative;
}

.promo-banner h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo-banner p {
    font-family: 'Raleway', sans-serif;
    margin-bottom: 0;
}

.promo-banner .countdown {
    font-weight: 700;
    color: var(--primary-color);
}

/* Services Section */
.services {
    background-color: var(--bg-light);
    padding: 10mm 0;
}

.service-card {
    background-color: white;
    padding: 10mm;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Case Studies Section */

.case-studies-header {
    background-color:#2E3B4E;
    margin-top: 249px;
    color: white;
    padding: 10mm 0 10mm;
    position: relative;
}

.case-studies {
    padding: 10mm 0;
}

.case-study-card {
    background-color: white;
    border-radius: 8px;
    /* overflow: hidden; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    padding:20px;
    /* border:2px solid #ffac00; */
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    /* height: 250px; */
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

/* ### New add-on for Image Border Box ### */
.image-placeholder .file-name img{
    width:100%;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-content {
    padding: 10mm;
}

.case-study-content .badge {
    font-family: 'Raleway', sans-serif;
    margin-bottom: 0.75rem;
}

.case-study-content h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.star-section.situation,.star-section.task,.star-section.action,.star-section.result {
    border:none;
}



/* About Preview Section */
.about-preview {
    background-color: var(--bg-light);
    padding: 10mm 0;
}

.skills-container {
    margin-top: 2rem;
}

.skill {
    margin-bottom: 1.5rem;
}

.skill span {
    font-family: 'Raleway', sans-serif;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Contact CTA Section */
.contact-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 10mm 0;
}

.contact-cta .section-title {
    color: white;
}

.contact-cta .section-title:after {
    background-color: white;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 10mm 0 10mm;
}

.footer h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h3:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer a {
    font-family: 'Raleway', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.copyright {
    font-family: 'Raleway', sans-serif;
    color: rgba(255, 255, 255, 0.6);
}

.terms-page-content{
    margin-top: 200px;
    /* border:1px solid #ffac00; */
}

/* Case Study Detail Pages */
.case-study-header {
    background-color: var(--bg-dark);
    color: white;
    padding: 10mm 0 10mm;
    margin-top:115px;
    position: relative;
}

.case-study-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
}

.case-study-header .container {
    position: relative;
    /* margin-top:50px; */
    z-index: 1;
}

.case-study-meta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.meta-item {
    flex: 1;
    min-width: 200px;
}

.meta-item h5 {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.case-study-content {
    padding: 10mm 0;
}

.case-study-section {
    margin-bottom: 4rem;
}

.case-study-section h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.case-study-section h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

/* About Page */
.about-header {
    background-color: var(--bg-dark);
    color: white;
    margin-top: 249px;
    padding: 10mm 0 10mm;
    position: relative;
}

.about-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#2E3B4E;
}

.about-header .container {
    position: relative;
    z-index: 1;
}

.about-content {
    padding: 10mm 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-section h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

/* Services Page */
.promo-banner{
    margin-top:175px;
    position: relative;
}

.services-header {
    /* background-color: var(--bg-dark); */
    color: white;
    padding: 10mm 0 10mm;
    position: relative;
}

.services-header .overlay {
    position: absolute;
    margin-top: -40px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#2E3B4E;
}

.services-header .container {
    position: relative;
    z-index: 1;
}

.services-content {
    padding: 10mm 0;
}

.service-detail {
    margin-bottom: 5rem;
}

.service-detail h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.service-detail h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

/* Contact Page */
.contact-header {
    background-color: var(--bg-dark);
    margin-top: 249px;
    color: white;
    padding: 10mm 0 10mm;
    position: relative;
}

.contact-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#2E3B4E;
}

.contact-header .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    padding: 10mm 0;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-form .form-control {
    font-family: 'Raleway', sans-serif;
    padding: 10mm;
    border-radius: 4px;
    border: 1px solid #ced4da;
    margin-bottom: 1.5rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* NDA Project Request Button */
.nda-request-btn {
    font-family: 'Raleway', sans-serif;
    background-color: var(--dark-color);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.nda-request-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Pricing Section */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-featured {
    border: 2px solid var(--accent-color);
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transform: translateX(30%) translateY(0%) rotate(45deg);
    transform-origin: top left;
    width: 150px;
    text-align: center;
}

.limited-time-offer {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--discount-color);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.original-price {
    text-decoration: line-through;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.discount-price {
    color: var(--discount-color);
    font-weight: 700;
}

.discount-badge {
    display: inline-block;
    background-color: var(--discount-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.offer-ends {
    font-size: 0.8rem;
    color: var(--discount-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero .tagline {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .logo-fluid2 {
        width: 50%;
        /* border:2px solid #ffac00; */
        margin:0 25%;
    }

    .navbar li{
        background:#0056b3;
    }

}

@media (max-width: 767.98px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.25rem;
    }
    
    .hero .tagline {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card, .case-study-card {
        margin-bottom: 2rem;
    }

    .navbar-toggler{
        position:absolute;
        margin-left:430px;
        /* border:1px solid #ffac00; */
    }


}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 10mm;
        font-size: 1rem;
    }
    
    .award-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .award-badge img {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .navbar-toggler{
        position:absolute;
        margin-left:260px;
        /* border:1px solid #ffac00; */
    }

}
