/* General Styles */
:root{
    /* Modern blue/teal gradient palette */
    --bg-1: #f6fbff;
    --blue-50: #EAF2FF;
    --blue-400: #60A5FA;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --teal-500: #0EA5A8;
    --card-bg: rgba(255,255,255,0.6);
    --glass-border: rgba(255,255,255,0.5);
    --glass-shadow: 0 8px 30px rgba(37,99,235,0.08);
    --muted: #6b7280;
    --radius: 12px;
}

body {
    font-family: 'Cairo', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #06283D;
    background: radial-gradient(1200px 600px at 10% 10%, #f0f8ff 0%, rgba(234,242,255,0.6) 25%, transparent 40%),
                linear-gradient(0deg, var(--bg-1) 0%, white 100%);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

.container {
    width: min(1100px, 94%);
    margin: 0 auto;
}

/* Header — sticky and slightly glassy with gradient tint */
.site-header {
    backdrop-filter: blur(8px);
    background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.6));
    box-shadow: 0 4px 20px rgba(13, 50, 90, 0.04);
    border-bottom: 1px solid rgba(37,99,235,0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.brand h1 { margin: 0; font-size: 1.4rem; font-weight:800; color:var(--blue-600); }
.brand p { margin: 0; font-size: 0.95rem; opacity: 0.9; color:var(--muted); }
.logo-link { display:inline-flex; align-items:center; margin-left:6px }
.brand-text { display:inline-block; vertical-align:middle }

/* Nav links modern hover */
.main-nav a {
    color: #0f172a;
    text-decoration: none;
    margin-right: 1rem;
    padding:12px 14px;
    border-radius:8px;
    transition: all .25s ease;
}
.main-nav a:hover, .main-nav a:focus {
    background: linear-gradient(90deg, rgba(59,130,246,0.10), rgba(14,165,168,0.06));
    color: var(--blue-600);
    transform: translateY(-2px);
}

.menu-toggle { background:transparent; border: none; color: #fff; display:none; padding:0.2rem; cursor:pointer }
.hamburger { width:22px; height:2px; background:#fff; display:block; position:relative; }
.hamburger::before, .hamburger::after { content:''; width:22px; height:2px; background:#fff; display:block; position:absolute; left:0 }
.hamburger::before { transform: translateY(-7px) }
.hamburger::after { transform: translateY(7px) }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap }

/* Hero */
.hero {
    background-image: url('https://images.unsplash.com/photo-1506806732259-39c2d0268443?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display:flex;
    align-items:center;
    position:relative;
}

/* gradient-animated overlay */
.gradient-animated {
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 0;
    background: linear-gradient(180deg, rgba(37,99,235,0.45), rgba(14,165,168,0.22));
    mix-blend-mode: multiply;
    animation: hueShift 12s linear infinite;
}
@keyframes hueShift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(-10deg); }
    100% { filter: hue-rotate(0deg); }
}

.hero-content {
    z-index:2;
    color:white;
    text-align:center;
    padding:3rem;
    max-width:900px;
}
.hero-content h2 { font-size: 2.1rem; margin: 0 0 0.5rem 0; font-weight:700 }
.hero-content p { margin: 0 0 1rem 0; opacity:0.95 }

/* CTA button with blue gradient */
.cta {
    display:inline-block;
    background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
    color:white;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(14,165,168,0.18);
    border:none;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration:none;
}
.cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(14,165,168,0.24);
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.6));
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--glass-shadow);
    border:1px solid rgba(255,255,255,0.35);
    margin-top: 1.2rem;
}

/* Gallery improvements */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}
.gallery img {
    width:100%;
    height:auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.06);
    transition: transform .22s ease, box-shadow .22s ease;
}
.gallery img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 44px rgba(3,57,138,0.12);
}

.contact-card .contact-info { margin: 0.4rem 0 }

form { display:flex; flex-direction:column; gap:0.6rem }
label { font-weight:600 }
input[type="text"], textarea {
    border-radius: 12px;
    border:1px solid rgba(37,99,235,0.12);
    padding: .8rem;
    box-shadow: 0 6px 18px rgba(3,57,138,0.04);
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,245,255,0.9));
    transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"]:focus, textarea:focus { outline:none; border-color:var(--blue-600); box-shadow: 0 8px 30px rgba(37,99,235,0.08) }
.btn { background:#1b5e20; color:#fff; border:none; padding:0.8rem 1rem; border-radius:10px; cursor:pointer; font-weight:700; letter-spacing:0.2px }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08) }

.form-message { margin-top:0.8rem }

.testimonials { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap: 1rem }
.testimonial { padding: 0.8rem; border-radius: 8px; background: linear-gradient(180deg, #fff, #fcfcfc); box-shadow: 0 6px 20px rgba(12,40,18,0.04) }
.author { font-weight:700; margin-top:0.5rem; color:#1b5e20 }

/* Floating contact button */
.contact-fab {
    position: fixed;
    right:20px;
    bottom:20px;
    background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
    width:56px;
    height:56px;
    border-radius:50%;
    border:none;
    box-shadow: 0 12px 30px rgba(3,57,138,0.18);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
.contact-fab:hover { transform:translateY(-6px) scale(1.05); box-shadow: 0 20px 50px rgba(3,57,138,0.22); }
.contact-fab svg { filter: drop-shadow(0 1px 1px rgba(0,0,0,0.12)); }

.footer { background: linear-gradient(180deg, #f8fafc, #ffffff); border-top:1px solid rgba(37,99,235,0.04); color:var(--muted); padding:1rem 0; margin-top:1.2rem }
.footer-inner { display:flex; justify-content:space-between; gap:1rem; align-items:center }

@media (max-width:700px) {
    .header-inner { flex-direction:column; gap:0.6rem }
    .footer-inner { flex-direction:column; text-align:center }
    .hero-content h2 { font-size:1.4rem }
    .gallery img { height: 120px }
    .hero-content{ padding:2rem; }
    .main-nav{ display:none; } /* mobile shows menu button */
}

@media (max-width:900px){
    .main-nav { display:none }
    .menu-toggle { display:block }
}

/* Simple animation utilities */
.fade-in { animation: fadeIn .6s ease both }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1, transform: translateY(0) } }