/*======================================================
  Reset & Normalize
======================================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #24344E;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
:focus {
  outline: 2px solid #F6C965;
  outline-offset: 2px;
}

/*======================================================
  Brand & Artistic Variables
======================================================*/
:root {
  --primary: #24344E;
  --secondary: #73777E;
  --accent: #F6C965;
  --bg-light: #f6f8fa;
  --bg-white: #fff;
  --text-main: #24344E;
  --text-muted: #73777E;
  --shadow-lg: 0 6px 36px rgba(36,52,78,0.10), 0 1.5px 7px rgba(37, 38, 94, 0.05);
  --shadow-sm: 0 3px 12px rgba(36,52,78,0.10);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-btn: 26px;
  --transition: 0.33s cubic-bezier(.61,1.72,.54,.83);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --hero-bg: #fff8ee;
}

/* Artistic Accent Colors Palette */
.creative-bg-1 {background: #ffe5d4;}
.creative-bg-2 {background: #f6f8fa;}
.creative-bg-3 {background: #dbeafe;}
.creative-bg-4 {background: #faf0fa;}


/*======================================================
  Typography - Creative Artistic
======================================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 2px 0 #f6c96544;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  font-weight: 700;
  text-shadow: 0 1.5px 0 #f6c96533;
}
h3 {
  font-size: 1.37rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

p, li, span {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 22px;
}

strong {
  color: var(--primary);
  font-weight: 700;
}

a {
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--accent);
}

/* Typography scale for creative hierarchy */
@media (min-width: 600px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.18rem; }
  p,li,span { font-size: 1.06rem; }
}


/*======================================================
  Containers and Spacing
======================================================*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 28px 8px;
    border-radius: var(--radius-md);
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-light);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  padding: 28px 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 40px rgba(246, 201, 101, 0.13);
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/****** Feature-icons grid (index page) ******/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 18px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 180px;
  transition: background var(--transition), box-shadow var(--transition);
  position: relative;
}
.feature-grid li:hover {
  background: #FFEDD7;
  box-shadow: var(--shadow-lg);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
}

/******* Values list (about page) ******/
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.values-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 18px 16px;
  background: #faf0fa;
  border-radius: 18px;
  min-width: 260px;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--primary);
}
.values-list img {
  width: 35px;
  height: 35px;
}
@media (max-width: 768px) {
  .values-list { flex-direction: column; gap: 16px; }
}

/******* Team list (about page) ******/
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.team-list li {
  background: #e0f4e7;
  border-radius: 16px;
  box-shadow: 0 2px 8px #d3e9db;
  padding: 20px 18px;
  flex: 1 1 200px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .team-list { flex-direction: column; }
}

/******* Services list (services page) ******/
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list li {
  flex: 1 1 230px;
  background: #e6ecfa;
  border-radius: 16px;
  box-shadow: 0 2px 12px #c3d5f5;
  padding: 21px 16px;
  margin-bottom: 20px;
  min-width: 200px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.services-list li:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 36px #e6c96521;
}
@media (max-width: 768px) {
  .services-list { flex-direction: column; gap: 18px; }
}

/******* Blog list and project list cards ******/
.blog-list, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list li, .project-list li {
  flex: 1 1 260px;
  margin-bottom: 20px;
  background: #fff7e8;
  border-radius: 13px;
  box-shadow: 0 2px 7px #e9ccb1a0;
  padding: 19px 15px;
}
@media (max-width: 700px) {
  .blog-list, .project-list { flex-direction: column; }
}

/***** FAQ list (contact) ******/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list li {
  border-left: 4px solid var(--accent);
  background: #f6f8fa;
  padding: 16px 22px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 1.04rem;
}

/***** Categories filter (blog) *****/
.categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 23px 0 7px 0;
  align-items: center;
}
.categories-filter a {
  padding: 4px 14px;
  border-radius: 19px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-display);
  transition: background var(--transition), color var(--transition);
}
.categories-filter a:hover, .categories-filter a:focus {
  background: var(--primary);
  color: #fff;
}

/**************************************************
  Buttons, CTAs, Micro-interactions
**************************************************/
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: var(--radius-btn);
  padding: 13px 38px;
  box-shadow: 0 2px 6px #f6c96544;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 8px;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.15s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 22px #24344e26;
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
}

/***************************************************
  Header, Logo, Main Nav - Artistic Creative Layout
***************************************************/
header {
  background: var(--hero-bg);
  border-bottom: 2.5px dotted var(--accent);
  padding-top: 15px;
  padding-bottom: 10px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img, .footer-logo img {
  height: 44px;
  width: auto;
  transition: transform 0.3s;
}
.logo:hover img, .footer-logo:hover img {
  transform: scale(1.09) rotate(-7deg);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}
.main-nav a {
  color: var(--primary);
  padding: 7px 10px;
  border-radius: var(--radius-md);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 1.5px 4px #f6c96550;
}
.main-nav .cta-btn {
  margin-left: 6px;
  box-shadow: 0 2px 8px #f6c96555, 0 0.7px 2px #fff8ee;
}

/***************************************************
  Footer
***************************************************/
footer {
  background: #faf8f2;
  border-top: 2.5px dotted var(--accent);
  box-shadow: 0 2px 14px #f6c96521;
  padding: 36px 0 10px 0;
}
.footer-logo img {
  height: 36px;
  width: auto;
}
.footer-nav {
  margin: 17px 0 8px 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.footer-nav a {
  color: var(--primary);
  position: relative;
  padding-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 13px 0 9px 0;
  color: var(--text-main);
  font-size: 1rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
  opacity: 0.93;
}
.footer-copy {
  margin-top: 11px;
  color: var(--secondary);
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 11px;
  }
  .footer-nav {
    gap: 14px;
  }
}

/***************************************************
  Testimonial and Review Section
***************************************************/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px #ead56b44;
  padding: 20px 30px;
  min-width: 258px;
  max-width: 420px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #222;
  font-size: 1.09rem;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 0;
}
.testimonial-author {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.02rem;
  font-family: var(--font-body);
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2.5px;
}
.star-rating img {
  width: 20px;
  height: 20px;
}
@media (max-width: 900px) {
  .testimonial-slider { flex-direction: column;
    gap: 20px; }
  .testimonial-card { max-width: 98vw; }
}

/***************************************************
  Contact Info Blocks
***************************************************/
.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: var(--primary);
}
.contact-info img {
  width: 23px;
  height: 23px;
}
@media (max-width: 600px) {
  .contact-info { flex-direction: column; gap: 10px; }
}
.map-section img {
  width: 100%;
  max-width: 350px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px #244;
  margin-top: 12px;
}

/***************************************************
  Mobile Menu (Burger) Navigation
***************************************************/
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  color: var(--primary);
  background: var(--accent);
  padding: 5px 20px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 3px 14px #f6c96545;
  z-index: 9002;
  margin-left: 16px;
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
  transform: scale(1.13) rotate(-8deg);
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {display: none !important;}
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe7ee;
  box-shadow: 0 8px 32px #f6c965dd;
  z-index: 9900;
  padding: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(.7,1.25,.78,1.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.7rem;
  border-radius: 22px;
  padding: 0 19px;
  margin: 20px 18px 10px 0;
  min-height: 40px;
  min-width: 40px;
  box-shadow: 0 2px 12px #f6c96555;
  transition: background var(--transition), color var(--transition);
  z-index: 9998;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 40px 0 30px;
  margin-top: 40px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  background: #fff2d4;
  padding: 16px 12px;
  border-radius: 19px;
  transition: background var(--transition), color var(--transition);
  box-shadow: 0 2px 10px #f6c96533;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: #fff;
}

/***************************************************
  Cookie Consent Banner
***************************************************/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #24344E;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  padding: 26px 40px 18px 33px;
  z-index: 9905;
  box-shadow: 0 -5px 35px #24344e26, 0 -1.5px 6px #f6c96542;
  animation: cc-fade-in 0.65s cubic-bezier(0.61,1.72,0.54,0.83);
}
.cookie-consent-banner.hide {
  animation: cc-slide-out 0.45s forwards;
}
@keyframes cc-fade-in { from { opacity: 0; bottom: -120px; } to { opacity: 1; bottom: 0; } }
@keyframes cc-slide-out { to { opacity: 0; bottom: -180px; pointer-events: none; } }
.cookie-consent-text {
  font-size: 1rem;
  color: #fff;
  font-family: var(--font-display);
  flex: 1 1 60%;
}
.cookie-consent-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 26px;
  font-size: 1rem;
  border: none;
  border-radius: 19px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1.5px 8px #f6c96544;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 19px #f6c96566;
}
.cookie-btn.reject {
  background: #e27257;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #a62e13; }
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 2.2px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: var(--accent); color: var(--primary); }
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 16px;
    padding: 15px 6vw 8px 7vw;
  }
  .cookie-consent-actions {
    gap: 11px;
  }
}
/****** Cookie Preferences Modal *****/
.cookie-modal {
  position: fixed;
  z-index: 9996;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 52, 78, 0.63);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cc-modal-in 0.45s;
}
@keyframes cc-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffbe7;
  border-radius: 23px;
  box-shadow: 0 8px 56px #24344e44;
  padding: 40px 35px 32px 35px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cc-modal-content-scale .4s;
}
@keyframes cc-modal-content-scale {
  from { transform: scale(0.7); opacity: 0.1; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-header {
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 700;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 15px;
  padding: 13px 16px;
  box-shadow: 0 1.5px 8px #f6c96533;
}
.cookie-modal-row label {
  flex: 1 1 60%;
  color: var(--primary);
  font-weight: 600;
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  background: #ddd;
  border-radius: 13px;
  position: relative;
  transition: background var(--transition);
  cursor: pointer;
  display: inline-block;
}
.cookie-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.5px 3px #f6c965bb;
  transition: left var(--transition);
}
.cookie-toggle-input:checked + .cookie-toggle-slider {
  left: 19px;
  background: var(--accent);
}
.cookie-toggle-input:checked ~ .cookie-toggle {
  background: var(--accent);
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 11px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 22px 7vw;
  }
}

/***************************************************
  Artistic Decorative: Borders, Section BGs
***************************************************/
section:nth-child(even) {
  background: #fffbe7;
}
section:nth-child(odd) {
  background: #f9f4f0;
}
section .container {
  z-index: 2;
}

/***************************************************
  Custom Artistic Elements
***************************************************/
hr {
  border: none;
  border-bottom: 3px dashed var(--accent);
  margin: 30px 0;
}
/***** Artistic Underlines for h2/h3 *****/
h2::after, h3::after {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  background: var(--accent);
  border-radius: 17px;
  margin: 12px 0 4px 0;
  opacity: 0.72;
}

/***************************************************
  Animations & Micro Interactions
***************************************************/
.card, .testimonial-card, .services-list li, .feature-grid li {
  transition: box-shadow .28s, transform .20s;
}
a, button, .cta-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.25s, color 0.19s, transform 0.18s;
}
.card:active, .services-list li:active, .feature-grid li:active {
  transform: scale(0.98) rotate(2deg);
}

/***************************************************
  Utility Classes
***************************************************/
.text-center {text-align:center;}
.mt-0 {margin-top:0 !important;}
.mt-1 {margin-top:8px;}
.mt-2 {margin-top:16px;}
.mt-3 {margin-top:24px;}
.mb-1 {margin-bottom:8px;}
.mb-2 {margin-bottom:16px;}
.mb-3 {margin-bottom:24px;}

/***************************************************
  Responsive Layout - Mobile First
***************************************************/
@media (max-width: 600px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.17rem; }
  h3 { font-size: 1.08rem; }
  .section {padding: 15px 3vw;}
  .card, .testimonial-card, .values-list li, .team-list li, .feature-grid li, .services-list li { padding-left: 8px; padding-right: 8px; }
}

/***************************************************
  Prevent Overlapping
***************************************************/
.card, .feature-grid li, .services-list li, .blog-list li, .project-list li, .testimonial-card, .team-list li, .values-list li {
  margin-bottom: 20px;
}

/***************************************************
  Z-index Management
***************************************************/
header, .mobile-menu, .cookie-consent-banner, .cookie-modal { z-index: 997; }
.mobile-menu.open { z-index: 9990; }
.cookie-consent-banner {z-index: 9905;}
.cookie-modal {z-index: 9996;}

/*============================================================*
  END OF STYLE FILE
*=============================================================*/
