/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #1A1F36;
    --secondary-color: #2D3E50;
    --accent-color: #3498DB;
    --gold-color: #C8A96B;
    --text-white: #FFFFFF;
    --gradient-bg: linear-gradient(135deg, #1A1F36 0%, #2D3E50 100%);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    background: rgba(26, 31, 54, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(26, 31, 54, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white) !important;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
}

.nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:%233498DB;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%233498DB;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"><animate attributeName="r" values="50;150;50" dur="4s" repeatCount="indefinite"/></circle><circle cx="800" cy="300" r="80" fill="url(%23a)"><animate attributeName="r" values="40;120;40" dur="3s" repeatCount="indefinite"/></circle><circle cx="600" cy="700" r="120" fill="url(%23a)"><animate attributeName="r" values="60;180;60" dur="5s" repeatCount="indefinite"/></circle></svg>');
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--text-white), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--gold-color);
    animation: slideInUp 1s ease 0.2s both;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: slideInUp 1s ease 0.4s both;
}

.btn-hero {
    padding: 15px 30px;
    margin: 0 10px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    animation: slideInUp 1s ease 0.6s both;
}

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

.btn-primary-hero:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.btn-secondary-hero {
    background: transparent;
    border-color: var(--gold-color);
    color: var(--gold-color);
}

.btn-secondary-hero:hover {
    background: var(--gold-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 169, 107, 0.3);
}

/* ===== ANIMATED LINES ===== */
.animated-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    height: 2px;
    animation: moveLine 8s linear infinite;
}

.line:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.line:nth-child(2) {
    top: 50%;
    animation-delay: 2s;
}

.line:nth-child(3) {
    top: 80%;
    animation-delay: 4s;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--primary-color);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--text-white), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.2);
    height: 100%;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--gold-color);
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 100px 0;
    background: var(--secondary-color);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* ===== BRAND LOGOS ===== */
.logo-container {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.logo-container:hover .brand-logo {
    transform: scale(1.1);
}

.logo-container:hover .brand-tagline {
    opacity: 1;
}

.logo-content {
    text-align: center;
    z-index: 2;
}

.brand-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.brand-tagline {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

/* CloudForge Logo */
.amazon-logo {
    background: linear-gradient(135deg, #FF9900, #FFB84D);
    color: #000000;
}

.amazon-logo .brand-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    position: relative;
}

.amazon-logo .brand-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #000000;
    border-radius: 50%;
    transform: rotate(-5deg);
}

.amazon-logo:hover .brand-logo::after {
    transform: rotate(-5deg) scaleX(1.2);
}

/* NexusAI Logo */
.google-logo {
    background: linear-gradient(135deg, #4285F4, #66A3FF);
    color: #FFFFFF;
}

.google-logo .brand-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

/* QuantumSoft Logo */
.microsoft-logo {
    background: linear-gradient(135deg, #0078D4, #40A8E5);
    color: #FFFFFF;
}

.microsoft-logo .brand-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    position: relative;
}

.microsoft-logo .brand-logo::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #F25022 25%, #7FBA00 25% 50%, #00A4EF 50% 75%, #FFB900 75%);
    border-radius: 3px;
}

/* CyberCore Logo */
.apple-logo {
    background: linear-gradient(135deg, #000000, #333333);
    color: #FFFFFF;
}

.apple-logo .brand-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    position: relative;
}

.apple-logo .brand-logo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 30px;
    background: #FFFFFF;
    border-radius: 15px 15px 15px 5px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.71 19.5C17.88 20.74 17 21.95 15.66 21.97C14.32 22 13.89 21.18 12.37 21.18C10.84 21.18 10.37 21.95 9.1 22C7.79 22.05 6.8 20.68 5.96 19.47C4.25 17 2.94 12.45 4.7 9.39C5.57 7.87 7.13 6.91 8.82 6.88C10.1 6.86 11.32 7.75 12.11 7.75C12.89 7.75 14.37 6.68 15.92 6.84C16.57 6.87 18.39 7.1 19.56 8.82C19.47 8.88 17.39 10.19 17.41 12.63C17.44 15.65 20.06 16.66 20.09 16.67C20.06 16.74 19.67 18.11 18.71 19.5Z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

/* MetaVerse Logo */
.meta-logo {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
    color: #FFFFFF;
}

.meta-logo .brand-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-style: italic;
    transform: skew(-10deg);
}

.meta-logo:hover .brand-logo {
    transform: skew(-10deg) scale(1.1);
}

/* VoltTech Logo */
.tesla-logo {
    background: linear-gradient(135deg, #DC143C, #FF4567);
    color: #FFFFFF;
}

.tesla-logo .brand-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    letter-spacing: 8px;
    position: relative;
}

.tesla-logo:hover .brand-logo {
    transform: scale(1.1);
    letter-spacing: 10px;
}

.tesla-logo .brand-logo::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 4px;
}

.tesla-logo .brand-logo::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 31, 54, 0.9), rgba(52, 152, 219, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

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

.portfolio-text {
    text-align: center;
    color: var(--text-white);
}

.portfolio-text h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-quote {
    text-align: center;
    margin: 3rem 0;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold-color);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0 120px 0;
    background: var(--primary-color);
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: var(--text-white);
    padding: 12px 15px;
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    color: var(--text-white);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-submit {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: transparent;
    border-color: var(--gold-color);
    color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 169, 107, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    padding: 20px 0;
}

/* ===== PROFESSIONAL BADGE ===== */
.professional-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(200, 169, 107, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: default;
}

.professional-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(200, 169, 107, 0.6);
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes moveLine {
    0% {
        left: -100%;
        width: 100%;
    }
    50% {
        width: 200%;
    }
    100% {
        left: 100%;
        width: 100%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .btn-hero {
        margin: 5px;
        padding: 12px 25px;
    }
    
    .professional-badge {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Logo responsive medium */
    .brand-logo {
        font-size: 2.2rem;
    }
    
    .logo-container {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-info,
    .contact-form {
        margin-bottom: 2rem;
    }
    
    /* Logo responsive */
    .brand-logo {
        font-size: 2rem;
    }
    
    .brand-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .logo-container {
        height: 200px;
    }
} 