/* Custom CSS for Prathamesh IT Solutions */

:root {
    --primary-gradient: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    --gold-light: #D4AF37;
    --gold-dark: #B8860B;

    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-contrast: #0F172A;
    /* Deep Navy/Charcoal */
    --bg-contrast-darker: #0B1120;

    --text-dark: #333333;
    --text-light: #F8FAFC;
    --text-muted: #64748b;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Reusable Typography & UI elements */
.gold-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-text-dark {
    color: var(--gold-dark);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bg-contrast-darker);
    background: var(--primary-gradient);
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Section Headings */
.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.heading-line {
    height: 3px;
    width: 60px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.heading-line.center-line {
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    max-height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-contrast);
    padding: var(--header-height) 20px 0;
    overflow: hidden;
    text-align: center;
}

/* Background gradient effect */
#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" opacity="0.03"><path d="M0 0h60v60H0z"/><circle cx="30" cy="30" r="2" fill="%23FFFFFF"/></svg>') repeat;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-content h1 {
    color: var(--text-light);
    font-size: 4rem;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-content p {
    color: #cbd5e1;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--gold-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--bg-contrast);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
#contact {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-main) 100%);
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.contact-info {
    background: var(--bg-contrast);
    color: var(--text-light);
    padding: 60px;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.contact-info h2 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 2.2rem;
    position: relative;
    text-align: center;
}

.contact-info>p {
    color: #cbd5e1;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.info-item i {
    font-size: 2rem;
    color: var(--gold-light);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.contact-form-container {
    background: #ffffff;
    padding: 60px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
    color: var(--text-dark);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    background: #ffffff;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* Footer */
footer {
    background: var(--bg-contrast-darker);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    max-height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-links .divider {
    color: #334155;
    margin: 0 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .contact-info {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}