/* Base Styles */
:root {
    --primary-color: #6366f1;
    --primary-hover: #818cf8;
    --secondary-color: #4f46e5;
    --text-color: #e2e8f0;
    --light-text: #94a3b8;
    --background-color: #0f172a;
    --light-background: #1e293b;
    --card-background: #1e293b;
    --border-color: #334155;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --border-radius: 0.5rem;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --glow: 0 0 15px rgba(99, 102, 241, 0.5);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--primary-hover);
    color: white;
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    border-radius: 2px;
}

/* Header */
header {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
}

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

nav ul li {
    margin-left: var(--spacing-md);
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-xl) + 60px) 0 var(--spacing-xl);
    background-color: var(--background-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1), transparent 70%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(to right, #6366f1, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: var(--spacing-md);
}

.hero-cta {
    margin-top: var(--spacing-md);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    opacity: 0.1;
    filter: blur(40px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-background);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    background-color: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border-left: 3px solid var(--primary-color);
}

.about-text>p:first-child {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-content h3 {
    text-align: center;
    margin-top: 1rem;
    color: var(--primary-color);
}

.mission-points {
    display: grid;
    gap: 1.25rem;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.mission-icon {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    background: rgba(99, 102, 241, 0.1);
    height: 2.5rem;
    border-radius: 50%;
}

.mission-text {
    flex: 1;
}

.mission-text strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-item {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: var(--primary-color);
}

.portfolio-content {
    padding: var(--spacing-md);
}

.portfolio-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    background-color: rgba(99, 102, 241, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.portfolio-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.portfolio-content p {
    margin-bottom: var(--spacing-md);
    color: var(--light-text);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-color: var(--light-background);
}

.contact p {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    font-size: 1.1rem;
    color: var(--light-text);
}

/* Footer */
footer {
    background-color: var(--background-color);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    height: 30px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
}

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

.footer-links ul li {
    margin-right: var(--spacing-md);
}

.footer-links ul li:last-child {
    margin-right: 0;
}

.footer-social a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background-color: var(--light-background);
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    display: inline-block;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-social a i {
    margin-right: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--light-text);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: var(--spacing-md);
    }

    .footer-links {
        margin-bottom: var(--spacing-md);
    }

    .footer-links ul {
        justify-content: center;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--light-background);
        box-shadow: var(--shadow);
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0 0 var(--spacing-sm) 0;
    }

    .navbar {
        position: relative;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-color);
    }

    .shape-1,
    .shape-2 {
        display: none;
    }

    .mission-point {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mission-icon {
        margin-bottom: 0.5rem;
    }
}