/* 
 Theme Name:   ai-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     ai-automation
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/
:root {
    --primary: #ffcd69;
    --secondary: #5bc0eb;
}


section {
    padding: 30px 0;
}


h1 {
    color: #fff;
    text-transform: capitalize;
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    font-weight: 700;
}

.home-btn {
    border: 2px solid var(--primary);
    padding: 10px 25px;
    border-radius: 20px;
}

.home-btn:hover {
    border: 2px solid var(--secondary);
    background: var(--secondary);
}


.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 17px;
}

.social-icons span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #000;
    background-color: color-mix(in srgb, var(--primary), white 20%);
    font-size: 1.2rem;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.social-icons span:hover {
    background: var(--primary);
    transform: translateY(-2px);
}


.main-navigation a {
    padding: 10px 12px;
}


.single-page-img {
    background-image: url('/wp-content/themes/ai-child/img/hero-bg.jpg') !important;
    background-position: bottom !important;
}

.box-text {
    left: 0;
    right: 0;
}

@media screen and (max-width: 500px) {
    .box-text {
        top: 5%;
        left: 5%;
        right: 5%;
    }
}

section img {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

section h2 {
    text-align: center;
}


table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 25px 0;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
    }
}

td,
th {
    border: 1px solid #000;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #D6EEEE;
}

.box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 24px;
    border-radius: 16px;
    color: #222;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}