/*
Theme Name: QraOnline Theme
Theme URI: https://example.com/
Author: QraOnline
Author URI: https://example.com/
Description: A lightweight custom theme made to be editable with Elementor.
Version: 1.0
Text Domain: qraonline
*/

@font-face {
  font-family: 'Axiforma';
  src: url('./font/Axiforma.woff2') format('woff2'),
       url('./font/Axiforma.woff') format('woff');
  font-weight: 400px;
  line-height: normal;
}
@font-face {
  font-family: 'fields';
  src: url('./font/Fieldstones.woff2') format('woff2'),
       url('./font/Fieldstones.woff') format('woff');
  font-weight: 400px;
  line-height: normal;
}
:root{
	--bg:#ffffff;
	--accent:#a9d18e;
	--white: #ffffff;
}

*{
	margin:0;
	padding:0;
	box-sizing:border-box;
	font-family:"Axiforma", sans-serif;
    
}

/* Global */
body{
	background:var(--bg);
	font-family:"Axiforma", sans-serif;
	/* font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; */
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	color:#111;
}

/* HERO SECTION (responsive) */
.hero{
	background-image: url('./1.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	border-radius: clamp(12px, 2vw, 40px);
	/* vertical padding scales with viewport; horizontal stays comfortable */
	padding: clamp(40px, 8vh, 120px) 20px clamp(60px, 12vh, 200px);
	text-align: center;
	color: var(--white);
	display:flex;
	align-items:center;
	justify-content:center;
	min-height: 90vh; /* ensures visible hero on short content */
}

.hero-inner{
	width:100%;
	max-width: 900px;
	padding: 0 3% 12%;
}

/* TOP TEXT */
.top-text{
	font-family: "Axiforma", sans-serif;
	font-weight:400;
	font-size: clamp(12px, 2.2vw, 16px);
	line-height:1.2;
	color: rgba(255,255,255,0.95);
	margin-bottom: 1rem;
}

/* TITLE */
.hero-title{
	font-family: "fields", sans-serif;
	font-weight:500;
	/* fluid heading: min 28px up to 48px */
	font-size: clamp(28px, 6vw, 48px);
	line-height: clamp(34px, 7vw, 58px);
	color: rgba(255,255,255,0.98);
	max-width:100%;
	margin: 0 auto 1.5rem;
}

/* BUTTON */
.signup-btn{
	background: var(--accent);
	border: none;
	padding: clamp(10px, 2.4vw, 18px) clamp(24px, 6vw, 60px);
	border-radius: 999px;
	font-family: "Axiforma", sans-serif;
	font-size: clamp(14px, 2.2vw, 18px);
	cursor: pointer;
	transition: transform 200ms ease, box-shadow 200ms ease, opacity 120ms;
}
.signup-btn:hover{transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.18);} 
.signup-btn:active{transform: translateY(0);}
.signup-btn:focus{outline: 3px solid rgba(0,0,0,0.12); outline-offset: 3px;}

/* CREDIT TEXT */
.credit{
	font-family: "Axiforma", sans-serif;
	font-size: clamp(12px, 2vw, 14px);
	margin-top: 12px;
	opacity:0.9;
}

/* Small screens tweaks */
@media (max-width: 768px){
	.hero{ background-position: center top; min-height: 55vh; }
	.hero-inner{ max-width: 680px; }
}

@media (max-width: 480px){
	.hero{ border-radius: 12px; padding: 28px 14px 48px; min-height: 50vh; }
	.hero-title{ font-size: clamp(22px, 8vw, 34px); line-height: 1.15; }
	.signup-btn{ width: 100%; padding-left: 0; padding-right: 0; }
}




/* 1  Utility: keep large images from overflowing if used elsewhere */
img{max-width:100%;height:auto;display:block}

.feature-section{
padding:100px 20px;
background:#ffffff;
}

.feature-container{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
}

/* LEFT SIDE */

.feature-left{
flex:1;
}

.feature-logo{
width:90px;
margin-bottom:20px;
}

.feature-title{
font-family:"fields", sans-serif;
font-weight:500;
font-size:48px;
line-height:58px;
color:#1a1a1a;
margin-bottom:25px;
}

.feature-text{
font-family:"Axiforma", sans-serif;
font-weight:400;
font-size:15px;
line-height:30px;
color:#5a6b7b;
max-width:520px;
}

/* RIGHT SIDE */

.feature-right{
flex:1;
text-align:right;
}

.feature-image{
max-width:100%;
border-radius:20px;
box-shadow:0 20px 60px rgba(0,0,0,0.15);
}
@media (max-width:900px){

.feature-container{
flex-direction:column;
text-align:center;
}

.feature-right{
text-align:center;
}

.feature-text{
margin:auto;
}

}

/* 2 */
.logo-slider{
background: #ffffff;
padding:10px 0;
overflow:hidden;
}

.logo-track{
display:flex;
align-items:center;
gap:100px;
width:max-content;
animation:scroll 25s linear infinite;
}

.logo-track img{
height:70px;
object-fit:contain;
opacity:0.8;
transition:0.3s;
}

.logo-track img:hover{
opacity:1;
}

/* animation */

@keyframes scroll{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}

/* 3 */
.video-section{
background:#ffffff;
padding:100px 20px;
text-align:center;
}

.video-container{
max-width:900px;
margin:auto;
}

/* icon */

.video-icon{
width:40px;
margin-bottom:20px;
}

/* title */

.video-title{
font-family:"fields", serif;
font-size:44px;
line-height:54px;
margin-bottom:20px;
color:#111;
}

/* paragraph */

.video-text{
font-family:"Axiforma", sans-serif;
font-size:16px;
line-height:26px;
color:#444;
max-width:650px;
margin:auto;
margin-bottom:40px;
}

/* video */

.video-box{
border:4px solid #f5c400;
border-radius:20px;
overflow:hidden;
}

.video-box video{
width:100%;
display:block;
}

/* link */

.video-link{
display:inline-block;
margin-top:20px;
font-family:"Axiforma", sans-serif;
font-size:16px;
text-decoration:none;
color:#000;
border-bottom:1px solid #000;
padding-bottom:3px;
}

/* 5 */
.blue-section{
  position:relative;
  background:#002c62;
  color:#fff;
  text-align:center;
  padding:140px 20px;
  overflow:hidden;
}

/* TEXT */

.content{
  position:relative;
  z-index:2;
}

.content h2{
  font-family:"fields", serif;
  font-size:48px;
  margin-bottom:15px;
}

.content p{
  font-family:"Axiforma", sans-serif;
  max-width:700px;
  margin:auto;
  margin-bottom:50px;
}

/* CARDS */

.cards{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
  margin-bottom:50px;
}

.card{
  width:240px;
  
  padding:15px;
  border-radius:15px;
  backdrop-filter:blur(10px);
  transition:0.3s;
}

.card img{
  width:100%;
  border-radius:10px;
  margin-bottom:10px;
}

.card h4{
  font-family:"Axiforma", sans-serif;
  font-size:12px;
  color:#fff;
}

/* hover */

.card:hover{
  transform:translateY(-5px);
}

/* BUTTON */

.btn{
  background:#fff;
  color:#000;
  border:none;
  padding:15px 40px;
  border-radius:30px;
  font-size:16px;
  cursor:pointer;
}

/* CURVES */

.curve-top,
.curve-bottom{
  position:absolute;
  left:0;
  width:100%;
  height:120px;
}

.curve-top{ top:0; }
.curve-bottom{ bottom:0; }

.curve-top svg,
.curve-bottom svg{
  width:100%;
  height:100%;
}

.curve-top path,
.curve-bottom path{
  fill:#ffffff;
}
@media (max-width:900px){
  .cards{
    flex-direction:column;
    align-items:center;
  }
}
/* headerll */



/* NAVBAR */

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 40px;
  background:#ffffff;
  border-bottom:1px solid #eee;
}

/* LOGO */

.logo{
  height:35px;
}

/* MENU */

.nav-menu{
  display:flex;
  gap:25px;
}

.nav-menu a{
  text-decoration:none;
  color:#222;
  font-weight: 400px;
  line-height: 24px;
  font-size:12px;
  transition:0.3s;
}

.nav-menu a:hover{
  color:#0b4ea2;
}

/* RIGHT SIDE */

.nav-right{
  display:flex;
  align-items:center;
  gap:15px;
}

/* LOGIN */

.login{
  text-decoration:none;
  color:#000;
  font-size:14px;
}

/* DEMO BUTTON */

.demo-btn{
  padding:10px 18px;
  border-radius:25px;
  border:1px solid #000;
  background:transparent;
  cursor:pointer;
  font-size:14px;
}

/* SIGNUP BUTTON */

.signup-btn{
  padding:10px 18px;
  border-radius:25px;
  border:none;
  background:#1f8f6b;
  color:#fff;
  cursor:pointer;
  font-size:14px;
}

/* HOVER */

.demo-btn:hover{
  background:#000;
  color:#fff;
}

.signup-btn:hover{
  background:#166b52;
}
@media (max-width:900px){

.nav-menu{
  display:none;
}

}
/* footer */
.footer{
background:#002c62;
color:#fff;
font-family:"Axiforma", sans-serif;
}

/* CONTAINER */

.footer-container{
max-width:1200px;
margin:auto;
padding:60px 20px;
}

/* TOP */

.footer-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.footer-logo{
height:40px;
}

.socials span{
margin-left:15px;
cursor:pointer;
}

/* GRID */

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr 1fr;
gap:40px;
margin-top:30px;
}

/* LEFT */

.footer-left h4{
margin-bottom:20px;
}

.footer-left ul li{
margin-bottom:10px;
}

/* LINKS */

.footer-grid h4{
margin-bottom:15px;
}

.footer-grid ul{
list-style:none;
padding:0;
}

.footer-grid li{
margin-bottom:10px;
opacity:0.8;
cursor:pointer;
}

.footer-grid li:hover{
opacity:1;
}

/* SOFTWARE TAGS */

.footer-software{
margin-top:40px;
display:flex;
align-items:center;
gap:20px;
flex-wrap:wrap;
}

.software-tags{
display:flex;
gap:10px;
}

.tag{
padding:8px 15px;
border-radius:20px;
background:#ffffff20;
}

.tag.active{
background:#fff;
color:#000;
}

/* BOTTOM */

.footer-bottom{
background:#01244f;
padding:20px;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
}

.bottom-links span{
margin-right:15px;
font-size:14px;
opacity:0.8;
}

/* curvveee */
.her{
  position:relative;
  background:linear-gradient(180deg,#1457a6,#1e88e5);
  color:#fff;
  text-align:center;
  padding:50px 0px 11px;
  overflow:hidden;
}

/* CONTENT */

.hero-content{
  position:relative;
  z-index:2;
  max-width:800px;
  margin:auto;
}

.sub{
  font-size:14px;
  opacity:0.8;
  margin-bottom:15px;
}

.her h1{
  font-family:"fields", serif;
  font-size:48px;
  line-height:60px;
  margin-bottom:20px;
}

.desc{
  font-family:"Axiforma", sans-serif;
  font-size:16px;
  max-width:600px;
  margin:auto;
  margin-bottom:30px;
}

/* BUTTON */

.her button{
  background:#fff;
  color:#000;
  border:none;
  padding:14px 35px;
  border-radius:30px;
  cursor:pointer;
}

/* IMAGE */

.hero-image{
  position:absolute;
  bottom:-60px;
  left:50%;
  transform:translateX(-50%);
  width:500px;
  z-index:2;
}

.hero-image img{
  width:100%;
}

/* CURVES */

.curve-top,
.curve-bottom{
  position:absolute;
  left:0;
  width:100%;
  height:120px;
}

.curve-top{ top:0; }
.curve-bottom{ bottom:0; }

.curve-top svg,
.curve-bottom svg{
  width:100%;
  height:100%;
}

.curve-top path,
.curve-bottom path{
  fill:#f5f5f5;
}
@media (max-width:900px){

.her h1{
  font-size:34px;
}

.hero-image{
  width:300px;
  bottom:-40px;
}

}