/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors */
:root { 
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #282828;
  --accent-color: #009961;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: #ffffff;
  --nav-hover-color: #009961;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #444444;
  --nav-dropdown-hover-color: #009961;
}

/* Spacing Overrides */
:root {
  --section-padding-y: 32px;
  --section-padding-y-sm: 24px;
  --section-title-spacing: 24px;
  --section-title-h2-gap: 12px;
}

/* Smooth scroll */
:root { scroll-behavior: smooth; }

/* Viewport-fit and horizontal scroll guard */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

/* General */
body { color: var(--default-color); background-color: var(--background-color); font-family: var(--default-font); }
a { color: var(--accent-color); text-decoration: none; transition: 0.3s; }
a:hover { color: color-mix(in srgb, var(--accent-color), transparent 25%); text-decoration: none; }
h1,h2,h3,h4,h5,h6 { color: var(--heading-color); font-family: var(--heading-font); }

/* Clamp wrappers */
section, .section, .container, .container-fluid, .row { max-width: 100%; }
.row { margin-left: 0; margin-right: 0; }
img, video, canvas, iframe { max-width: 100%; height: auto; display: block; }
.full-width, [data-fullwidth="true"] { width: 100%; max-width: 100%; overflow: hidden; }
.break-words, .content, p, h1, h2, h3, h4, h5, h6 { word-wrap: break-word; overflow-wrap: anywhere; }

/* Anchor landing under fixed header */
section, .section { scroll-margin-top: 84px; }
@media (max-width: 1199px) { section, .section { scroll-margin-top: 72px; } }

/* Services & Contact: neutralize left shift from gutters */
#services .container, #services .row,
#contact .container, #contact .row {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
}
#services .row, #contact .row { padding-left: 12px; padding-right: 12px; }

/* Pulsating Play Button */
.pulsating-play-btn { width: 94px; height: 94px; background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%); border-radius: 50%; display: block; position: relative; overflow: hidden; }
.pulsating-play-btn:before { content:""; position:absolute; width:120px; height:120px; animation:pulsate-play-btn 2s infinite steps; border-radius:50%; border:5px solid color-mix(in srgb, var(--accent-color), transparent 30%); top:-15%; left:-15%; }
.pulsating-play-btn:after { content:""; position:absolute; left:50%; top:50%; transform:translateX(-40%) translateY(-50%); width:0; height:0; border-top:10px solid transparent; border-bottom:10px solid transparent; border-left:15px solid #fff; z-index:100; transition:all 400ms cubic-bezier(0.55,0.055,0.675,0.19); }
.pulsating-play-btn:hover:after { border-left:15px solid var(--accent-color); transform:scale(20); }
@keyframes pulsate-play-btn { 0%{transform:scale(0.6);opacity:1;} 100%{transform:scale(1);opacity:0;} }

/* PHP Email Form */
.php-email-form .error-message{display:none;background:#df1529;color:#fff;text-align:left;padding:15px;margin-bottom:24px;font-weight:600;}
.php-email-form .sent-message{display:none;color:#fff;background:#059652;text-align:center;padding:15px;margin-bottom:24px;font-weight:600;}
.php-email-form .loading{display:none;background:var(--surface-color);text-align:center;padding:15px;margin-bottom:24px;}
.php-email-form .loading:before{content:"";display:inline-block;border-radius:50%;width:24px;height:24px;margin:0 10px -6px 0;border:3px solid var(--accent-color);border-top-color:var(--surface-color);animation:php-email-form-loading 1s linear infinite;}
@keyframes php-email-form-loading {0%{transform:rotate(0);}100%{transform:rotate(360deg);}}

/* Header */
.header { --background-color: rgba(0,0,0,0.90); --default-color:#fff; --heading-color:#fff; color:var(--default-color); background-color:var(--background-color); padding:10px 0; transition:all 0.5s; z-index:997; border-bottom:1px solid color-mix(in srgb, var(--default-color), transparent 90%); }
.header .logo{line-height:1;} .header .logo img{max-height:36px;margin-right:8px;}
.header .logo h1{font-size:30px;margin:0;font-weight:700;color:var(--heading-color);}
.header .cta-btn{color:var(--contrast-color);background:var(--accent-color);font-size:14px;padding:8px 26px;margin:0;border-radius:50px;transition:0.3s;}
.header .cta-btn:hover{color:var(--contrast-color);background:color-mix(in srgb, var(--accent-color), transparent 15%);}
@media (max-width:1200px){.header .logo{order:1}.header .logo h1{font-size:24px}.header .cta-btn{order:2;margin:0 15px 0 0;padding:6px 20px}.header .navmenu{order:3}}
.scrolled .header { --background-color: rgba(0,0,0,0.90); }

/* Nav */
@media (min-width:1200px){
  .navmenu{padding:0;}
  .navmenu ul{margin:0;padding:0;display:flex;list-style:none;align-items:center;}
  .navmenu li{position:relative;}
  .navmenu>ul>li{white-space:nowrap;padding:15px 14px;}
  .navmenu>ul>li:last-child{padding-right:0;}
  .navmenu a{color:color-mix(in srgb, var(--nav-color), transparent 30%);font-size:15px;padding:0 2px;font-family:var(--nav-font);font-weight:400;display:flex;align-items:center;justify-content:space-between;white-space:nowrap;transition:0.3s;position:relative;}
  .navmenu a i{font-size:12px;line-height:0;margin-left:5px;transition:0.3s;}
  .navmenu>ul>li>a:before{content:"";position:absolute;height:2px;bottom:-27px;left:0;background-color:var(--nav-hover-color);visibility:hidden;width:0;transition:all 0.3s ease-in-out;}
  .navmenu a:hover:before,.navmenu li:hover>a:before,.navmenu .active:before{visibility:visible;width:100%;}
  .navmenu li:hover>a,.navmenu .active{color:var(--nav-color);}
  .navmenu .dropdown ul{margin:0;padding:10px 0;background:var(--nav-dropdown-background-color);display:block;position:absolute;visibility:hidden;left:14px;top:130%;opacity:0;transition:0.3s;border-radius:4px;z-index:99;box-shadow:0 0 30px rgba(0,0,0,0.1);}
  .navmenu .dropdown ul li{min-width:200px;}
  .navmenu .dropdown ul a{padding:10px 20px;font-size:15px;color:var(--nav-dropdown-color);}
  .navmenu .dropdown ul a:hover{color:var(--nav-dropdown-hover-color);}
  .navmenu .dropdown:hover>ul{opacity:1;top:100%;visibility:visible;}
  .navmenu .dropdown .dropdown ul{top:0;left:-90%;visibility:hidden;}
  .navmenu .dropdown .dropdown:hover>ul{opacity:1;top:0;left:-100%;visibility:visible;}
}
@media (max-width:1199px){
  .mobile-nav-toggle{color:var(--nav-color);font-size:28px;line-height:0;margin-right:10px;cursor:pointer;transition:color 0.3s;}
  .navmenu{padding:0;z-index:9997;}
  .navmenu ul{display:none;list-style:none;position:absolute;inset:60px 20px 20px 20px;padding:10px 0;margin:0;border-radius:6px;background-color:var(--nav-mobile-background-color);border:1px solid color-mix(in srgb, var(--default-color), transparent 90%);overflow-y:auto;transition:0.3s;z-index:9998;}
  .navmenu a{color:var(--nav-dropdown-color);padding:10px 20px;font-family:var(--nav-font);font-size:17px;font-weight:500;display:flex;align-items:center;justify-content:space-between;}
  .navmenu a i{font-size:12px;margin-left:5px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:0.3s;background-color:color-mix(in srgb, var(--accent-color), transparent 90%);}
  .navmenu a i:hover{background-color:var(--accent-color);color:var(--contrast-color);}
  .navmenu a:hover,.navmenu .active{color:var(--nav-dropdown-hover-color);}
  .navmenu .active i{background-color:var(--accent-color);color:var(--contrast-color);transform:rotate(180deg);}
  .navmenu .dropdown ul{position:static;display:none;z-index:99;padding:10px 0;margin:10px 20px;background-color:var(--nav-dropdown-background-color);transition:all 0.5s ease-in-out;}
  .navmenu .dropdown ul ul{background-color:rgba(33,37,41,0.1);}
  .navmenu .dropdown>.dropdown-active{display:block;background-color:rgba(33,37,41,0.03);}
  .mobile-nav-active{overflow:hidden;}
  .mobile-nav-active .mobile-nav-toggle{color:#fff;position:absolute;font-size:32px;top:15px;right:15px;margin-right:0;z-index:9999;}
  .mobile-nav-active .navmenu{position:fixed;inset:0;background:rgba(33,37,41,0.8);transition:0.3s;}
  .mobile-nav-active .navmenu>ul{display:block;}
}

/* Footer (with black overlay) */
.footer {
  color: var(--contrast-color);
  background-color: #000;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
  isolation: isolate;
}
.footer::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: 0; }
.footer > .container, .footer .social-links, .footer .copyright, .footer .credits { position: relative; z-index: 1; }
.footer h3 { font-size: 36px; font-weight: 700; margin: 0 0 15px 0; }
.footer p { font-size: 15px; font-style: italic; margin: 0 0 30px 0; color: color-mix(in srgb, var(--contrast-color), transparent 20%); }
.footer .social-links { margin: 0 0 30px 0; }
.footer .social-links a { font-size: 16px; display: flex; align-items: center; justify-content: center; background: var(--accent-color); color: var(--contrast-color); line-height: 1; margin: 0 4px; border-radius: 50%; width: 36px; height: 36px; transition: 0.3s; }
.footer .social-links a:hover { background: color-mix(in srgb, var(--accent-color), transparent 20%); }
.footer a { color: var(--contrast-color); }
.footer a:hover { color: color-mix(in srgb, var(--contrast-color), transparent 30%); }
.footer .copyright { padding-top: 25px; border-top: 1px solid color-mix(in srgb, var(--contrast-color), transparent 85%); }
.footer .credits { font-size: 13px; padding-top: 5px; }
.footer.has-bg { background:#000 url("../img/footer-bg.jpg") center/cover no-repeat fixed; }
.footer.has-bg::before { background: rgba(0,0,0,0.65); }

/* Preloader */
#preloader{position:fixed;inset:0;z-index:9999;overflow:hidden;background-color:var(--background-color);transition:all 0.6s ease-out;}
#preloader:before{content:"";position:fixed;top:calc(50% - 30px);left:calc(50% - 30px);border:6px solid var(--accent-color);border-top-color:color-mix(in srgb, var(--accent-color), transparent 90%);border-radius:50%;width:60px;height:60px;animation:animate-preloader 1s linear infinite;}
@keyframes animate-preloader{0%{transform:rotate(0);}100%{transform:rotate(360deg);}}

/* Scroll Top */
.scroll-top{position:fixed;visibility:hidden;opacity:0;right:15px;bottom:-15px;z-index:99999;background-color:var(--accent-color);width:44px;height:44px;border-radius:50px;transition:all 0.4s;}
.scroll-top i{font-size:24px;color:var(--contrast-color);line-height:0;}
.scroll-top:hover{background-color:color-mix(in srgb, var(--accent-color), transparent 20%);}
.scroll-top.active{visibility:visible;opacity:1;bottom:15px;}

/* Disable AOS delay on small screens */
@media (max-width:768px){ [data-aos-delay]{transition-delay:0 !important;} }

/* Page Title & Breadcrumbs */
.page-title{color:var(--default-color);background-color:var(--background-color);background-size:cover;background-position:center;background-repeat:no-repeat;padding:160px 0 80px 0;text-align:center;position:relative;}
.page-title:before{content:"";background-color:color-mix(in srgb, var(--background-color), transparent 50%);position:absolute;inset:0;}
.page-title h1{font-size:42px;font-weight:700;margin-bottom:10px;}
.page-title .breadcrumbs ol{display:flex;flex-wrap:wrap;list-style:none;justify-content:center;padding:0;margin:0;font-size:16px;}
.page-title .breadcrumbs ol li+li{padding-left:10px;}
.page-title .breadcrumbs ol li+li::before{content:"/";display:inline-block;padding-right:10px;color:color-mix(in srgb, var(--default-color), transparent 50%);}

/* Sections */
section,.section{color:var(--default-color);background-color:var(--background-color);padding:var(--section-padding-y) 0;overflow:clip;}

/* Section Titles */
.section-title{padding-bottom:var(--section-title-spacing);position:relative;}
.section-title h2{font-size:32px;font-weight:700;margin-bottom:var(--section-title-h2-gap);padding-bottom:var(--section-title-h2-gap);position:relative;}
.section-title h2:after{content:"";position:absolute;display:block;width:50px;height:3px;background:var(--accent-color);left:0;right:0;bottom:0;}
.section-title p{margin-bottom:0;color:color-mix(in srgb, var(--default-color) 90%, white 50%);}

/* Hero with stronger black overlay options */
.hero{width:100%;min-height:100vh;position:relative;padding:56px 0;display:flex;align-items:center;justify-content:center;}
@media (min-width:992px){.hero{min-height:90vh;}}
.hero img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;z-index:1;}
.hero:before{content:"";background:rgba(0,0,0,0.55);position:absolute;inset:0;z-index:2;} /* strong black overlay */
.hero.dark-90:before{background:rgba(0,0,0,0.9);} /* optional darkest */
.hero .container{position:relative;z-index:3;}
.hero h2{margin:0;font-size:48px;font-weight:700;color:var(--contrast-color);}
.hero p{color:color-mix(in srgb, var(--contrast-color), transparent 10%);margin:10px 0 20px 0;font-size:24px;}
@media (max-width:768px){.hero h2{font-size:32px;line-height:36px;}.hero p{font-size:18px;line-height:24px;}}

/* About */
.about ul{list-style:none;padding:0;}
.about ul li{padding-bottom:5px;display:flex;align-items:center;}
.about ul i{font-size:20px;padding-right:4px;color:var(--accent-color);}
.about .read-more{background:var(--accent-color);color:var(--contrast-color);font-family:var(--heading-font);font-weight:500;font-size:16px;letter-spacing:1px;padding:10px 28px;border-radius:50px;transition:0.3s;display:inline-flex;align-items:center;justify-content:center;}
.about .read-more i{font-size:18px;margin-left:5px;line-height:0;transition:0.3s;}
.about .read-more:hover{background:color-mix(in srgb, var(--accent-color), transparent 20%);}
.about .read-more:hover i{transform:translate(5px,0);}

/* Services */
.services .service-item{background-color:var(--surface-color);box-shadow:0 5px 90px rgba(0,0,0,0.1);padding:48px 28px;transition:transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;border-radius:18px;border-bottom:5px solid var(--surface-color);height:100%;}
.services .service-item .icon{color:var(--contrast-color);background:var(--accent-color);margin:0 0 16px 0;width:64px;height:64px;border-radius:50px;display:flex;align-items:center;justify-content:center;font-size:28px;transition:transform 220ms ease, background-color 220ms ease;}
.services .service-item h3{font-weight:700;margin:8px 0 12px 0;font-size:22px;transition:ease-in-out 0.3s;}
.services .service-item p{line-height:24px;font-size:14px;margin-bottom:0;}
@media (min-width:992px){
  .services .service-item:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(0,0,0,0.12);border-color:color-mix(in srgb, var(--accent-color), transparent 20%);}
  .services .service-item:hover .icon{transform:translateY(-4px);background:color-mix(in srgb, var(--accent-color), transparent 5%);}
  .services .service-item:hover h3{color:var(--accent-color);}
}

/* Call To Action */
.call-to-action{padding:96px 0;position:relative;clip-path:inset(0);}
.call-to-action img{position:fixed;top:0;left:0;display:block;width:100%;height:100%;object-fit:cover;z-index:1;}
.call-to-action:before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* 55% transparent – adjust here */
  z-index: 2;
}
.call-to-action .container{position:relative;z-index:3;}
.call-to-action h3{color:var(--surface-color);font-size:28px;font-weight:700;}
.call-to-action p{color:var(--surface-color);}
.call-to-action .cta-btn{font-family:var(--heading-font);font-weight:500;font-size:16px;letter-spacing:1px;display:inline-block;padding:12px 40px;border-radius:50px;transition:0.5s;margin:10px;background:var(--accent-color);color:var(--contrast-color);}
.call-to-action .cta-btn:hover{background:color-mix(in srgb, var(--accent-color) 90%, white 15%);animation:cta-pulse 900ms ease-in-out;}
@keyframes cta-pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.03);}}

/* Features */
.features .features-image{position:relative;min-height:400px;}
.features .features-image img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;z-index:1;}
.features .features-item h4{font-size:20px;font-weight:700;margin:0 0 5px 0;}
.features .features-item i{font-size:48px;color:var(--accent-color);margin-right:20px;line-height:0;}
.features .features-item p{font-size:15px;color:color-mix(in srgb, var(--default-color), transparent 20%);margin:0;}

/* Clients */
.clients .clients-wrap{border-top:1px solid color-mix(in srgb, var(--default-color), transparent 85%);border-left:1px solid color-mix(in srgb, var(--default-color), transparent 85%);}
.clients .client-logo{background-color:var(--surface-color);display:flex;justify-content:center;align-items:center;border-right:1px solid color-mix(in srgb, var(--default-color), transparent 85%);border-bottom:1px solid color-mix(in srgb, var(--default-color), transparent 85%);overflow:hidden;}
.clients .client-logo img{padding:20px;max-width:60%;transition:0.3s;}
@media (max-width:640px){.clients .client-logo img{padding:16px;max-width:45%;}}
.clients .client-logo:hover img{transform:scale(1.1);}

/* Stats */
.stats{position:relative;}
.stats img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;z-index:1;}
.stats:before{content:"";background:color-mix(in srgb, var(--background-color), transparent 20%);position:absolute;inset:0;z-index:2;}
.stats .container{position:relative;z-index:3;}
.stats .subheading{text-align:center;}
.stats .subheading h3{font-weight:700;font-size:36px;}
.stats .stats-item{padding:24px;width:100%;}
.stats .stats-item span{font-size:48px;display:block;color:var(--default-color);font-weight:700;}
.stats .stats-item p{margin:0;font-family:var(--heading-font);font-size:16px;font-weight:700;color:color-mix(in srgb, var(--default-color), transparent 40%);}

/* Portfolio */
.portfolio .portfolio-filters{padding:0;margin:0 auto 16px auto;list-style:none;text-align:center;}
.portfolio .portfolio-filters li{cursor:pointer;display:inline-block;padding:8px 20px 10px;margin:0;font-size:15px;font-weight:500;border-radius:50px;transition:all 0.3s;font-family:var(--heading-font);}
.portfolio .portfolio-filters li:hover,.portfolio .portfolio-filters li.filter-active{color:var(--contrast-color);background-color:var(--accent-color);}
@media (max-width:575px){.portfolio .portfolio-filters li{font-size:14px;margin:0 0 10px 0;}}
.portfolio .portfolio-item{position:relative;overflow:hidden;}
.portfolio .portfolio-item .portfolio-info{opacity:0;position:absolute;left:12px;right:12px;bottom:-100%;z-index:3;transition:all 0.5s;background:color-mix(in srgb, var(--surface-color), transparent 10%);padding:15px;}
.portfolio .portfolio-item .portfolio-info h4{font-size:18px;font-weight:600;padding-right:50px;}
.portfolio .portfolio-item .portfolio-info p{color:color-mix(in srgb, var(--default-color), transparent 30%);font-size:14px;margin-bottom:0;padding-right:50px;}
.portfolio .portfolio-item .portfolio-info .preview-link,.portfolio .portfolio-item .portfolio-info .details-link{position:absolute;right:50px;font-size:24px;top:calc(50% - 14px);color:color-mix(in srgb, var(--default-color), transparent 30%);transition:0.3s;line-height:0;}
.portfolio .portfolio-item .portfolio-info .details-link{right:14px;font-size:28px;}
.portfolio .portfolio-item .portfolio-info .preview-link:hover,.portfolio .portfolio-item .portfolio-info .details-link:hover{color:var(--accent-color);}
.portfolio .portfolio-item:hover .portfolio-info{opacity:1;bottom:0;}

/* Pricing */
.pricing .pricing-item{background-color:var(--surface-color);box-shadow:0 5px 90px rgba(0,0,0,0.1);padding:32px 20px;text-align:center;border-radius:8px;position:relative;overflow:hidden;transition:transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;}
.pricing .pricing-item h3{padding:12px;margin-top:12px;font-size:18px;font-weight:600;}
.pricing .pricing-item h4{color:var(--accent-color);font-size:42px;font-family:var(--default-font);font-weight:500;}
.pricing .pricing-item h4 sup{font-size:20px;top:-15px;left:-3px;}
.pricing .pricing-item h4 span{color:color-mix(in srgb, var(--default-color), transparent 40%);font-size:16px;font-weight:300;}
.pricing .pricing-item ul{padding:16px 0;list-style:none;line-height:20px;font-size:14px;}
.pricing .pricing-item ul li{padding-bottom:14px;}
.pricing .pricing-item ul .na{color:color-mix(in srgb, var(--default-color), transparent 60%);text-decoration:line-through;}
.pricing .pricing-item .btn-wrap{padding:12px;text-align:center;}
.pricing .pricing-item .btn-buy{color:var(--accent-color);background-color:transparent;border:2px solid var(--accent-color);display:inline-block;padding:10px 40px 12px;border-radius:50px;font-size:14px;font-family:var(--heading-font);font-weight:600;transition:0.3s;}
.pricing .pricing-item .btn-buy:hover{background:var(--accent-color);color:var(--contrast-color);}
.pricing .recommended .btn-buy{background:var(--accent-color);color:var(--contrast-color);}
.pricing .recommended .btn-buy:hover{background:color-mix(in srgb, var(--accent-color), transparent 20%);border-color:color-mix(in srgb, var(--accent-color), transparent 20%);}
.pricing .recommended-badge{position:absolute;top:20px;left:50%;transform:translateX(-50%);z-index:1;font-size:13px;padding:3px 25px 6px;background:color-mix(in srgb, var(--accent-color), transparent 92%);color:var(--accent-color);border-radius:50px;}

/* FAQ */
.faq .content h3{font-weight:400;font-size:34px;}
.faq .content p{color:color-mix(in srgb, var(--default-color), transparent 30%);}
.faq .faq-container{margin-top:12px;}
.faq .faq-container .faq-item{background-color:var(--surface-color);position:relative;padding:18px;margin-bottom:16px;box-shadow:0 5px 25px rgba(0,0,0,0.1);overflow:hidden;transition:transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;}
.faq .faq-container .faq-item:last-child{margin-bottom:0;}
.faq .faq-container .faq-item h3{font-weight:600;font-size:17px;line-height:24px;margin:0 30px 0 32px;transition:0.3s;cursor:pointer;}
.faq .faq-container .faq-item h3 span{color:var(--accent-color);padding-right:5px;}
.faq .faq-container .faq-item h3:hover{color:var(--accent-color);}
.faq .faq-container .faq-item .faq-content{display:grid;grid-template-rows:0fr;transition:0.3s ease-in-out;visibility:hidden;opacity:0;}
.faq .faq-container .faq-item .faq-content p{margin-bottom:0;overflow:hidden;}
.faq .faq-container .faq-item .faq-icon{position:absolute;top:22px;left:20px;font-size:22px;line-height:0;transition:0.3s;color:var(--accent-color);}
.faq .faq-container .faq-item .faq-toggle{position:absolute;top:20px;right:20px;font-size:16px;line-height:0;transition:0.3s;cursor:pointer;}
.faq .faq-container .faq-item .faq-toggle:hover{color:var(--accent-color);}
.faq .faq-container .faq-active h3{color:var(--accent-color);}
.faq .faq-container .faq-active .faq-content{grid-template-rows:1fr;visibility:visible;opacity:1;padding-top:10px;}
.faq .faq-container .faq-active .faq-toggle{transform:rotate(90deg);color:var(--accent-color);}

/* Recent Posts */
.recent-posts article,.blog-posts article{background:var(--surface-color);box-shadow:0 4px 16px rgba(0,0,0,0.1);padding:24px;height:100%;border-radius:10px;overflow:hidden;}
.recent-posts .post-img,.blog-posts .post-img{max-height:240px;margin:-24px -24px 12px -24px;overflow:hidden;}
.recent-posts .post-category{font-size:16px;color:color-mix(in srgb, var(--default-color), transparent 50%);margin-bottom:10px;}
.recent-posts .title,.blog-posts .title{font-size:20px;font-weight:700;margin:0 0 16px 0;}
.recent-posts .title a,.blog-posts .title a{color:var(--heading-color);transition:0.3s;}
.recent-posts .title a:hover,.blog-posts .title a:hover{color:var(--accent-color);}
.recent-posts .post-author-img,.blog-posts .post-author-img{width:50px;border-radius:50%;margin-right:15px;}
.recent-posts .post-author,.blog-posts .post-author{font-weight:600;margin-bottom:5px;}
.recent-posts .post-date,.blog-posts .post-date{font-size:14px;color:color-mix(in srgb, var(--default-color), transparent 50%);margin-bottom:0;}

/* Contact */
.contact .info-item+.info-item{margin-top:28px;}
.contact .info-item i{color:var(--accent-color);background:color-mix(in srgb, var(--accent-color), transparent 92%);font-size:20px;width:44px;height:44px;display:flex;justify-content:center;align-items:center;border-radius:50px;transition:all 0.3s;margin-right:15px;}
.contact .info-item h3{font-size:18px;font-weight:700;margin-bottom:5px;}
.contact .info-item p{margin-bottom:0;font-size:14px;}
.contact .info-item:hover i{background:var(--accent-color);color:var(--contrast-color);}
.contact .php-email-form{height:100%;}
.contact .php-email-form input[type=text],.contact .php-email-form input[type=email],.contact .php-email-form textarea{font-size:14px;padding:10px 15px;box-shadow:none;border-radius:0;color:var(--default-color);background-color:var(--surface-color);border-color:color-mix(in srgb, var(--default-color), transparent 80%);}
.contact .php-email-form input[type=text]:focus,.contact .php-email-form input[type=email]:focus,.contact .php-email-form textarea:focus{border-color:var(--accent-color);}
.contact .php-email-form ::placeholder{color:color-mix(in srgb, var(--default-color), transparent 70%);}
.contact .php-email-form button[type=submit]{color:var(--contrast-color);background:var(--accent-color);border:0;padding:10px 30px;transition:0.4s;border-radius:50px;}
.contact .php-email-form button[type=submit]:hover{background:color-mix(in srgb, var(--accent-color), transparent 25%);}

/* Nav underline smoothness */
@media (min-width:1200px){ .navmenu > ul > li > a::before{ transition: width 280ms ease-in-out !important; } }