/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #0b0f19;
    --card-bg: #121928;
    --primary-text: #fdfdfd;
    --secondary-text: #94A3B8;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --border-color: #1e293b;
    --glass-bg: rgba(11, 15, 25, 0.85);
    --transition: 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--primary-text);
}

body {
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    z-index: 1000;
    transition: var(--transition);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

header.scrolled {
    background: rgba(11, 15, 25, 0.95);
    padding: 0.8rem 5%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.2));
}

header.scrolled .logo-img {
    height: 110px;
}

.logo span {
    color: var(--accent);
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.85;
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: fadeUp 0.3s ease;
}

.modal-box h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.modal-box h3 {
    font-size: 1.1rem;
    color: var(--accent);
    margin: 1.5rem 0 0.5rem;
}

.modal-box p {
    color: var(--secondary-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--secondary-text);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-text);
}

.logo span {
    color: var(--accent);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-text);
    font-weight: 400;
    font-size: 1.05rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent);
}

.cta-btn {
    background-color: var(--accent);
    color: var(--primary-text);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 0 15px var(--accent-glow);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-2px);
}

.cta-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.cta-outline:hover {
    background: var(--accent);
    color: var(--primary-text);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 5%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11,15,25,0.6) 0%, var(--bg-color) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--accent), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Services */
.services {
    padding: 8rem 5%;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.8rem;
    border-radius: 16px;
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card.highlighted {
    /* Borders and background removed to match other cards */
}

.service-card.highlighted .service-icon {
    color: #ffd700; /* Gold for highlight */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.service-card p {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Why Us */
.why-us {
    padding: 8rem 5%;
    background: #0f1422;
    text-align: center;
}

.why-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    max-width: 1200px;
    margin-inline: auto;
}

.why-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.why-item:hover .why-icon {
    background: var(--accent);
    color: var(--primary-text);
    box-shadow: 0 0 20px var(--accent-glow);
}

.why-item h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.why-item p {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Corporate Clients */
.corporate-clients {
    padding: 6rem 5%;
    text-align: center;
    background: var(--bg-color);
}

.clients-subtitle {
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    margin-top: -2rem;
    font-size: 1.15rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.clients-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.client-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.client-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-5px);
}

.client-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--transition);
}

.client-item:hover img {
    opacity: 1;
}

.smart-invert {
    filter: invert(1) hue-rotate(180deg) brightness(2) !important;
}

/* Contact Area */
.contact {
    padding: 8rem 5%;
}

.contact-container {
    display: flex;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form, .contact-info {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, select, textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    color: var(--primary-text);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.2rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--secondary-text);
    line-height: 1.6;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* Footer */
footer {
    background: #06090d;
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--secondary-text);
    font-size: 1.4rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

footer p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* Floating Support Button */
.floating-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: var(--primary-text);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.5);
    z-index: 999;
    transition: var(--transition);
}

.floating-support:hover {
    background: var(--accent-hover);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.7);
}

.floating-support i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .floating-support span {
        display: none;
    }
    .floating-support {
        padding: 1.2rem;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .services, .why-us, .contact {
        padding: 5rem 5%;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 100px 5%;
    background-color: var(--bg-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 9;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(11, 15, 25, 0.2), rgba(59, 130, 246, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    gap: 1rem;
    color: white;
}

.portfolio-overlay i {
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-overlay span {
    font-weight: 600;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

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

.portfolio-item:hover .portfolio-overlay i,
.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow: hidden;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    animation: zoomIn 0.3s ease-out;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
    margin-top: 1.5rem;
    text-align: center;
    color: white;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #60a5fa;
}

.lightbox-caption p {
    color: var(--secondary-text);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .lightbox-modal {
        padding: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1.5rem;
        font-size: 2.5rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 25, 40, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 5%;
    z-index: 3000;
    display: none; /* Hidden by default, shown via JS */
    animation: slideUp 0.5s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

#accept-cookies {
    padding: 0.8rem 2rem;
    white-space: nowrap;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
