/* =========================================================
   GALINA WEBSITE
   IT & SMART SECURITY
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    background: #f5f7fb;
    color: #09265b;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.section {
    padding: 100px 0;
}


/* =========================================================
   COLORS
========================================================= */

:root {

    --navy: #08285f;
    --dark-navy: #031a3e;
    --blue: #123b82;

    --red: #d90b3f;
    --yellow: #f5b400;

    --white: #ffffff;
    --light: #f5f7fb;

    --text: #15284b;
    --gray: #68758b;

    --shadow:
        0 20px 60px rgba(3, 26, 62, 0.12);

}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(8, 40, 95, 0.08);
}

.header-container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 62px;
    height: 62px;

    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    color: var(--navy);
    font-size: 24px;
    font-weight: 900;
}

.logo-text span {
    font-size: 10px;
    color: var(--gray);
}


/* NAV */

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    position: relative;

    font-size: 15px;
    font-weight: 700;

    color: var(--navy);

    transition: 0.3s;
}

.nav a::after {

    content: "";

    position: absolute;

    right: 0;
    bottom: -8px;

    width: 0;
    height: 3px;

    background: var(--red);

    transition: 0.3s;
}

.nav a:hover {
    color: var(--red);
}

.nav a:hover::after {
    width: 100%;
}


/* HEADER BUTTON */

.header-button {

    padding: 11px 22px;

    background: var(--navy);

    color: white;

    border-radius: 8px;

    font-weight: 700;

    transition: 0.3s;
}

.header-button:hover {
    background: var(--red);

    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 720px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(0, 148, 255, 0.22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #031b42,
            #082e68 50%,
            #041c40
        );

    color: white;

    display: flex;
    align-items: center;
}


/* GRID */

.hero-grid {

    position: absolute;
    inset: 0;

    opacity: 0.15;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.3) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.3) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    transform: perspective(500px)
               rotateX(50deg)
               scale(1.5);

    transform-origin: bottom;
}


/* HERO CONTAINER */

.hero-container {

    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr
        0.9fr;

    align-items: center;

    gap: 70px;
}


/* HERO TEXT */

.hero-small-title {

    display: inline-block;

    margin-bottom: 20px;

    padding: 8px 15px;

    border-right: 4px solid var(--yellow);

    background: rgba(255,255,255,0.08);

    color: #f7c63c;

    font-weight: 700;

    letter-spacing: 1px;
}

.hero-content h1 {

    font-size: clamp(42px, 5vw, 60px);

    line-height: 5;

    font-weight: 900;

    margin-bottom: 25px;
}

.hero-content h1 span {
    display: block;
    color: var(--yellow);
    margin-top: 15px;
}

.hero-content > p {

    max-width: 650px;

    font-size: 18px;

    line-height: 2;

    color: rgba(255,255,255,0.82);

    margin-bottom: 30px;
}


/* BUTTONS */

.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-bottom: 30px;
}

.btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 170px;

    padding: 14px 25px;

    border-radius: 8px;

    font-weight: 800;

    transition: 0.3s;
}

.btn-primary {

    background: var(--red);

    color: white;

    box-shadow:
        0 10px 30px rgba(217,11,63,0.25);
}

.btn-primary:hover {

    background: #f00b47;

    transform: translateY(-3px);
}

.btn-outline {

    border: 1px solid rgba(255,255,255,0.5);

    color: white;
}

.btn-outline:hover {

    background: white;

    color: var(--navy);
}


/* FEATURES */

.hero-features {

    display: flex;

    gap: 25px;

    flex-wrap: wrap;
}

.hero-features div {

    display: flex;

    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,0.9);

    font-size: 14px;
}

.hero-features span {

    color: var(--yellow);

    font-weight: 900;
}


/* HERO IMAGE */

.hero-image-wrapper {

    position: relative;

    min-height: 480px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.hero-glow {

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: #008cff;

    filter: blur(100px);

    opacity: 0.3;
}

.hero-image {

    position: relative;

    width: 100%;

    max-width: 500px;

    overflow: hidden;

    border-radius: 20px;

    border: 2px solid rgba(255,255,255,0.2);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.4);
}

.hero-image img {

    width: 100%;

    height: 500px;

    object-fit: cover;
}


/* BADGE */

.hero-badge {

    position: absolute;

    left: 0;
    bottom: 40px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background: var(--red);

    border: 8px solid var(--yellow);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.hero-badge strong {

    font-size: 28px;
}

.hero-badge span {

    font-size: 13px;

    line-height: 1.4;
}


/* DECORATIONS */

.hero-red-shape {

    position: absolute;

    width: 250px;
    height: 250px;

    background: var(--red);

    left: -150px;
    bottom: -150px;

    transform: rotate(45deg);
}

.hero-yellow-shape {

    position: absolute;

    width: 180px;
    height: 180px;

    background: var(--yellow);

    right: -120px;
    top: -100px;

    transform: rotate(45deg);
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {

    text-align: center;

    max-width: 760px;

    margin: 0 auto 60px;
}

.section-heading h2 {

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 900;

    color: var(--navy);

    margin-bottom: 15px;
}

.section-heading h2 span {

    color: var(--red);
}

.section-heading p {

    color: var(--gray);

    font-size: 16px;

    line-height: 2;
}

.section-tag {

    display: inline-block;

    color: var(--red);

    font-weight: 900;

    margin-bottom: 10px;

    position: relative;

    padding-right: 20px;
}

.section-tag::before {

    content: "";

    position: absolute;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    width: 10px;
    height: 10px;

    background: var(--yellow);

    border-radius: 50%;
}


/* =========================================================
   ABOUT
========================================================= */

.about {

    background: white;
}

.about-container {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 80px;

    align-items: center;
}

.about-image {

    position: relative;
}

.about-image img {

    width: 100%;

    height: 520px;

    object-fit: cover;

    border-radius: 20px;

    box-shadow: var(--shadow);
}

.image-label {

    position: absolute;

    bottom: 25px;
    right: 25px;

    background: var(--navy);

    color: white;

    padding: 10px 20px;

    font-weight: 800;

    border-right: 5px solid var(--yellow);
}

.about-content h2 {

    font-size: 48px;

    font-weight: 900;

    color: var(--navy);

    margin-bottom: 20px;
}

.about-content h2 span {

    display: block;

    color: var(--red);
}

.about-content > p {

    color: var(--gray);

    line-height: 2;

    margin-bottom: 15px;

    font-size: 16px;
}

.about-items {

    margin-top: 30px;

    display: grid;

    gap: 20px;
}

.about-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    background: var(--light);

    border-radius: 10px;

    border-right: 4px solid var(--yellow);
}

.about-icon {

    width: 55px;
    height: 55px;

    border-radius: 10px;

    background: var(--navy);

    color: var(--yellow);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.about-item h3 {

    margin-bottom: 3px;

    color: var(--navy);
}

.about-item p {

    color: var(--gray);

    font-size: 13px;
}


/* =========================================================
   SERVICES
========================================================= */

.services {

    background: #f3f6fa;
}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.service-card {

    background: white;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(8,40,95,0.08);

    transition: 0.35s;
}

.service-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 25px 60px rgba(8,40,95,0.15);
}

.service-image {

    height: 260px;

    position: relative;

    overflow: hidden;
}

.service-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.service-card:hover .service-image img {

    transform: scale(1.08);
}

.service-number {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: var(--red);

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: 900;
}

.service-content {

    padding: 25px;
}

.service-icon {

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--navy);

    color: white;

    border-radius: 10px;

    font-size: 22px;

    margin-bottom: 15px;
}

.service-content h3 {

    color: var(--navy);

    font-size: 22px;

    margin-bottom: 10px;
}

.service-content p {

    color: var(--gray);

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 15px;
}

.service-content a {

    color: var(--red);

    font-weight: 800;
}

.service-wide {

    grid-column: span 2;
}


/* =========================================================
   WHY
========================================================= */

.why {

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(0,130,255,0.25),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #031a3e,
            #092f6e
        );

    color: white;
}

.section-heading.light h2 {

    color: white;
}

.section-heading.light p {

    color: rgba(255,255,255,0.7);
}

.why-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.why-card {

    padding: 35px 25px;

    background: rgba(255,255,255,0.07);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 15px;

    text-align: center;

    transition: 0.3s;
}

.why-card:hover {

    transform: translateY(-8px);

    background: rgba(255,255,255,0.11);
}

.why-icon {

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--yellow);

    color: var(--navy);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 30px;
}

.why-card h3 {

    margin-bottom: 10px;

    color: white;

    font-size: 20px;
}

.why-card p {

    color: rgba(255,255,255,0.68);

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   CTA
========================================================= */

.cta {

    position: relative;

    overflow: hidden;

    background: var(--white);

    border-bottom: 1px solid #eee;
}

.cta::before {

    content: "";

    position: absolute;

    right: -100px;
    top: -150px;

    width: 350px;
    height: 350px;

    background: var(--yellow);

    transform: rotate(45deg);

    opacity: 0.8;
}

.cta-container {

    position: relative;
    z-index: 2;

    min-height: 250px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.cta span {

    color: var(--red);

    font-weight: 800;
}

.cta h2 {

    color: var(--navy);

    font-size: 40px;

    margin-top: 8px;
}

.cta h2 strong {

    color: var(--red);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {

    background: white;
}

.contact-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.contact-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 25px;

    border-radius: 12px;

    border: 1px solid #e7ebf2;

    transition: 0.3s;

    background: white;
}

.contact-card:hover {

    border-color: var(--yellow);

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(8,40,95,0.08);
}

.contact-icon {

    flex-shrink: 0;

    width: 55px;
    height: 55px;

    border-radius: 10px;

    background: var(--navy);

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.contact-card span {

    display: block;

    color: var(--gray);

    font-size: 12px;

    margin-bottom: 5px;
}

.contact-card strong {

    display: block;

    color: var(--navy);

    font-size: 14px;

    word-break: break-word;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: #031a3e;

    color: white;

    padding: 35px 0;
}

.footer-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.footer-logo {

    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-logo img {

    width: 60px;
    height: 60px;

    object-fit: contain;
}

.footer-logo strong {

    display: block;

    font-size: 20px;
}

.footer-logo span {

    font-size: 11px;

    color: rgba(255,255,255,0.6);
}

.footer p {

    color: rgba(255,255,255,0.65);

    font-size: 13px;
}

.footer-links {

    display: flex;

    gap: 20px;

    font-size: 13px;
}

.footer-links a:hover {

    color: var(--yellow);
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-button {

    position: fixed;

    left: 25px;
    bottom: 25px;

    z-index: 2000;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: #25D366;

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25);

    transition: 0.3s;
}

.whatsapp-button:hover {

    transform: scale(1.1);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .nav {
        gap: 15px;
    }

    .header-button {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-image-wrapper {
        min-height: auto;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-wide {
        grid-column: span 1;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .section {
        padding: 70px 0;
    }

    .header-container {
        min-height: 70px;
    }

    .logo-text {
        display: none;
    }

    .logo img {
        width: 55px;
        height: 55px;
    }

    .nav {
        gap: 10px;
    }

    .nav a {
        font-size: 11px;
    }

    .hero {
        min-height: auto;

        padding: 90px 0 80px;
    }

    .hero-content h1 {
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 25px;
}


    .hero-content > p {
        font-size: 15px;
    }

    .hero-image img {
        height: 350px;
    }

    .hero-badge {
        width: 100px;
        height: 100px;

        left: 5px;
        bottom: 20px;
    }

    .hero-badge strong {
        font-size: 22px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-wide {
        grid-column: span 1;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-container {
        flex-direction: column;

        text-align: center;

        justify-content: center;

        padding: 50px 0;
    }

    .cta h2 {
        font-size: 30px;
    }

    .footer-container {
        flex-direction: column;

        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;

        justify-content: center;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;

        left: 18px;
        bottom: 18px;
    }

}

/* =========================
   WhatsApp Button
========================= */

.whatsapp-button {
    position: fixed;
    left: 25px;
    bottom: 25px;

    width: 74px;
    height: 74px;

    background: #25D366;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    z-index: 9999;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    transition: all 0.3s ease;
}

.whatsapp-button svg {
    width: 42px;
    height: 42px;

    fill: #ffffff;

    display: block;
}

.whatsapp-button:hover {
    transform: scale(1.1);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* للموبايل */

@media (max-width: 768px) {

    .whatsapp-button {
        width: 62px;
        height: 62px;

        left: 18px;
        bottom: 18px;
    }

    .whatsapp-button svg {
        width: 36px;
        height: 36px;
    }
}

/* =========================
   Location Section
========================= */

.location-section {
    padding: 100px 7%;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f3f6fb 100%
    );

    direction: rtl;
}

.location-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1.2fr;

    gap: 50px;

    align-items: center;
}

.location-content {
    text-align: right;
}

.section-small-title {
    color: #d20a3a;
    font-size: 18px;
    font-weight: 700;
}

.location-content h2 {
    margin: 12px 0 20px;

    color: #06265c;

    font-size: 42px;
    font-weight: 800;
}

.location-content h2 span {
    color: #d20a3a;
}

.location-content > p {
    color: #4b5563;

    font-size: 18px;

    line-height: 2;

    margin-bottom: 30px;
}

.location-info {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px;

    background: #ffffff;

    border-radius: 15px;

    border-right: 5px solid #f2b600;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.location-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #06265c;

    border-radius: 50%;

    font-size: 28px;
}

.location-info strong {
    display: block;

    color: #06265c;

    font-size: 18px;

    margin-bottom: 5px;
}

.location-info p {
    margin: 0;

    color: #555;

    font-size: 16px;
}

.location-button {
    display: inline-block;

    margin-top: 25px;

    padding: 15px 25px;

    background: #06265c;

    color: #ffffff;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;
}

.location-button:hover {
    background: #d20a3a;

    transform: translateY(-3px);
}

.map-container {
    width: 100%;

    height: 430px;

    overflow: hidden;

    border-radius: 22px;

    border: 4px solid #ffffff;

    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.map-container iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================
   Mobile
========================= */

@media (max-width: 850px) {

    .location-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .location-content {
        text-align: center;
    }

    .location-content h2 {
        font-size: 32px;
    }

    .location-info {
        text-align: right;
    }

    .map-container {
        height: 350px;
    }
}
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 70px;
    height: auto;
    display: block;
    object-fit: contain;
}

