/* Modern Style for E-artic Solutions 10th Anniversary Redesign */

:root {
    --primary-color: #ea4d29;
    --secondary-color: #2c3e50;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d43f1e;
    border-color: #d43f1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 77, 41, 0.3);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled,
.inner-page .navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand img {
    height: 80px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
}

.navbar.scrolled .navbar-brand img,
.inner-page .navbar .navbar-brand img {
    height: 80px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 0px;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 10px;
    position: relative;
    font-size: 0.9rem;
}

.navbar.scrolled .nav-link,
.inner-page .navbar .nav-link {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* WhatsApp Icon */
.whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-icon:hover {
    background-color: #25D366;
    transform: scale(1.1);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Custom Navbar Toggler */
.custom-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    padding: 8px 10px;
    background-color: white;
}

.custom-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(234, 77, 41, 0.25);
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ea4d29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

.navbar.scrolled .custom-toggler,
.inner-page .navbar .custom-toggler {
    background-color: white;
}

.navbar.scrolled .custom-toggler .navbar-toggler-icon,
.inner-page .navbar .custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ea4d29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 100px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Services */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    transition: all 0.4s ease;
    background: #fff;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
}

.portfolio-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
    transition: transform 0.6s ease;
    background: #fff;
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(234, 77, 41, 0.9), rgba(234, 77, 41, 0.4));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: 0.1s;
    color: white;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.portfolio-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.portfolio-btn {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.portfolio-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

/* Portfolio Carousel Controls */
#portfolioCarousel {
    position: relative;
    padding: 0 60px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-icon {
    font-size: 1.2rem;
    color: white;
}

.carousel-indicators {
    margin-bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background-color: #fff;
}

.seo-card {
    padding: 30px;
    border-radius: 15px;
    background: var(--light-color);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.seo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.seo-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Stripe */
.contact-stripe {
    background-color: var(--primary-color);
    padding: 50px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-stripe h2 {
    color: white;
    margin-bottom: 10px;
}

.contact-stripe .btn-light {
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 35px;
}

.contact-stripe .btn-light:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Page Hero Spacing */
.about-hero,
.works-hero,
.contact-hero {
    margin-top: 100px;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: #f0e6d2;
    padding: 15px 0;
    height: 55px;
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* Who We Are Background Section */
.about-bg-section {
    position: relative;
    background-image: url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: white;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.about-content-wrapper {
    position: relative;
    z-index: 2;
}

/* Stats Stripe */
.stats-stripe {
    background-color: var(--primary-color);
    padding: 40px 0;
    color: white;
}

.stat-item {
    text-align: center;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Modern Team Section */
.team-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.team-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card-modern:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.team-social a {
    color: #999;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--primary-color);
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(234, 77, 41, 0.15);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b47);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-info-text {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Modern Contact Form */
.modern-contact-form {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.modern-contact-form .form-control,
.modern-contact-form .form-select {
    border-radius: 10px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.modern-contact-form .form-control:focus,
.modern-contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(234, 77, 41, 0.1);
}

.modern-contact-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

/* Map Wrapper */
.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 500px;
}

/* Blog Styles */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #999;
}

.blog-meta span i {
    margin-right: 5px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--secondary-color);
    gap: 10px;
}

/* Blog Detail Styles */
.blog-detail-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.blog-detail-meta {
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.blog-detail-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.blog-detail-content p {
    margin-bottom: 20px;
}

.blog-share .btn {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Blog Sidebar */
.blog-sidebar .widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item:hover {
    padding-left: 10px;
}

.recent-post-image {
    flex-shrink: 0;
}

.recent-post-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.recent-post-content h6 {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    line-height: 1.4;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #999;
}

.blog-meta span i {
    margin-right: 5px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--secondary-color);
    gap: 10px;
}

/* Blog Detail Styles */
.blog-detail-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.blog-detail-meta {
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.blog-detail-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.blog-detail-content p {
    margin-bottom: 20px;
}

.blog-share .btn {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Blog Sidebar */
.blog-sidebar .widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item:hover {
    padding-left: 10px;
}

.recent-post-image {
    flex-shrink: 0;
}

.recent-post-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.recent-post-content h6 {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    line-height: 1.4;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.category-list span {
    color: var(--primary-color);
    font-weight: 600;
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-color), #ff6b47);
    color: white;
}

/* 10th Anniversary */
.anniversary-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {

    /* Position navbar toggler 100px from right on home page only */
    body:not(.inner-page) .navbar .navbar-toggler {
        position: absolute;
        right: 100px;
    }
}