/* ===== Variables ===== */
:root {
    --color-primary: #e63946;
    --color-primary-dark: #c82333;
    --color-bg-overlay: rgba(0, 0, 0, 0.7);
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(230, 57, 70, 0.2);
    --shadow-hover: 0 15px 40px rgba(230, 57, 70, 0.3);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
:root {
    --ptn-red: #DC2626;
    --ptn-red-light: #FEE2E2;
    --ptn-red-dark: #991B1B;
    --ptn-black: #1F2937;
    --ptn-black-light: #6B7280;
    --ptn-black-subtle: #F3F4F6;
    --ptn-green: #10B981;
    --ptn-green-light: #D1FAE5;
    --ptn-blue: #030e20;
    --ptn-blue-light: #DBEAFE;
    --white: #FFFFFF;
    --off-white: #f7f5f5;
    --gray-light: #E5E7EB;
    
    /* Semantic Colors */
    --color-primary: var(--ptn-red);
    --text-primary: var(--ptn-black);
    --text-secondary: var(--ptn-black-light);
    --bg-secondary: var(--off-white);
    --bg-card: var(--white);
    --border-primary: var(--gray-light);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden !important;
    max-width: 100% !important;
    position: relative;
}

a{
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
}


.full-width-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 40px;
    flex-direction: column;
    gap: 20px;
}

.boxed-container {
    width: 1140px;
}
.gray-light-bg {
    background-color: var(--off-white);
}

/* Headings */

.h2-heading {
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 24px;
}

.h2-heading span{
    text-align: center;
    color: #DC2626 !important;
    font-weight: 600;
    font-size: 24px;

}

.h3-heading{
    font-weight: 500;
}
h3 {
    color: black;
    font-size: 20px;
}

/* All-Texts */

.text {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: justify;
    font-size: 0.95rem;
}

.desc-text {
    text-align: center;
    width: inherit;
}

/* Hero */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.7)), url("../assets/jpg/banner.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
	padding: 15px 50px;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s;
	border: 2px solid transparent;
	cursor: pointer;
    border-radius: var(--radius-full);
}

.btn-primary {
	background: var(--btn-primary-bg);
	color: var(--btn-primary-text);
}

.btn-primary:hover {
	background: var(--btn-primary-hover);
}

.btn-secondary {
	background: var(--btn-secondary-bg);
	color: var(--white);
	border-color: var(--white);
}

.btn-secondary:hover {
	background: var(--white);
	color: var(--color-secondary);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    /* padding: 0 20px; */
}

.hero-content h1 {
    color: white;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-subtitle {
    
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px !important;
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
    padding: 0px 200px;
    text-align: center;
}


.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e63946;
    line-height: 1.2;
}

.stat-label {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* page-title-hero */

.pages-hero-section{
    position: relative;
    width: 100%;
    height: 60vh;
    margin-top: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.7)), url("../assets/jpg/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pages-hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    color: white;
    display: inline-block;
}

.pages-hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e63946;
}

/*----------------------------------------------- About-Section -----------------------------------------------*/

 .about {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
.about-img {
    flex: 1 1 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    aspect-ratio: 4/3;
}

.about-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--color-primary) 0%, transparent 100%);
    opacity: 0.1;
    transition: var(--transition-slow);
}

.about-img:hover::after {
    opacity: 0.2;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
}

/* Button */

.btn-container {
    margin-top: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 2.2rem;
    background-color: var(--color-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--radius-full);
    background-color: rgba(255, 75, 75, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: var(--ptn-red-dark);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn span {
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.btn span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    right: -20px;
    transition: 0.5s;
}

.btn:hover span {
    padding-right: 10px;
}

.btn:hover span:after {
    opacity: 1;
    right: 0;
}

/* ===== Container ===== */
.about-full-width-container {
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(var(--color-bg-overlay), var(--color-bg-overlay)), 
                      url("../assets/jpg/solar-hero.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}




/* Mobile Responsive */
@media (max-width: 768px){
    .boxed-container{
        padding: 0px 10px;
        width: 95%;
        margin: auto;

    }

    .btn-container{
        display: flex;
        justify-content: center;
    }
}
/* @media (max-width: 750px){
    .boxed-container{
        padding: 0px 10px;
        width: 98%;
    }

    .btn-container{
        display: flex;
        justify-content: center;
    }
} */

/* Hero-responsive */
@media (max-width: 768px) {
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    .hero-section{
        padding-bottom: 10px;
    }
    .hero-content{
        padding: 0;
    }
    .hero-subtitle{
        padding: 5px;
        font-size: 15px !important;
    }
}


@media (max-width: 1140px) {
    .rcon{
        width: 98%;
    }
}