/* 
  Personal Website - Local Web Developer (Mumbai)
  Design System & Styles
*/

/* --- Fonts (Inter & Poppins) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

:root {
    /* Colors */
    --primary: #0A2540;
    /* Trust & Professionalism */
    --secondary: #2ECC71;
    /* WhatsApp Green / Action Buttons */
    --accent: #F5A623;
    /* Soft Orange for Highlights */
    --bg-light: #F7F9FC;
    /* Off-white Background */
    --text-dark: #1A1A1A;
    --text-muted: #4A5568;
    --white: #FFFFFF;

    /* Spacing & Borders */
    --container-width: 1100px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Components --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

/* --- Header & Navigation --- */
header {
    height: 70px;
    display: flex;
    align-items: center;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* Spinning Gradient Border */
.hero-image-container::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: conic-gradient(from 0deg, transparent, var(--secondary), var(--accent), var(--secondary), transparent);
    border-radius: 50%;
    animation: rotate 4s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-image-container img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--white);
    background: var(--white);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.2);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(10, 37, 64, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 37, 64, 0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
}

/* --- How It Helps Section --- */
.benefits-section {
    background-color: var(--primary);
    color: var(--white);
}

.benefits-section h2,
.benefits-section p {
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 20px;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.benefit-item h3 {
    color: var(--white);
    margin-bottom: 10px;
}

/* --- Demo Section --- */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.demo-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.demo-preview {
    height: 200px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.demo-info {
    padding: 25px;
}

.demo-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* --- About Me --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

/* --- Contact Section --- */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.contact-method {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    flex: 1;
    min-width: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

/* --- Sticky Buttons --- */
.sticky-actions {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.sticky-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.sticky-btn svg {
    width: 24px;
    height: 24px;
}

.sticky-btn:hover {
    transform: scale(1.1);
}

.sticky-whatsapp {
    background-color: #25D366;
    color: white;
}

.sticky-call {
    background-color: var(--primary);
    color: white;
    display: none;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
footer {
    background: #05141f;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Responsive Media Queries --- */
@media (max-width: 991px) {
    .header {
        height: 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content p {
        margin: 0 auto 25px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container img {
        width: 280px;
        height: 280px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .sticky-actions {
        bottom: 10px;
        right: 10px;
    }
}