/* Variables */
:root {
    --primary-color: #D32F2F;
    /* BHM Red */
    --primary-gradient: linear-gradient(135deg, #D32F2F, #8E0000);
    /* Premium Red Gradient */
    --secondary-color: #1A1A1A;
    /* Deep Dark Grey */
    --text-color: #444444;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.text-highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: 70px;
}

.center-header {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-white {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(211, 47, 47, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.logo-dot {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links .btn-primary {
    padding: 12px 25px;
    font-size: 0.85rem;
}

.nav-links .btn-primary::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* Page Header (Small Hero) */
.page-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 180px 0 80px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section (Home) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 4rem;
}

.hero-badges {
    display: flex;
    gap: 40px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.badge-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 50%;
    padding: 15px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary-color);
}

.service-card:hover .service-icon-wrapper img {
    filter: brightness(0) invert(1);
}

.service-icon {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

/* Offer Banner */
.offer-banner {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.offer-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.offer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.offer-text h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.offer-text ul {
    margin-top: 20px;
    display: flex;
    gap: 30px;
}

.offer-text li {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

/* Process Section */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: #eee;
    transform: translateX(-50%);
}

.process-step {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding: 0 40px;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.step-number {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 0 0 5px var(--white);
}

.process-step:nth-child(odd) .step-number {
    right: -25px;
}

.process-step:nth-child(even) .step-number {
    left: -25px;
}

.process-content {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover .process-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    border-top: 1px solid #eee;
    background: var(--white);
}

.clients-title {
    text-align: center;
    text-transform: uppercase;
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.clients-grid:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.client-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: #333;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-info h2 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-info p {
    color: #aaa;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-item p {
    color: #fff;
    margin: 0;
    padding-top: 8px;
}

.footer-form-wrapper {
    background: #252525;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #333;
    border: 1px solid #444;
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #3a3a3a;
}

.full-width {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-grid,
    .footer-grid,
    .offer-content {
        grid-template-columns: 1fr;
    }

    .hero-badges {
        flex-direction: column;
        gap: 15px;
    }

    .offer-text ul {
        flex-direction: column;
        gap: 10px;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-step {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left !important;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        left: 0;
    }

    .step-number {
        left: -5px !important;
        right: auto !important;
    }
}

/* CEO Image Styles */
.ceo-image-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 35px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.ceo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ceo-image-container:hover .ceo-image {
    transform: scale(1.1);
}

.ceo-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

@keyframes float {
    0% {
        transform: translateY(0px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    }

    100% {
        transform: translateY(0px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* Start hidden */
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Work Gallery */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.work-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    height: 300px;
    /* Fixed height for consistency */
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.work-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}