/* Alawael Golden — visual refresh, preserving original brand palette and page content */
:root {
  --color-primary: #F9B234;
  --color-secondary: #1A3A6B;
  --color-tertiary: #5BCBF5;
  --ag-ink: #17243a;
  --ag-muted: #627087;
  --ag-surface: #f6f8fb;
  --ag-line: #e5eaf1;
  --ag-radius: 18px;
  --ag-shadow: 0 14px 38px rgba(26, 58, 107, .10);
}
html { scroll-padding-top: 96px; }
body { color: var(--ag-ink); line-height: 1.8; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
:focus-visible { outline: 3px solid var(--color-tertiary); outline-offset: 3px; }
.container { width: min(100% - 36px, 1200px); padding-inline: 0; }
section { padding-block: clamp(48px, 6vw, 88px); }
.section-header { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-header h2 { letter-spacing: -.02em; line-height: 1.35; }
.section-header p { color: var(--ag-muted); margin-top: 16px; }
.section-header h2::after { height: 4px; border-radius: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 22px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; box-shadow: 0 6px 16px rgba(26,58,107,.08); }
.btn-primary { background: var(--color-primary); color: #182944; }
.btn-primary:hover { background: #ffc24f; color: #122746; transform: translateY(-2px); }
.btn-secondary { background: var(--color-secondary); color: #fff; }
.btn-secondary:hover { background: #244b82; color: #fff; transform: translateY(-2px); }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* Header */
.main-header { padding: 12px 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(229,234,241,.85); box-shadow: 0 4px 22px rgba(18,39,70,.05); backdrop-filter: blur(12px); }
.main-header.scrolled { padding-block: 8px; box-shadow: 0 8px 28px rgba(18,39,70,.10); }
.main-header .container { gap: 24px; }
.logo img { height: 58px; width: auto; object-fit: contain; }
.main-nav ul { align-items: center; gap: clamp(12px, 1.7vw, 26px); }
.main-nav ul li { margin: 0; }
.main-nav ul li a { display: inline-block; color: #263750; font-size: 15px; padding: 10px 0; }
.main-nav ul li a::after { height: 3px; border-radius: 4px; right: 0; left: auto; width: 0; }
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--color-secondary); }
.main-nav ul li a:hover::after, .main-nav ul li a.active::after { width: 100%; }
.header-actions { gap: 12px; }
.lang-switch { margin: 0; font-size: 14px; font-weight: 700; }
.mobile-menu-toggle { padding: 7px; border-radius: 10px; }
.mobile-menu-toggle span { border-radius: 4px; transition: transform .2s ease, opacity .2s ease; }

/* Homepage hero */
.hero-section { position: relative; padding: 140px 0 70px; background: radial-gradient(circle at 8% 12%, rgba(91,203,245,.16), transparent 32%), linear-gradient(135deg,#f8fafc 0%,#eef4fb 100%); }
.hero-slide { display: flex; align-items: center; gap: clamp(28px,5vw,72px); max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.hero-content { padding: 0; }
.hero-content h1 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.25; letter-spacing: -.035em; margin-bottom: 22px; }
.hero-content h1::after { content: ''; display: block; width: 76px; height: 5px; background: var(--color-primary); border-radius: 6px; margin-top: 20px; }
.hero-content p { max-width: 620px; color: var(--ag-muted); font-size: clamp(1rem,1.4vw,1.2rem); margin-bottom: 28px; }
.hero-buttons { flex-wrap: wrap; gap: 12px; }
.hero-image { position: relative; min-width: 0; }
.hero-image::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid rgba(249,178,52,.65); border-radius: 24px; z-index: 0; }
.hero-image img { position: relative; z-index: 1; width: 100%; max-height: 440px; object-fit: cover; border-radius: 24px; box-shadow: 0 22px 50px rgba(26,58,107,.18); }
.hero-controls { display: none; }

/* Shared cards and sections */
.services-section, .products-section, .contact-section { background: #fff; }
.about-section, .testimonials-section, .product-categories-section, .vision-mission-section, .team-section { background: var(--ag-surface); }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.service-card, .product-card, .vision-card, .mission-card, .value-card, .team-card, .testimonial-card { border: 1px solid var(--ag-line); border-radius: var(--ag-radius); background: #fff; box-shadow: 0 5px 20px rgba(26,58,107,.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card { padding: 28px 24px; }
.service-card:hover, .product-card:hover, .value-card:hover, .team-card:hover { transform: translateY(-5px); box-shadow: var(--ag-shadow); border-color: rgba(249,178,52,.65); }
.service-icon, .card-icon, .value-icon { color: var(--color-secondary); }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: rgba(249,178,52,.17); color: var(--color-secondary); font-size: 25px; margin-bottom: 18px; }
.service-card h3 { color: var(--color-secondary); font-size: 1.12rem; margin-bottom: 10px; line-height: 1.5; }
.service-card p, .about-text p, .product-info p { color: var(--ag-muted); }
.about-content { gap: clamp(28px,5vw,64px); }
.about-image img { border-radius: 22px; box-shadow: var(--ag-shadow); }
.about-text h2, .contact-info h2 { color: var(--color-secondary); line-height: 1.35; }
.products-slider { gap: 22px; padding: 6px 3px 20px; }
.product-card { overflow: hidden; }
.product-image { height: 220px; background: var(--ag-surface); }
.product-image img { object-fit: cover; }
.product-info { padding: 22px; }
.product-info h3 { line-height: 1.45; }
.testimonials-slider { gap: 20px; }
.testimonial-card { padding: 28px; }
.contact-grid { align-items: start; gap: clamp(28px,5vw,70px); }
.contact-info, .contact-form { border-radius: var(--ag-radius); }
.contact-form { padding: clamp(20px,3vw,34px); background: var(--ag-surface); border: 1px solid var(--ag-line); }
.form-group input, .form-group textarea, .form-group select { border: 1px solid #d9e1eb; border-radius: 12px; background: #fff; padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--color-secondary); box-shadow: 0 0 0 4px rgba(91,203,245,.16); outline: none; }
.page-title { position: relative; margin-top: 82px; padding: 54px 0 46px; color: #fff; text-align: center; background: radial-gradient(circle at 15% 20%, rgba(91,203,245,.22), transparent 30%), linear-gradient(120deg, #142d52, #1A3A6B); overflow: hidden; }
.page-title::after { content: ''; position: absolute; width: 180px; height: 180px; border: 24px solid rgba(249,178,52,.16); border-radius: 50%; left: 7%; top: -80px; pointer-events: none; }
.page-title h1 { position: relative; z-index: 1; font-size: clamp(2rem,4vw,3rem); line-height: 1.3; margin-bottom: 12px; color: #fff; }
.breadcrumbs { position: relative; z-index: 1; color: rgba(255,255,255,.72); font-size: .92rem; }
.breadcrumbs a { color: var(--color-primary); }
.breadcrumbs a:hover { color: #fff; }
.page-banner { margin-top: 82px; padding: 70px 0; background: linear-gradient(120deg,#142d52,#1A3A6B); }
.page-banner h1 { color: #fff; }
.main-footer { background: #102746; padding-top: 64px; }
.main-footer .footer-grid { gap: 36px; }
.footer-about p { color: rgba(255,255,255,.75); }
.footer-bottom { color: rgba(255,255,255,.7); }

/* Partner logos and product category layouts */
.partners-section { background: #fff; }
.partners-grid, .partners-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; }
.partners-grid img, .partners-logos img { max-width: 150px; max-height: 76px; object-fit: contain; padding: 12px; filter: grayscale(15%); transition: filter .2s ease, transform .2s ease; }
.partners-grid img:hover, .partners-logos img:hover { filter: none; transform: translateY(-3px); }
.product-categories-section .container, .contact-info-section .container { width: min(100% - 36px, 1200px); }
.product-categories-section .category-card, .product-category-card { border-radius: var(--ag-radius); overflow: hidden; }
.faq-item, .faq-card { border: 1px solid var(--ag-line); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; background: #fff; }
.faq-item h3, .faq-card h3 { color: var(--color-secondary); }

/* Mobile navigation: the original script toggles .active */
@media (max-width: 1024px) {
  .main-header .container { gap: 14px; }
  .main-nav ul { gap: 14px; }
  .main-nav ul li a { font-size: 14px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .container { width: min(100% - 30px, 1200px); }
  .main-header { padding: 8px 0; }
  .main-header .container { position: relative; }
  .logo img { height: 48px; }
  .main-nav { display: none; position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 1001; padding: 12px; background: #fff; border: 1px solid var(--ag-line); border-radius: 16px; box-shadow: var(--ag-shadow); }
  .main-nav.active { display: block; }
  .main-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav ul li a { display: block; padding: 11px 14px; border-radius: 9px; }
  .main-nav ul li a::after { display: none; }
  .main-nav ul li a:hover, .main-nav ul li a.active { background: #f2f6fb; }
  .header-actions { gap: 8px; }
  .header-actions .btn { display: none; }
  .lang-switch { font-size: 12px; }
  .mobile-menu-toggle { display: block; }
  .hero-section { padding: 116px 0 54px; }
  .hero-slide { flex-direction: column; align-items: stretch; gap: 30px; padding-inline: 15px; }
  .hero-content { text-align: center; }
  .hero-content h1::after { margin-inline: auto; }
  .hero-image { width: min(100%, 600px); margin-inline: auto; }
  .hero-image::before { inset: 10px -8px -10px 8px; }
  .about-content { flex-direction: column; }
  .about-text { margin-bottom: 0; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid, .vision-mission-grid { grid-template-columns: 1fr; }
  .page-title { margin-top: 68px; padding: 42px 0 36px; }
  .page-banner { margin-top: 68px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  section { padding-block: 46px; }
  .container { width: min(100% - 26px, 1200px); }
  .hero-content h1 { font-size: 1.85rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 23px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about, .footer-links, .footer-services, .footer-contact { grid-column: auto; }
  .page-title h1 { font-size: 1.8rem; }
  .partners-grid, .partners-logos { gap: 14px; }
  .partners-grid img, .partners-logos img { max-width: 120px; max-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Corporate finish: navy, gold and responsive product catalogue */
:root { --ag-navy: #1A3A6B; --ag-gold: #F9B234; --ag-sky: #5BCBF5; }
body { color: #253247; background: #fff; }
a { transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.main-header { background: rgba(255,255,255,.98); box-shadow: 0 6px 24px rgba(12,35,68,.09); }
.main-header .logo img { max-height: 66px; width: auto; object-fit: contain; }
.main-nav a { font-weight: 700; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ag-gold); }
.btn, button.btn { border-radius: 8px; font-weight: 700; }
.btn-primary { background: var(--ag-gold); border-color: var(--ag-gold); color: #142b4c; }
.btn-primary:hover, .btn-primary:focus-visible { background: #e8a01e; border-color: #e8a01e; transform: translateY(-1px); }
.btn-secondary { background: var(--ag-navy); border-color: var(--ag-navy); color: #fff; }
.hero-section { background: linear-gradient(120deg, #102849 0%, #1A3A6B 62%, #24518a 100%); color: #fff; overflow: hidden; }
.hero-content h1, .hero-content p { color: #fff; }
.hero-image img { border-radius: 18px; }
.section-header h2, .page-title h1 { color: var(--ag-navy); }
.section-header h2::after { background: var(--ag-gold); }
.service-card, .product-card, .contact-info, .contact-form, .faq-item { border-radius: 14px; box-shadow: 0 8px 28px rgba(16,40,73,.08); }
.service-card:hover, .product-card:hover { transform: translateY(-4px); }
.product-card img { object-fit: contain; }
.product-overlay { background: rgba(16,40,73,.78); }
.main-footer { background: #102849; color: #e8eef8; }
.form-notice { padding: 14px 16px; border-radius: 8px; margin: 0 0 18px; font-weight: 700; }
.form-notice.success { background: #e9f8ef; color: #17633a; border: 1px solid #b7e5c7; }
.form-notice.error { background: #fff0ef; color: #9d2921; border: 1px solid #f3c1bd; }
input, textarea, select { border-radius: 7px; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(249,178,52,.8); outline-offset: 3px; }
@media (max-width: 760px) { .main-header .logo img { max-height: 54px; } .hero-section { padding-top: 78px; } }

/* Center the copyright notice in the footer */
.main-footer .container > p {
  text-align: center;
  margin-inline: auto;
}
