/**
 * Responsive Homepage Styles
 * Media queries for 4 breakpoints: 1200px+, 768-1199px, 480-767px, <480px
 */

/* ===========================
   DESKTOP (1200px+) - DEFAULT
   =========================== */
/* All desktop styles are in homepage.css (base) */

/* ===========================
   TABLET (768px - 1199px)
   =========================== */

@media (max-width: 1199px) and (min-width: 768px) {
    /* Hero Section */
    .hero-section {
        max-width: 100%;
        min-height: 900px;		
		background-size: 100%;
		padding-bottom:50px;
    }
	.hero-background{
		background-image: url('/assets/images/hero_1199.webp');	
	}

    .hero-overlay {
        min-height: 900px;
    }

    .hero-container {
		width: 50%;
    	margin-left: 40px;
    	padding: 0 10px;
    	margin-top: -100px;
    }

    .hero-content {
        text-align: left;
        margin: 20px;
    }

    .hero-title {
		width: 400px;
    	font-size: 2rem;
    	margin-top: -50px;
    	text-align: left;
    }

    .hero-subtitle {
        font-size: 1rem;
        width: 400px;
        padding: 0px;
		margin-left: 0px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
		margin-left: 50px;
  		margin-top: 100px;
    }

    /* Features Section */
    .features-section {
        max-height: none;
        padding: 80px 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Content Section */
    .content-section {
        height: auto;
        padding: 40px 20px;
    }

    .content-section-left {
        padding-top: 20px;
        padding-left: 20px;
    }

    .content-section-left h1 {
        font-size: 1.8rem;
    }

    .content-section-right {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .content-section-right p {
        font-size: 1rem;
    }

    /* CTA Section */
    .cta-section {
        height: auto;
        padding: 40px 20px;
    }

    .cta-section-left {
        padding-top: 20px;
        padding-left: 20px;
    }

    .cta-section-right {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .cta-section-right h2 {
        font-size: 1.6rem;
    }

    .cta-section-right p {
        font-size: 1rem;
    }

    .btn-primary-cta {
        margin-left: 0;
        margin-top: 20px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   MOBILE (480px - 767px)
   =========================== */

@media (max-width: 767px) and (min-width: 480px) {
    /* Hero Section */
    .hero-section {
        max-width: 100%;
        min-height: 400px;
    }
	.hero-background {
		background-image: url('/assets/images/hero_1199.webp');	
	}
    .hero-overlay {
        min-height: 400px;
    }

    .hero-container {
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 15px;
        border-radius: 10px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        width: 100%;
        margin-right: 0;
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons a {
        width: 200px;
    }

    /* Features Section */
    .features-section {
        max-height: none;
        padding: 30px 15px;
        background-attachment: scroll;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding-left: 15px;
        padding-right: 15px;
        gap: 1.5rem;
    }

    .feature-card {
        margin-top: 0;
        padding: 1.5rem;
        border-radius: 15px;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 2rem 15px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Content Section */
    .content-section {
        height: auto;
        padding: 30px 15px;
    }

    .content-section-left {
        padding-top: 15px;
        padding-left: 0;
    }

    .content-section-left h1 {
        font-size: 1.3rem;
        text-align: center;
    }

    .content-section-right {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .content-section-right p {
        font-size: 0.95rem;
        text-align: center;
    }

    /* CTA Section */
    .cta-section {
        height: auto;
        padding: 30px 15px;
    }

    .cta-section-left {
        padding-top: 15px;
        padding-left: 0;
        display: none;
    }

    .cta-section-right {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }

    .cta-section-right h2 {
        font-size: 1.3rem;
        text-align: center;
    }

    .cta-section-right p {
        font-size: 0.95rem;
        text-align: center;
    }

    .btn-primary-cta {
        display: block;
        margin: 20px auto 0;
        width: fit-content;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* ===========================
   SMALL MOBILE (<480px)
   =========================== */

@media (max-width: 479px) {
    /* Hero Section */
    .hero-section {
        max-width: 100%;
        min-height: 730px;
    }
	.hero-background{
		background-image: url('/assets/images/hero_1199.webp');	
		background-size: 450px;
	}
    .hero-overlay {
        min-height: 710px;
    }

    .hero-container {
        width: 100%;
        margin-left: 0;
        padding: 0 10px;
		height: 710px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 10px;
        border-radius: 8px;
		margin-top: 120px;
    }

    .hero-title {
		font-size: 1.3rem;
    	margin-top: 20px;
    	margin-bottom: 250px;
    	text-align: left;
    	width: 200px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    	width: 100%;
    	margin-right: 0;
    	padding: 0;    
    	padding-bottom: 20px;
    	margin-bottom: 1rem;
    	text-align: left;
    	margin-left: 0px;
    }

    .hero-buttons {
        flex-direction: column;
    	align-items: center;
    	gap: 8px;
    	margin-top: 0px;
    	margin-left: 0px;
    }

    .hero-buttons a {
        width: 90%;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Features Section */
    .features-section {
        max-height: none;
        padding: 20px 10px;
        background-attachment: scroll;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding-left: 10px;
        padding-right: 10px;
        gap: 1rem;
    }

    .feature-card {
        margin-top: 0;
        padding: 1rem;
        border-radius: 12px;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .feature-card p {
        font-size: 1rem;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 1.5rem 10px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Content Section */
    .content-section {
        height: auto;
        padding: 20px 10px;
		background-image: url('/assets/images/buble_l.webp');
    	background-size: 750px;
    }

    .content-section-left {
        padding-top: 10px;
        padding-left: 0;
    }

    .content-section-left h1 {
    	font-size: 1.5rem;
    	text-align: left;
    	line-height: 1.8;
		margin-top:100px;
  }
    .content-section-right {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }

    .content-section-right p {
        font-size: 0.85rem;
        text-align: right;
        line-height: 1.4;
		margin-right:40px;
		color:white;
		visibility: hidden;
    }
	.content-section-right a {
        font-size: 1rem;
        text-align: right;
        line-height: 1.4;
		margin-right:80px;
		font-weight:500;
		color:white;
    }
	.content-section-right a:hover, visited {
        font-size: 1rem;
        text-align: right;
        line-height: 1.4;
		margin-right:80px;
		font-weight:500;
		color:white;
    }
	

    /* CTA Section */
    .cta-section {
        height: 400px;
    	padding: 20px 10px;
    	background-image: url('/assets/images/bookss.webp');
    	background-size: 450px;
    	background-repeat: no-repeat;
    	margin-top: -150px;
    }

    .cta-section-left {
        padding-top: 10px;
        padding-left: 0;
        display: none;
    }

    .cta-section-right {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }

    .cta-section-right h2 {
        font-size: 1.2rem;
   		text-align: center;
    	margin-left: 100px;
    	margin-top: 30px;
    }

    .cta-section-right p {
        font-size: 0.9rem;
    	text-align: right;
    	margin-left: 160px;
    	margin-top: 0px;
    }

    .btn-primary-cta {
        margin: 40px 0px 0px 200px;
    	width: 50%;
    	font-size: 0.9rem;
    	padding: 10px;
    	border: 0px solid #fff;
    	background-color: transparent;
    }

    .section-title {
        font-size: 1.2rem;
    }
	
}