/******************************************************************
  Template Name: Delson Marketing
  Description: Professional Marketing Agency Template
  Author: Delson Marketing Limited
  Version: 2.1
******************************************************************/

/*------------------------------------------------------------------
[Table of contents]

1.  CSS Variables (Enhanced)
2.  Reset & Defaults
3.  Helper Classes
4.  Header Section
5.  Hero Section
6.  Services Section
7.  Work/Portfolio Section
8.  Counter Section
9.  Team Section
10. Latest/Blog Section
11. Footer Section
12. Responsive Styles
13. Animations & Keyframes
14. Print Styles
-------------------------------------------------------------------*/

/*----------------------------------------*/
/* 1. CSS Variables (Enhanced)
/*----------------------------------------*/
:root {
    /* Brand Colors */
    --primary-color: #00bfe7;
    --primary-dark: #0099bb;
    --primary-light: #4dd2f0;
    --secondary-color: #100028;
    --dark-bg: #100028;
    --light-bg: #272727;
    --text-light: #ffffff;
    --text-muted: #adadad;
    --text-dark: #111111;
    --brand-red: #7e332e;
    --brand-dark: #602220;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.2);
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Oswald', 'Courier New', Courier, monospace;
    --font-subheading: 'Josefin Sans', sans-serif;
    --font-button: 'Play', sans-serif;
    
    /* Spacing */
    --transition-speed: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.7s;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --border-radius-xl: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-bg) 0%, #1a083d 100%);
    --gradient-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

/*----------------------------------------*/
/* 2. Reset & Defaults
/*----------------------------------------*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background: var(--dark-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--text-light);
    font-weight: 400;
    font-family: var(--font-heading);
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.375rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.25rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
}

h6 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

p {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-family: var(--font-subheading);
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    margin: 0 0 15px 0;
}

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

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

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
    color: var(--primary-light);
}

input:focus,
select:focus,
button:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

::selection {
    background: var(--primary-color);
    color: var(--text-light);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/*----------------------------------------*/
/* 3. Helper Classes
/*----------------------------------------*/
.about-content {
    background-color: var(--dark-bg);
    color: var(--text-dark);
}

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

.section-title.center-title {
    text-align: center;
}

.section-title.center-title h2::after {
    right: 0;
    margin: 0 auto;
}

.section-title span {
    color: var(--primary-color);
    display: block;
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title h2 {
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 25px;
}

.section-title h2::after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 70px;
    background: var(--gradient-primary);
    content: '';
    transition: width var(--transition-medium) ease;
}

.section-title.center-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title:hover h2::after {
    width: 120px;
}

.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.spad {
    padding-top: clamp(60px, 10vw, 100px);
    padding-bottom: clamp(60px, 10vw, 100px);
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white span,
.text-white li,
.text-white a {
    color: var(--brand-red);
}

/* Buttons Enhanced */
.primary-btn {
    display: inline-block;
    font-size: clamp(0.75rem, 1vw, 0.938rem);
    font-family: var(--font-button);
    font-weight: 700;
    padding: 14px 32px 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 191, 231, 0.3);
}

.primary-btn:hover::before,
.primary-btn:hover::after {
    height: 100%;
    width: 100%;
}

.primary-btn::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    border-left: 2px solid var(--primary-color);
    border-top: 2px solid var(--primary-color);
    content: '';
    z-index: -1;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.primary-btn::after {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 30px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    content: '';
    z-index: -1;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.primary-btn.btn-white::before,
.primary-btn.btn-white::after {
    border-color: var(--text-light);
}

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

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

.primary-btn.btn-filled::before,
.primary-btn.btn-filled::after {
    display: none;
}

.primary-btn.btn-filled:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 191, 231, 0.3);
}

.site-btn {
    font-size: clamp(0.75rem, 1vw, 0.938rem);
    color: var(--text-light);
    background: var(--gradient-primary);
    font-family: var(--font-button);
    font-weight: 700;
    border: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 34px 12px;
    width: 100%;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border-radius: var(--border-radius);
}

.site-btn:hover {
    background: var(--brand-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Preloader */
#preloder {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    animation: loader 0.8s linear infinite;
    position: relative;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
        border: 4px solid #f44336;
        border-left-color: transparent;
    }
    25% {
        border-color: #ff9800;
        border-left-color: transparent;
    }
    50% {
        transform: rotate(180deg);
        border: 4px solid #673ab7;
        border-left-color: transparent;
    }
    75% {
        border-color: #00bfe7;
        border-left-color: transparent;
    }
    100% {
        transform: rotate(360deg);
        border: 4px solid #f44336;
        border-left-color: transparent;
    }
}

/*----------------------------------------*/
/* 4. Header Section (Enhanced)
/*----------------------------------------*/
.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    z-index: 9;
    transition: all var(--transition-medium) ease;
}

.header.sticky {
    position: fixed;
    background: rgba(96, 34, 32, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header__logo {
    padding: 25px 0;
    transition: all var(--transition-speed) ease;
}

.header.sticky .header__logo {
    padding: 15px 0;
}

.header__logo a {
    display: inline-block;
}

.header__logo img {
    max-height: 50px;
    width: auto;
    transition: all var(--transition-speed) ease;
}

.header.sticky .header__logo img {
    max-height: 40px;
}

.header__nav__option {
    text-align: right;
    padding: 23px 0;
    transition: all var(--transition-speed) ease;
}

.header.sticky .header__nav__option {
    padding: 13px 0;
}

.header__nav__menu {
    display: inline-block;
    margin-right: 45px;
}

.header__nav__menu ul li {
    display: inline-block;
    margin-right: 35px;
    position: relative;
}

.header__nav__menu ul li:last-child {
    margin-right: 0;
}

.header__nav__menu ul li a {
    font-size: clamp(0.75rem, 1vw, 0.938rem);
    font-family: var(--font-button);
    color: var(--text-light);
    display: block;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
    font-weight: 400;
    letter-spacing: 1px;
}

.header__nav__menu ul li a::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    content: '';
    transform: scale(0);
    transition: all var(--transition-speed) ease;
}

.header__nav__menu ul li.active a::after,
.header__nav__menu ul li:hover a::after {
    transform: scale(1);
}

.header__nav__menu ul li:hover .dropdown {
    top: 34px;
    opacity: 1;
    visibility: visible;
}

.header__nav__menu ul li .dropdown {
    position: absolute;
    left: 0;
    top: 60px;
    width: 180px;
    background: var(--text-light);
    text-align: left;
    padding: 10px 0;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.header__nav__menu ul li .dropdown li {
    display: block;
    margin-right: 0;
}

.header__nav__menu ul li .dropdown li a {
    font-size: 0.875rem;
    color: var(--text-dark);
    padding: 8px 20px;
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0;
}

.header__nav__menu ul li .dropdown li a::after {
    display: none;
}

.header__nav__menu ul li .dropdown li a:hover {
    color: var(--primary-color);
    padding-left: 25px;
}

.header__nav__social {
    display: inline-block;
    position: relative;
    padding-left: 50px;
}

.header__nav__social::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background: var(--border-color);
    content: '';
}

.header__nav__social a {
    color: var(--text-light);
    font-size: 0.938rem;
    margin-right: 18px;
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

.header__nav__social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

.header__nav__social a:last-child {
    margin-right: 0;
}

.slicknav_menu {
    display: none;
}

/*----------------------------------------*/
/* 5. Hero Section (Enhanced)
/*----------------------------------------*/
.hero__slider.owl-carousel .owl-item.active .hero__text span {
    top: 0;
    opacity: 1;
}

.hero__slider.owl-carousel .owl-item.active .hero__text h1,
.hero__slider.owl-carousel .owl-item.active .hero__text h2 {
    top: 0;
    opacity: 1;
}

.hero__slider.owl-carousel .owl-item.active .hero__text .primary-btn {
    top: 0;
    opacity: 1;
}

.hero__slider.owl-carousel .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 45px;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero__slider.owl-carousel .owl-dots button {
    color: var(--text-muted);
    font-size: clamp(0.875rem, 1.2vw, 1.125rem);
    font-family: var(--font-button);
    margin-right: 16px;
    position: relative;
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-speed) ease;
}

.hero__slider.owl-carousel .owl-dots button.active {
    color: var(--text-light);
}

.hero__slider.owl-carousel .owl-dots button.active::after {
    background: var(--text-light);
    height: 2px;
    width: 100%;
}

.hero__slider.owl-carousel .owl-dots button::after {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--border-color);
    content: '';
    transition: width var(--transition-speed) ease;
}

.hero__slider.owl-carousel .owl-dots button:hover::after {
    width: 100%;
}

.hero__slider.owl-carousel .owl-dots button:last-child {
    margin-right: 0;
}

.hero__item {
    min-height: 684px;
    height: 100vh;
    max-height: 800px;
    padding-top: 255px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero__item::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    content: '';
}

.hero__text {
    position: relative;
    z-index: 2;
}

.hero__text .hero__subtitle {
    color: var(--text-light);
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 3px;
    opacity: 0.8;
}

.hero__text h1,
.hero__text h2 {
    color: var(--text-light);
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    top: 100px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__text .primary-btn {
    position: relative;
    top: 100px;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__text .primary-btn:hover {
    color: var(--primary-light);
    transform: translateY(-3px);
}

/*----------------------------------------*/
/* 6. Services Section (Enhanced)
/*----------------------------------------*/
.services {
    background: var(--gradient-dark);
    padding-bottom: 60px;
    padding-top: 110px;
}

.services__title p {
    margin-bottom: 45px;
}

.services__title ol {
    color: var(--text-light);
    padding-left: 20px;
}

.services__title ol li {
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 300;
    position: relative;
    padding-left: 25px;
}

.services__title ol li::before {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    content: '▹';
    font-weight: 700;
}

.services__item {
    margin-bottom: 45px;
    padding: 30px 25px;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-medium) cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.services__item:hover {
    background: rgba(0, 191, 231, 0.05);
    transform: translateY(-10px);
    border-color: rgba(0, 191, 231, 0.1);
    box-shadow: var(--shadow-lg);
}

.services__item:hover .services__item__icon::after {
    transform: rotate(45deg);
    border-color: var(--primary-light);
}

.services__item h4 {
    color: var(--text-light);
    font-size: clamp(1.1rem, 1.8vw, 1.375rem);
    font-weight: 700;
    margin-top: 26px;
    margin-bottom: 18px;
}

.services__item p {
    margin-bottom: 0;
    font-size: clamp(0.813rem, 1vw, 0.938rem);
}

.services__item__icon {
    position: relative;
    height: 70px;
    width: 70px;
    line-height: 70px;
    text-align: center;
}

.services__item__icon img {
    display: inline-block;
    max-height: 40px;
    width: auto;
    transition: all var(--transition-speed) ease;
}

.services__item:hover .services__item__icon img {
    transform: scale(1.1);
}

.services__item__icon::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    content: '';
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/*----------------------------------------*/
/* 7. Work/Portfolio Section (Enhanced)
/*----------------------------------------*/
.work {
    overflow: hidden;
    background: var(--dark-bg);
}

.work__gallery {
    margin-right: -10px;
    display: flex;
    flex-wrap: wrap;
}

.work__item {
    height: 311px;
    width: calc(16.67% - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work__item::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    content: '';
    transition: all var(--transition-medium) ease;
}

.work__item:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.work__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.work__item:hover .work__item__hover {
    bottom: 0;
}

.work__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-medium) ease;
}

.work__item:hover img {
    transform: scale(1.1);
}

.work__item.large__item {
    height: 633px;
    width: calc(33.33% - 10px);
}

.work__item.wide__item {
    width: calc(33.33% - 10px);
    height: 311px;
}

.work__item .play-btn {
    display: inline-block;
    color: var(--text-light);
    font-size: 1.25rem;
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
    z-index: 2;
    position: relative;
}

.work__item .play-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.grid-sizer {
    width: calc(16.67% - 10px);
}

.work__item__hover {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    left: 0;
    bottom: -300px;
    width: 100%;
    padding: 25px 30px 20px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.work__item__hover h4 {
    font-size: clamp(1.1rem, 1.8vw, 1.375rem);
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 8px;
}

.work__item__hover ul li {
    color: var(--text-muted);
    font-size: clamp(0.813rem, 1vw, 1rem);
    margin-right: 23px;
    position: relative;
    display: inline-block;
}

.work__item__hover ul li::after {
    position: absolute;
    right: -18px;
    top: 1px;
    content: '/';
}

.work__item__hover ul li:last-child {
    margin-right: 0;
}

.work__item__hover ul li:last-child::after {
    display: none;
}

/*----------------------------------------*/
/* 8. Counter Section (Enhanced)
/*----------------------------------------*/
.counter {
    background: var(--gradient-dark);
    padding: clamp(60px, 10vw, 100px) 0;
    overflow: hidden;
}

.counter__content {
    padding: 0 50px;
}

.counter__item {
    background: rgba(26, 8, 61, 0.8);
    transform: rotate(45deg);
    height: 255px;
    width: 255px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 auto 30px;
    border: 1px solid rgba(0, 191, 231, 0.1);
    transition: all var(--transition-medium) ease;
}

.counter__item:hover {
    transform: rotate(45deg) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.counter__item::before {
    position: absolute;
    left: -1px;
    bottom: -2px;
    height: 636px;
    width: 636px;
    border-left: 1px solid rgba(51, 51, 51, 0.5);
    border-top: 1px solid rgba(51, 51, 51, 0.5);
    content: '';
    z-index: -1;
}

.counter__item.second__item {
    margin-top: -185px;
}

.counter__item.second__item::before {
    left: -316px;
    bottom: -65px;
    border-right: 1px solid rgba(51, 51, 51, 0.5);
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    border-left: none;
    border-top: none;
}

.counter__item.four__item {
    margin-top: -185px;
}

.counter__item.four__item::before {
    left: -380px;
    bottom: -380px;
    border-right: 1px solid rgba(51, 51, 51, 0.5);
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    border-left: none;
    border-top: none;
}

.counter__item.third__item::before {
    left: -65px;
    bottom: -317px;
}

.counter__item__text {
    transform: rotate(-45deg);
    transition: all var(--transition-medium) ease;
}

.counter__item:hover .counter__item__text {
    transform: rotate(-45deg) scale(1.05);
}

.counter__item__text h2 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 6px;
}

.counter__item__text p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: clamp(0.813rem, 1vw, 1rem);
    opacity: 0.8;
}

.counter__item__text .counter-value {
    display: inline-block;
}

/*----------------------------------------*/
/* 9. Team Section (Enhanced)
/*----------------------------------------*/
.team {
    padding-bottom: 90px;
    background: var(--dark-bg);
}

.section-title.team__title {
    margin-bottom: 90px;
}

.team__item {
    height: 390px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-medium) ease;
}

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

.team__item:hover .team__item__text {
    bottom: 0;
}

.team__item.team__item--second {
    margin-top: -60px;
}

.team__item.team__item--third {
    margin-top: -120px;
}

.team__item.team__item--four {
    margin-top: -180px;
}

.team__item__text {
    text-align: center;
    position: absolute;
    left: 0;
    bottom: -500px;
    width: 100%;
    padding: 50px 30px 30px;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team__item__text::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: var(--gradient-overlay);
    content: '';
    z-index: -1;
}

.team__item__text h4 {
    font-size: clamp(1.1rem, 1.8vw, 1.375rem);
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.team__item__text p {
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.9;
}

.team__item__text .team__item__social a {
    color: var(--text-light);
    display: inline-block;
    font-size: 1rem;
    margin: 0 10px;
    transition: all var(--transition-speed) ease;
}

.team__item__text .team__item__social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.team__btn {
    position: relative;
    padding-top: 30px;
    text-align: center;
}

/*----------------------------------------*/
/* 10. Latest/Blog Section (Enhanced)
/*----------------------------------------*/
.latest {
    background: var(--dark-bg);
    padding-bottom: 80px;
}

.blog__item {
    border: 1px solid rgba(34, 34, 34, 0.5);
    padding: 40px 48px 35px 30px;
    position: relative;
    z-index: 1;
    margin-bottom: 45px;
    transition: all var(--transition-medium) cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.02);
}

.blog__item:hover {
    border-color: var(--primary-color) !important;
    background: rgba(0, 191, 231, 0.05);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog__item:hover ul li {
    color: var(--text-light);
}

.blog__item:hover p {
    color: var(--text-light);
}

.blog__item h4 {
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 18px;
    font-size: clamp(1.1rem, 1.8vw, 1.375rem);
}

.blog__item ul {
    margin-bottom: 20px;
}

.blog__item ul li {
    color: #777777;
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    font-weight: 300;
    margin-right: 25px;
    position: relative;
    display: inline-block;
}

.blog__item ul li::after {
    position: absolute;
    right: -16px;
    top: 0;
    content: '/';
}

.blog__item ul li:last-child {
    margin-right: 0;
}

.blog__item ul li:last-child::after {
    display: none;
}

.blog__item p {
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 22px;
}

.blog__item a {
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog__item a span {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.5;
    position: relative;
    top: 2px;
    margin-left: 5px;
    transition: all var(--transition-speed) ease;
}

.blog__item a:hover span {
    opacity: 1;
    transform: translateX(5px);
}

.latest__slider.owl-carousel .owl-item .col-lg-4 {
    max-width: 100%;
}

.latest__slider.owl-carousel .owl-dots {
    text-align: center;
    padding-top: 35px;
}

.latest__slider.owl-carousel .owl-dots button {
    height: 10px;
    width: 10px;
    background: var(--border-color);
    border-radius: 50%;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.latest__slider.owl-carousel .owl-dots button.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.latest__slider.owl-carousel .owl-dots button:last-child {
    margin-right: 0;
}

/*----------------------------------------*/
/* 11. Footer Section (Enhanced)
/*----------------------------------------*/
.footer {
    background: var(--light-bg);
}

.footer__top {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer__top__logo {
    line-height: 40px;
}

.footer__top__logo a {
    display: inline-block;
}

.footer__top__logo img {
    max-height: 40px;
    width: auto;
}

.footer__top__social {
    text-align: right;
}

.footer__top__social a {
    display: inline-block;
    font-size: 0.938rem;
    color: var(--text-light);
    height: 40px;
    width: 40px;
    background: var(--border-color);
    border-radius: 50%;
    line-height: 44px;
    text-align: center;
    margin-right: 6px;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__top__social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-sm);
}

.footer__top__social a:last-child {
    margin-right: 0;
}

.footer__option {
    padding-bottom: 35px;
    padding-top: 75px;
}

.footer__option__item {
    margin-bottom: 35px;
}

.footer__option__item h5 {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 35px;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    position: relative;
    padding-bottom: 15px;
}

.footer__option__item h5::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    content: '';
}

.footer__option__item p {
    font-weight: 300;
    margin-bottom: 20px;
}

.footer__option__item .read__more {
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer__option__item .read__more span {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.5;
    position: relative;
    top: 2px;
    margin-left: 5px;
    transition: all var(--transition-speed) ease;
}

.footer__option__item .read__more:hover span {
    opacity: 1;
    transform: translateX(5px);
}

.footer__option__item ul li a {
    color: var(--text-muted);
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 300;
    line-height: 32px;
    transition: all var(--transition-speed) ease;
}

.footer__option__item ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer__option__item form {
    position: relative;
}

.footer__option__item form input {
    height: 50px;
    width: 100%;
    padding-left: 20px;
    padding-right: 60px;
    border: 1px solid #544E5E;
    background: transparent;
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: var(--text-muted);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.footer__option__item form input::placeholder {
    color: var(--text-muted);
}

.footer__option__item form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 191, 231, 0.1);
}

.footer__option__item form button {
    font-size: 1.25rem;
    color: var(--text-light);
    border: none;
    height: 50px;
    width: 50px;
    background: var(--gradient-primary);
    line-height: 50px;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer__option__item form button:hover {
    background: var(--brand-dark);
    transform: scale(1.05);
}

.footer__copyright {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer__copyright__text {
    margin-bottom: 0;
    font-weight: 300;
    color: var(--text-muted);
    font-size: clamp(0.813rem, 0.9vw, 0.938rem);
}

.footer__copyright__text a {
    color: var(--primary-color);
}

.footer__copyright__text a:hover {
    color: var(--primary-light);
}

/*----------------------------------------*/
/* 12. Responsive Styles (Enhanced)
/*----------------------------------------*/
@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header__nav__menu {
        margin-right: 25px;
    }
    
    .header__nav__menu ul li {
        margin-right: 25px;
    }
    
    .header__nav__social {
        padding-left: 25px;
    }
    
    .counter__item::before {
        display: none;
    }
    
    .counter__content {
        padding: 0 145px 0 50px;
    }
    
    .counter__item.second__item {
        margin-top: -210px;
    }
    
    .counter__item.four__item {
        margin-top: -210px;
    }
    
    .hero__slider.owl-carousel .owl-dots {
        max-width: 930px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero__slider.owl-carousel .owl-dots {
        max-width: 690px;
    }
    
    .services__title {
        margin-bottom: 50px;
    }
    
    .counter__item {
        transform: rotate(0);
        margin-bottom: 30px;
        width: 100%;
        max-width: 255px;
    }
    
    .counter__item::before {
        display: none;
    }
    
    .counter__content {
        padding: 0;
    }
    
    .counter__item.second__item,
    .counter__item.four__item {
        margin-top: 0;
    }
    
    .counter__item__text {
        transform: rotate(0);
    }
    
    .counter__item:hover {
        transform: scale(1.05);
    }
    
    .counter__item:hover .counter__item__text {
        transform: scale(1.05);
    }
    
    .counter {
        height: auto;
        padding-top: 100px;
        padding-bottom: 70px;
    }
    
    .team__item.team__item--second,
    .team__item.team__item--third,
    .team__item.team__item--four {
        margin-top: 0;
    }
    
    .team__btn {
        position: relative;
        padding-top: 50px;
    }
    
    .about__pic {
        margin-bottom: 50px;
    }
    
    .about__text {
        padding-left: 0;
    }
    
    .portfolio__filter li {
        padding: 6px 15px;
    }
    
    .slicknav_menu {
        background: transparent;
        padding: 0;
        display: block;
    }
    
    .slicknav_nav ul {
        margin: 0;
        padding: 10px 30px;
    }
    
    .slicknav_nav .slicknav_row,
    .slicknav_nav a {
        padding: 7px 0;
        margin: 0;
        color: var(--text-light);
        font-weight: 600;
    }
    
    .slicknav_nav {
        background: var(--light-bg);
        border-radius: var(--border-radius);
        margin-top: 5px;
    }
    
    .slicknav_btn {
        position: absolute;
        right: 10px;
        top: 26px;
        background: var(--primary-color);
    }
    
    .header .container {
        position: relative;
    }
    
    .header__nav__option {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .services__title {
        margin-bottom: 50px;
    }
    
    .counter__item {
        transform: rotate(0);
        margin-bottom: 30px;
        width: 100%;
        max-width: 200px;
    }
    
    .counter__item::before {
        display: none;
    }
    
    .counter__content {
        padding: 0;
    }
    
    .counter__item.second__item,
    .counter__item.four__item {
        margin-top: 0;
    }
    
    .counter__item__text {
        transform: rotate(0);
    }
    
    .counter__item:hover {
        transform: scale(1.05);
    }
    
    .counter__item:hover .counter__item__text {
        transform: scale(1.05);
    }
    
    .counter {
        height: auto;
        padding-top: 100px;
        padding-bottom: 70px;
    }
    
    .team__item.team__item--second,
    .team__item.team__item--third,
    .team__item.team__item--four {
        margin-top: 0;
    }
    
    .team__btn {
        position: relative;
        padding-top: 50px;
    }
    
    .about__pic {
        margin-bottom: 50px;
    }
    
    .about__text {
        padding-left: 0;
    }
    
    .hero__slider.owl-carousel .owl-dots {
        max-width: 100%;
        padding: 0 15px;
        bottom: 25px;
    }
    
    .slicknav_menu {
        background: transparent;
        padding: 0;
        display: block;
    }
    
    .slicknav_nav ul {
        margin: 0;
        padding: 10px 20px;
    }
    
    .slicknav_nav .slicknav_row,
    .slicknav_nav a {
        padding: 7px 0;
        margin: 0;
        color: var(--text-light);
        font-weight: 600;
    }
    
    .slicknav_nav {
        background: var(--light-bg);
        border-radius: var(--border-radius);
        margin-top: 5px;
    }
    
    .slicknav_btn {
        position: absolute;
        right: 10px;
        top: 26px;
        background: var(--primary-color);
    }
    
    .header .container {
        position: relative;
    }
    
    .header__nav__option {
        display: none;
    }
    
    .hero__text h1,
    .hero__text h2 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .grid-sizer {
        width: calc(50% - 10px);
    }
    
    .work__item.wide__item {
        width: calc(50% - 10px);
    }
    
    .work__item {
        width: calc(50% - 10px);
    }
    
    .work__item.large__item {
        width: calc(50% - 10px);
        height: 311px;
    }
    
    .footer__top__social {
        text-align: left;
        padding-top: 30px;
    }
    
    .portfolio__filter li {
        margin-bottom: 10px;
    }
    
    .input__list {
        margin-right: 0;
    }
    
    .input__list input {
        width: 100%;
        margin-right: 0;
    }
    
    .contact__map {
        margin-bottom: 40px;
    }
    
    .team__item {
        margin-bottom: 20px;
    }
    
    .team .p-0 {
        padding: 0 15px !important;
    }
    
    .about__pic__item {
        margin-right: 0;
    }
    
    .blog__details__quote {
        padding: 30px 45px 35px 35px;
    }
    
    .spad {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .primary-btn {
        padding: 12px 24px 10px;
        font-size: 0.813rem;
    }
}

@media only screen and (max-width: 479px) {
    .hero__text h1,
    .hero__text h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .grid-sizer {
        width: 100%;
    }
    
    .work__item.wide__item,
    .work__item,
    .work__item.large__item {
        width: 100%;
        margin-right: 0;
    }
    
    .work__gallery {
        margin-right: 0;
    }
    
    .pagination__option .arrow__pagination.left__arrow {
        margin-right: 15px;
    }
    
    .pagination__option .arrow__pagination.right__arrow {
        margin-left: 10px;
    }
    
    .blog__details__quote {
        padding: 20px 30px 30px 20px;
    }
    
    .blog__item {
        padding: 30px 20px 25px 20px;
    }
    
    .counter__item {
        max-width: 150px;
        height: 150px;
    }
    
    .counter__item__text h2 {
        font-size: 2.25rem;
    }
    
    .footer__option {
        padding-top: 40px;
    }
    
    .header__logo img {
        max-height: 35px;
    }
}

/*----------------------------------------*/
/* 13. Animations & Keyframes (Enhanced)
/*----------------------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation Utility Classes */
.animate-fadeInUp {
    animation: fadeInUp 1s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 1s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 1s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 1s ease forwards;
}

.animate-zoomIn {
    animation: zoomIn 1s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Delay Utilities */
.delay-1 {
    animation-delay: 0.2s;
}
.delay-2 {
    animation-delay: 0.4s;
}
.delay-3 {
    animation-delay: 0.6s;
}
.delay-4 {
    animation-delay: 0.8s;
}
.delay-5 {
    animation-delay: 1s;
}

/*----------------------------------------*/
/* 14. Print Styles
/*----------------------------------------*/
@media print {
    .header,
    .footer,
    .hero__slider.owl-carousel .owl-dots,
    .slicknav_menu,
    .team__item__text,
    .work__item__hover {
        display: none !important;
    }
    
    .hero__item {
        height: auto !important;
        min-height: auto !important;
        padding: 100px 0 !important;
    }
    
    .counter__item {
        transform: rotate(0) !important;
        border: 1px solid #333 !important;
    }
    
    .counter__item::before {
        display: none !important;
    }
    
    .counter__item__text {
        transform: rotate(0) !important;
    }
    
    .work__item {
        border: 1px solid #333 !important;
    }
    
    .section-title h2::after {
        background: #333 !important;
    }
    
    .primary-btn {
        border: 1px solid #333 !important;
        color: #333 !important;
    }
    
    .primary-btn::before,
    .primary-btn::after {
        display: none !important;
    }
}