/* =========================================================
   ALL INDIA PORTAL
   PASSPORT SEVA WEBSITE
   COMPLETE CSS
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: #ffffff;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}


/* =========================================================
   TOP HEADER
========================================================= */

.top-header {
    width: 100%;
    min-height: 80px;
    padding: 7px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;
    border: 1px solid #d5d5d5;
}


/* Logo */

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.india-logo {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #ffffff;

    font-size: 35px;
}

.logo-area h1 {
    margin: 0;

    color: #123d7b;

    font-size: 32px;
    font-weight: 700;

    line-height: 32px;
}

.logo-area h1 b {
    color: #f4511e;
}

.logo-area p {
    margin-top: 3px;

    color: #173d70;

    font-size: 15px;
}


/* Date Time */

.date-time {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #073a80;

    font-size: 14px;
}

.date-time i {
    color: #079327;

    font-size: 20px;
}


/* =========================================================
   NAVIGATION BAR
========================================================= */

.navbar {
    width: 100%;
    min-height: 50px;

    background: #062e72;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    min-height: 50px;

    margin: auto;

    display: flex;
    align-items: center;
}


/* Navigation links */

.nav-container > a {
    height: 50px;

    padding: 0 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 15px;

    transition: 0.25s;
}

.nav-container > a:hover {
    background: #0b428f;
}

.nav-container > a.active {
    background: #05265c;
}

.nav-container > a i {
    margin-right: 8px;
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown {
    position: relative;
    margin-left: 7px;
}

.dropdown button {
    height: 38px;

    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    border: none;
    border-radius: 9px;

    background: #ffc900;

    color: #063b83;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
}

.dropdown button:hover {
    background: #ffd633;
}

.dropdown-menu {
    position: absolute;

    top: 45px;
    right: 0;

    width: 220px;

    display: none;

    background: #ffffff;

    border-radius: 6px;

    overflow: hidden;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);

    z-index: 9999;
}

.dropdown-menu a {
    display: block;

    padding: 13px 15px;

    color: #123b78;

    font-size: 14px;

    border-bottom: 1px solid #eeeeee;
}

.dropdown-menu a:hover {
    background: #edf5ff;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


/* Search */

.search-btn {
    margin-left: auto !important;

    padding: 0 20px !important;

    font-size: 20px !important;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: calc(100% - 36px);
    max-width: 1500px;

    min-height: 285px;

    margin: 16px auto;

    padding: 24px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    background:
        linear-gradient(
            100deg,
            #edf8ff,
            #ffffff
        );

    border: 1px solid #8bc8ff;

    border-radius: 13px;
}


/* =========================================================
   HERO PASSPORT
========================================================= */

.passport-image {
    position: relative;

    width: 27%;
    min-width: 240px;
    height: 235px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Passport book */

.passport-book {
    width: 150px;
    height: 210px;

    padding: 18px 10px;

    background: #06295a;

    color: #f5d34a;

    border-radius: 7px;

    text-align: center;

    transform: rotate(-8deg);

    box-shadow:
        5px 8px 16px rgba(0, 0, 0, 0.30);
}

.passport-title {
    font-size: 12px;
}

.passport-title strong {
    font-size: 17px;
}

.emblem {
    margin: 18px 0;

    font-size: 48px;
}

.passport-bottom {
    font-size: 9px;
}


/* Airplane */

.airplane {
    position: absolute;

    left: 5px;
    bottom: 28px;

    color: #092d61;

    font-size: 42px;

    transform: rotate(-25deg);
}


/* =========================================================
   HERO CENTER
========================================================= */

.hero-content {
    flex: 1;

    text-align: center;
}

.hero-content h2 {
    margin: 0;

    color: #092d61;

    font-size: 47px;

    font-weight: 800;

    line-height: 1.05;
}

.hero-content h2 span {
    display: block;

    color: #0755c7;
}

.hero-content p {
    max-width: 600px;

    margin: 17px auto;

    color: #222222;

    font-size: 16px;

    line-height: 1.5;
}


/* Official Button */

.official-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 23px;

    background: #0862df;

    color: #ffffff;

    border-radius: 7px;

    font-size: 16px;
    font-weight: bold;

    transition: 0.25s;
}

.official-btn:hover {
    background: #064baa;

    transform: translateY(-2px);
}


/* =========================================================
   PASSPORT ID CARD
========================================================= */

.passport-card {
    width: 265px;

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.20);
}

.card-top {
    padding: 9px;

    text-align: center;

    color: #123c76;

    font-size: 12px;
    font-weight: bold;
}

.card-body {
    display: flex;

    gap: 8px;

    padding: 8px;
}

.profile {
    width: 55px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dddddd;

    font-size: 30px;
}

.details {
    display: flex;
    flex-direction: column;

    gap: 4px;

    font-size: 8px;
}

.qr {
    margin-left: auto;

    font-size: 38px;
}

.passport-number {
    padding: 5px;

    text-align: center;

    color: #111111;

    font-size: 18px;
    font-weight: bold;
}

.satyamev {
    padding: 5px;

    border-top: 1px solid #3478cc;

    text-align: center;

    font-weight: bold;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    width: calc(100% - 40px);
    max-width: 1500px;

    margin: 22px auto 14px;

    display: flex;
    align-items: center;

    gap: 18px;
}

.section-title span {
    height: 2px;

    flex: 1;

    background:
        linear-gradient(
            to right,
            #ff5722,
            #ff1493
        );
}

.section-title h2 {
    margin: 0;

    color: #123b78;

    font-size: 27px;

    white-space: nowrap;
}

.section-title h2 i:first-child {
    color: #0b4fa4;

    margin-right: 7px;
}

.section-title h2 i:last-child {
    color: #e30000;

    margin-left: 7px;

    font-size: 19px;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {
    width: calc(100% - 40px);
    max-width: 1500px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    --card-color: #0760d7;

    min-height: 250px;

    padding: 15px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: space-between;

    text-align: center;

    border: 1px solid;

    border-radius: 11px;

    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.13);
}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon {
    width: 70px;
    height: 70px;

    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--card-color);

    color: #ffffff;

    font-size: 30px;
    font-weight: bold;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   SERVICE TEXT
========================================================= */

.service-card h3 {
    margin: 0;

    color: var(--card-color);

    font-size: 19px;

    line-height: 1.25;
}

.service-card p {
    min-height: 52px;

    margin: 8px 0;

    color: #202020;

    font-size: 15px;

    line-height: 1.45;
}


/* =========================================================
   SERVICE BUTTON
========================================================= */

.service-card a {
    min-width: 150px;

    padding: 9px 20px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 5px;

    background: var(--card-color);

    color: #ffffff;

    font-size: 15px;
    font-weight: bold;

    transition: 0.2s;
}

.service-card a:hover {
    filter: brightness(0.88);

    transform: translateY(-2px);
}

.service-card a i {
    color: #ffffff;
}


/* =========================================================
   12 SERVICE COLORS
========================================================= */

.blue {
    --card-color: #0760d7;

    color: #0760d7;

    background: #f1f7ff;

    border-color: #65a5ff;
}

.green {
    --card-color: #079b38;

    color: #079b38;

    background: #f0fff5;

    border-color: #4bcf78;
}

.orange {
    --card-color: #f26b08;

    color: #f26b08;

    background: #fff8ef;

    border-color: #ff9b50;
}

.purple {
    --card-color: #6414ca;

    color: #6414ca;

    background: #faf3ff;

    border-color: #ac72ff;
}

.pink {
    --card-color: #ef0061;

    color: #ef0061;

    background: #fff2f8;

    border-color: #ff5eaa;
}

.red {
    --card-color: #ed171f;

    color: #ed171f;

    background: #fff3f3;

    border-color: #ff7777;
}

.cyan {
    --card-color: #008eae;

    color: #008eae;

    background: #effcff;

    border-color: #49c8e7;
}

.yellow {
    --card-color: #ee9600;

    color: #ee9600;

    background: #fffaf0;

    border-color: #ffc252;
}

.teal {
    --card-color: #007c82;

    color: #007c82;

    background: #f0ffff;

    border-color: #45c9c9;
}

.navy {
    --card-color: #143fc6;

    color: #143fc6;

    background: #f2f5ff;

    border-color: #7190ff;
}

.violet {
    --card-color: #7511d4;

    color: #7511d4;

    background: #faf2ff;

    border-color: #bd6cff;
}

.brown {
    --card-color: #8b3817;

    color: #8b3817;

    background: #fff5ef;

    border-color: #d87550;
}


/* =========================================================
   INFORMATION SECTION
========================================================= */

.info-grid {
    width: calc(100% - 40px);
    max-width: 1500px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.info-box {
    min-height: 115px;

    padding: 14px;

    display: flex;
    align-items: center;

    gap: 15px;

    border: 1px solid;

    border-radius: 9px;
}

.info-icon {
    min-width: 65px;

    text-align: center;

    font-size: 40px;
}

.info-box h3 {
    margin-bottom: 6px;

    font-size: 18px;
}

.info-box p {
    font-size: 14px;

    line-height: 1.45;
}


/* Information Colors */

.info-blue {
    color: #0751a3;

    background: #f1f8ff;

    border-color: #86bdf6;
}

.info-green {
    color: #07872e;

    background: #effff3;

    border-color: #7bd69b;
}

.info-yellow {
    color: #c77c00;

    background: #fffaf0;

    border-color: #f1ca6e;
}


/* =========================================================
   NOTICE + HELPLINE
========================================================= */

.bottom-grid {
    width: calc(100% - 40px);
    max-width: 1500px;

    margin: 14px auto;

    display: grid;

    grid-template-columns:
        1.3fr 1fr;

    gap: 15px;
}

.notice,
.helpline {
    min-height: 105px;

    padding: 15px;

    display: flex;
    align-items: center;

    gap: 20px;

    border: 1px solid;

    border-radius: 9px;
}


/* Notice */

.notice {
    background: #fff0f0;

    border-color: #ff6d6d;
}

.warning-icon {
    color: #df1717;

    font-size: 50px;
}

.notice h3 {
    margin-bottom: 5px;

    color: #d21919;

    font-size: 18px;
}

.notice p {
    color: #222222;

    font-size: 14px;

    line-height: 1.4;
}


/* Helpline */

.helpline {
    background: #f0f6ff;

    border-color: #7faaf5;
}

.helpline > i {
    color: #064a9f;

    font-size: 50px;
}

.helpline h3 {
    color: #064a9f;

    font-size: 18px;
}

.helpline strong {
    display: block;

    margin-top: 4px;

    color: #0a438e;

    font-size: 30px;
}

.helpline p {
    color: #064a9f;

    font-size: 14px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;

    min-height: 105px;

    padding: 15px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: #02285d;

    color: #ffffff;
}


/* Footer Logo */

.footer-logo {
    min-width: 150px;

    text-align: center;

    font-size: 28px;
}

.footer-logo strong {
    font-size: 16px;
}


/* Footer Content */

.footer-content {
    flex: 1;

    text-align: center;

    font-size: 14px;

    line-height: 1.6;
}


/* Social */

.social {
    min-width: 180px;

    text-align: center;
}

.social p {
    margin-bottom: 7px;

    font-size: 13px;
}

.social a {
    width: 35px;
    height: 35px;

    margin-left: 5px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0872e8;

    color: #ffffff;

    transition: 0.2s;
}

.social a:hover {
    transform: translateY(-3px);

    background: #ffffff;

    color: #0872e8;
}


/* =========================================================
   TABLET - 1100px
========================================================= */

@media screen and (max-width: 1100px) {

    .top-header {
        padding: 8px 20px;
    }

    .nav-container > a {
        padding: 0 15px;
    }

    .hero {
        flex-wrap: wrap;

        justify-content: center;
    }

    .passport-image {
        width: 25%;
    }

    .hero-content {
        min-width: 400px;
    }

    .passport-card {
        width: 250px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    footer {
        flex-wrap: wrap;
    }
}


/* =========================================================
   MOBILE - 700px
========================================================= */

@media screen and (max-width: 700px) {

    /* Header */

    .top-header {
        min-height: auto;

        padding: 10px;

        flex-direction: column;

        gap: 10px;

        text-align: center;
    }

    .logo-area h1 {
        font-size: 27px;
    }

    .logo-area p {
        font-size: 13px;
    }

    .date-time {
        font-size: 12px;
    }


    /* Navbar */

    .navbar {
        overflow-x: auto;
    }

    .nav-container {
        width: max-content;
    }

    .nav-container > a {
        height: 45px;

        padding: 0 13px;

        font-size: 13px;
    }

    .dropdown button {
        height: 34px;

        padding: 0 16px;

        font-size: 13px;
    }


    /* Hero */

    .hero {
        width: calc(100% - 20px);

        padding: 20px 10px;

        flex-direction: column;
    }

    .passport-image {
        width: 100%;
        min-width: 0;
    }

    .hero-content {
        width: 100%;
        min-width: 0;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .official-btn {
        padding: 11px 15px;

        font-size: 14px;
    }

    .passport-card {
        width: 100%;

        max-width: 300px;
    }


    /* Section title */

    .section-title {
        width: calc(100% - 20px);

        gap: 8px;
    }

    .section-title h2 {
        font-size: 18px;
    }

    .section-title h2 i {
        font-size: 17px;
    }

    .section-title span {
        min-width: 10px;
    }


    /* Service */

    .services-grid {
        width: calc(100% - 20px);

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .service-card {
        min-height: 235px;
    }


    /* Information */

    .info-grid {
        width: calc(100% - 20px);

        grid-template-columns: 1fr;
    }


    /* Notice */

    .bottom-grid {
        width: calc(100% - 20px);

        grid-template-columns: 1fr;
    }

    .notice,
    .helpline {
        flex-direction: column;

        text-align: center;
    }


    /* Footer */

    footer {
        padding: 25px 10px;

        flex-direction: column;

        text-align: center;
    }

    .footer-content {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE - 400px
========================================================= */

@media screen and (max-width: 400px) {

    .logo-area h1 {
        font-size: 23px;
    }

    .logo-area p {
        font-size: 12px;
    }

    .hero-content h2 {
        font-size: 29px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    .helpline strong {
        font-size: 25px;
    }
}