/* css/styles.css */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight-blue: #191970;
    --dark-midnight: #0f0f3d;
    --light-midnight: #2e2e7c;
    --accent-blue: #4169e1;
    --bright-blue: #6495ed;
    --gold-accent: #ffd700;
    --light-gray: #f0f2f5;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: linear-gradient(135deg, #f0f2f5 0%, #e6e9f0 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--dark-midnight) 100%);
    box-shadow: 0 4px 12px rgba(25, 25, 112, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: rgba(255, 217, 0, 0.747);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-shadow: 0 2px 3px rgba(255, 217, 0, 0.747);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--gold-accent);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--dark-midnight) 50%, var(--light-midnight) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 149, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    color: var(--bright-blue);
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: #6495ed;
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(100, 149, 237, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(100, 149, 237, 0.5);
    background: #4169e1;
}

/* Services */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8rem;
    color: var(--midnight-blue);
    position: relative;
    display: inline-block;
    width: 100%;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent) 0%, var(--accent-blue) 100%);
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.service-item {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9ff 100%);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(25, 25, 112, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 149, 237, 0.1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent) 0%, var(--accent-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(25, 25, 112, 0.2);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item i {
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(25, 25, 112, 0.2));
}

.service-item h3 {
    margin-bottom: 15px;
    color: var(--midnight-blue);
    font-size: 1.3rem;
}

.service-item p {
    color: #4a4a6a;
    line-height: 1.7;
}

/* About */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--light-midnight) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(100, 149, 237, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.about h2 {
    margin-bottom: 30px;
    font-size: 2.8rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent) 0%, var(--accent-blue) 100%);
    border-radius: 2px;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--bright-blue);
    font-size: 1.15rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    color: var(--midnight-blue);
    position: relative;
    display: inline-block;
    width: 100%;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent) 0%, var(--accent-blue) 100%);
    border-radius: 2px;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(25, 25, 112, 0.15);
}

#contact-form input,
#contact-form textarea {
    padding: 14px;
    border: 2px solid rgba(100, 149, 237, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

#contact-form button {
    background: #6495ed;
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(100, 149, 237, 0.3);
}

#contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 149, 237, 0.5);
    background: #4169e1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-midnight) 0%, var(--midnight-blue) 100%);
    color: var(--bright-blue);
    text-align: center;
    padding: 30px 0;
    box-shadow: 0 -4px 12px rgba(25, 25, 112, 0.2);
}

footer p {
    font-size: 0.95rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Icon Animations */
.service-item i {
    transition: all 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Add subtle animation to hero title */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.hero p,
.hero .btn {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero p {
    animation-delay: 0.2s;
}

.hero .btn {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--dark-midnight) 100%);
        display: none;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }

    /* Add a menu toggle if needed, but for simplicity, assuming desktop-first */
}