/* ==========================================================================
   1. GLOBAL STYLES & RESET (Vibrant Blue & Teal Theme)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1e293b; /* Slate dark text instead of harsh black */
    background-color: #ffffff;
}

body {
    line-height: 1.6;
}

.section-padding {
    padding: 90px 12%;
}

/* Colorful gradient background for alternative sections */
.bg-light {
    background: linear-gradient(180deg, #f0fdfa 0%, #e0f2fe 100%); /* Soft Teal to Light Blue */
}

h2 {
    font-size: 2.4rem;
    color: #0f172a; /* Deep Navy */
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 12px;
}

/* Colorful Accent Bar under headers */
h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #0284c7, #0d9488); /* Blue to Teal gradient */
    border-radius: 3px;
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
header {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 4px solid #0284c7; /* Top accent border */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 12%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0d9488; /* Turns vibrant teal on hover */
}

/* ==========================================================================
   3. HERO SECTION (Dynamic Colorful Banner)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); /* Deep Navy & Indigo gradient */
    padding: 120px 12%;
    color: #ffffff;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-text {
    flex: 1.3;
}

.hero-text h1 {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 25px;
    background: linear-gradient(to right, #38bdf8, #2dd4bf); /* Glowing Cyan-Teal text effect */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

/* High-Contrast Vibrant CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #0ea5e9, #0d9488); /* Sky Blue to Teal */
    color: #ffffff;
    text-decoration: none;
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 30px; /* Pillow soft rounded corners */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 148, 136, 0.6);
}

.hero-image {
    flex: 0.9;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 4px solid #2dd4bf; /* Teal photo frame */
}

/* ==========================================================================
   4. ABOUT SECTION
   ========================================================================== */
#about p {
    font-size: 1.2rem;
    color: #334155;
    max-width: 950px;
    line-height: 1.9;
}

/* ==========================================================================
   5. SERVICES MATRIX (Polished colorful cards)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border-top: 5px solid #0ea5e9; /* Light blue top strip */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:nth-child(2) {
    border-top-color: #0d9488; /* Teal top strip for variety */
}

.service-card:nth-child(3) {
    border-top-color: #6366f1; /* Indigo top strip for variety */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 22px;
    color: #0f172a;
}

.service-card ul {
    list-style-position: inside;
    color: #475569;
}

.service-card li {
    margin-bottom: 12px;
}

/* ==========================================================================
   6. TECHNICAL SKILLS & TOOLS (Badges & Colorful Blocks)
   ========================================================================== */
.tools-container h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-top: 30px;
    margin-bottom: 12px;
}

.tools-container p {
    color: #1e293b;
    font-size: 1.15rem;
    background-color: #f0fdf4; /* Light clean green tint */
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    max-width: 850px;
    border-left: 5px solid #16a34a; /* Deep green border accent */
    font-weight: 500;
}

/* ==========================================================================
   7. PORTFOLIO & SAMPLES (Clean Presentation Deck Feel)
   ========================================================================== */
.client-list {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #0284c7;
    margin-bottom: 60px;
    border-bottom: 2px dashed #bae6fd;
    padding-bottom: 25px;
    text-transform: uppercase;
}

.sample-row {
    display: flex;
    gap: 25px;
    max-width: 1000px;
}

.sample-box {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sample-box strong {
    display: block;
    color: #0d9488;
    margin-bottom: 12px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sample-box p {
    font-size: 1.2rem;
    color: #0f172a;
    font-weight: 500;
}

/* ==========================================================================
   8. CONTACT FORM & FOOTER
   ========================================================================== */
.contact-container {
    display: flex;
    gap: 60px;
    margin-top: 45px;
}

.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.05rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.submit-button {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    color: #ffffff;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #0d9488; /* Shifts to teal on ready-to-send click */
}

.direct-contact {
    flex: 1;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 40px 30px;
    border-radius: 12px;
    height: fit-content;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.05);
}

.direct-contact p {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 40px 10%;
    font-size: 1rem;
    border-top: 6px solid #0d9488;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (MOBILE ADAPTIVE)
   ========================================================================== */
@media (max-width: 968px) {
    .hero-container, .contact-container, .sample-row {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-padding {
        padding: 60px 6%;
    }
    
    .hero-text h1 {
        font-size: 2.6rem;
    }
}



/* ==========================================================================
   PORTFOLIO IMAGE LOCALIZATION STYLES
   ========================================================================== */
.visual-box {
    background: #ffffff;
    padding: 15px !important;
    display: flex;
    flex-direction: column;
}

.portfolio-sample-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    margin-top: 10px;
}

.text-sample-box {
    background-color: #f8fafc !important;
}

.small-sample-text {
    list-style-position: inside;
    margin-top: 10px;
    padding-left: 5px;
}

.small-sample-text li {
    font-size: 0.95rem; /* Scaled down font size to fit neatly */
    color: #334155;
    margin-bottom: 6px;
    font-weight: 500;
}