/* Digital Marketing Services Page Styles */

/* Marketing Hero Section */
.marketing-hero {
    background: linear-gradient(135deg, #ff3366, #ff9966);
    color: white;
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.marketing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.marketing-hero .hero-content {
    position: relative;
    z-index: 2;
}

.marketing-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.marketing-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats .stat {
    text-align: center;
    background-color: transparent;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #ff3366;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid #f0f0f0;
    height: auto;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff3366, #ff9966);
    border-radius: 20px 20px 0 0;
}

.service-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
    background: linear-gradient(135deg, #ff3366 0%, #ff9966 100%);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}


.service-category {
    color: #ff3366;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.service-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.service-tagline {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 400;
}

.service-content {
    padding: 0 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex: 1;
}

.service-actions {
    text-align: center;
    margin-top: auto;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid #ff3366;
    color: #ff3366;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.btn-outline:hover {
    background: #ff3366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.3);
}

/* Work Process Section */
.process-section {
    padding: 5rem 0;
    background: white;
}

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

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ff3366, #ff9966);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
    text-align: right;
    padding-right: 3rem;
    padding-left: 0;
}

.process-step:nth-child(odd) .step-content {
    padding-left: 3rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3366, #ff9966);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    margin: 0 2rem;
}

.step-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease-out;
    overflow-y: auto;
}

.modal-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    margin: 3% auto;
    padding: 0;
    border-radius: 25px;
    width: 92%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.8rem;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    z-index: 10;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.close:hover {
    color: #ff3366;
    background: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.2);
}

.modal-body {
    padding: 3rem;
}

.modal-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #ff3366, #ff9966);
    border-radius: 1px;
}

.modal-service-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    background: linear-gradient(135deg, #ff3366 0%, #ff9966 100%);
    box-shadow: 0 15px 35px rgba(255, 51, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(-45deg) translate(-100%, -100%); }
    50% { transform: rotate(-45deg) translate(100%, 100%); }
    100% { transform: rotate(-45deg) translate(-100%, -100%); }
}

.modal-service-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modal-service-tagline {
    font-size: 1.3rem;
    color: #ff3366;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.modal-service-category {
    display: inline-block;
    background: linear-gradient(45deg, #ff3366, #ff9966);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.modal-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.modal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.modal-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.modal-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff3366, #ff9966);
    border-radius: 2px;
}

.modal-section h3 i {
    color: #ff3366;
    font-size: 1.3rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.1), rgba(255, 153, 102, 0.1));
    border-radius: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.feature-item {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    padding: 1.2rem;
    border-radius: 15px;
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.1);
    border-color: rgba(255, 51, 102, 0.2);
}

.feature-item i {
    color: #ff3366;
    font-size: 1rem;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.1), rgba(255, 153, 102, 0.1));
    border-radius: 8px;
    flex-shrink: 0;
}

.tools-list, .metrics-list, .process-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.tool-tag, .metric-tag, .process-tag {
    background: linear-gradient(45deg, #ff3366, #ff9966);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.2);
}

.tool-tag:hover, .metric-tag:hover, .process-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.3);
}

.metric-tag {
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.metric-tag:hover {
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.process-tag {
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.process-tag:hover {
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff3366 0%, #ff9966 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff3366 0%, #ff9966 100%);
    color: white;
}

.btn-secondary {
    background: transparent;
}

.btn-secondary:hover {
    background: white;
    color: #ff3366;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .marketing-hero h1 {
        font-size: 2.5rem;
    }
    
    .marketing-hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .service-card {
        margin: 0;
    }
    
    .service-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .service-content {
        padding: 0 1.5rem 2rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step,
    .process-step:nth-child(even) {
        flex-direction: row;
    }
    
    .step-number {
        margin: 0 1rem 0 0;
    }
    
    .step-content,
    .process-step:nth-child(even) .step-content {
        text-align: left;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        border-radius: 20px;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .modal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-service-name {
        font-size: 2rem;
    }
    
    .modal-service-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .marketing-hero {
        padding: 6rem 0 3rem;
    }
    
    .marketing-hero h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services-section,
    .process-section {
        padding: 3rem 0;
    }
    
    .service-card {
        margin: 0;
    }
    
    .service-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .service-content {
        padding: 0 1rem 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-name {
        font-size: 1.3rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-service-name {
        font-size: 1.8rem;
    }
    
    .modal-service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .modal-section h3 {
        font-size: 1.2rem;
    }
    
    .btn-outline {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }
    
    .tools-list, .metrics-list, .process-list {
        gap: 0.5rem;
    }
    
    .tool-tag, .metric-tag, .process-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}
