.last {
    margin-bottom: 250px;
    -webkit-box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.26);
    box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.26);
}
.card{
    cursor: pointer;
}
.sub_card {
	border: 1px solid #b7b3b3;
	margin: 0 10%;display: none;
}
.hide{
    display: none;
}

.slider {
    max-width: 640px;
    margin: 3em auto;
    padding: 15px;
    background: #b7b3b3;
    -webkit-box-shadow: 2px 2px 10px RGBA(0, 0, 0, .5);
    box-shadow: 2px 2px 10px RGBA(0, 0, 0, .5);
}

.lang {
    text-transform: capitalize;
}

#menu ul li .lang {
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    font-weight: 300;
    overflow-x: hidden;
    background-color: #b7b3b3
}

section {
    background-color: #b7b3b3;
    z-index: 1;
    text-align:center;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header {
    display: table;
    height: 100vh;
    width: 100%;
}

nav {
    z-index: 200;
    height: 64px;
}

nav a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-decoration: inherit;
    font-size: 14px;
}

#menu ul li a {
    padding: 10px;
    letter-spacing: 2px;
    font-size: 1.2em;
    font-size: 1em;
    font-weight: normal;
}

#menu {
    width: 100%;
}
#form_send_msg{
    margin: 36px 0 0 0;
}
.centerHeader {
    /* padding-top:15%;
    vertical-align: middle;*/
    text-align: center;

    top: 50%;
    position: relative;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);

}

header h1 {
    line-height: 200%;
    color: #b7b3b3;
    text-transform: uppercase;
    margin: auto;
    text-shadow: 0 0 1px #b7b3b3, 0 1px 2px rgba(0, 0, 0, 0.3);
}

header h2 {
    word-break: normal;
    text-transform: uppercase;
    color: #b7b3b3;
    margin: 1rem auto;
    text-shadow: 0 0 1px #b7b3b3, 0 1px 2px rgba(0, 0, 0, 0.3);
}

header .arrow-down {
    fill: #b7b3b3;
    height: 1.5rem;
    width: 1.5rem;
    display: block;
    margin: 2rem auto 0;
    bottom: 5vh;
    left: 0;
    right: 0;
    position: absolute;
}




.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .6s;
    transition: .6s;
  }
  
  .darkMode {
	position: absolute;
	right: 25px;
    bottom: 55px;
    font-weight: bold;
}
  
  .slider:before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .6s;
    transition: .6s;
  }
  
  input:checked + .slider {
    background-color: #4A6BB5; /*//#2196F3;*/
  }
  

  
  input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
  }
  
  /* Rounded sliders */
  .slider.round {
	border-radius: 34px;
	margin-left: 8px;
	margin-top: 8px;
	padding-top: 0;
	margin-right: 22px;
}
  
  .slider.round:before {
    border-radius: 50%;
  }

  .darkMode {
	font-size: smaller;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 4px;
    color: #000;
}

.title {
    text-align: center;
    color: #21dede;
    margin: 0;
    font-size: 2em;
}

.border_netpack {
    width: 50px;
    border-bottom: 3px solid #4A6BB5;
    margin: 0 auto;
    height: 20px;
}
.btn-close {
	margin: 15px 0 -15px 15px;
}

.workMain {
    max-width: 1200px;
    margin: 0 auto;
}

#owl-demo {
    border: solid;
}

p {
    font-size: 1.5em;
}

section p {
    text-align: center;
    padding: 60px 50px;
    margin: 0 auto;
    line-height: 140%;
}

section form {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

footer svg {
    width: 100%;
}

footer p {
    text-align: center;
    color: #000;
}

footer ul {
    list-style: none;
    display: table;
    margin: 0 auto;
    padding: 90px 0 0;
}

footer ul li {
    text-align: center;
    float: left;
}

footer ul li a {
    margin: 10px;
    display: inline-block;
}

footer {
   /* background-image: url("../img/pattern.png");
    background-repeat: repeat;*/
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 250px;
    z-index: -3;
}

.bounce {
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    60% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

@-moz-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    60% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

@-ms-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    60% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    60% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

.menu.menuActive ul li a {
    color: #607d8b;
}

nav ul li a {
    color: #b7b3b3;
}

nav ul li {
    color: #b7b3b3;
}

.typed-cursor {
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
    position: absolute;
    /*line-height: 114%;*/
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Arrows */

.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;

    position: absolute;
    top: 50%;

    display: block;

    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);

    cursor: pointer;

    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    color: transparent;
    outline: none;
    background: transparent;
}

.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
    opacity: 1;
}

.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
    opacity: .25;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;

    opacity: .75;
    color: white;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
    left: -25px;
}

[dir='rtl'] .slick-prev {
    right: -25px;
    left: auto;
}

.slick-prev:before {
    content: '←';
}

[dir='rtl'] .slick-prev:before {
    content: '→';
}

.slick-next {
    right: -25px;
}

[dir='rtl'] .slick-next {
    right: auto;
    left: -25px;
}

.slick-next:before {
    content: '→';
}
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5;
}
[dir='rtl'] .slick-next:before {
    content: '←';
}

/* Dots */

.slick-dotted.slick-slider {
    margin-bottom: 30px;
}

.slick-dots {
    position: absolute;
    bottom: -25px;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}

.slick-dots li {
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}

.slick-dots li button:before {
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
}

#paypal-button-container-P-72E01838XV538772PMCBJJFI{
    max-width:500px;
    min-width: 360px;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    /* .menu_txt_contacts{
        margin-right:60px;
    }*/
    nav ul li a {
        color: #b7b3b3 !important;
    }

}



#Contacts {
    padding-top: 50px;
}

.gradient {

    background: #4A6BB5 ;

    background: -webkit-linear-gradient(to /*bottom*/ right, #4A6BB5  0%, #19294A 100%);
    background: -o-linear-gradient(to /*bottom*/ right, #4A6BB5  0%, #19294A 100%);
    background: -moz-linear-gradient(to /*bottom*/ right, #4A6BB5  0%, #19294A 100%);
    background: linear-gradient(to /*bottom*/ right, #4A6BB5  0%, #19294A 100%);

}

/* NetPack Tools Promotion Section */
.tools-promo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4A6BB5 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.tools-hero {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

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

.tools-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.tools-brand {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tools-subtitle {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tools-description {
    font-size: 1.3em;
    color: #ffffff;
    line-height: 1.6;
    margin: 30px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.highlight-text {
    color: #FFD700;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.tools-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    display: block;
    font-size: 1em;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.tools-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.tool-preview-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.tool-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #4A6BB5);
}

.tool-preview-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.card-icon {
    margin-bottom: 25px;
}

.card-icon i {
    font-size: 3.5em;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-preview-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.tool-preview-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1.1em;
}

.card-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-preview-card:hover .card-highlight {
    opacity: 1;
}

.tools-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.tools-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tools-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    color: #333;
    text-decoration: none;
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

.tools-cta-button i {
    margin-right: 12px;
    font-size: 1.2em;
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.tools-cta-button:hover .button-glow {
    left: 100%;
}

/* Enhanced Header Section */
header {
    position: relative;
    overflow: hidden;
}

.centerHeader {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 100px 20px;
}

.centerHeader h1 {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.centerHeader .creative {
    color: #FFD700;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.h2-subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0.9;
}

/* Enhanced About Section */
#about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

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

#about .title {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #4A6BB5, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

#about p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* Enhanced Services Grid */
.circ {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    position: relative;
    z-index: 2;
}

.circ li {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 107, 181, 0.1);
}

.circ li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A6BB5, #667eea, #764ba2);
}

.circ li:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.ch-item {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 5px 20px rgba(74, 107, 181, 0.2);
    background-color: rgba(74, 107, 181, 0.1);
    transition: all 0.3s ease;
}

.circ li:hover .ch-item {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(74, 107, 181, 0.3);
}

.circ h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin: 25px 0 20px;
    color: #333;
}

.circ .sub {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 768px) {
    .tools-preview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tools-title {
        font-size: 2.5em;
    }
    
    .tools-description {
        font-size: 1.1em;
    }
    
    .tools-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .tools-promo {
        padding: 60px 15px;
    }
    
    .tool-preview-card {
        padding: 30px 20px;
    }
    
    .tools-cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
}
    
    .tool-preview-card {
        padding: 20px 15px;
    }
    
    .tools-cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }

/* Enhanced In-House Section */
#In-House {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4A6BB5 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

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

.title{
    padding-top:1em;
}

#In-House .title {
    color: #ffffff;
    font-size: 3em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    padding-top: 1em;
}

#In-House p {
    color: #ffffff;
    font-size: 1.2em;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.slide-container {
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.card_image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.card_image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 107, 181, 0.1), rgba(102, 126, 234, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card_image::before {
    opacity: 1;
}

.card_unit-name {
    padding: 25px 20px 10px;
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
}

.card_unit-name a {
    color: #4A6BB5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card_unit-name a:hover {
    color: #667eea;
}

.card_unit-description {
    padding: 0 20px 25px;
    color: #666;
    line-height: 1.6;
    font-size: 1.1em;
}

/* Enhanced Work Section */
#Work {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

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

#Work .title {
    font-size: 3em;
    font-weight: 700;
    background: linear-gradient(135deg, #4A6BB5, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

#Work p {
    font-size: 1.2em;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.workMain {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.workMainImg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(74, 107, 181, 0.1);
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}



.workMainImg:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workMainImg:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.portfolio-desc {
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 4;
    margin: 0;
}

.portfolio-desc h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-desc h3 a {
    color: #4A6BB5;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.portfolio-desc h3 a:hover {
    color: #667eea;
}

.portfolio-desc span {
    color: #666;
    line-height: 1.6;
    font-size: 1em;
    display: block;
    margin: 0;
}

.preview-button {
    color: #4A6BB5;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1.1em;
    padding: 5px;
    border-radius: 3px;
    flex-shrink: 0;
}

.preview-button:hover {
    color: #667eea;
    background: rgba(74, 107, 181, 0.1);
}

/* Enhanced Contact Section */
#Contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4A6BB5 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

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

#Contact .title {
    color: #ffffff;
    font-size: 3em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

#Contact p {
    color: #ffffff;
    font-size: 1.2em;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.mail {
    max-width: 600px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mail input,
.mail textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 2px solid rgba(74, 107, 181, 0.2);
    border-radius: 10px;
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.mail input:focus,
.mail textarea:focus {
    border-color: #4A6BB5;
    box-shadow: 0 0 20px rgba(74, 107, 181, 0.2);
    outline: none;
    background: rgba(255, 255, 255, 1);
}

.mail input[type="submit"] {
    background: linear-gradient(135deg, #4A6BB5, #667eea);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mail input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 107, 181, 0.4);
    background: linear-gradient(135deg, #667eea, #4A6BB5);
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    position: relative;
}

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

footer ul {
    position: relative;
    z-index: 2;
}

footer ul li a svg {
    transition: all 0.3s ease;
}

footer ul li a:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(74, 107, 181, 0.4));
}

footer p {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .centerHeader h1 {
        font-size: 2.5em;
    }
    
    .h2-subtitle {
        font-size: 1.2em;
    }
    
    #about .title,
    #Work .title {
        font-size: 2.2em;
    }
    
    #In-House .title,
    #Contact .title {
        font-size: 2.2em;
    }
    
    .circ {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .workMain {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        padding: 0 15px;
    }
    
    .workMainImg {
        height: 350px;
    }
    
    .portfolio-desc h3 {
        font-size: 1.1em;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .portfolio-desc h3 a {
        min-width: auto;
    }
    
    .modal-content {
        width: 95%;
        height: 85vh;
        margin: 2.5% auto;
    }
    
    .mail {
        margin: 30px 15px 0;
        padding: 30px 20px;
    }
}
/* Header Stats */
.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.header-stats .stat-item {
    text-align: center;
    color: #ffffff;
}

.header-stats .stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-stats .stat-label {
    display: block;
    font-size: 1em;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .header-stats {
        gap: 20px;
    }
    
    .header-stats .stat-number {
        font-size: 2em;
    }
}