/* Variables */
:root {
    --primary-black: #000000;
    --primary-blue-1: #2483a1;
    --primary-blue-2: #25657b;
    --primary-blue-3: #1f4c5d;
    --primary-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue-1), var(--primary-blue-2), var(--primary-blue-3));
    --transition-speed: 0.3s;
    --gradient-1: #2483a1;
    --gradient-2: #25657b;
    --gradient-3: #1f4c5d;
    --gradient-4: #1a3f4d;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--primary-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    margin-left: 3rem;
}

.logo img {
    background: #fff;
    padding: 0.5rem;
    border-radius: 12px;
    height: 60px;
    transition: transform var(--transition-speed);
    filter: brightness(1);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-right: 5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-white);
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
}

.nav-menu a.active {
    color: var(--primary-blue-1);
}

.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-speed);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    color: var(--primary-white);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-white);
}

.hero-content p {
    color: var(--primary-white);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    margin-top: 2rem;
    background: var(--gradient-primary);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(36, 131, 161, 0.3);
}

.cta-button.get-started {
    margin-right: 0.5rem;
}

/* Section Styles */
section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.section-subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue-1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-white);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-blue-1);
    background: rgba(255, 255, 255, 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

select {
    color: rgba(255, 255, 255, 0.6);
}

select option {
    background: var(--primary-black);
    color: var(--primary-white);
}

.submit-button {
    background: var(--gradient-primary);
    color: var(--primary-white);
    border: none;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: transform var(--transition-speed);
}

.submit-button:hover {
    transform: translateY(-3px);
}

/* File Upload Drag & Drop */
.drop-zone {
    width: 100%;
    height: 200px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed);
}

.drop-zone.dragover {
    border-color: var(--primary-blue-1);
    background: rgba(255, 255, 255, 0.1);
}

.drop-zone-content {
    text-align: center;
    color: var(--primary-white);
}

.drop-zone-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue-1);
}

.drop-zone-content p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.drop-zone-content .file-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.drop-zone-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.browse-button {
    background: var(--gradient-primary);
    color: var(--primary-white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    margin: 0.5rem 0;
    transition: transform var(--transition-speed);
}

.browse-button:hover {
    transform: translateY(-2px);
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.file-preview i {
    font-size: 1.5rem;
    color: var(--primary-blue-1);
}

.file-preview .file-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview .remove-file {
    color: #ff4444;
    cursor: pointer;
    transition: color var(--transition-speed);
}

.file-preview .remove-file:hover {
    color: #ff0000;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    color: var(--primary-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    background: #fff;
    padding: 0.5rem;
    border-radius: 12px;
    height: 90px;
    margin-bottom: 1rem;
    max-width: 100%;
    height: auto;
}

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

.footer-links a {
    color: var(--primary-white);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--primary-blue-1);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--primary-white);
    font-size: 1.5rem;
    transition: color var(--transition-speed);
}

.social-icons a:hover {
    color: var(--primary-blue-1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-white);
    margin: 5px 0;
    transition: var(--transition-speed);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        margin-right: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: var(--primary-black);
        transition: left var(--transition-speed);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-menu.active {
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 2000;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        justify-content: center;
        display: flex;
        height: 100%;
        width: 100%;
        gap: 2rem;
    }

    .sidebar-close {
        position: absolute;
        top: 24px;
        right: 32px;
        font-size: 2.5rem;
        color: var(--primary-white);
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2100;
        transition: color var(--transition-speed);
    }
    .sidebar-close:hover {
        color: var(--primary-blue-1);
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .background-video {
        height: 100%;
        width: auto;
        min-width: 100%;
    }

    .footer-logo img {
        height: 60px;
    }
}

/* Additional Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Card Hover Effects */
.project-card, .team-card, .blog-card {
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.project-card:hover, .team-card:hover, .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Project Cards */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3rem;
    text-align: left;
    transition: all var(--transition-speed);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.project-card h3 {
    font-size: 2rem;
    color: var(--primary-white);
    position: relative;
    padding-bottom: 1rem;
}

.project-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.project-card .cta-button {
    margin-top: auto;
    align-self: flex-start;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

/* Responsive Projects Grid */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .project-card {
        padding: 2rem;
    }
    
    .project-card h3 {
        font-size: 1.8rem;
    }
}

/* Team Cards */
.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
}

.team-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

/* Blog Cards */
.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
}

.blog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

/* Moving Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--gradient-1),
        var(--gradient-2),
        var(--gradient-3),
        var(--gradient-4)
    );
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientBG 15s ease infinite;
    opacity: 0.95;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Video Background Styles */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1);
}

.hero-section .background-video {
    filter: brightness(2);
}

/* Update Contact Section */
.contact-section {
    position: relative;
    overflow: hidden;
    color: var(--primary-white);
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-list p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--primary-white);
}

.contact-info-list i {
    font-size: 1.3rem;
    color: var(--primary-blue-1);
    width: 24px;
    text-align: center;
}

/* Modal Styles */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

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

.modal {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content {
    padding: 2rem;
    padding-top: 1rem;
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue-1) rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-blue-1);
    border-radius: 4px;
}

.close-modal {
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 28px;
    color: var(--primary-white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    border-radius: 50%;
    transition: all var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1100;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.case-study-content h2,
.service-header h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-study-section,
.service-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-section h3,
.service-section h3 {
    color: var(--primary-blue-1);
    text-shadow: 0 0 10px rgba(36, 131, 161, 0.3);
}

.case-study-section p,
.service-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.case-study-section ul {
    list-style: none;
    padding: 0;
}

.case-study-section li,
.benefits-list li, 
.features-list li {
    color: rgba(255, 255, 255, 0.9);
}

.case-study-section li::before {
    content: '→';
    margin-right: 10px;
    color: var(--primary-blue-1);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: var(--primary-white);
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
    }

    .case-study-content h2 {
        font-size: 2rem;
    }

    .case-study-section {
        padding: 1rem;
    }

    .tech-stack {
        gap: 0.5rem;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Service Modal Styles */
.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-header i {
    font-size: 3rem;
    color: var(--primary-blue-1);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-header h2 {
    font-size: 2.5rem;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-blue-1);
}

.service-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-white);
}

.benefits-list, .features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.benefits-list li, .features-list li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.benefits-list li::before, .features-list li::before {
    content: '✓';
    color: var(--primary-blue-1);
    font-weight: bold;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.impact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform var(--transition-speed);
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-item i {
    font-size: 2rem;
    color: var(--primary-blue-1);
    margin-bottom: 1rem;
}

.impact-item span {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    line-height: 1.4;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: transform var(--transition-speed);
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
}

.service-cta .cta-button {
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

/* Responsive Service Modal */
@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .service-header h2 {
        font-size: 2rem;
    }

    .benefits-list, .features-list {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 0.8rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Hover states */
.benefits-list li:hover, 
.features-list li:hover,
.impact-item:hover,
.process-step:hover {
    background: rgba(255, 255, 255, 0.12);
}

#book-service select {
    color: var(--primary-white);
}
#book-service select option[value=""] {
    color: rgba(255, 255, 255, 0.6);
}
#book-service select option:not([value=""]) {
    color: var(--primary-white);
} 