* {
    margin: 0;
    padding: 0;
}
body {
    font-family: "Source Sans Pro", 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 300;
    color: black;
    font-size: 17.5px;
}
a {
    cursor: pointer;
    text-decoration: none;
}

section#template h1:hover  {


    background-color: #2155ff;
    border-color: #2155ff;
border-radius: 80px;
}

/* Header CSS */
header {
    height: 60vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    padding-top: calc((70vh - 280px)/2);
    box-sizing: border-box;
    padding-left: 100px;
    animation: slideshow 15s infinite step-start; /* Instant change, 3 seconds per image */
}

/* Slideshow Animation */
@keyframes slideshow {
    0%, 20% { background-image: url('../img/bgHeader1.jpg'); }
    20%, 40% { background-image: url('../img/bgHeader2.jpg'); }
    40%, 60% { background-image: url('../img/bgHeader3.jpg'); }
    60%, 80% { background-image: url('../img/bgHeader4.jpg'); }
    80%, 100% { background-image: url('../img/bgHeader5.jpg'); }
}

}
header h1 {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 80px;
    margin-bottom: 30px;
}
header ul {
    height: 50px;
}
header ul a {
    height: 55px;
    font-size: 25px;
    padding: 0 15px;
    text-decoration: none;
    line-height: 53px;
    color: #fff;
}

header ul a.download {
    display: inline-block;
    cursor: pointer;
    border: 1px solid #2188ff;
    background-color: #2188ff;
    transition: background-color 0.25s ease-in-out, border-color 0.25s ease-in-out;
    margin-right: 10px;
}
header ul a.download:hover {
    background-color: #2155ff;
    border-color: #2155ff;
}

header ul a.learnMore {
    display: inline-block;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: background-color 0.25s ease-in-out,border-color 0.25s ease-in-out,color 0.25s ease-in-out;
}
header ul a.learnMore:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

@media only screen and (max-width: 875px) {
    header {
        padding: 75px;
        padding-top: 150px;
        background-attachment: unset;
    }
}
@media only screen and (max-width: 800px) {
    header h1 {
        font-size: 50px;
        line-height: 65px;
    }
}

@media only screen and (max-width: 500px) {
    header {
        padding: 12.5px;
        padding-top: 125px;
        background-attachment: unset;
    }
    header h1 {
        font-size: 28px;
        line-height: 50px;
    }
    section#about h1.headerLine {
        color: black; /* Change to a visible color for mobile view */
        font-size: 24px; /* Optionally adjust the font size for better readability */
        text-align: center; /* Ensure it's properly centered */
    }
}
@media only screen and (max-width: 395px) {
  header {
      background-attachment: unset;
      background-position:center top 70px;
      padding-top:220px;
    }
    header h1 {
        text-align: center;
        font-size: 28px;
        line-height: 40px;
    }
    header ul {
        margin-top: 30px;
        text-align: center;
    }
    header ul a {
        width: 70%;
        box-sizing: border-box;
        height: 45px;
        font-size: 20px;
        text-decoration: none;
        line-height: 43px;
    }
    header ul a.download {
        margin: 0;
        margin-bottom: 20px;
    }
}

/* Nav CSS */
nav {
    position: fixed;
    top: 0;
    height: 75px;
    color:white;
    font-weight: 700;
    text-transform: none;
    width: 100%;
    box-sizing: border-box;
    padding: 12.5px 100px;
    transition: background-color 0.25s;
    background-image:url(../img/Sigma1.png);
    background-repeat:no-repeat;
    background-position: center;
    padding-left:150px;
    background-size:100px;
    background-color: #000000;
}
nav a {
    color: #fff;
    transition: color 0.15s ease-in-out;
    text-decoration: none;
}
nav a:hover {
    color:blue;
}
nav a.brandName {
    display: block;
    float: left;
    font-size: 50px;
    line-height: 1;
}
nav ul {
    float: right;
    height: 50px;
}
nav ul a {
    font-size: 17.5px;
    line-height: 50px;
    margin: 0 12.5px;
}

nav.nonTopNav {
    background-color: #218fff;
    box-shadow: 0 0 3vh black;
}
nav.nonTopNav a.brandName {
    color: #2188ff;
}
nav.nonTopNav a {
    color: white;
}
nav.nonTopNav a:hover {
    color: #2188ff;
}
nav button.menuButton {
    display: none;
    float: right;
    border: none;
    background-color: transparent;
    height: 50px;
    width: 50px;
    box-sizing: border-box;
    padding: 2.5px;
    outline: none;
    cursor: pointer;
}
nav button.menuButton svg {
    height: 100%;
    width: 100%;
}
nav button.menuButton svg path {
    transition: fill 0.15s ease-in-out;
    fill: black;
}
nav button.menuButton:hover svg path {
    fill: black;
}
nav.nonTopNav button.menuButton svg path {
    fill: #414f57;
}
nav.nonTopNav button.menuButton:hover svg path {
    fill: #2188ff;
}

nav button.menuButton svg.menuIcon {
    display: block;
}
nav button.menuButton svg.closeIcon {
    display: none;
}

@media only screen and (max-width: 925px) {
    nav {
        padding: 12.5px 25px;
    }
}
@media only screen and (max-width: 755px) {
    nav {
        padding: 12.5px;
    }
    body.activeNavLinks {
        overflow: hidden;
    }
    nav button.menuButton {
        display: block !important;
    }
    body.activeNavLinks nav {
        box-shadow: none;
        background-color: #2188ff;
        height: 45%;
        width: 100%;
        transition: none;
    }
    body.activeNavLinks nav.nonTopNav {
        background-color: #fff;
    }
    nav ul {
        display: none;
    }
    body.activeNavLinks nav ul {
        display: block !important;
        clear: both;
        overflow: auto;
        width: 100%;
        height: auto;
        margin-top: 0;
        background-color: #2188ff;
    }
    body.activeNavLinks nav ul a {
        display: block;
        text-align: center;
        height: 70px;
        font-size: 30px;
        background-color: #2188ff;
    }
    body.activeNavLinks nav button.menuButton svg.menuIcon {
        display: none;
    }
    body.activeNavLinks nav button.menuButton svg.closeIcon {
        display: block;
    }
}
@media only screen and (max-width: 500px) {
    nav {
      padding: 12.5px;
      border: 1px solid #2188ff;
      background-color: #2188ff;

    }



  body.activeNavLinks {
      overflow: hidden;
      border: 1px solid #2188ff;
      background-color: #2188ff;
  }
    nav a.brandName {
        font-size: 40px;
         color: white; /* Ensure text remains visible */
    }
    nav button.menuButton {
        height: 40px;
        width: 40px;
        display:block;
    }
    body.activeNavLinks nav ul {
        margin-top: 0;
        background-color: #2188ff;
        overflow:auto;
    }
    body.activeNavLinks nav ul a {
        height: 60px;
        font-size: 25px;
        background-color: #2188ff;
          overflow:auto;
    }

}

/* Section CSS */

section h1.headerLine {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    line-height: 1;

}
section div.lineContainer {
    width: 100%;
    height: 4px;
    display: block;
    text-align: center;
    font-size: 0;
    margin: 25px 0;
}
section div.lineContainer div.line {
    width: 50px;
    height: 4px;
    display: inline-block;
    background-color: #2188ff;
    margin: 0;
    line-height: 0;
}

div.row {
    width: 100%;
    display: block;
    text-align: center;
}
div.row div.col {
    width: 300px;
    display: inline-block;
}

/* About Section CSS */
section#about {
    padding: 75px 0;
    text-align: center;
    background-image:none;
    background-size:contain;
    background-repeat: no-repeat;
    background-position:left;
    background-attachment: unset;

}
section#about p {
    width: 500px;
    display: inline-block;
    margin-bottom: 25px;
    text-align:justify;
}
section#about a {
    height: 55px;
    font-size: 25px;
    padding: 0 15px;
    text-decoration: none;
    line-height: 53px;
    color: black;
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #c7cbd4;
    transition: border-color 0.25s ease-in-out,color 0.25s ease-in-out;
}
section#about a:hover{
    border-color: #2188ff;
    color: #2188ff;
}

@media only screen and (max-width: 500px) {
    section#about p {
        width: 90%;
          background-size:contain;
          font-size: 15px;
          width:100px
          text-align:left;
          color:black;
          background-position:25px 75px;

    }

    section h1.headerLine {
        color: #2188ff;



    }
  }

    @media only screen and (max-width: 300px) {
        section#about p {
            width: 90%;
            font-size: 15px;
              background-size:contain;
              font-size: 15px;
              width:100px;
              text-align:left;
              color:white;
              background-position:25px 75px;
        }


        section h1.headerLine {
            color: #2188ff;


        }
      }


/* Template Section CSS */
section#template {
    padding: 75px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)), url(../img/bgTemplateSection.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: unset;
}
section#template h1.headerLine {
    color: #2188ff;

}

}
section#template div.lineContainer div.line {
    background-color: white;
}
section#template div.row {
    margin-top: 50px;
}
section#template div.row div.col svg {
    height: 70px;
    width: 70px;
    padding: 5px;
}
section#template div.row div.col svg path {
    fill: #2188ff;
    width: 100%;
    height: 100%;
}
section#template div.row div.col h1, section#template div.row div.col p {
    color: white;
    font-size: 20px;
    font-weight: 200;
}
section#template div.row div.col h1 {
    font-size: 40px;
    line-height: 80px;
    font-weight: 600;
}
@media only screen and (max-width: 906px) {
    section#template div.row div.col {
        width: 270px;
    }
}
@media only screen and (max-width: 816px) {
    section#template div.row div.col {
        width: 250px;
    }
}
@media only screen and (max-width: 757px) {
    section#template div.lineContainer {
        margin-bottom: 50px;
    }
    section#template div.row div.col {
        width: 100%;
        display: block;
        margin-top: 70px;
    }
    section#template div.row div.col p {
        width: 250px;
        display: inline-block;
    }
}

/* Download Section CSS */
section#download {
    padding: 75px 0;
    text-align: center;
}
section#download p {
    width: 500px;
    display: inline-block;
    margin-bottom: 25px;
}
section#download a {
    height: 55px;
    font-size: 25px;
    padding: 0 15px;
    text-decoration: none;
    line-height: 53px;
    color: #fff;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #2188ff;
    background-color: #2188ff;
    transition: background-color 0.25s ease-in-out, border-color 0.25s ease-in-out;
    margin-right: 10px;
}
section#download a:hover {
    background-color: #2155ff;
    border-color: #2155ff;
}
@media only screen and (max-width: 500px) {
    section#download p {
        width: 90%;
    }
    section#download h1.headerLine {
        font-size: 32.5px;
    }
}

/* Contact Section CSS */
section#contact {
    padding: 75px 0;
    text-align: center;
    background-color: #f5f5f5;
  }
section#contact p.desc {
    width: 500px;
    display: inline-block;
    margin-bottom: 25px;
}

section#contact ul {
    display: block;
    text-align: center;
}
section#contact ul li {
    display: inline-block;
    margin: 0 25px;
    margin-top: 40px;
}
section#contact ul li p,section#contact ul li svg {
    display: inline-block;
    line-height: 50px;
    font-size: 25px;
}
section#contact ul li svg {
    width: 52.5px;
    height: 52.5px;
    margin-bottom: 5px;
}
section#contact ul li svg path {
    fill: #414f57;
}
section#contact ul li p {
    text-align: left;
}
section#contact a {
    text-decoration: none;
    border-bottom: 1px dotted #c7cbd4;
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
    color: inherit;
}
section#contact a:hover{
    border-color: #2188ff;
    color: #2188ff;
}

@media only screen and (max-width: 500px) {
    section#contact p.desc {
        width: 90%;
    }
}

/* Footer CSS */
footer {
    padding: 65px 0;
    text-align: center;
    overflow: auto;
}
footer p.copyright {
    font-size: 20px;
    color: #414f57;
    display: block;
    float: left;
    width: calc(100% - 10px);
    text-align: center;
}
footer ul.links {
    text-align: center;
    overflow: auto;
    margin-bottom: 5px;
}
footer ul.links a {
    text-decoration: none;
    height: 35px;
    width: 35px;
    padding: 7.5px 5px;
    display: inline-block;
}
footer ul.links a svg {
    height: 100%;
    width: 100%;
}
footer ul.links a svg path {
    fill: #c7cbd4;
    transition: fill 0.15s ease-in-out;
}
footer ul.links a svg:hover path {
    fill: #414f57;
}

.quote-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.quote-form button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.quote-form button {
    background-color: black;
    color: white;
    cursor: pointer;
    border: none;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.quote-form button:hover {
    background-color: gray;
}

.contact-prompt {
    text-align: center;
    margin-top: 20px;
}

.contact-prompt a {
    color: blue;
    text-decoration: underline;
}

/* Wrapper for the ticker */
.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: #f9f9f9; /* Optional background */
    padding: 10px 0;
    border: 1px solid #ddd;
}

/* The ticker content */
.ticker {
    display: inline-block;
    animation: scroll-left 30s linear infinite; /* Infinite scrolling */
    white-space: nowrap;
}

/* Each company name */
.ticker span {
    display: inline-block;
    padding: 0 30px; /* Increased spacing between names */
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

/* Scrolling animation */
@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%); /* Scroll halfway for a continuous loop */
    }
}

#rotating-header {
    font-size: 2.5em;       /* Adjust the size as needed */
    font-weight: bold;      /* Keep the text bold for emphasis */
    color: white;           /* Make the text white */
    text-align: left;       /* Align the text to the left */
    margin: 20px;           /* Add some margin for spacing */
    animation: none;        /* Disable fade animation if not needed */
}

/* Optional: Add a fade effect for transitions */
@keyframes fadeInOut {
    0%, 20% { opacity: 0; }
    30%, 70% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

/* Dark charcoal background for the section Resources */
#resources {
    text-align: center;
    padding: 40px 20px;
    background: #2c2c2c; /* Dark charcoal */
    color: white; /* Default text color */
}

/* Header styling */
#resources .headerLine {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: white; /* White header text */
}

/* Marquee container */
.product-marquee {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 1em;
    font-weight: bold;
    color: white; /* Default white text */
}

/* Individual product name */
.product-marquee span {
    transition: color 0.3s ease;
}

/* Train-like color animation with white text changing to #2188ff */
@keyframes color-shift {
    0%, 20% { color: white; } /* Default white */
    30%, 70% { color: #2188ff; } /* Highlight color */
    80%, 100% { color: white; }
}

/* Apply animation to each span */
.product-marquee span:nth-child(1) { animation: color-shift 10s linear infinite; }
.product-marquee span:nth-child(2) { animation: color-shift 10s linear infinite 1s; }
.product-marquee span:nth-child(3) { animation: color-shift 10s linear infinite 2s; }
.product-marquee span:nth-child(4) { animation: color-shift 10s linear infinite 3s; }
.product-marquee span:nth-child(5) { animation: color-shift 10s linear infinite 4s; }
.product-marquee span:nth-child(6) { animation: color-shift 10s linear infinite 5s; }
.product-marquee span:nth-child(7) { animation: color-shift 10s linear infinite 6s; }
.product-marquee span:nth-child(8) { animation: color-shift 10s linear infinite 7s; }
.product-marquee span:nth-child(9) { animation: color-shift 10s linear infinite 8s; }
.product-marquee span:nth-child(10) { animation: color-shift 10s linear infinite 9s; }

section#featured-companies {
    padding-top: 50px; /* Adds space above the section */
    margin-top: 50px; /* Ensures spacing between sections */
}

@keyframes headerRotate {
    0%, 20% { content: "Innovate with Smart Living"; }
    20%, 40% { content: "Empower Your Home with Automation"; }
    40%, 60% { content: "Thrive in a Connected World"; }
    60%, 80% { content: "Simplify Your Life with Smart Tech"; }
    80%, 100% { content: "Enhance Security at Your Fingertips"; }
}

#rotating-header {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    text-align: left;
    margin: 20px;
    animation: fadeInOut 15s infinite; /* Adjust as needed */
}

footer .copyright {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the content horizontally */
    gap: 10px; /* Adds spacing between the text and the image */
}

footer .copyright img {
    max-width: 100px; /* Ensures the image doesn't exceed this width */
    height: auto;    /* Maintains aspect ratio */
}

footer {
    background-color: #333; /* Dark gray background */
    color: #fff; /* White text */
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Center horizontally */
    justify-content: center; /* Center vertically */
    text-align: center; /* Center align text */
    min-height: 100px; /* Optional: Add height if needed */
}

footer .copyright {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;    /* Center align text and image horizontally */
    gap: 10px; /* Space between the logo and text */
}

footer .footer-logo {
    max-width: 50px; /* Restrict the logo size */
    height: auto;    /* Maintain aspect ratio */
}
