/* ============================================
   MODERN DESIGN ENHANCEMENTS FOR IT COMPANY
   ============================================ */

/* Modern Color Variables */
:root {
    --modern-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --modern-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --modern-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --modern-gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.24);
}

/* ============================================
   HERO SECTION MODERNIZATION
   ============================================ */

.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(4, 42, 45, 0.7) 0%, 
        rgba(4, 42, 45, 0.85) 100%);
    z-index: 1;
}

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

/* Modern Glassmorphism Effect for Hero Content */
.hero-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    transition: all 0.4s ease;
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.hero-content .section-title h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
}

.hero-content .section-title h1 span {
    background: linear-gradient(135deg, #73ED7C 0%, #019297 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.bannerParagraph {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: 32px;
}

/* Modern Button Enhancements */
.hero-btn .btn-default {
    padding: 18px 40px 18px 30px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(115, 237, 124, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn .btn-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(115, 237, 124, 0.4);
}

.hero-btn .btn-default.btn-highlighted {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.hero-btn .btn-default.btn-highlighted:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* ============================================
   SERVICE CARDS MODERNIZATION
   ============================================ */

.our-blog {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.blog-item {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        var(--dark-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.blog-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(115, 237, 124, 0.3);
}

.blog-item:hover::before {
    transform: scaleX(1);
}

.blog-item .blog-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.blog-item .blog-featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(4, 42, 45, 0) 0%, 
        rgba(4, 42, 45, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.blog-item:hover .blog-featured-image::after {
    opacity: 1;
}

.blog-item .blog-featured-image img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px 24px 0 0;
}

.blog-item:hover .blog-featured-image img {
    transform: scale(1.15) rotate(2deg);
}

.blog-item-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-item-content h2 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.blog-item-content h2 a {
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: block;
}

.blog-item:hover .blog-item-content h2 a {
    color: var(--dark-color);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-item-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 15px;
    flex-grow: 1;
    margin-bottom: 0;
}

/* ============================================
   SECTION TITLE MODERNIZATION
   ============================================ */

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

.section-title h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
    padding-left: 24px;
}

.section-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-color) 100%);
    border-radius: 50%;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

/* ============================================
   COMPANY GROWTH SECTION
   ============================================ */

.company-growth {
    padding: 80px 0;
    position: relative;
}

.company-growth-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.company-growth-image img {
    border-radius: 24px;
    transition: transform 0.6s ease;
}

.company-growth:hover .company-growth-image img {
    transform: scale(1.05);
}

.company-growth-content {
    padding: 40px 0;
}

.company-growth-content .section-title h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.company-growth-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
}

.company-growth-btn .btn-default {
    margin-top: 32px;
}

/* ============================================
   STATS SECTION MODERNIZATION
   ============================================ */

.company-growth-box {
    background: linear-gradient(135deg, 
        rgba(115, 237, 124, 0.1) 0%, 
        rgba(1, 146, 151, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 60px 40px;
    border: 1px solid rgba(115, 237, 124, 0.2);
    box-shadow: var(--shadow-lg);
}

.company-growth-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.company-growth-item:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

.company-growth-item h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.company-growth-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.company-growth-item p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
}

/* ============================================
   ABOUT SECTION MODERNIZATION
   ============================================ */

.our-approach {
    padding: 100px 0;
    position: relative;
}

.our-approach-content p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto 40px;
}

/* ============================================
   CLIENT LOGOS SECTION
   ============================================ */

.our-blog .col-md-4 {
    padding: 20px;
}

.our-blog .col-md-4 img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.our-blog .col-md-4:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */

@media (max-width: 991px) {
    .hero-content {
        padding: 40px 30px;
        margin-top: 20px;
    }
    
    .blog-item {
        margin-bottom: 30px;
    }
    
    .company-growth-box {
        padding: 40px 30px;
    }
    
    .company-growth-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .blog-item-body {
        padding: 24px;
    }
    
    .company-growth-box {
        padding: 30px 20px;
        border-radius: 24px;
    }
}

/* ============================================
   SMOOTH SCROLLING
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   MODERN ANIMATIONS
   ============================================ */

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

.blog-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for blog items */
.col-md-3:nth-child(1) .blog-item {
    animation-delay: 0.1s;
}

.col-md-3:nth-child(2) .blog-item {
    animation-delay: 0.2s;
}

.col-md-3:nth-child(3) .blog-item {
    animation-delay: 0.3s;
}

.col-md-3:nth-child(4) .blog-item {
    animation-delay: 0.4s;
}

/* ============================================
   HEADER MODERNIZATION
   ============================================ */

.main-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-header .header-sticky.active {
    background: rgba(4, 42, 45, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   BUTTON MODERNIZATION
   ============================================ */

.btn-contact {
    border-radius: 12px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(115, 237, 124, 0.3);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 237, 124, 0.4);
}

/* ============================================
   WHATSAPP BUTTON ENHANCEMENT
   ============================================ */

.whatsapp-button {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ============================================
   MODERN GRADIENT BACKGROUNDS
   ============================================ */

.bg-section {
    position: relative;
}

.bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(115, 237, 124, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(1, 146, 151, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.bg-section > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   ADDITIONAL MODERN ENHANCEMENTS
   ============================================ */

/* Improved spacing and typography */
.container {
    padding-left: 20px;
    padding-right: 20px;
}

.section-title h2 {
    margin-bottom: 24px;
}

/* Enhanced card hover effects */
.blog-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-item:hover {
    border-color: rgba(115, 237, 124, 0.4);
}

/* Modern image overlay effects */
.blog-featured-image {
    position: relative;
}

.blog-featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(4, 42, 45, 0) 0%, 
        rgba(4, 42, 45, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 24px 24px 0 0;
}

.blog-item:hover .blog-featured-image::before {
    opacity: 1;
}

/* Modern icon enhancement */
.blog-item-content h2 a::after {
    content: '→';
    display: inline-block;
    margin-left: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.blog-item:hover .blog-item-content h2 a::after {
    opacity: 1;
    transform: translateX(0);
}

/* Improved button styles */
.btn-default {
    position: relative;
    overflow: visible;
}

.btn-default::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Modern section dividers */
.our-blog {
    position: relative;
}

.our-blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        var(--dark-color) 100%);
    border-radius: 2px;
}

/* Enhanced company growth image */
.about-experience-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(115, 237, 124, 0.2);
    transition: all 0.3s ease;
}

.about-experience-box:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Modern text selection */
::selection {
    background: var(--accent-color);
    color: var(--primary-color);
}

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

/* Smooth transitions for all interactive elements */
a, button, .btn-default {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading state for images */
img {
    transition: opacity 0.3s ease;
}

/* Modern focus states */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Enhanced section spacing */
.bg-section + .bg-section {
    margin-top: 0;
}

/* Modern card border radius consistency */
.blog-item,
.company-growth-image,
.about-experience-box {
    border-radius: 24px;
}

/* Improved text readability */
p {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern grid spacing */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > * {
    padding-left: 15px;
    padding-right: 15px;
}

