/*
Theme Name: AD Education Theme
Theme URI:  https://example.com
Author:     Your Name
Author URI: https://example.com
Description: Custom theme converted from HTML template
Version:    1.0
License:    GNU General Public License v2 or later
Text Domain: ad-education-theme
*/

img.site-logo {
    height: 70px;
    width: auto;
}
p.hsg a {
    color: #6B6A75;
}
a.tell:hover, p.hsg a:hover {
    text-decoration: none;
}

a.tell {
    color: rgba(255, 255, 255, 0.5) !important;
}
.navbar-light li a {
    font-family: 'Jost';
    padding: 30px 15px;
    font-size: 20px;
    font-weight: 500;
    color: #120F2D;
    outline: none;
}
.navbar {
    padding: 12px 3rem !important;
}
.top-bar a:hover {
    color: #E31E24 !important;
    text-decoration: none;
}
.top-bar a {
    color: #fff;
}

button.tab-btn:hover {
    background: #333;
    color: #fff;
}
.tabs p, .tabs li {
    color: #000;
}
span.gfs {
    font-size: 25px;
    text-transform: uppercase;
}
.navigation .join {
    background: #e31e24;
    border-color: #e31e24;
    padding: 8px 50px !important;
    font-size: 22px;
    text-transform: uppercase;
}
.navigation .join:hover {
    background: #2b2a29;
    border-color: #2b2a29;
    color: #e31e24;
}
  :root {
    --animation-speed: 40s;
    --slide-width: 250px;
    --slide-height: 100px;
    --visible-count: 7; /* how many slides visible at once */
  }

  /* Container showing visible slides */
  .slider {
    height: var(--slide-height);
    width: auto;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }

  /* The track that moves */
  .slide-track {
    display: flex;
    width: 3500px; /* 250px * 14 duplicated slides = 3500px */
    animation: scroll var(--animation-speed) linear infinite;
  }

  /* Each slide */
  .slide {
    flex: 0 0 var(--slide-width);
    height: var(--slide-height);
    box-sizing: border-box;
  }

  .slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-drag: none;
    user-select: none;
    -webkit-user-drag: none;
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1750px); } /* -250px * 7 */
  }
  
  .slider {
    margin-bottom: 130px;
    margin-top: 70px;
}


/*--contact-form-starts--*/
/* Layout + spacing */
.wpcf7 .form-row {
  display: flex;
  gap: 30px;              /* space between two columns */
  align-items: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap;        /* allow stacking on small screens */
}

.wpcf7 .form-row .col-6 {
  flex: 1 1 0;
  min-width: 220px;       /* prevent too-narrow columns */
}

/* General field spacing */
.wpcf7 .form-group {
  margin-bottom: 18px;
}

/* Make inputs & textarea full width of their container */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 input[type="number"],
.wpcf7 select {
  display: block;
  width: 100%;
  padding: 10px 8px;
  border: none;
  border-bottom: 1px solid #d6d6d6; /* same thin line style as screenshot */
  background: transparent;
  outline: none;
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
}

/* Placeholder style (optional) */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #6B6A75;
  font-family: 'Open sans';
  font-size:18px;
}

/* Textarea size & remove extra margin */
.wpcf7 textarea {
  min-height: 160px;     /* adjust to desired height */
  resize: vertical;
  padding-bottom: 12px;  /* nicer bottom padding */
}

/* Button styling */
.wpcf7 .wpcf7-submit {
  background: #2176fb;   /* blue button - change as needed */
  color: #fff;
  border: none;
  padding: 14px 26px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: none;
  display: inline-block;
  margin-top: 10px;
}

/* Small visual polish on focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-bottom-color: #2176fb;
}

/* If your theme uses default label above input — make label spacing */
.wpcf7 label {
  display: block;
  margin-bottom: 6px;
  color: #666;
  font-size: 13px;
}

/* Mobile: stack columns */
@media (max-width: 740px) {
  .wpcf7 .form-row {
    flex-direction: column;
    gap: 12px;
  }
}

/*--contact-form-ends--*/


.tabs {
  width: 100%;
  margin: 20px auto;
}

.tab-buttons {
  display: flex;
  gap: 0px;
}

.tab-buttons button {
  padding: 21px 33px;
  border: none;
  background: #ddd;
  cursor: pointer;
  font-size: 30px;
  border-radius: 0px;
  font-family: 'Jost';
}
button.tab-btn:focus {
    outline: 0;
}
.tab-buttons button.active {
  background: #c91f28;
  color: #fff;
}

.tab-content {
  border: 1px solid #eee;
  margin-top: 15px;
  padding: 20px;
  border-radius: 5px;
  background: #fafafa;
}

@media only screen and (min-width:0px) and (max-width:420px){
      img.site-logo {
        width: 100%;
        height: 35px;
    }
    a.ghg {
    display: block;
}
a.navbar-brand {
    white-space: normal !important;
    word-break: break-word;
    hyphens: auto;
}
div#courses, .student-image {
    padding-bottom: 0PX !IMPORTANT;
    padding-top: 0px !important;
}
.tab-buttons{
    display: block;
}
.navbar {
    padding: 12px 1rem !important;
}
.wpcf7 .form-row .col-6 {
    min-width: 100%;
}
div#about {
    padding-bottom: 0px !important;
}
.tab-buttons button{
    width:100%;
    font-size:21px;
}
}
@media only screen and (min-width:421px) and (max-width:600px){
    .navbar {
    padding: 12px 1rem !important;
}
/*a.ghg {*/
/*    display: block;*/
/*}*/
div#courses, .student-image {
    padding-bottom: 0PX !IMPORTANT;
}
.tab-buttons button{
    width:100%;
    font-size:21px;
}
div#about {
    padding-bottom: 0px !important;
}
.student-image > div {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}
a.navbar-brand {
    white-space: normal !important;
    word-break: break-word;
    hyphens: auto;
}
img.site-logo {
    width: 100%;
    height: 50px;
}
.tab-buttons {
    flex-wrap: wrap;
}
button.tab-btn {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}
}
@media only screen and (min-width:601px) and (max-width:990px){
    .tab-buttons button{
            font-size: 21px;

    }
}
@media only screen and (min-width:991px) and (max-width:1200px){
    img.site-logo {
    height: 45px;
}
 .tab-buttons button{
            font-size: 21px;

    }
.navbar-light li a{
    padding: 15px 9px;
    font-size: 17px;
}
.navigation .join{
    padding:8px 22px !important;
    font-size: 17px;
}
div#courses, .student-image {
    padding-bottom: 0px !IMPORTANT;
}
}

@media only screen and (min-width:1201px) and (max-width:1350px){
    img.site-logo {
    height: 55px;
}
.navigation .join{
    padding: 8px 29px !important;
    font-size: 15px;
}
div#courses {
    padding: 0px !important;
}
}
