/*
Theme Name: Kiniso Agency Theme
Author: KinISO
Version: 1.0
*/

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Raleway:wght@300;400;500;600;700&display=swap');

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES */
:root {
    --primary: #990302;
    --primary-hover: #820101;

    --heading-color: #333333;
    --body-text: #666666;

    --white: #ffffff;
    --black: #000000;
    --light-gray: #f5f5f5;
    --border: #e5e5e5;
	
	--footer-bg: #71706e;
}

/* BASE */
body {
    font-family: 'Raleway', sans-serif;
    color: var(--body-text);
    line-height: 1.6;
    background: var(--white);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: 'Raleway', sans-serif;
    color: var(--heading-color);
}

h1 { font-size: 42px; font-weight: 700; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h6 { font-size: 18px; }

div:has(> h2.underline-title:only-child) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.underline-title{
  margin-bottom: 20px;
  position: relative;
}
.underline-title::after {
  content: "";
  width: 40px;
  height: 3px;
  background: var(--primary);
  display: block;
  margin-top: 10px;
}

p {
    font-size: 18px;
    color: var(--body-text);
	margin-bottom: 1rem;

}

a {
    text-decoration: none;
    color: var(--primary);
}
a:hover{
	text-decoration: underline;
}

/* CONTAINER */
/* .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} */

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* SPACING */
.section {
    padding: 60px 0;
}



/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.4em 0.8em;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.3s ease;
    cursor: pointer;
	border-width:2px;
	line-height:1.7em;
	max-height:36px;
}
.btn:hover{
	cursor: pointer;
}

.btn.primary {
    background: var(--primary);
    color: var(--white);
}

.btn.primary:hover {
    background: var(--primary-hover);
}

.btn.apply {
    color: var(--black);
	border: 2px solid var(--black);
}

.btn.apply:hover {
        background: var(--black);
    color: var(--white);
}

.btn.secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn.secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn.white {
    color: var(--white);
	border: 2px solid var(--white);
}

.btn.white:hover {
        background: var(--white);
    color: var(--primary);
}

.link-arrow,
.btn-arrow {
  display: inline-flex ;
  align-items: center;
  text-decoration: none;
}

/* ARROW (hidden + no space initially) */
.link-arrow::after,
.btn-arrow::after {
  content: "→";
  opacity: 0;
  width: 0;
  overflow: hidden;
  margin-left: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

/* ON HOVER */
.link-arrow:hover::after,
.btn-arrow:hover::after {
  opacity: 1;
  width: auto;
  margin-left: 8px;
  transform: translateX(0);
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

/* UTILITIES */
.text-center { text-align: center; }

/* IMAGE */
img {
    max-width: 100%;
    display: block;
}

/* RESPONSIVE */
@media(max-width:768px){
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}