@charset "utf-8";
/*

TemplateMo 592 glossy touch

https://templatemo.com/tm-592-glossy-touch

*/

/* قاعدة عامة لتصفير الهوامش والمسافات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* تنسيق زر الإرسال */
button[type="submit"] {
    font-family: inherit;
    font-size: 16px;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #000000; /* Pure black background for dark night sky */
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Animated stars background */
.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    animation: twinkle 3s infinite alternate, drift 20s linear infinite;
}

    /* تنويع الألوان والأحجام والمواقع للنجوم */
    .star:nth-child(1n) {
        background: rgba(255, 255, 255, 0.9);
        width: 1px;
        height: 1px;
    }

    .star:nth-child(2n) {
        background: rgba(200, 200, 255, 0.8);
        width: 2px;
        height: 2px;
    }

    .star:nth-child(3n) {
        background: rgba(255, 255, 200, 0.7);
        width: 1.5px;
        height: 1.5px;
    }

    .star:nth-child(4n) {
        background: rgba(255, 255, 255, 0.85);
        width: 3px;
        height: 3px;
    }

    .star:nth-child(5n) {
        background: rgba(180, 180, 255, 0.75);
        width: 2.5px;
        height: 2.5px;
    }

    /* توزيع عشوائي للنجوم */
    .star:nth-child(1) {
        top: 5%;
        left: 12%;
        animation-delay: 0s;
    }

    .star:nth-child(2) {
        top: 15%;
        left: 25%;
        animation-delay: 0.2s;
    }

    .star:nth-child(3) {
        top: 25%;
        left: 38%;
        animation-delay: 0.4s;
    }

    .star:nth-child(4) {
        top: 35%;
        left: 50%;
        animation-delay: 0.6s;
    }

    .star:nth-child(5) {
        top: 45%;
        left: 65%;
        animation-delay: 0.8s;
    }

    .star:nth-child(6) {
        top: 55%;
        left: 80%;
        animation-delay: 1s;
    }

    .star:nth-child(7) {
        top: 65%;
        left: 20%;
        animation-delay: 1.2s;
    }

    .star:nth-child(8) {
        top: 75%;
        left: 35%;
        animation-delay: 1.4s;
    }

    .star:nth-child(9) {
        top: 85%;
        left: 45%;
        animation-delay: 1.6s;
    }

    .star:nth-child(10) {
        top: 95%;
        left: 60%;
        animation-delay: 1.8s;
    }

    .star:nth-child(11) {
        top: 10%;
        left: 75%;
        animation-delay: 2s;
    }

    .star:nth-child(12) {
        top: 20%;
        left: 90%;
        animation-delay: 2.2s;
    }

    .star:nth-child(13) {
        top: 30%;
        left: 15%;
        animation-delay: 2.4s;
    }

    .star:nth-child(14) {
        top: 40%;
        left: 30%;
        animation-delay: 2.6s;
    }

    .star:nth-child(15) {
        top: 50%;
        left: 45%;
        animation-delay: 2.8s;
    }

    .star:nth-child(16) {
        top: 60%;
        left: 60%;
        animation-delay: 3s;
    }

    .star:nth-child(17) {
        top: 70%;
        left: 75%;
        animation-delay: 3.2s;
    }

    .star:nth-child(18) {
        top: 80%;
        left: 90%;
        animation-delay: 3.4s;
    }

    .star:nth-child(19) {
        top: 90%;
        left: 25%;
        animation-delay: 3.6s;
    }

    .star:nth-child(20) {
        top: 5%;
        left: 40%;
        animation-delay: 3.8s;
    }

    .star:nth-child(21) {
        top: 15%;
        left: 55%;
        animation-delay: 4s;
    }

    .star:nth-child(22) {
        top: 25%;
        left: 70%;
        animation-delay: 4.2s;
    }

    .star:nth-child(23) {
        top: 35%;
        left: 85%;
        animation-delay: 4.4s;
    }

    .star:nth-child(24) {
        top: 45%;
        left: 10%;
        animation-delay: 4.6s;
    }

    .star:nth-child(25) {
        top: 55%;
        left: 25%;
        animation-delay: 4.8s;
    }

    .star:nth-child(26) {
        top: 65%;
        left: 40%;
        animation-delay: 5s;
    }

    .star:nth-child(27) {
        top: 75%;
        left: 55%;
        animation-delay: 5.2s;
    }

    .star:nth-child(28) {
        top: 85%;
        left: 70%;
        animation-delay: 5.4s;
    }

    .star:nth-child(29) {
        top: 95%;
        left: 85%;
        animation-delay: 5.6s;
    }

    .star:nth-child(30) {
        top: 10%;
        left: 30%;
        animation-delay: 5.8s;
    }

    .star:nth-child(31) {
        top: 20%;
        left: 45%;
        animation-delay: 6s;
    }

    .star:nth-child(32) {
        top: 30%;
        left: 60%;
        animation-delay: 6.2s;
    }

    .star:nth-child(33) {
        top: 40%;
        left: 75%;
        animation-delay: 6.4s;
    }

    .star:nth-child(34) {
        top: 50%;
        left: 90%;
        animation-delay: 6.6s;
    }

    .star:nth-child(35) {
        top: 60%;
        left: 15%;
        animation-delay: 6.8s;
    }

    .star:nth-child(36) {
        top: 70%;
        left: 30%;
        animation-delay: 7s;
    }

    .star:nth-child(37) {
        top: 80%;
        left: 45%;
        animation-delay: 7.2s;
    }

    .star:nth-child(38) {
        top: 90%;
        left: 60%;
        animation-delay: 7.4s;
    }

    .star:nth-child(39) {
        top: 5%;
        left: 75%;
        animation-delay: 7.6s;
    }

    .star:nth-child(40) {
        top: 15%;
        left: 90%;
        animation-delay: 7.8s;
    }

    .star:nth-child(41) {
        top: 25%;
        left: 15%;
        animation-delay: 8s;
    }

    .star:nth-child(42) {
        top: 35%;
        left: 30%;
        animation-delay: 8.2s;
    }

    .star:nth-child(43) {
        top: 45%;
        left: 45%;
        animation-delay: 8.4s;
    }

    .star:nth-child(44) {
        top: 55%;
        left: 60%;
        animation-delay: 8.6s;
    }

    .star:nth-child(45) {
        top: 65%;
        left: 75%;
        animation-delay: 8.8s;
    }

    .star:nth-child(46) {
        top: 75%;
        left: 90%;
        animation-delay: 9s;
    }

    .star:nth-child(47) {
        top: 85%;
        left: 15%;
        animation-delay: 9.2s;
    }

    .star:nth-child(48) {
        top: 95%;
        left: 30%;
        animation-delay: 9.4s;
    }

    .star:nth-child(49) {
        top: 5%;
        left: 45%;
        animation-delay: 9.6s;
    }

    .star:nth-child(50) {
        top: 15%;
        left: 60%;
        animation-delay: 9.8s;
    }

    .star:nth-child(51) {
        top: 25%;
        left: 75%;
        animation-delay: 10s;
    }

    .star:nth-child(52) {
        top: 35%;
        left: 90%;
        animation-delay: 10.2s;
    }

    .star:nth-child(53) {
        top: 45%;
        left: 15%;
        animation-delay: 10.4s;
    }

    .star:nth-child(54) {
        top: 55%;
        left: 30%;
        animation-delay: 10.6s;
    }

    .star:nth-child(55) {
        top: 65%;
        left: 45%;
        animation-delay: 10.8s;
    }

    .star:nth-child(56) {
        top: 75%;
        left: 60%;
        animation-delay: 11s;
    }

    .star:nth-child(57) {
        top: 85%;
        left: 75%;
        animation-delay: 11.2s;
    }

    .star:nth-child(58) {
        top: 95%;
        left: 90%;
        animation-delay: 11.4s;
    }

    .star:nth-child(59) {
        top: 10%;
        left: 15%;
        animation-delay: 11.6s;
    }

    .star:nth-child(60) {
        top: 20%;
        left: 30%;
        animation-delay: 11.8s;
    }

    .star:nth-child(61) {
        top: 30%;
        left: 45%;
        animation-delay: 12s;
    }

    .star:nth-child(62) {
        top: 40%;
        left: 60%;
        animation-delay: 12.2s;
    }

    .star:nth-child(63) {
        top: 50%;
        left: 75%;
        animation-delay: 12.4s;
    }

    .star:nth-child(64) {
        top: 60%;
        left: 90%;
        animation-delay: 12.6s;
    }

    .star:nth-child(65) {
        top: 70%;
        left: 15%;
        animation-delay: 12.8s;
    }

    .star:nth-child(66) {
        top: 80%;
        left: 30%;
        animation-delay: 13s;
    }

    .star:nth-child(67) {
        top: 90%;
        left: 45%;
        animation-delay: 13.2s;
    }

    .star:nth-child(68) {
        top: 5%;
        left: 60%;
        animation-delay: 13.4s;
    }

    .star:nth-child(69) {
        top: 15%;
        left: 75%;
        animation-delay: 13.6s;
    }

    .star:nth-child(70) {
        top: 25%;
        left: 90%;
        animation-delay: 13.8s;
    }

    .star:nth-child(71) {
        top: 35%;
        left: 15%;
        animation-delay: 14s;
    }

    .star:nth-child(72) {
        top: 45%;
        left: 30%;
        animation-delay: 14.2s;
    }

    .star:nth-child(73) {
        top: 55%;
        left: 45%;
        animation-delay: 14.4s;
    }

    .star:nth-child(74) {
        top: 65%;
        left: 60%;
        animation-delay: 14.6s;
    }

    .star:nth-child(75) {
        top: 75%;
        left: 75%;
        animation-delay: 14.8s;
    }

    .star:nth-child(76) {
        top: 85%;
        left: 90%;
        animation-delay: 15s;
    }

    .star:nth-child(77) {
        top: 95%;
        left: 15%;
        animation-delay: 15.2s;
    }

    .star:nth-child(78) {
        top: 10%;
        left: 30%;
        animation-delay: 15.4s;
    }

    .star:nth-child(79) {
        top: 20%;
        left: 45%;
        animation-delay: 15.6s;
    }

    .star:nth-child(80) {
        top: 30%;
        left: 60%;
        animation-delay: 15.8s;
    }

    .star:nth-child(81) {
        top: 40%;
        left: 75%;
        animation-delay: 16s;
    }

    .star:nth-child(82) {
        top: 50%;
        left: 90%;
        animation-delay: 16.2s;
    }

    .star:nth-child(83) {
        top: 60%;
        left: 15%;
        animation-delay: 16.4s;
    }

    .star:nth-child(84) {
        top: 70%;
        left: 30%;
        animation-delay: 16.6s;
    }

    .star:nth-child(85) {
        top: 80%;
        left: 45%;
        animation-delay: 16.8s;
    }

    .star:nth-child(86) {
        top: 90%;
        left: 60%;
        animation-delay: 17s;
    }

    .star:nth-child(87) {
        top: 5%;
        left: 75%;
        animation-delay: 17.2s;
    }

    .star:nth-child(88) {
        top: 15%;
        left: 90%;
        animation-delay: 17.4s;
    }

    .star:nth-child(89) {
        top: 25%;
        left: 15%;
        animation-delay: 17.6s;
    }

    .star:nth-child(90) {
        top: 35%;
        left: 30%;
        animation-delay: 17.8s;
    }

    .star:nth-child(91) {
        top: 45%;
        left: 45%;
        animation-delay: 18s;
    }

    .star:nth-child(92) {
        top: 55%;
        left: 60%;
        animation-delay: 18.2s;
    }

    .star:nth-child(93) {
        top: 65%;
        left: 75%;
        animation-delay: 18.4s;
    }

    .star:nth-child(94) {
        top: 75%;
        left: 90%;
        animation-delay: 18.6s;
    }

    .star:nth-child(95) {
        top: 85%;
        left: 15%;
        animation-delay: 18.8s;
    }

    .star:nth-child(96) {
        top: 95%;
        left: 30%;
        animation-delay: 19s;
    }

    .star:nth-child(97) {
        top: 5%;
        left: 45%;
        animation-delay: 19.2s;
    }

    .star:nth-child(98) {
        top: 15%;
        left: 60%;
        animation-delay: 19.4s;
    }

    .star:nth-child(99) {
        top: 25%;
        left: 75%;
        animation-delay: 19.6s;
    }

    .star:nth-child(100) {
        top: 35%;
        left: 90%;
        animation-delay: 19.8s;
    }

@keyframes twinkle {
    0% {
        opacity: 0.3;
        transform: scale(0.6);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Glass container styles */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .glass:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-5px);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    }

/* Header styles */
header {
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 45px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-icon svg {
        width: 100%;
        height: 100%;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
        transition: all 0.3s ease;
    }

.logo:hover .logo-icon svg {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        padding: 12px 24px 13px 24px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: white;
            background: rgba(255, 255, 255, 0.1);
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }

/* Main content styles */
main {
    flex: 1; /* Allow main content to take available space */
}

/* Content wrapper to contain page content */
.content-wrapper {
    min-height: calc(100vh - 300px); /* Ensure minimum height */
}

/* Hero section styles (for index.razor) */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 300px); /* Full viewport height minus header/footer */
    padding: 20px;
    text-align: center;
}

.row {
    width: 100%;
}

.col-12.hero-content {
    max-width: 600px; /* Limit content width for readability */
    margin: 0 auto; /* Center horizontally */
    color: white;
}

.hero-content h1.ocean-title {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn.btn-primary.btn-lg {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

    .btn.btn-primary.btn-lg:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

/* Services section styles */
.services-section {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00c6ff; /* Blue accent color */
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.2);
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Add a subtle gradient overlay on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 198, 255, 0.1), rgba(0, 255, 128, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

/* Footer styles */
footer#footer {
    width: 100%;
    margin-top: 60px;
    padding: 30px 0;
}

.footer-content {
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
        padding: 5px 10px;
    }

        .footer-links a:hover {
            color: white;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

    .copyright a {
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
    }

/* Responsive design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        min-height: auto;
    }

    .services-section {
        padding: 40px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

        .service-card h4 {
            font-size: 1.3rem;
        }

        .service-card p {
            font-size: 0.9rem;
        }

    .hero {
        min-height: calc(100vh - 200px); /* Adjust for smaller screens */
        padding: 20px;
    }

    .hero-content h1.ocean-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn.btn-primary.btn-lg {
        padding: 12px 30px;
        font-size: 14px;
    }

    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }

    .nav-links {
        gap: 15px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

        .nav-links a {
            display: block;
            text-align: center;
            width: 100%;
            max-width: 200px;
            font-size: 14px;
            padding: 10px 20px;
        }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        gap: 15px;
        flex-direction: column;
    }

        .footer-links a {
            display: block;
            text-align: center;
        }

    button[type="submit"] {
        width: 100%;
    }

    .map-container {
        height: 350px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo {
        font-size: 22px;
    }
}
