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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo h1 {
    color: #007cba;
    font-size: 1.8rem;
}

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

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007cba;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    margin-bottom: 3rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: #007cba;
    color: white;
}

.btn.primary:hover {
    background: #005a8b;
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: #007cba;
    border: 2px solid #007cba;
}

.btn.secondary:hover {
    background: #007cba;
    color: white;
}

/* Skills/Tech Grid */
.skills {
    margin: 3rem 0;
    text-align: center;
}

.skills h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.tech-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    color: #007cba;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: #007cba;
    color: white;
    transform: translateY(-3px);
}

/* Services Grid */
.services-hero, .projects-hero, .about-hero, .contact-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.services-hero h2, .projects-hero h2, .about-hero h2, .contact-hero h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #007cba;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.3rem 0;
    color: #666;
}

.service-card li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    color: #007cba;
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
}

.about-text ul {
    margin: 1rem 0;
}

.about-text li {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-info h3, .contact-form h3 {
    color: #007cba;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin: 1rem 0;
    padding: 0.5rem 0;
}

.contact-item strong {
    display: inline-block;
    width: 80px;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007cba;
}

.availability, .contact-cta {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.response-time {
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 1rem;
    }
}
