/*
* AdSphere Dynamics - Digital Marketing Agency Website
* Main Stylesheet
* Copyright 2023
*/

/* ==========================================
   Table of Contents
   - Base Styles & Typography
   - Header & Navigation
   - Hero Section
   - Services Section
   - About Section
   - Testimonials Section
   - CTA Section
   - Footer
   - Page Banner (internal pages)
   - Contact Form
   - Service Details
   - Team Section
   - Pricing Section
   - FAQ Section
   - Animations & Effects
   - Utility Classes
========================================== */

/* ==========================================
   Base Styles & Typography
========================================== */
:root {
    /* Primary Colors */
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #4895ef;
    
    /* Secondary Colors */
    --secondary-color: #560bad;
    --secondary-dark: #480ca8;
    --secondary-light: #7209b7;
    
    /* Neutral Colors */
    --dark-color: #1a1a2e;
    --text-color: #333333;
    --text-light: #6c757d;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --white-color: #ffffff;
    
    /* Success/Error Colors */
    --success-color: #4caf50;
    --error-color: #f44336;
    
    /* Fonts */
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --section-padding-sm: 60px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-color);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

p {
    margin-bottom: 20px;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-light {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--gray-light);
    color: var(--primary-dark);
}

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

.section-header h2 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   Header & Navigation
========================================== */
.header {
    padding: 15px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: inline-block;
}

.logo {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.navbar-nav {
    margin-left: auto;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 10px 0;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.navbar-toggler {
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 24px;
}

.navbar .btn-primary {
    padding: 8px 20px;
}

/* ==========================================
   Hero Section
========================================== */
.hero-section {
    padding: 180px 0 100px;
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-bg {
    max-width: 100%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ==========================================
   Services Section
========================================== */
.services-section {
    background-color: var(--white-color);
    padding: var(--section-padding);
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--white-color);
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 28px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover i {
    margin-left: 10px;
}

/* ==========================================
   About Section
========================================== */
.about-section {
    background-color: var(--gray-light);
    padding: var(--section-padding);
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-light);
    margin-bottom: 0;
    font-weight: 500;
}

/* About Us Page Specific */
.about-us-section {
    padding: var(--section-padding);
}

.about-image {
    position: relative;
    margin-top: 30px;
}

.mission-vision {
    padding: var(--section-padding-sm);
    background-color: var(--gray-light);
}

.mission-box,
.vision-box {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.mission-box h3,
.vision-box h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mission-box ul,
.vision-box ul {
    margin-top: 20px;
}

.mission-box ul li,
.vision-box ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.mission-box ul li i,
.vision-box ul li i {
    color: var(--success-color);
    margin-right: 10px;
}

.our-values {
    padding: var(--section-padding);
}

.value-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--white-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 28px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.our-team {
    padding: var(--section-padding);
    background-color: var(--gray-light);
}

.team-member {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-img {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 5px;
}

.team-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.team-info .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-info .social-icons a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-info .social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.our-approach {
    padding: var(--section-padding);
}

.approach-step {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
}

.approach-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 20px;
}

.approach-step h3 {
    margin-bottom: 15px;
}

.why-choose-us {
    padding: var(--section-padding);
    background-color: var(--gray-light);
}

.choose-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.choose-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--white-color);
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 28px;
}

.choose-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ==========================================
   Testimonials Section
========================================== */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--white-color);
}

.testimonial-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-text i {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 10px;
    display: block;
}

.testimonial-text p {
    font-style: italic;
    color: var(--text-color);
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

/* ==========================================
   CTA Section
========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    color: var(--white-color);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 36px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

/* ==========================================
   Footer
========================================== */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 80px 0 0;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.footer-links,
.footer-contact {
    margin-bottom: 30px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ==========================================
   Page Banner (internal pages)
========================================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 150px 0 80px;
    color: var(--white-color);
}

.banner-content h1 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--white-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   Contact Form
========================================== */
.contact-info {
    padding: 80px 0 40px;
}

.info-box {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--white-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 28px;
}

.info-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.info-box p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form-section {
    padding: 0 0 80px;
}

.contact-heading {
    margin-bottom: 30px;
}

.contact-heading h2 {
    margin-bottom: 20px;
}

.social-connect h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.contact-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-label {
    font-weight: 500;
}

.required {
    color: var(--error-color);
}

.form-control {
    height: 50px;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

textarea.form-control {
    height: auto;
}

.map-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 20px;
    font-weight: 500;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--white-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 20px;
    color: var(--text-light);
}

/* ==========================================
   Service Details
========================================== */
.services-overview {
    padding: 80px 0 40px;
}

.service-details {
    padding: 60px 0;
}

.service-details:nth-child(odd) {
    background-color: var(--white-color);
}

.service-details:nth-child(even) {
    background-color: var(--gray-light);
}

.service-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.service-illustration {
    color: var(--primary-color);
    opacity: 0.7;
}

.service-features {
    margin: 25px 0;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.service-features li i {
    color: var(--success-color);
    margin-right: 10px;
    margin-top: 5px;
}

/* ==========================================
   Pricing Section
========================================== */
.pricing-section {
    padding: var(--section-padding);
    background-color: var(--gray-light);
}

.pricing-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: 500;
}

.pricing-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    color: var(--white-color);
    margin-bottom: 15px;
}

.pricing-header h2 {
    font-size: 42px;
    color: var(--white-color);
    margin-bottom: 0;
}

.pricing-header h2 span:first-child {
    font-size: 24px;
    vertical-align: top;
    margin-right: 5px;
}

.pricing-header h2 span:last-child {
    font-size: 16px;
    font-weight: 400;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    margin-right: 10px;
}

.pricing-features ul li i.fa-check {
    color: var(--success-color);
}

.pricing-features ul li i.fa-times {
    color: var(--error-color);
}

.pricing-features ul li.not-included {
    color: var(--text-light);
    text-decoration: line-through;
}

.pricing-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.custom-pricing {
    margin-top: 50px;
}

.custom-pricing h4 {
    margin-bottom: 10px;
}

.custom-pricing p {
    margin-bottom: 20px;
    color: var(--text-light);
}

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

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

.fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.slideUp {
    animation: slideUp 0.5s ease forwards;
}
