@import url('https://googleapis.com');
* {
    box-sizing: border-box;
}

/* Variable */

:root {
    --blue-dark: #0c1626;
    --blue-light: #245897;
    --white: #ffffff;
    --black: #000000;
    --orange: #fe7302;
    --grey: #5d5d5d;
}

body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--white);
}

h1, h2, h3, h4, h5, h6 { 
    margin-block: 0;
    margin-bottom: 20px;
    
}

h1 {
    color: var(--white);
    font-size: clamp(2rem,5vw,2.4rem);
    font-weight: 600;
    line-height: 3.5rem;
    text-transform: uppercase;
}

h2 {
    color: var(--blue-dark);
    font-size: clamp(1.8rem,5vw,2.0rem);
    font-weight: 600;
    text-transform: uppercase;
}

h3 {
    color: var(--black);
    font-size: clamp(0.8rem,5vw,1.00rem);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
}

h4 {
    color: var(--white);
    font-size: clamp(1.0rem,5vw,1.0rem);
    font-weight: 600;
}

h5 {
    color: var(--blue-dark);
    font-size: clamp(1.5rem,5vw,1.5rem);
    font-weight: 700;
    text-transform: uppercase;
}

/* text, images and utilities */
p {
    margin: 0 0 20px;
    line-height: 1.5;
}

img {
    max-inline-size: 100%;
    display: block;
}

.txt-blue-light {
    color: var(--blue-light);
}

.txt-orange {
    color: var(--orange);
}

.txt-orange-heading {
    color: var(--orange);
    font-size: 1.5rem;
}

.txt-white {
    color: var(--white);
}

.txt-center {
    text-align: center;
}

/* Body wrapper*/

.wrapper {
    width: min(1200px,90%);
    margin: auto;
}

/* Top header */

header {
    background: var(--blue-dark);
    padding: 25px 0;
}

.top {
    display: flex;
    justify-content: space-between;
}

.top-menu {
    display: flex;
    flex-direction: row;
}

.top-menu ul{
    display: flex;
    gap: 25px;
    list-style: none;
    padding-inline: 0;
}

.top-menu li{
    color: var(--white);
}

.hamburger{
        display:none;
    }

@media(max-width:991px){

    .hamburger{
        display:block;
        z-index:999;
    }

    .top-menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#041b2d;

        max-height:0;
        overflow:hidden;

        transition:max-height .4s ease;
    }

    .top-menu.active{
        max-height:600px;
    }

    .top-menu ul{
        flex-direction:column;
        gap:0;
    }

    .top-menu li{
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .top-menu a{
        display:block;
        padding:18px 30px;
    }

}

/* Mobile Nav */

.hamburger {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 3000;
}

.hamburger span {
    position: absolute;
    left: 5px;
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all .35s ease;
}

.hamburger span:nth-child(1) {
    top: 10px;
}

.hamburger span:nth-child(2) {
    top: 18px;
}

.hamburger span:nth-child(3) {
    top: 26px;
}

.hamburger.active span:nth-child(1) {
    top: 26px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: var(--blue-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    transform: translateX(100%);
    transition: .6s ease;
    z-index: 1500;
}

.mobile-menu.active {
    transform: translate(0);
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 50px;
    font-size: 60px;
    background: none;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 25px;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .3s;
    text-transform: uppercase;
}

.mobile-menu a:hover {
    color: var(--blue-dark);
    letter-spacing: 5px;
}

/* hero section */

.hero {
    background: var(--blue-light);
    color: var(--white);
    margin-bottom: 20px;
    padding: 0 0 0 2%;
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.hero-left {
    margin-top: 20px;
}

.hero-buttons {
    display: flex;
    align-items: start;
    gap: 30px;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
}

.hero-buttons p {
    margin: 0;
    padding: 10px;
    font-size: 0.1rem;
}

.button-orange {
    background: var(--orange);
    border-radius: 4px;
    padding: 15px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--white);
}

@media (max-width: 768px) {
    .button-orange {
        width: 90%;
    }
}

.button-orange:hover {
    background: var(--white);
    color: var(--blue-dark);
}

@media (max-width: 768px) {
    .button-blue-light {
        width: 90%;
    }
}

.button-blue-dark {
    background: var(--blue-dark);
    border: 1px var(--white) solid;
    border-radius: 4px;
    padding: 15px;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--white);
}

.button-blue-dark:hover {
    background: var(--blue-light);
    color: var(--white);
}

@media (max-width: 768px) {
    .button-blue-dark {
        width: 90%;
    }
}

.welcome {
    width: min(1200px, 90%);
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 25px;
    margin-bottom: 40px;
}

.welcome img {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .welcome {
        grid-template-columns: 1fr;
    }
}

.privacy {
    width: min(1200px, 90%);
    margin: auto;
    padding: 40px 0;
}

.services {
    width: min(1200px, 90%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.services-card {
    background: var(--blue-dark);
    color: var(--white);
    border-radius: 1px;
    text-align: center;
    font-size: 0.9rem;
}

.services-card-content {
    padding: 20px;
}

.services-card img {
    display: block;
    margin: 0 auto;
}

.services-card h3 {
    color: var(--white);
}

.services-card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    transition: .3s;
}

.services-card a:hover {
    transform: translateY(-2px);
}

.services-card p {
    flex-grow: 1;
}

/* Why Choose Smartlink */

.why-choose-us {
    background: var(--blue-dark);
    padding: 25px 0;
}

.why-choose-us h2 {
    color: var(--white);
}

.why-choose-us ul {
    color: var(--white);
    padding-inline: 20px;
}

.why-choose-us-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.why-choose-us-content div{
    background: var(--white);
    border-radius: 10px;
    color: var(--blue-dark);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 10px;
    text-align: center;
}

.why-choose-us-content img{
    display: block;
    margin: 0 auto;
    padding-bottom: 10px;
}

.call-icon {
    width: 68px;
    height: 68px;
    border: var(--white) 4px solid;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 10px;
}

/* gallery */

.gallery {
    width: min(1200px, 90%);
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.gallery-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.gallery div img {
    border-radius: 10px;
}

.bottom-contact {
    background: var(--blue-light);
    padding: 30px 0;
}

.bottom-contact-content {
    display: grid;
    width: min(1200px, 90%);
    margin: auto;
    grid-template-columns: 3fr 2fr;
    color: var(--white);
    gap: 20px;
}

.bottom-contact-call {
    display: flex;
    gap: 20px;
}

.bottom-contact-call a {
    font-size: clamp(1.8rem,5vw,3.5rem);
    padding: 20px;
    color: var(--white);
}

.bottom-contact-call a:hover {
    color: var(--black);
}

@media (max-width: 768px) {
    .bottom-contact-content {
        grid-template-columns: 1fr;
    }
}

/* Footer top */

footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 25px 0;
}

.footer-card {
    font-size: 0.8rem;
}

.footer-menu ul{
    list-style: none;
    padding-inline: 0;
}

.footer-menu li{
    line-height: 24px;
}

.footer-icon {
    display: flex;
    gap: 10px;
}

.footer-icon-svg {
    color: var(--blue-light);
}

.footer-bottom {
    background: var(--blue-dark);
    color: var(--white);
    text-align: center;
    padding: 10px;
}

/* CCtv page */

.cctv-solutions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 25px 0;
}

@media (max-width: 768px) {
    .cctv-solutions {
        grid-template-columns: 1fr;
    }
}

/* Cookies */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 700px;
    margin: auto;
    background: var(--blue-dark);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    z-index: 9999;
    display: none;
}

.cookie-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.cookie-content p{
    margin:0;
    flex:1;
    line-height:1.6;
}

.cookie-buttons{
    display:flex;
    gap:10px;
}

.accept-btn{
    background:var(--orange);
    color:var(--white);
    border:none;
    padding:10px 22px;
    border-radius:5px;
    cursor:pointer;
}

.reject-btn{
    background:transparent;
    color:var(--white);
    border:1px solid var(--white);
    padding:10px 22px;
    border-radius:5px;
    cursor:pointer;
}

.accept-btn:hover{
    opacity:.9;
}

.reject-btn:hover{
    background:#fff;
    color:#0d2340;
}