/* Custom Properties */
:root {
    --orange-gradient: linear-gradient(45deg, #ff4800, #ff8a00);
    --orange-light: #ff8a00;
    --orange-dark: #ff4800;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--orange-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Logo Styles */
.logo-container {
    width: 50px;
    height: 50px;
    position: relative;
}

.hexagon {
    width: 100%;
    height: 100%;
    background: var(--orange-gradient);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    overflow: hidden;
}

.circuit-lines {
    position: absolute;
    inset: 2px;
    background: 
        radial-gradient(circle at 30% 30%, transparent 2px, var(--orange-light) 3px) -5px -5px/20px 20px,
        linear-gradient(45deg, transparent 45%, var(--orange-dark) 45%, var(--orange-dark) 55%, transparent 55%) center/10px 10px;
    opacity: 0.7;
    animation: circuit 3s linear infinite;
}

/* Gradient Text */
.gradient-text {
    background: var(--orange-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--orange-gradient);
    border-radius: 30px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 72, 0, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.35;
}

.service-card.infrastructure::before {
    background-image: url('https://f005.backblazeb2.com/file/cyberblaze-file-hosting/site-images/Row-of-illuminated-server-racks-in-a-data-center-aisle.webp');
}

.service-card.network::before {
    background-image: url('https://f005.backblazeb2.com/file/cyberblaze-file-hosting/site-images/Untitled_1200_x_600_px_23fcc362-abcf-4475-ab24-90275761b387.webp');
}

.service-card.security::before {
    background-image: url('https://f005.backblazeb2.com/file/cyberblaze-file-hosting/site-images/blog-top-10-cybersecurity-tools-you-should-be-aware-of-in-2024.webp');
}

.service-card.cloud::before {
    background-image: url('https://f005.backblazeb2.com/file/cyberblaze-file-hosting/site-images/Cover8_10_Feature_Image_1024px_jpg_1_ffe3c7c982.webp');
}

.service-card.automation::before {
    background-image: url('https://f005.backblazeb2.com/file/cyberblaze-file-hosting/site-images/171027-How-IT-Automation-Can-Improve-Your-Business.jpg.webp');
}

.service-card.integration::before {
    background-image: url('https://f005.backblazeb2.com/file/cyberblaze-file-hosting/site-images/Datasience-Analytics-Services-Home7.webp');
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 72, 0, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: var(--orange-gradient);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Grid Background */
.grid-background {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255, 72, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 72, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotate(45deg);
    animation: grid-move 20s linear infinite;
}

/* Contact Form */
.contact-form {
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

*, ::after, ::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Animations */
@keyframes circuit {
    0% {
        background-position: -5px -5px, 0 0;
    }
    100% {
        background-position: 15px 15px, 10px 10px;
    }
}

@keyframes grid-move {
    0% {
        transform: rotate(45deg) translateY(0);
    }
    100% {
        transform: rotate(45deg) translateY(-50px);
    }
}

/* Mobile Menu */
.mobile-menu {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
}