/* ==========================================================================
   Sky Point UAE - Global Styles
   ========================================================================== */

:root {
    --primary-blue: #93c572;
    --accent-teal: #00d4aa;
    --light-gray-bg: #f8f9fa;
    --dark-text: #212529;
    --header-height: 90px;
    --transition-speed: 0.3s;
    --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-gray-bg);
    line-height: 1.6;
    margin: 0;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, sans-serif;
    color: var(--primary-blue);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #7aac5e;
    border-color: #7aac5e;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #ffffff;
    font-weight: 600;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: #00b48e;
    border-color: #00b48e;
    color: #ffffff;
    transform: translateY(-2px);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, rgba(147, 197, 114, 0.95), rgba(0, 212, 170, 0.85));
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-navbar {
    background-color: var(--primary-blue);
}

.navbar-brand img {
    max-height: 130px;
    min-height: 100px;
    width: auto;
    transition: transform var(--transition-speed);
}

.navbar-brand img:hover {
    transform: scale(1.03);
}

.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar.fixed-top {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: rgba(147, 197, 114, 0.98);
    backdrop-filter: blur(6px);
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.97rem;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1rem;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--accent-teal) !important;
    transform: translateY(-1px);
}

.dropdown-menu {
    border-radius: 0.75rem;
    border: none;
    padding: 0.5rem;
    box-shadow: var(--shadow-soft);
}

.dropdown-item {
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    transition: background-color var(--transition-speed), color var(--transition-speed), transform var(--transition-speed);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(0, 212, 170, 0.1);
    color: var(--primary-blue);
    transform: translateX(3px);
}

.navbar-phone {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.navbar-phone:hover,
.navbar-phone:focus {
    background: rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

.navbar-phone i {
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        margin: 0 auto;
    }

    .navbar-brand,
    .navbar-phone {
        justify-content: center;
    }

    .navbar-phone {
        margin: 1rem 0 0;
        width: 100%;
    }

    .navbar-collapse {
        text-align: center;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(65, 120, 45, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.hero-content h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-content p.lead {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1rem;
}

.hero-meta {
    font-weight: 600;
    letter-spacing: 0.6px;
}

/* ==========================================================================
   Section Utilities
   ========================================================================== */

.section-heading {
    margin-bottom: 3rem;
    text-align: center;
}

.section-heading .subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--accent-teal);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    margin-bottom: 1rem;
}

.section-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(33, 37, 41, 0.75);
}

.bg-light-alt {
    background-color: #ffffff;
}

.highlight-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.service-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.75rem;
}

.service-card .card-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service-card .card-text {
    color: rgba(33, 37, 41, 0.72);
}

.service-card .btn {
    margin-top: 0.75rem;
}

/* ==========================================================================
   Vision & Mission Section
   ========================================================================== */

.vision-mission {
    background-color: #ffffff;
}

.vision-mission .icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.18);
    color: var(--primary-blue);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.vision-mission p {
    color: rgba(33, 37, 41, 0.75);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: #2e4a22;
    color: rgba(255, 255, 255, 0.85);
}

footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-speed);
}

footer a:hover {
    color: var(--accent-teal);
}

.footer-logo {
    max-width: 320px;
    width: 100%;
    margin-bottom: 1rem;
}

.footer-meta {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 1rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Service & Content Pages
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: 55vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(65, 120, 45, 0.65);
}

.page-hero .hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 3rem 1rem;
    max-width: 760px;
}

.page-hero .hero-content h1 {
    color: #ffffff;
}

.content-section {
    padding: 4rem 0;
}

.content-section .img-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.content-section .img-wrapper img {
    width: 100%;
    height: auto;
}

.content-section .lead {
    font-size: 1.05rem;
    color: rgba(33, 37, 41, 0.8);
}

.content-section h2,
.content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section ul {
    padding-left: 1.1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--accent-teal);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.callout-box {
    background: linear-gradient(135deg, rgba(147, 197, 114, 0.92), rgba(0, 212, 170, 0.85));
    color: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.callout-box .btn {
    background-color: #ffffff;
    color: var(--primary-blue);
    border-color: #ffffff;
}

.callout-box .btn:hover {
    background-color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-wrapper {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.contact-details-list li i {
    font-size: 1.1rem;
    color: var(--accent-teal);
}

.map-embed {
    border-radius: 1rem;
    overflow: hidden;
    min-height: 320px;
    box-shadow: var(--shadow-soft);
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.15);
}

.form-error {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 0.35rem;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 991.98px) {
    .hero {
        min-height: 65vh;
    }

    .content-section {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        max-height: 130px;
    }

    .hero-content {
        padding: 3rem 1rem;
    }

    .service-card .card-img-top {
        height: 200px;
    }

    .contact-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 60vh;
    }

    .section-heading {
        text-align: left;
    }

    .section-heading p {
        margin-left: 0;
    }

    .footer-meta span {
        display: block;
        margin-bottom: 0.6rem;
    }
}
