/**
* Template Name: NetMastery
* Updated: 2024
* Author: NetMastery Team
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
    --default-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
        'Noto Color Emoji';
    --heading-font: 'Inter', sans-serif;
    --nav-font: 'Inter', sans-serif;
}

/* New Color Scheme - Modern Blue/Purple Theme */
:root {
    --background-color: #0a0a0a;
    --default-color: #e8e8e8;
    --heading-color: #4f46e5;
    --accent-color: #06b6d4;
    --surface-color: #1a1a1a;
    --contrast-color: #ffffff;
    --nav-color: #ffffff;
    --nav-hover-color: #06b6d4;
    --nav-mobile-background-color: #1a1a1a;
    --nav-dropdown-background-color: #2a2a2a;
    --nav-dropdown-color: #e8e8e8;
    --nav-dropdown-hover-color: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --shadow-primary: 0 10px 25px rgba(79, 70, 229, 0.2);
    --shadow-secondary: 0 5px 15px rgba(6, 182, 212, 0.3);
}

/* Color Presets */
.light-background {
    --background-color: #f8fafc;
    --surface-color: #ffffff;
    --default-color: #1e293b;
    --heading-color: #4f46e5;
}

.dark-background {
    --background-color: #1e293b;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #334155;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    line-height: 1.6;
}

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

a:hover {
    color: #4f46e5;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-weight: 600;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--contrast-color);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    color: var(--contrast-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-secondary);
}

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

.btn-outline-primary:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    color: var(--default-color);
    padding: 15px 0;
    transition: all 0.5s ease;
    z-index: 997;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .logo h1 {
    font-size: 28px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
        gap: 10px;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 12px 20px;
        font-size: 14px;
        font-family: var(--nav-font);
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: all 0.3s ease;
        border-radius: 6px;
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
        background: rgba(6, 182, 212, 0.1);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 8px;
        z-index: 99;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 12px 20px;
        font-size: 14px;
        text-transform: none;
        color: var(--nav-dropdown-color);
        border-radius: 0;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover>a {
        color: var(--nav-dropdown-hover-color);
        background: rgba(6, 182, 212, 0.1);
    }

    .navmenu .dropdown:hover>ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 20px 0;
        margin: 0;
        border-radius: 12px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 15px 25px;
        font-family: var(--nav-font);
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        border-radius: 8px;
        margin: 5px 15px;
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
        background: rgba(6, 182, 212, 0.1);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu>ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 80px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 66px;
        padding: 60px 0;
    }
}

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/
.section-title {
    margin-bottom: 80px;
    position: relative;
}

.section-title .section-title-container {
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
    position: relative;
}

.section-title .section-title-container::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

.section-title h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 36px;
    }
}

/*--------------------------------------------------------------
# Growth Section (Hero)
--------------------------------------------------------------*/
.growth {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.growth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/img/background-image.avif') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.growth .container {
    position: relative;
    z-index: 2;
}

.growth-content {
    text-align: center;
}

.growth-content h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.growth-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--default-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .growth-content h2 {
        font-size: 2.5rem;
    }
    
    .growth {
        padding: 80px 0;
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
    background: var(--surface-color);
}

.service-card {
    background: var(--background-color);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: var(--accent-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--contrast-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-secondary);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.service-card p {
    color: var(--default-color);
    line-height: 1.6;
    margin: 0;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content .who-we-are {
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
}

.about .content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about .content ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.about .content ul li {
    padding-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.about .content ul i {
    font-size: 1.25rem;
    margin-right: 12px;
    color: var(--accent-color);
    margin-top: 2px;
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about .about-images img {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about .about-images img:hover {
    transform: scale(1.05);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team {
    background: var(--surface-color);
}

.team .team-member {
    background-color: var(--background-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border-radius: 16px;
    transition: all 0.3s ease;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team .team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: var(--accent-color);
}

.team .team-member .pic {
    overflow: hidden;
    width: 120px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 4px solid var(--accent-color);
}

.team .team-member .pic img {
    transition: ease-in-out 0.3s;
}

.team .team-member:hover .pic img {
    transform: scale(1.1);
}

.team .team-member .member-info {
    padding-left: 25px;
}

.team .team-member h4 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--heading-color);
}

.team .team-member span {
    display: block;
    font-size: 14px;
    padding-bottom: 15px;
    position: relative;
    font-weight: 500;
    color: var(--accent-color);
}

.team .team-member span::after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
}

.team .team-member p {
    margin: 15px 0 0 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 468px) {
    .team .team-member {
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
    }

    .team .team-member .member-info {
        padding: 25px 0 0 0;
    }

    .team .team-member span::after {
        left: calc(50% - 20px);
    }
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
    background: var(--background-color);
}

.why-us .post-entry {
    margin-bottom: 60px;
    background: var(--surface-color);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.why-us .post-entry:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: var(--accent-color);
}

.why-us .post-entry h3 a {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 24px;
    text-decoration: none;
}

.why-us .post-entry h3 a:hover {
    color: var(--accent-color);
}

.why-us .post-entry .thumbnail {
    flex: 0 0 60%;
}

.why-us .post-entry .thumbnail img {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.why-us .post-entry:hover .thumbnail img {
    transform: scale(1.05);
}

@media (max-width: 960px) {
    .why-us .post-entry .thumbnail {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    background: var(--surface-color);
}

.contact .info-item {
    background: var(--background-color);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact .info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: var(--accent-color);
}

.contact .info-item i {
    color: var(--contrast-color);
    background: var(--gradient-primary);
    font-size: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-right: 20px;
}

.contact .info-item:hover i {
    transform: scale(1.1);
    box-shadow: var(--shadow-secondary);
}

.contact .info-item h3 {
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: var(--accent-color);
}

.contact .php-email-form {
    background: var(--background-color);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact .php-email-form input[type='text'],
.contact .php-email-form input[type='email'],
.contact .php-email-form textarea {
    font-size: 16px;
    padding: 15px 20px;
    box-shadow: none;
    border-radius: 8px;
    color: var(--default-color);
    background-color: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact .php-email-form input[type='text']:focus,
.contact .php-email-form input[type='email']:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
    outline: none;
}

.contact .php-email-form input[type='text']::placeholder,
.contact .php-email-form input[type='email']::placeholder,
.contact .php-email-form textarea::placeholder {
    color: rgba(232, 232, 232, 0.6);
}

.contact .php-email-form button[type='submit'] {
    color: var(--contrast-color);
    background: var(--gradient-primary);
    border: 0;
    padding: 15px 40px;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

.contact .php-email-form button[type='submit']:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-secondary);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-top {
    padding-top: 60px;
}

.footer .footer-about .logo span {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer .footer-about p {
    font-size: 16px;
    font-family: var(--heading-font);
    line-height: 1.6;
    margin-top: 20px;
}

.footer h4 {
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    color: var(--heading-color);
}

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

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

.footer .footer-links ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: rgba(232, 232, 232, 0.7);
    display: inline-block;
    line-height: 1;
    transition: all 0.3s ease;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer .footer-contact p {
    margin-bottom: 8px;
}

/*--------------------------------------------------------------
# Cookie Banner
--------------------------------------------------------------*/
.cookie-wrapper {
    position: fixed;
    bottom: 0px;
    width: 100%;
    background: var(--surface-color);
    padding: 20px 25px 25px;
    transition: right 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-wrapper .show {
    right: 20px;
}

.hidden {
    display: none;
}

.cookie-wrapper header i {
    color: var(--accent-color);
    font-size: 32px;
    text-align: center;
}

.cookie-wrapper header h2 {
    color: var(--heading-color);
    font-weight: 600;
    text-align: center;
    margin: 10px 0;
}

.data {
    text-align: center;
    margin: 15px 0;
}

.data p {
    color: var(--default-color);
    margin: 0;
}

.data p a {
    color: var(--accent-color);
    text-decoration: none;
    text-align: center !important;
}

.data p a:hover {
    text-decoration: underline;
}

.buttons {
    padding: 20px 0px;
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.buttons .cookie-button {
    border: 2px solid var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 24px;
    background: var(--gradient-primary);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 120px;
}

.buttons #acceptBtn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-secondary);
}

#declineBtn {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

#declineBtn:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

@media (max-width: 772px) {
    .cookie-wrapper {
        width: 100%;
        bottom: 0px;
        left: 0px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .buttons .cookie-button {
        width: 100%;
        max-width: 200px;
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    background: var(--gradient-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-primary);
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-secondary);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: '';
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 4px solid rgba(6, 182, 212, 0.3);
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .growth-content h2 {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .about .content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    section,
    .section {
        padding: 40px 0;
    }
    
    .growth {
        padding: 60px 0;
    }
    
    .growth-content h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .team .team-member {
        padding: 20px;
    }
    
         .contact .php-email-form {
         padding: 25px;
     }
 }