/* ==========================================================
   TUSHAR S. GOKHALE
   Main Website Stylesheet
   Part 1
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter','Segoe UI',Arial,sans-serif;

    color:#334155;

    background:#f7f9fc;

    line-height:1.7;

}


/* ==========================================================
    LINKS
========================================================== */

a{

    color:#2563eb;

    text-decoration:none;

}

a:hover{

    color:#1d4ed8;

}


/* ==========================================================
    CONTAINER
========================================================== */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}


/* ==========================================================
    HEADER
========================================================== */

header{

    background:#f7f9fc;

    border-bottom:1px solid #dddddd;

    position:sticky;

    top:0;

    z-index:999;

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}


.logo{

    font-size:28px;

    font-weight:700;

    color:#2563eb;

}


nav ul{

    list-style:none;

    display:flex;

    gap:25px;

}


nav a{

    color:#444;

    font-weight:600;

    transition:.3s;

}


nav a:hover{

    color:#2563eb;

}


nav a.active{

    color:#2563eb;

}


/* ==========================================================
    HERO
========================================================== */

.hero{

    background:linear-gradient(135deg,#002757,#0f4fbf 60%,#062078);

    color:white;

    padding:68px 0;

    text-align:center;

}


.hero h1{

    font-size:48px;

    margin-bottom:20px;

}


.hero h2{

    font-size:24px;

    font-weight:400;

    margin-bottom:30px;

}


.hero p{

    font-size:18px;

    max-width:900px;

    margin:auto;

}


/* ==========================================================
    BUTTONS
========================================================== */

.buttons{

    margin-top:28px;

}


.btn-primary{

    display:inline-block;

    background:white;

    color:#2563eb;

    padding:15px 35px;

    border-radius:12px;

    font-weight:bold;

    margin-right:15px;

    transition:.3s;

}


.btn-primary:hover{

    background:#eeeeee;

}


.btn-secondary{

    display:inline-block;

    border:2px solid white;

    color:white;

    padding:15px 35px;

    border-radius:12px;

    transition:.3s;

}


.btn-secondary:hover{

    background:white;

    color:#2563eb;

}


/* ==========================================================
    PAGE HEADER
========================================================== */

.page-header{

    background:linear-gradient(180deg,#f8fbff,#eef5ff);

    padding:52px 0;

    text-align:center;

}


.page-header h1{

    font-size:38px;

    color:#2563eb;

    margin-bottom:20px;

}


.page-header p{

    font-size:18px;

    max-width:900px;

    margin:auto;

}


/* ==========================================================
    SECTIONS
========================================================== */

.section{

    padding:52px 0;

}


.section.light{

    background:#fbfcfe;

}


.section h2{

    font-size:32px;

    color:#2563eb;

    margin-bottom:22px;

}


.section h3{

    margin-bottom:15px;

    color:#2563eb;

}


.section p{

    margin-bottom:20px;

}


/* ==========================================================
    CARDS
========================================================== */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:22px;

}


.card{

    background:#f5f6ff;

    border:1px solid #efefef;

    border-radius:12px;

    padding:20px;

    transition:.3s;

}


.card:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 40px rgba(15,23,42,.18);

}


.card h3{

    margin-bottom:15px;

}


/* ==========================================================
    LISTS
========================================================== */

ul{

    padding-left:25px;

}


li{

    margin-bottom:10px;

}


/* ==========================================================
    HIGHLIGHTS
========================================================== */

.highlights{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-top:22px;

}


.highlights div{

    background:#002757;

    color:white;

    padding:18px;

    border-radius:12px;

    text-align:center;

    font-weight:600;

}


/* ==========================================================
    TABLE
========================================================== */

table{

    width:100%;

    border-collapse:collapse;

    margin-top:22px;

}


th{

    background:#2563eb;

    color:white;

    padding:15px;

    text-align:left;

}


td{

    border:1px solid #e2e8f0;

    padding:14px;

}


tr:nth-child(even){

    background:#fafafa;

}


/* ==========================================================
    CTA
========================================================== */

.cta{

    background:#002777;

    color:white;

    text-align:center;

    padding:48px 0;

}


.cta h2{

    color:white;

    font-size:38px;

    margin-bottom:25px;

}


.cta p{

    max-width:900px;

    margin:auto;

    margin-bottom:22px;

    font-size:18px;

}

/* ==========================================================
    TIMELINE
========================================================== */

.timeline{

    position:relative;

    margin-top:40px;

    padding-left:35px;

    border-left:4px solid #1e73be;

}

.timeline-item{

    position:relative;

    margin-bottom:40px;

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-item::before{

    content:"";

    position:absolute;

    left:-46px;

    top:5px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:#2563eb;

    border:4px solid #ffffff;

    box-shadow:0 0 0 2px #1e73be;

}

.timeline-item h3{

    margin-bottom:12px;

}


/* ==========================================================
    CONTACT PAGE
========================================================== */

.contact-info{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));

    gap:35px;

    margin-top:22px;

}

.contact-item{

    margin-bottom:20px;

}

.contact-item strong{

    display:block;

    color:#2563eb;

    margin-bottom:6px;

}


/* ==========================================================
    PRODUCT GRID
========================================================== */

.product-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.product-card{

    background:#f7f9fc;

    border:1px solid #e2e8f0;

    border-radius:18px;

    padding:24px;

    transition:0.3s;

}

.product-card:hover{

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transform:translateY(-6px);

}

.product-card h3{

    margin-bottom:15px;

}

.product-card p{

    margin-bottom:20px;

}

.product-card a{

    font-weight:bold;

}


/* ==========================================================
    CAPABILITY TABLE
========================================================== */

.capability-table{

    margin-top:22px;

}

.capability-table th{

    width:35%;

}


/* ==========================================================
    IMAGES
========================================================== */

img{

    max-width:100%;

    display:block;

}

.round-image{

    border-radius:50%;

}

.shadow{

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}


/* ==========================================================
    UTILITIES
========================================================== */

.text-center{

    text-align:center;

}

.mt-20{

    margin-top:20px;

}

.mt-40{

    margin-top:40px;

}

.mt-60{

    margin-top:60px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-40{

    margin-bottom:40px;

}

.mb-60{

    margin-bottom:60px;

}

.blue{

    color:#2563eb;

}

.bold{

    font-weight:bold;

}


/* ==========================================================
    SIMPLE FADE ANIMATION
========================================================== */

.card,
.timeline-item,
.highlights div{

    animation:fadeUp .6s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================================================
    FOOTER
========================================================== */

footer{

    background:#0f172a;

    color:#dddddd;

    text-align:center;

    padding:35px 0;

}

footer p{

    margin:0;

}


/* ==========================================================
    RESPONSIVE
========================================================== */

@media(max-width:992px){

    .hero h1{

        font-size:38px;

    }

    .hero h2{

        font-size:22px;

    }

}

@media(max-width:768px){

    header .container{

        flex-direction:column;

    }

    .logo{

        margin-bottom:15px;

        text-align:center;

    }

    nav ul{

        flex-wrap:wrap;

        justify-content:center;

        gap:15px;

    }

    .hero{

        padding:52px 0;

    }

    .hero h1{

        font-size:34px;

    }

    .hero h2{

        font-size:18px;

    }

    .hero p{

        font-size:18px;

    }

    .buttons{

        display:flex;

        flex-direction:column;

        gap:15px;

    }

    .btn-primary,
    .btn-secondary{

        margin:0;

        width:100%;

        text-align:center;

    }

    .section{

        padding:55px 0;

    }

    .section h2{

        font-size:30px;

    }

    .page-header{

        padding:50px 0;

    }

    .page-header h1{

        font-size:34px;

    }

}

@media(max-width:480px){

    body{

        font-size:16px;

    }

    .hero h1{

        font-size:30px;

    }

    .hero h2{

        font-size:18px;

    }

    .page-header h1{

        font-size:30px;

    }

    .cards{

        grid-template-columns:1fr;

    }

    .highlights{

        grid-template-columns:1fr;

    }

}

/* ===== V1 Premium Enhancements ===== */

body{
    letter-spacing:.1px;
}

header{
    backdrop-filter:blur(10px);
    background:rgba(255,255,255,.92);
    box-shadow:0 1px 12px rgba(15,23,42,.04);
}

.logo{
    letter-spacing:.3px;
}

nav a{
    position:relative;
}

nav a:after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#2563eb;
    transition:.25s;
}
nav a:hover:after,
nav a.active:after{
    width:100%;
}

.hero{
    position:relative;
    overflow:hidden;
}

.hero:before{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(circle at 20% 20%,rgba(255,255,255,.10),transparent 30%),
      radial-gradient(circle at 80% 30%,rgba(255,255,255,.08),transparent 35%);
}

.hero .container{
    position:relative;
    z-index:2;
}

.section{
    padding:48px 0;
}

.section h2{
    color:#0f172a;
    font-weight:700;
}

.cards{
    gap:24px;
}

.card,
.product-card{
    box-shadow:0 12px 30px rgba(15,23,42,.05);
}

.card:hover,
.product-card:hover{
    border-color:#c7d2fe;
}

.btn-primary,
.btn-secondary{
    border-radius:12px;
    font-weight:600;
}

.highlights div{
    border-radius:14px;
    box-shadow:0 10px 24px rgba(37,99,235,.18);
}

.timeline{
    border-left-color:#60a5fa;
}

.timeline-item::before{
    background:#2563eb;
    box-shadow:0 0 0 3px #2563eb;
}

footer{
    font-size:.95rem;
}


/* ===== Compact Layout Refinements ===== */

.container{
    max-width:1180px;
}

.section p,
.page-header p,
.hero p{
    max-width:760px;
}

.hero h1{
    line-height:1.08;
}

.hero h2{
    margin-bottom:18px;
}

.hero p{
    line-height:1.6;
}

.cards{
    gap:20px;
}

.card,
.product-card{
    min-height:auto;
}

.card h3,
.product-card h3{
    margin-bottom:10px;
}

.card p,
.product-card p{
    margin-bottom:12px;
}

.timeline{
    margin-top:24px;
}

.timeline-item{
    margin-bottom:28px;
}

.highlights{
    gap:14px;
}

.highlights div{
    padding:14px 16px;
}

.contact-info,
.product-grid{
    gap:22px;
}

table{
    margin-top:22px;
}

th,
td{
    padding:12px;
}

.cta h2{
    margin-bottom:14px;
}

.cta p{
    margin-bottom:24px;
}

footer{
    padding:26px 0;
}

@media(max-width:768px){

.section{
    padding:42px 0;
}

.hero{
    padding:52px 0;
}

.page-header{
    padding:40px 0;
}

}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:28px;
    font-weight:700;
    color:#0060aa;
}

.site-logo{
    width:45px;
    height:45px;
    object-fit:contain;
}

.product-image
{
    width:100%;
    height:auto;

    border-radius:4px;

    margin-bottom:15px;

}

.about-photo
{
    width:220px;
    text-align:center;
}

.about-photo
{
    float:right;
    width:200px;
    border-radius:15px;
    margin:-5px 0 20px 40px;
    box-shadow:0 8px 24px rgba(0,0,0,.20);
}

.contact-photo
{
    float:right;
    width:120px;
    border-radius:12px;
    margin:0 0 20px 25px;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.stats{
    display:flex;
    justify-content:center;
    gap:40px;
    margin:50px 0;
}

.stat{
    text-align:center;
}

.stat span{
    display:block;
    font-size:3rem;
    font-weight:700;
    color:#0d5bd7;
}

.stat p{
    margin-top:8px;
    font-weight:600;
    color:#555; 
}

.icon
{
    width:16px;
    height:16px;
    vertical-align:middle;
    margin-right:6px;
}

/* ==========================================================
   DESIGNS PAGE - PORTFOLIO-SPECIFIC STYLES
   ========================================================== */


/* ----------------------------------------------------------
   UI / UX DESIGNS
   Large, highly visible screenshots
   ---------------------------------------------------------- */

.design-uiux .cards {
    grid-template-columns: 1fr;
    gap: 32px;
}

.design-uiux .card {
    padding: 24px;
    background: #f8faff;
    border: 1px solid #dfe6f2;
    border-radius: 14px;
    overflow: hidden;
}

.design-uiux .card .product-image {
    max-width: 85%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: transform .35s ease, box-shadow .35s ease;
}

.design-uiux .card:hover .product-image {
    transform: scale(1.015);
    box-shadow: 0 12px 28px rgba(15,23,42,.12);
}


/* ----------------------------------------------------------
   WEBSITE DESIGNS
   Two-column portfolio layout
   ---------------------------------------------------------- */

.design-websites .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.design-websites .card {
    padding: 20px;
    overflow: hidden;
}

.design-websites .card .product-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.design-websites .card:hover .product-image {
    transform: scale(1.025);
    box-shadow: 0 10px 25px rgba(15,23,42,.12);
}

.design-websites .card p {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #1e3a5f;
}
.design-websites .card p {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: #334155;
    margin: 0;
}


/* ----------------------------------------------------------
   LOGOS
   Four-column logo gallery
   ---------------------------------------------------------- */

.design-logos .cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    width: 90%;
    max-width: 1180px;
    margin: 28px auto 0;
    align-items: stretch;
}

.design-logos .cards > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px;
    min-height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;

    box-shadow: 0 8px 22px rgba(15,23,42,.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.design-logos .cards > .container:hover {
    transform: translateY(-5px);
    border-color: #c7d2fe;
    box-shadow: 0 16px 32px rgba(15,23,42,.12);
}

.design-logos .cards > .container .product-image {
    width: 100%;
    max-width: 230px;
    max-height: 145px;
    object-fit: contain;
    margin: 0 auto;
}

.design-logos > .container:first-child {
    margin-bottom: 10px;
}

.design-logos > .container:first-child h1 {
    font-size: 32px;
    color: #0f172a;
    margin: 0;
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .design-logos .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .design-websites .cards {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .design-uiux .card {
        padding: 12px;
    }

    .design-websites .cards {
        grid-template-columns: 1fr;
    }

    .design-websites .card .product-image {
        height: auto;
    }

    .design-logos .cards {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .design-logos .cards > .container {
        min-height: 170px;
    }

}