/* Digital Marketing Certification Courses - Main Styles */

:root {
    --color-primary: #395ceb;
    --color-secondary: #8d3de5;
    --color-tertiary: #0abecb;
    --color-quaternary: #f8ac12;
    --color-quinary: #08b289;
    --color-primary-light: #bbcaec;
    --color-secondary-light: #fbfafd;
    --color-tertiary-light: #cde4e9;
    --color-quaternary-light: #f4e3ba;
    --color-quinary-light: #d7f1e1;
    --color-primary-dark: #194fe7;
    --color-secondary-dark: #4e28d2;
    --color-tertiary-dark: #0aacbe;
    --color-quaternary-dark: #ca7e00;
    --color-quinary-dark: #01956b;
    --color-white: #ffffff;
    --color-black: #262626;
    --color-gray-light: #f8fafc;
    --color-gray: #5c7492;
    --color-gray-dark: #2c3d4b;
    --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 7px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-family-primary);
    line-height: var(--line-height-base);
    color: var(--color-gray-dark);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-black);
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.98rem; }
h3 { font-size: 1.57rem; }
h4 { font-size: 1.32rem; }
h5 { font-size: 1.16rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-gray);
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.32rem !important;
    font-weight: 700;
    color: var(--color-primary) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--color-gray-dark) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary) !important;
}

.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../DAC_images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
    position: relative;
    z-index: 2;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: 2.58rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.20rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    border-radius: var(--border-radius-md);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary-dark));
}

.form-control {
    border: 2px solid var(--color-gray-light);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(34, 71, 214, 0.25);
}

.team-member {
    text-align: center;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-sm);
    border: 4px solid var(--color-primary-light);
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin: var(--spacing-sm);
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    background: var(--color-primary-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    width: 100%;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.faq-answer {
    padding: var(--spacing-sm) var(--spacing-md);
    display: none;
}

.faq-answer.active {
    display: block;
}

.gallery-item {
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.footer {
    background: linear-gradient(135deg, var(--color-gray-dark), var(--color-black));
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer h5 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.footer a {
    color: var(--color-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-primary);
}

.breadcrumb {
    background: transparent;
    padding: var(--spacing-sm) 0;
    margin-bottom: var(--spacing-md);
}

.breadcrumb-item img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
}

.img-hero { width: 100%; height: 400px; object-fit: cover; border-radius: var(--border-radius-lg); }
.img-service { width: 100%; height: 200px; object-fit: cover; border-radius: var(--border-radius-md); }
.img-feature { width: 100%; height: 150px; object-fit: cover; border-radius: var(--border-radius-md); }
.img-gallery { width: 100%; height: 250px; object-fit: cover; }

#space {
    min-height: 70vh;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: var(--spacing-md);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.63rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
    box-shadow: var(--shadow-md);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    width: 45%;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px var(--color-white), 0 0 0 8px var(--color-primary);
}

.timeline-item:nth-child(odd)::before {
    right: -35px;
}

.timeline-item:nth-child(even)::before {
    left: -35px;
}

/* Blog Section Enhancements */
.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Gallery Section */
.gallery-item a {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Case Study Cards */
.casestudy-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--color-primary);
}

.casestudy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--color-secondary);
}

/* Career Cards */
.career-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* Core Info Cards */
.coreinfo-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.coreinfo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.coreinfo-card:hover i {
    transform: scale(1.1);
    color: var(--color-secondary);
}

/* Enhanced Button Styles */
.btn-outline-primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Section Spacing and Visual Hierarchy */
.section:nth-child(even) {
    background: var(--color-gray-light);
}

/* Badge Styles */
.badge {
    font-size: 0.84rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
}

/* Enhanced Responsive Images */
.img-blog {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Optimizations */
@media print {
    .timeline::before,
    .timeline-item::before {
        display: none;
    }
    
    .timeline-item {
        width: 100%;
        margin: 1rem 0;
        page-break-inside: avoid;
    }
    
    .process-step,
    .gallery-item {
        page-break-inside: avoid;
    }
}



/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
