/* Services Section Styles */
.services-section {
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-sm);
    height: auto;
}

.service-card {
    position: relative;
    background: var(--color-primary-dark);
    border: none;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 17, 40, 0.1) 0%,
            rgba(10, 17, 40, 0.8) 70%,
            rgba(10, 17, 40, 0.95) 100%);
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-md);
    color: var(--color-white);
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.service-card:hover .service-card-content {
    transform: translateY(0);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transition: all 0.6s ease;
    max-height: 0;
    overflow: hidden;
}

.service-card:hover .service-description {
    opacity: 1;
    max-height: 400px;
}

.card-action {
    color: var(--color-accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.service-card:hover .card-action {
    border-bottom-color: var(--color-accent-gold);
}

/* ===================================
   New Service Page Layout Details
   =================================== */

.sub-nav {
    background: var(--color-primary-dark);
    /* Navy/Charcoal */
    padding: 1rem 0;
    position: sticky;
    top: 90px;
    z-index: 900;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--color-accent-gold);
}

.sub-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.sub-nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.sub-nav-link:hover {
    color: var(--color-accent-gold) !important;
    opacity: 1;
}

.sub-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent-gold);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.sub-nav-link:hover::after {
    width: 100%;
}

.feature-section {
    padding: var(--spacing-xl) 0;
    scroll-margin-top: 140px;
}

.feature-section:nth-child(even) {
    background-color: var(--color-bg-soft);
}

.feature-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.feature-section:nth-child(even) .feature-grid {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1.2;
}

.feature-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    min-width: 350px;
}

.feature-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.feature-content h2 {
    font-size: 3rem;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.feature-text {
    font-size: 1.1rem;
    color: var(--color-medium-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.checklist {
    list-style: none;
    margin-top: var(--spacing-md);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(230, 57, 70, 0.1);
    border: 1.5px solid #e63946;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e63946;
    font-size: 0.8rem;
}

/* Dual List Layout */
.lists-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: var(--spacing-md);
}

.list-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--color-accent-gold);
    padding-left: 12px;
}

.product-list {
    list-style: none;
    padding: 0;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--color-medium-gray);
    font-weight: 500;
}

.product-item .check-icon {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .lists-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.services-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

@media (max-width: 992px) {
    .feature-grid {
        flex-direction: column !important;
        gap: 40px;
    }

    .feature-image-wrapper {
        min-width: 100%;
        height: 400px;
    }

    .sub-nav {
        top: 70px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Premium Download Buttons
   =================================== */

.download-container {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--color-primary-dark);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.download-btn i {
    font-size: 1.3rem;
    color: var(--color-accent-gold);
    transition: all 0.3s ease;
}

.download-btn span {
    position: relative;
    z-index: 1;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    border-color: var(--color-accent-gold);
    background: #fff;
}

.download-btn:hover::before {
    transform: translateX(100%);
}

.download-btn:hover i {
    transform: scale(1.1) rotate(-8deg);
    color: var(--color-primary-dark);
}

.download-btn:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .download-container {
        flex-direction: column;
        align-items: stretch;
    }

    .download-btn {
        justify-content: center;
    }
}