:root {
    --bg-primary: #0a1929;
    --bg-secondary: #132f4c;
    --text-primary: #ffffff;
    --text-secondary: #b2bac2;
    --accent-color: #00a0ff;
    --border-color: #1e4976;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(10, 25, 41, 0.95);
    --gradient-primary: linear-gradient(45deg, #00a0ff, #0077ff);
    --card-hover-bg: #173a5e;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    height: 40px;
    z-index: 1001;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(100);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

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

/* Mobile menu button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
    }

    .desktop-logo {
        display: block;
        height: 40px;
        margin: 0;
    }

    .mobile-menu-toggle {
        display: block;
        margin: 0;
        padding: 0.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
        display: block;
        padding: 0.8rem 2rem;
        width: 100%;
        text-align: center;
    }

    /* Hamburger menu animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* When menu is open, prevent body scroll */
    body.menu-open {
        overflow: hidden;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 25, 41, 0.9), rgba(10, 25, 41, 0.95)), 
                url('https://source.unsplash.com/random/1920x1080/?technology,code') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 160, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-service {
    background: rgba(19, 47, 76, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.hero-service:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(19, 47, 76, 0.8);
}

.hero-service h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.hero-service p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-services {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-service {
        padding: 1.5rem;
    }

    .hero-service h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 160, 255, 0.4);
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

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

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Tech Stack Styles */
.tech-stack {
    margin-top: 5rem;
    padding: 2rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tech-category {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: var(--card-shadow);
}

.tech-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.tech-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-category li {
    color: var(--text-secondary);
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-category li:last-child {
    border-bottom: none;
}

.tech-category li:hover {
    color: var(--accent-color);
    background: rgba(0, 160, 255, 0.1);
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .tech-category {
        padding: 1.5rem;
    }
}

/* Contact Form */
form {
    max-width: 600px;
    margin: 0 auto;
}

input, textarea, select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Sections */
section {
    padding: 5rem 10%;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

/* Features */
.features {
    padding: 6rem 5%;
    background: var(--bg-secondary);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.feature-item {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 160, 255, 0.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-icon {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    opacity: 1;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Add hover animation */
@keyframes iconFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.feature-item:hover .feature-icon {
    animation: iconFloat 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 2rem;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        padding: 1rem;
    }

    .logo {
        height: 40px;
        margin-bottom: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 5%;
    }
}

/* Add these styles to your existing CSS */
.contact-info {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
}

.email-info {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.email-info h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.email-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

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

select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-message {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Hero Illustrations */
.hero-illustrations {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.1;
}

.hero-svg {
    position: absolute;
    width: 300px;
    height: 300px;
}

.hero-svg:first-child {
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero-svg:last-child {
    bottom: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

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

/* Responsive adjustments for hero SVGs */
@media (max-width: 768px) {
    .hero-svg {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-svg {
        width: 150px;
        height: 150px;
    }
}

/* Update About section styles */
.about {
    position: relative;
    overflow: hidden;
    padding: 5rem 10%;
    background-color: var(--bg-secondary);
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-illustrations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-img {
    position: absolute;
    width: 400px;
    height: auto;
    opacity: 0.1;
}

.left-img {
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.right-img {
    bottom: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
    transform: scaleX(-1);
}

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

/* Responsive styles for about illustrations */
@media (max-width: 1200px) {
    .about-img {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .about-img {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .about-img {
        width: 150px;
    }
}

/* Add these styles for the contact illustration */
.contact {
    position: relative;
    overflow: hidden;
    padding: 5rem 10%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-illustration {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-img {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.contact-form-section {
    width: 100%;
}

.email-info {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .contact-wrapper {
        gap: 2rem;
    }

    .contact-img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-illustration {
        order: -1;
    }

    .contact-img {
        max-width: 300px;
        opacity: 0.6;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 3rem 5%;
    }

    .contact-img {
        max-width: 250px;
    }
}

/* Add some tech-focused decorative elements */
.tech-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.1;
}

.tech-decoration::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tech-decoration::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    opacity: 0.1;
}

/* Add subtle animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.service-card:hover, .tech-category:hover, .feature-item:hover {
    animation: pulse 2s infinite;
}

/* Add these new animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(0, 160, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 160, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 160, 255, 0.2);
    }
}

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

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 160, 255, 0.2);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 160, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 160, 255, 0);
    }
}

/* Update hero section animations */
.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero h1 {
    animation-delay: 0.2s;
    background: linear-gradient(45deg, #00a0ff, #0077ff, #00a0ff);
    background-size: 200% 200%;
    animation: fadeInUp 0.8s ease-out forwards,
              gradientFlow 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-services {
    animation-delay: 0.6s;
}

.hero-service {
    transition: all 0.3s ease;
}

.hero-service:hover {
    transform: translateY(-5px) scale(1.02);
    animation: glowPulse 2s infinite;
}

/* Update CTA button animation */
.cta-button {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
    background: linear-gradient(45deg, #00a0ff, #0077ff, #00a0ff);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

.cta-button:hover {
    animation: ripple 1.5s infinite;
}

/* Service card animations */
.service-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-grid .service-card:nth-child(1) { animation-delay: 0.2s; }
.service-grid .service-card:nth-child(2) { animation-delay: 0.4s; }
.service-grid .service-card:nth-child(3) { animation-delay: 0.6s; }
.service-grid .service-card:nth-child(4) { animation-delay: 0.8s; }

/* Tech stack animations */
.tech-category {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.tech-grid .tech-category:nth-child(1) { animation-delay: 0.3s; }
.tech-grid .tech-category:nth-child(2) { animation-delay: 0.5s; }
.tech-grid .tech-category:nth-child(3) { animation-delay: 0.7s; }
.tech-grid .tech-category:nth-child(4) { animation-delay: 0.9s; }

/* Feature item animations */
.feature-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-grid .feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-grid .feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-grid .feature-item:nth-child(3) { animation-delay: 0.6s; }
.feature-grid .feature-item:nth-child(4) { animation-delay: 0.8s; }
.feature-grid .feature-item:nth-child(5) { animation-delay: 1s; }

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Optional: Add intersection observer for animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Toast Styles */
.toast-success {
    border-left: 4px solid #00b09b !important;
}

.toast-error {
    border-left: 4px solid #ff5f6d !important;
}

/* Override Toastify styles */
.toastify {
    font-family: inherit !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
} 
