@import url('https://fonts.googleapis.com/css2?family=Anek+Devanagari:wght@100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Anek Devanagari", sans-serif;
    color: #000;
    background: url(../images/smartbg.jpg) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    background-attachment: fixed;
}

.full-container {
    width: 100%;
}

.container {
    max-width: 1259px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .container { max-width: 97%; }
}

@media (max-width: 767px) {
    .container { max-width: 100%; }
}

.main-header {
    background: rgba(255, 255, 255, 0.7);
    padding: 17px 0;
}

@media (max-width: 767px) {
    .main-header { padding: 10px 0; }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    width: 220px;
}

@media (max-width: 767px) {
    .header .logo img { width: 180px; }
}

.header-links {
    display: flex;
    list-style-type: none;
    gap: 60px;
}

@media (min-width: 992px) and (max-width: 1050px) {
    .header-links { gap: 40px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-links { gap: 20px; }
}

@media (max-width: 767px) {
    .main-header .header-links { display: none; }
}

.header-links a {
    font-size: 18px;
    color: #000DA2;
    font-weight: 400;
    text-decoration: none;
    font-family: "Anek Devanagari", sans-serif;
}

@media (min-width: 768px) and (max-width: 1050px) {
    .header-links a { font-size: 15px; }
}

.header-links a:hover {
    color: #06559e;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #000DA2;
    margin-bottom: 4px;
    border-radius: 5px;
}

@media (max-width: 767px) {
    .hamburger { display: flex; }
}

.content-section {
    background: rgba(255, 255, 255, 0.7);
    max-width: 66%;
    max-width: 1259px;
    margin: auto;
    border-radius: 0 0 25px 25px;
    height: 82vh;
    height: 68%;
    padding: 30px;
    display: flex;
}

@media (min-width: 768px) and (max-width: 1280px) {
    .content-section { max-width: 97%; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .content-section { max-width: 95%; height: 65%; }
}

@media (max-width: 767px) {
    .content-section { max-width: 97%; height: 53%; padding: 20px; }
}

.content-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .content-section .container { gap: 20px; }
}

.content-section .container p {
    text-align: center;
    font-size: 19px;
    color: #410367;
    font-weight: 400;
    line-height: 27px;
}

@media (max-width: 1024px) {
    .content-section .container p { font-size: 14px; line-height: 22px; }
}

.smartimg img {
    max-width: 100%;
}

@media (max-width: 767px) {
    .smartimg img { width: 260px; }
}

.download-button {
    margin: 35px 0;
    display: inline-block;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .download-button { margin: 20px 0 0; }
}

@media (max-width: 767px) {
    .download-button { margin: 0; }
    .download-button img { width: 260px; }
}

/* Legal / info pages - always nested inside .content-section (see about.html,
   cookies.html, privacy.html, contact.html, thankyou.html). .content-section
   is the visible card; this is just its internal scroll pane, same as
   smart-new-tab-theme's equivalent - no background/border/padding of its
   own to match. */
.about-section {
    height: 95%;
    overflow: hidden;
    overflow-y: auto;
    padding-right: 20px;
}

.about-section h1 {
    font-size: 45px;
    color: #410367;
    font-weight: 600;
}

@media (max-width: 767px) {
    .about-section h1 { font-size: 38px; }
}

.about-section p {
    font-size: 15px;
    margin-bottom: 15px;
}

.about-section.contactus p {
    margin-bottom: 5px;
}

.about-section.contactus p a {
    color: #000;
    text-decoration: none;
}

ul.cookie-browsers {
    padding-left: 20px;
    margin-bottom: 20px;
}

ul.cookie-browsers > li {
    margin-bottom: 20px;
    font-weight: 600;
    color: #000DA2;
}

ul.cookie-browsers ol li {
    margin-bottom: 4px;
    font-weight: 400;
    color: #222;
}

/* Footer - fixed CTA bar on every page */
footer.full-container {
    padding: 15px 25px;
    background: #000DA2;
    max-width: 1536px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

@media (min-width: 768px) and (max-width: 1050px) {
    footer.full-container { padding: 15px; }
}

@media (max-width: 767px) {
    footer.full-container { padding: 15px; }
}

footer .container {
    max-width: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

@media (max-width: 767px) {
    footer .container { gap: 12px; flex-wrap: wrap; }
}

footer .footerlogo img {
    width: 90px;
}

@media (max-width: 767px) {
    footer .footerlogo img { width: 50px; }
}

footer .content h4 {
    font-size: 22px;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 767px) {
    footer .content h4 { font-size: 16px; max-width: 260px; }
}

footer .content p {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}

@media (max-width: 767px) {
    footer .content p { font-size: 13px; max-width: 260px; }
}

a.addtochromw {
    display: flex;
    background: #010748;
    border-radius: 10px;
    padding: 10px 18px;
    align-items: center;
    margin-left: auto;
    gap: 10px;
    text-decoration: none;
}

a.addtochromw:hover {
    background: #010960;
}

@media (max-width: 767px) {
    a.addtochromw {
        flex: 1 1 100%;
        max-width: fit-content;
        margin-left: 0;
        padding: 10px 15px;
    }
}

a.addtochromw img {
    width: 24px;
}

a.addtochromw p {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    white-space: nowrap;
}

@media (max-width: 767px) {
    a.addtochromw p { font-size: 13px; }
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #2CAAFF;
    padding: 20px;
    z-index: 99;
    display: none;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu .header-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    list-style-type: none;
    margin-top: 60px;
    gap: 0;
}

.mobile-menu .header-links a {
    font-size: 20px;
    color: #050935;
    font-weight: 400;
    margin-bottom: 16px;
    text-decoration: none;
    display: block;
}

.mobile-menu .header-links a:hover {
    color: #06559e;
}

.hamburgerclose {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 24px;
}

.hamburgerclose span {
    height: 3px;
    width: 25px;
    background: #000DA2;
    margin-bottom: 4px;
    border-radius: 5px;
}

.hamburgerclose span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
}

.hamburgerclose span:nth-child(2) {
    transform: rotate(-45deg) translate(2px, -2px);
}
