/* General Body Styles */
body {
    font-family: 'Montserrat', 'Arial', sans-serif; /* Using Montserrat for a modern feel */
    margin: 0;
    line-height: 1.7;
    color: #f0f0f0; /* Light grey for text on dark backgrounds */
    background-color: #1a1a2e; /* Deep dark blue/purple */
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll from clip-path */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Impact', sans-serif; /* Strong, bold headings */
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: 4.5rem; color: #e94560; } /* Vibrant red */
h2 { font-size: 3rem; color: #0f3460; } /* Darker blue */
h3 { font-size: 2.2rem; color: #e94560; } /* Vibrant red */
h4 { font-size: 1.8rem; color: #0f3460; } /* Darker blue */

/* Links */
a {
    color: #e94560; /* Vibrant red for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fc7288; /* Lighter red on hover */
}

/* Header and Navigation */
header {
    background-color: #0f3460; /* Darker blue */
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

nav {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 1rem 2rem;
    margin: 0 0.75rem;
    border-radius: 50px; /* Pill shape */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #e94560; /* Vibrant red fill */
    transition: left 0.3s ease;
    z-index: -1;
}

nav a:hover::before {
    left: 0;
}

nav a:hover {
    color: #1a1a2e; /* Dark text on hover */
    transform: translateY(-3px);
}

/* Main Content Sections */
main {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}

section {
    background-color: #2e2e4e; /* Slightly lighter dark blue/purple */
    padding: 60px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

section:nth-of-type(odd) {
    background-color: #1a1a2e; /* Deep dark blue/purple */
    border: 2px solid #0f3460;
}

section:nth-of-type(even) {
    background-color: #0f3460; /* Darker blue */
    border: 2px solid #e94560;
}

/* Section background shapes */
section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: linear-gradient(45deg, rgba(233, 69, 96, 0.1), rgba(15, 52, 96, 0.1));
    transform: rotate(30deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 50%;
    height: 50%;
    background: linear-gradient(135deg, rgba(255, 203, 5, 0.1), rgba(233, 69, 96, 0.1));
    transform: rotate(-45deg);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    z-index: 0;
}

section > * {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    background: linear-gradient(45deg, #0f3460, #1a1a2e); /* Gradient background */
    color: #e0e0e0;
    padding: 100px 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-shadow: 4px 4px #e94560;
}

.hero p {
    font-size: 1.6rem;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
    color: #c0c0c0;
}

/* Blog Post Styling */
.blog-post h2 {
    color: #e94560; /* Vibrant red */
    font-size: 3.5rem;
    margin-bottom: 25px;
    border-bottom: 5px solid #0f3460;
    padding-bottom: 15px;
    text-align: center;
}

.blog-post h3 {
    color: #0f3460; /* Darker blue */
    font-size: 2.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 8px solid #e94560;
    padding-left: 20px;
}

.blog-post h4 {
    color: #e94560; /* Vibrant red */
    font-size: 1.9rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post p {
    margin-bottom: 1.5em;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #d0d0d0;
}

.blog-post ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5em;
}

.blog-post ul li {
    background-color: #2e2e4e; /* Slightly lighter dark blue/purple */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 8px solid #0f3460;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #e0e0e0;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.blog-post a {
    color: #ffcb05; /* Bright yellow for the anchor link */
    text-decoration: underline;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.blog-post a:hover {
    color: #ffe066; /* Lighter yellow on hover */
}

/* Other Sections */
#about h2, #services h2, #contact h2 {
    color: #ffcb05; /* Bright yellow */
    font-size: 3.2rem;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 5px solid #e94560;
    padding-bottom: 15px;
}

#services ul {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

#services ul li {
    background-color: #0f3460; /* Darker blue */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e0e0e0;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e94560;
    position: relative;
    overflow: hidden;
}

#services ul li::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #e94560, #ffcb05);
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#services ul li:hover::before {
    opacity: 0.3;
}

#services ul li:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: #1a1a2e; /* Deep dark blue/purple */
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
    border-color: #ffcb05;
}

/* Footer */
footer {
    background-color: #0f3460;
    color: #e0e0e0;
    text-align: center;
    padding: 3rem 0;
    margin-top: 50px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    nav {
        padding: 0 20px;
    }
    main {
        padding: 0 20px;
    }
    section {
        padding: 40px;
    }
    .hero h1 {
        font-size: 4rem;
    }
    .hero p {
        font-size: 1.4rem;
    }
    .blog-post h2 {
        font-size: 3rem;
    }
    .blog-post h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    nav a {
        margin: 0.5rem 0;
        width: 80%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
    .hero {
        padding: 80px 20px;
    }
    .hero h1 {
        font-size: 3rem;
        text-shadow: 3px 3px #e94560;
    }
    .hero p {
        font-size: 1.2rem;
    }
    section {
        padding: 30px;
    }
    .blog-post h2 {
        font-size: 2.5rem;
    }
    .blog-post h3 {
        font-size: 1.8rem;
    }
    .blog-post h4 {
        font-size: 1.5rem;
    }
    #about h2, #services h2, #contact h2 {
        font-size: 2.5rem;
    }
    #services ul {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    nav a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .hero {
        padding: 60px 15px;
    }
    .hero h1 {
        font-size: 2.5rem;
        text-shadow: 2px 2px #e94560;
    }
    .hero p {
        font-size: 1rem;
    }
    section {
        padding: 20px;
        margin-bottom: 20px;
    }
    .blog-post h2 {
        font-size: 2rem;
    }
    .blog-post h3 {
        font-size: 1.6rem;
    }
    .blog-post h4 {
        font-size: 1.3rem;
    }
    .blog-post p {
        font-size: 1rem;
    }
    .blog-post ul li {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    #about h2, #services h2, #contact h2 {
        font-size: 2rem;
    }
    #services ul {
        grid-template-columns: 1fr;
    }
}

/* Web Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Oswald:wght@700&display=swap');
