/* ============================================
   ZID Foundation - Comprehensive Responsive
   ============================================ */

/* ===== LARGE DEVICES (992px - 1199px) ===== */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.slider-animated h2 { font-size: 40px; }
	.slider-animated p { margin: 0 80px; font-size: 17px; }
	.slider-animated li a { padding: 12px 32px; font-size: 13px; }
	ul.nav-menu li a { padding: 25px 16px; font-size: 13px; }
	.sticky ul.nav-menu li a { padding: 20px 16px; }
	.blog-author li { padding: 6px 10px; font-size: 11px; }
	.choose-item { padding: 35px 40px; }
	.counter-item h2.counter { font-size: 36px; }
	.team-photo { height: 250px; }
	.footer-main { padding: 50px 0 25px; }
}

/* ===== TABLETS (768px - 991px) ===== */
@media only screen and (min-width: 768px) and (max-width: 991px) {
	/* Header */
	.searchbar { display: none; }
	.header-contact li { font-size: 12px; margin-right: 16px; }
	.logo img { height: 48px; }

	/* Slider */
	.slider-item { height: 480px; }
	.slider-animated h2 { font-size: 36px; }
	.slider-animated p { font-size: 16px; margin: 0 60px; }
	.slider-animated li a { padding: 12px 30px; font-size: 13px; }
	.slide-carousel.owl-carousel .owl-nav { top: 88%; }
	.slide-carousel.owl-carousel .owl-nav .owl-prev,
	.slide-carousel.owl-carousel .owl-nav .owl-next {
		width: 42px; height: 42px; line-height: 38px; font-size: 16px;
	}
	.slide-carousel.owl-carousel .owl-nav .owl-prev { margin-left: -48px; }
	.slide-carousel.owl-carousel .owl-nav .owl-next { margin-right: 0; right: inherit; position: inherit; margin-left: 8px; }

	/* Choose */
	.choose-left { background-position: center; }
	.choose-right { width: 100%; }
	.choose-item { padding: 30px 35px; }
	.choose-item li { margin: 15px 0; }

	/* Grid Fixes */
	.clear-three:nth-child(3n+1) { clear: none; }
	.clear-three:nth-child(2n+1) { clear: both; }
	.clear-four:nth-child(4n+1) { clear: none; }
	.clear-four:nth-child(3n+1) { clear: both; }

	/* Sections */
	.headline h2, .testimonial-headline h2 { font-size: 28px; }
	.headline p, .testimonial-headline p { font-size: 15px; }
	.services-photo { height: 200px; }
	.recent-photo { height: 200px; }
	.team-photo { height: 250px; }
	.blog-photo { height: 260px; }
	.caption-photo { height: 180px; }

	/* Blog */
	.blog-item { margin-top: 25px; }
	.blog-text h3 { font-size: 17px; }

	/* Counter */
	.counter-item h2.counter { font-size: 34px; }
	.counter-item h4 { font-size: 14px; }

	/* FAQ */
	.booking-gallery { padding: 30px 25px; }
	.faq-gallery h3 { font-size: 24px; }

	/* Testimonial */
	.testimonial-detail { padding: 25px; }
	.testimonial-detail p { font-size: 14px; }

	/* Banner */
	.banner-text h1 { font-size: 32px; }

	/* Footer */
	.footer-main { padding: 50px 0 25px; }
	.footer-col { text-align: center; margin-bottom: 30px; }
	.footer-col h3::after { left: 50%; transform: translateX(-50%); }
	.footer-col ul li { padding-left: 0; }
	.footer-col ul li::before { display: none; }
	.footer-col ul li a:hover { padding-left: 0; }
	.footer-contact-item { margin-bottom: 15px; }
	.footer-copyrignt { text-align: center; }
	.copyright-text p { font-size: 13px; }

	/* Carousels - hide nav */
	.team-carousel.owl-carousel .owl-nav,
	.blog-carousel.owl-carousel .owl-nav,
	.brand-carousel.owl-carousel .owl-nav { display: none; }

	/* Blog photo responsive heights */
	.blog-photo { height: 300px; }

	/* Gallery responsive */
	.services-area .col-xs-12 { width: 50%; }
	.recent-works .col-xs-12 { width: 50%; }
	.blog-area .col-xs-12 { width: 50%; }
}

/* ===== MOBILE (max-width: 767px) ===== */
@media only screen and (max-width: 767px) {

	/* --- GLOBAL --- */
	.container { padding-left: 15px; padding-right: 15px; }
	.ptb-60 { padding: 40px 0 !important; }
	.pt-60 { padding-top: 40px !important; }
	.pb-60 { padding-bottom: 40px !important; }

	/* --- HEADER --- */
	.header-area { display: none; }
	.header-social { text-align: center; }
	.searchbar { display: none; }

	/* --- NAVIGATION / MEAN MENU --- */
	.menu-area { background: var(--primary) !important; }
	.logo { padding: 10px 0; }
	.logo img { height: 40px; }
	.main-menu { display: block !important; }

	/* Mean Menu Overrides */
	.mean-container .mean-bar {
		background: var(--primary) !important;
		min-height: 50px;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
	.mean-container .mean-bar::after {
		content: "MENU";
		font-size: 16px;
		font-weight: 700;
		top: 14px;
		font-family: var(--font-heading);
		letter-spacing: 1px;
	}
	.mean-container a.meanmenu-reveal {
		padding: 14px 15px 12px 15px;
		top: 0;
		right: 0;
		width: auto;
		height: auto;
	}
	.mean-container a.meanmenu-reveal span {
		background: #fff;
		height: 2px;
		margin-top: 4px;
		border-radius: 2px;
		transition: var(--transition);
	}
	.mean-container a.meanmenu-reveal span:first-child { margin-top: 0; }
	.mean-container a.meanmenu-reveal:hover span { background: var(--accent); }

	.mean-container .mean-nav {
		background: var(--primary) !important;
		margin-top: 50px;
		border-top: 1px solid rgba(255,255,255,0.1);
	}
	.mean-container .mean-nav ul li a {
		background: transparent !important;
		border-top: 1px solid rgba(255,255,255,0.08);
		font-family: var(--font-heading);
		font-size: 14px;
		font-weight: 500;
		padding: 14px 20px;
		color: rgba(255,255,255,0.85);
		text-transform: uppercase;
		letter-spacing: 0.5px;
		transition: var(--transition);
	}
	.mean-container .mean-nav ul li a:hover,
	.mean-container .mean-nav ul li.active a {
		background: rgba(255,255,255,0.08) !important;
		color: var(--accent) !important;
		padding-left: 25px;
	}
	.mean-container .mean-nav ul li a.mean-expand {
		background: transparent !important;
		border-left: 1px solid rgba(255,255,255,0.15) !important;
		border-bottom: none !important;
		height: auto !important;
		padding: 14px 15px !important;
	}
	.mean-container .mean-nav ul li a.mean-expand:hover {
		background: rgba(255,255,255,0.05) !important;
	}
	.mean-container .mean-nav ul li li a {
		border-top: 1px solid rgba(255,255,255,0.06);
		color: rgba(255,255,255,0.7);
		font-size: 13px;
	}
	.mean-container .mean-nav ul li li a:hover {
		color: var(--accent) !important;
		background: rgba(255,255,255,0.05) !important;
	}
	.mean-container .mean-nav ul li li li a { width: 65%; padding: 12px 17.5%; }
	.mean-container .mean-nav ul li li li li a { width: 55%; padding: 12px 22.5%; }

	/* Hide desktop nav on mobile */
	ul.nav-menu { display: none !important; }

	/* --- SLIDER --- */
	.slider-item { height: 380px; }
	.slider-animated h2 { font-size: 24px; letter-spacing: 0.5px; line-height: 1.3; }
	.slider-animated p { font-size: 13px; margin: 0 20px; line-height: 1.6; }
	.slider-animated ul { margin-top: 25px; }
	.slider-animated li { display: block; margin: 8px auto; text-align: center; }
	.slider-animated li a { font-size: 12px; padding: 10px 28px; letter-spacing: 0.5px; display: inline-block; }

	.slide-carousel.owl-carousel .owl-nav {
		text-align: center;
		width: 100%;
		top: 92%;
	}
	.slide-carousel.owl-carousel .owl-nav .owl-prev,
	.slide-carousel.owl-carousel .owl-nav .owl-next {
		width: 38px; height: 38px; line-height: 34px; font-size: 14px;
		position: inherit;
	}
	.slide-carousel.owl-carousel .owl-nav .owl-prev { margin-left: -44px; margin-right: 5px; }
	.slide-carousel.owl-carousel .owl-nav .owl-next { margin-left: 5px; margin-right: 0; right: inherit; position: inherit; }

	/* --- SECTION HEADLINES --- */
	.headline h2, .testimonial-headline h2 { font-size: 24px; }
	.headline p, .testimonial-headline p { font-size: 14px; }
	.headline { margin-bottom: 35px; }
	.testimonial-headline { margin-bottom: 35px; }

	/* --- CHOOSE US --- */
	.choose-area { padding: 40px 0; }
	.choose-left { float: none; width: 100%; margin-top: 0; margin-bottom: 20px; }
	.choose-right { width: 100%; float: none; }
	.choose-item { padding: 25px 25px; }
	.choose-item li { margin: 12px 0; }
	.choose-icon { width: 65px !important; }
	.choose-icon img { width: 48px; height: 48px; padding: 10px; }

	/* --- SERVICES --- */
	.services-area { padding: 40px 0; }
	.services-item { margin-top: 20px; }
	.services-photo { height: 200px; }
	.services-text { padding: 20px; }
	.services-text h3 { font-size: 16px; }
	.services-text p { font-size: 13px; }
	.services-link a { font-size: 12px; padding: 8px 22px; }

	/* --- RECENT WORKS / PORTFOLIO --- */
	.recent-menu { margin: 0 15px 25px; }
	.recent-menu ul { flex-wrap: wrap; justify-content: center; gap: 6px; }
	.recent-menu ul li { padding: 8px 16px; font-size: 11px; font-weight: 600; }
	.recent-item { margin-top: 20px; }
	.recent-photo { height: 200px; }
	.recent-text { padding: 18px 20px; }
	.recent-text h3 { font-size: 15px; }
	.recent-text p { font-size: 13px; }

	/* --- TEAM --- */
	.team-area { padding: 40px 0; }
	.team-item { margin-top: 20px; }
	.team-photo { height: 240px; }
	.team-text { padding: 18px; }
	.team-text h4 { font-size: 16px; }
	.team-text p { font-size: 13px; }
	.team-social { opacity: 1; transform: none; padding: 10px 0; }
	.team-social li a { width: 32px; height: 32px; line-height: 32px; font-size: 13px; }

	/* --- TESTIMONIAL --- */
	.testimonial-area { background-attachment: scroll !important; }
	.testimonial-item { margin-top: 30px; }
	.testimonial-text { border-radius: var(--radius-sm); }
	.client-name { padding: 25px 15px 15px; }
	.client-name h4 { font-size: 16px; }
	.client-name span { font-size: 13px; }
	.testimonial-detail { padding: 20px; }
	.testimonial-detail p { font-size: 14px; }
	.testimonial-photo img { width: 70px !important; height: 70px; }
	.testimonial-carousel .owl-dots { margin-top: 25px; }

	/* --- FAQ --- */
	.faq-area { padding: 40px 0; }
	.booking-gallery { padding: 25px 20px; margin-top: 20px; }
	.booking-gallery h3 { font-size: 20px; margin-bottom: 20px; }
	.faq-gallery { margin-top: 20px; }
	.faq-gallery h3 { font-size: 22px; }
	.faq-gallery h4.sub { font-size: 14px; margin-bottom: 20px; }
	.faq-gallery h4.panel-title a { padding: 14px 45px 14px 16px; font-size: 14px; }
	.faq-gallery .panel-default > .panel-heading + .panel-collapse > .panel-body { padding: 15px; font-size: 14px; }
	.form-group input, .form-group textarea, .form-group select { height: 44px; font-size: 14px; }
	.form-group textarea { min-height: 100px; }

	/* --- COUNTER --- */
	.counterup-area { background-attachment: scroll !important; }
	.counter-border { border-bottom: 1px solid rgba(255,255,255,0.15); }
	.counter-border:last-child { border-bottom: 0; }
	.counter-item { border-right: 0 !important; padding: 20px 0; }
	.counter-item h2.counter { font-size: 32px; }
	.counter-item h4 { font-size: 13px; }

	/* --- GALLERY --- */
	.gallery-area { padding: 40px 0; }
	.caption-item { margin-top: 15px; }
	.caption-photo { height: 180px; }
	.caption-text { padding: 12px 16px; }
	.caption-text p { font-size: 13px; }
	.caption-photo-area .col-xs-12 { width: 100%; }

	/* --- BLOG --- */
	.blog-area { padding: 40px 0; }
	.blog-item { margin-top: 20px; }
	.blog-photo { height: 220px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
	.blog-text { padding: 18px 20px; }
	.blog-text h3 { font-size: 16px; margin-bottom: 8px; }
	.blog-text p { font-size: 13px; }
	.blog-author li { padding: 5px 10px; font-size: 11px; margin-right: 4px; }

	/* --- BRAND / PARTNERS --- */
	.brand-area { padding: 30px 0; }
	.brand-item { height: 60px; margin-top: 20px; }

	/* --- BANNER (Inner Pages) --- */
	.banner-slider { height: 200px; }
	.banner-text h1 { font-size: 24px; letter-spacing: 0.5px; }

	/* --- CONTACT --- */
	.contact-area { padding: 20px 0 40px; }
	.contact-area h4 { font-size: 20px; margin-bottom: 20px; }
	.map-area iframe { height: 250px; }

	/* --- ABOUT --- */
	.about-mission { padding: 25px 20px; }
	.about-mission h3 { font-size: 18px; margin-bottom: 12px; }
	.about-mission p { font-size: 14px; }
	.mission-icon { width: 50px; height: 50px; line-height: 50px; margin-bottom: 15px; }
	.mission-icon i { font-size: 20px; }

	/* --- SEARCH --- */
	.search-area { padding: 30px 0; }

	/* --- FOOTER --- */
	.footer-contact-area { padding: 30px 0; }
	.footer-contact-item {
		text-align: center;
		margin-bottom: 20px;
		padding: 8px 0;
	}
	.footer-contact-item ul {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	.footer-contact-item li img { width: 40px; height: 40px; }
	.footer-contact-item h4 { font-size: 14px; margin-bottom: 3px; }
	.footer-contact-item p { font-size: 13px; }

	.footer-main { padding: 40px 0 25px; }
	.footer-col { text-align: center; margin-bottom: 30px; }
	.footer-col h3 { font-size: 18px; margin-bottom: 15px; }
	.footer-col h3::after { left: 50%; transform: translateX(-50%); }
	.footer-col p { font-size: 13px; }
	.footer-col ul li { padding-left: 0; text-align: center; }
	.footer-col ul li::before { display: none; }
	.footer-col ul li a:hover { padding-left: 0; }
	.footer-col .news-item .news-title { font-size: 13px; }
	.footer-col .contact-item { font-size: 13px; margin-bottom: 10px; }
	.footer-col .contact-item .icon { margin-right: 8px; }

	.footer-copyrignt { padding: 15px 0; text-align: center; }
	.copyright-text p { font-size: 12px; }

	/* Scroll to Top */
	.scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; line-height: 40px; font-size: 18px; }

	/* --- PAGINATION --- */
	ul.page-numbers { margin-top: 20px; }
	ul.page-numbers li a.page-numbers,
	span.page-numbers.current { padding: 8px 14px; font-size: 13px; }

	/* --- PRIVACY / TERMS --- */
	.content-card { padding: 25px 20px; }

	/* --- TABLE RESPONSIVE --- */
	.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

	/* --- FORM RESPONSIVE --- */
	.contact-form .btn { width: 100%; padding: 14px 20px; font-size: 13px; }
	.services-link .booking-submit { width: 100%; text-align: center; }
}

/* ===== MOBILE LARGE (480px - 767px) ===== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.slider-item { height: 420px; }
	.slider-animated h2 { font-size: 30px; }
	.slider-animated p { font-size: 15px; margin: 0 40px; }
	.slide-carousel.owl-carousel .owl-nav { top: 85%; }
	.choose-item { padding: 30px 35px; }
	.caption-photo-area .col-xs-12 { width: 50%; }
	.services-area .col-xs-12 { width: 50%; }
	.recent-works .col-xs-12 { width: 50%; }
	.blog-area .col-xs-12 { width: 50%; }
	.clear-four:nth-child(2n+1) { clear: both; }
	.clear-three:nth-child(3n+1) { clear: none; }
	.clear-three:nth-child(2n+1) { clear: both; }
	.blog-photo { height: 240px; }
	.team-photo { height: 260px; }
	.caption-photo { height: 190px; }
	.recent-photo { height: 210px; }
	.services-photo { height: 210px; }
}

/* ===== SMALL MOBILE (max-width: 479px) ===== */
@media only screen and (max-width: 479px) {
	.slider-item { height: 340px; }
	.slider-animated h2 { font-size: 20px; }
	.slider-animated p { font-size: 12px; margin: 0 10px; }
	.slider-animated li a { font-size: 11px; padding: 9px 22px; }
	.headline h2 { font-size: 20px; }
	.banner-slider { height: 170px; }
	.banner-text h1 { font-size: 20px; }
	.about-mission { padding: 20px 18px; }
	.about-mission h3 { font-size: 17px; }
	.faq-gallery h3 { font-size: 20px; }
	.faq-gallery h4.sub { font-size: 13px; }
	.faq-gallery h4.panel-title a { padding: 12px 40px 12px 14px; font-size: 13px; }
	.services-item { margin-top: 15px; }
	.recent-item { margin-top: 15px; }
	.blog-item { margin-top: 15px; }
	.team-item { margin-top: 15px; }
	.caption-item { margin-top: 12px; }
	.client-name h4 { font-size: 15px; }
	.testimonial-detail { padding: 18px 15px; }
	.counter-item h2.counter { font-size: 28px; }
	.footer-main { padding: 35px 0 20px; }
	.footer-col h3 { font-size: 17px; }
	.logo img { height: 36px; }
}

/* ===== EXTRA SMALL (max-width: 380px) ===== */
@media only screen and (max-width: 380px) {
	.slider-item { height: 300px; }
	.slider-animated h2 { font-size: 18px; }
	.slider-animated p { font-size: 11px; margin: 0 8px; }
	.slider-animated li a { font-size: 10px; padding: 8px 18px; }
	.slide-carousel.owl-carousel .owl-nav .owl-prev,
	.slide-carousel.owl-carousel .owl-nav .owl-next {
		width: 34px; height: 34px; line-height: 30px; font-size: 13px;
	}
	.headline h2 { font-size: 18px; }
	.banner-slider { height: 150px; }
	.banner-text h1 { font-size: 18px; }
	.recent-menu ul li { padding: 6px 12px; font-size: 10px; }
	.about-mission { padding: 18px 15px; }
	.about-mission h3 { font-size: 16px; }
	.booking-gallery { padding: 20px 15px; }
	.booking-gallery h3 { font-size: 18px; }
	.counter-item h2.counter { font-size: 26px; }
	.footer-col h3 { font-size: 16px; }
	.footer-contact-item h4 { font-size: 13px; }
	.mean-container .mean-bar::after { font-size: 14px; }
}

/* ===== STICKY MENU HIDE ON MOBILE ===== */
@media only screen and (max-width: 991px) {
	#strickymenu.sticky { display: none; }
	body.sticky { padding-top: 0; }
}

/* ===== PRINT STYLES ===== */
@media print {
	.header-area, .menu-area, .mean-container, .footer-contact-area,
	.footer-main, .footer-copyrignt, .scroll-top, .banner-slider { display: none !important; }
	.container { width: 100%; }
	body { font-size: 12pt; color: #000; }
}
