/* Font Face */
@font-face {
    font-family: 'Rubik';
    src: url('https://www.dharoharheritagecollege.info/font/Rubik/Rubik-VariableFont_wght.ttf');
}

/* Global Styles */
html, body {
    margin: 0;
}

body {
    background-color: #2F4F4F;
    color: #F0FFF0;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
}

a {
    color: #F0FFF0;
    text-decoration: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

img {
    width: 100%;
}

/* Form Elements */
input[type="text"],
input[type="date"],
textarea,
select,
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="submit"] {
    -webkit-border-radius: 0;
}

.h-input-set {
    margin: 7px auto 0;
}

.h-input-set label {
    font-size: 11px;
    text-transform: uppercase;
}

.h-input-text,
.h-input-select {
    background-color: #3C6752;
    border: 1px inset #3C6752;
    border-radius: 0;
    box-sizing: border-box;
    color: #F0FFF0;
    padding: 12px;
    width: 100%;
}

/* Header Styles */
.h-container-header {
    background-color: #3C6752;
    padding: 16px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.h-content-header {
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 1100px;
    padding: 0 32px;
}

.h-logo {
    font-size: 20px;
    text-transform: uppercase;
}

/* Navigation Menu */
.h-menu-header {
    display: none;
}

.h-link-header {
    color: #F0FFF0;
    display: inline-block;
    font-size: 14px;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.h-link-header:hover {
    color: #98FF98;
}

.h-link-header i {
    margin-left: 5px;
    vertical-align: middle;
}

.h-menu-header .h-dropdown {
    display: inline-block;
    position: relative;
}

.h-dropdown-content {
    background-color: #3C6752;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: none;
    position: absolute;
    z-index: 1;
}

.h-dropdown-content a {
    color: #F0FFF0;
    display: block;
    padding: 8px 16px;
    text-align: left;
    text-transform: uppercase;
}

.h-dropdown-content a:hover {
    background-color: #8FBC8F;
}

/* Mobile Menu */
.h-bar-x {
    display: inline-block;
    padding: 10px;
}

#menu_opener,
#menu_x {
    color: #F0FFF0;
    font-size: 20px;
}

#menu_x {
    display: none;
    padding: 10px;
}

#menu {
    background-color: #3C6752;
    display: none;
    padding: 10px 0;
}

.h-link-menu {
    align-items: center;
    color: #F0FFF0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    text-transform: uppercase;
}

.h-link-menu i {
    margin-left: 5px;
}

#menu .h-dropdown {
    position: relative;
}

#menu .h-dropdown-content {
    background-color: #3C6752;
    box-shadow: none;
    display: none;
    position: relative;
}

/* Buttons */
.h-button {
    background-color: #8FBC8F;
    border: 1px solid #8FBC8F;
    box-sizing: border-box;
    color: #2F4F4F;
    display: inline-block;
    font-size: 18px;
    padding: 8px 24px;
    text-transform: uppercase;
}

.h-button-screen {
    background-color: #3C6752;
    border: 1px outset #F0FFF0;
    box-sizing: border-box;
    color: #F0FFF0;
    display: inline-block;
    font-size: 20px;
    padding: 8px 24px;
    text-transform: uppercase;
}

.h-button-screen-2 {
    background-color: #8FBC8F;
    border: 1px outset #3C6752;
    border-radius: 27px;
    box-sizing: border-box;
    color: #2F4F4F;
    display: inline-block;
    font-size: 18px;
    margin: 0 0 5px;
    padding: 10px 24px;
    text-transform: uppercase;
}

.h-button-form {
    background-color: #8FBC8F;
    border: 1px solid #8FBC8F;
    box-sizing: border-box;
    color: #2F4F4F;
    display: block;
    font-size: 18px;
    padding: 10px 24px;
    text-transform: uppercase;
    width: 100%;
}

.h-button-pagination-arrow {
    box-sizing: border-box;
    display: inline-block;
    font-size: 18px;
    padding: 3px;
    text-transform: uppercase;
}

.h-button-pagination-page {
    background-color: #8FBC8F;
    border: 1px solid #8FBC8F;
    box-sizing: border-box;
    color: #2F4F4F;
    display: inline-block;
    font-size: 18px;
    padding: 4px 8px;
    text-transform: uppercase;
}

.h-button-pagination-current {
    border: 1px solid #F0FFF0;
    box-sizing: border-box;
    display: inline-block;
    font-size: 18px;
    padding: 4px 8px;
    text-transform: uppercase;
}

/* Typography */
.h-heading {
    font-size: 40px;
    margin: 0;
}

.h-heading-2,
.h-heading-form,
.h-heading-support,
.h-heading-article {
    font-size: 23px;
    margin: 0;
}

.h-heading-screen {
    font-size: 30px;
    text-transform: uppercase;
}

.h-heading-screen-inside {
    font-size: 25px;
}

.h-heading-footer {
    font-size: 20px;
    text-transform: uppercase;
}

.h-heading-thumbnail {
    font-size: 23px;
    margin: 10px 0 0;
}

.h-text-big {
    font-size: 18px;
}

.h-text-small {
    font-size: 13px;
}

/* Utility Classes */
.h-tag {
    background-color: #98FF98;
    box-sizing: border-box;
    display: inline-block;
    font-size: 11px;
    padding: 7px;
    text-transform: uppercase;
}

.h-phone-country {
    width: 50px;
}

.h-link-underline {
    border-bottom: 1px solid #F0FFF0;
}

.h-link-footer {
    display: block;
    font-size: 14px;
    margin: 5px 0 0;
    text-transform: uppercase;
}

/* Containers */
.h-container {
    box-sizing: border-box;
    padding: 32px 0;
}

.h-container-footer {
    background-color: #3C6752;
    box-sizing: border-box;
    padding: 48px 0;
}

.h-container-footer-link {
    margin: 16px 0 0;
}

.h-container-footer-bottom {
    background-color: #2F4F4F;
    box-sizing: border-box;
    padding: 10px 0;
}

.h-container-screen {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    color: #F0FFF0;
    margin: 65px auto 0;
    padding: 48px 0;
}

.h-container-screen-2 {
    background-color: #8FBC8F;
    box-sizing: border-box;
    padding: 32px 0;
}

.h-container-screen-3 {
    background-color: #FFFFFF;
    box-sizing: border-box;
    color: #2F4F4F;
    padding: 32px 0;
}

.h-container-screen-inside {
    background-color: #98FF98;
    box-sizing: border-box;
    color: #2F4F4F;
    margin: 65px auto 0;
    padding: 32px 0;
}

.h-container-form,
.h-container-support,
.h-container-article {
    box-sizing: border-box;
    padding: 16px 0;
}

/* Content Sections */
.h-content,
.h-content-footer,
.h-content-footer-bottom,
.h-content-screen,
.h-content-screen-2,
.h-content-screen-inside,
.h-content-form,
.h-content-support,
.h-content-article {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 32px;
}

.h-content-footer-bottom {
    font-size: 11px;
}

.h-content-thumbnail {
    box-sizing: border-box;
    display: table;
    margin: 0 auto;
    padding: 0 32px;
}

/* Layout Utilities */
.h-row {
    display: table;
    width: 100%;
}

.h-row-gap {
    height: 16px;
    width: 100%;
}

.h-column-gap {
    display: none;
}

.h-column-gap-tall {
    height: 16px;
    width: 2%;
}

/* Slideshow Styles */
.h-slideshow {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
}

.h-slideshow-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.h-slide {
    flex: 0 0 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.h-slide.active {
    opacity: 1;
    position: relative;
}

.h-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.h-content-screen {
    position: relative;
    z-index: 1;
    text-align: center;
}

.h-heading-screen,
.h-description-screen,
.h-button-screen {
    position: relative;
    z-index: 1;
}

/* Media Queries */

/* Desktop (min-width: 700px) */
@media screen and (min-width: 700px) {
    .h-slideshow {
        height: 400px;
    }

    .h-menu-header {
        display: inline-block;
    }

    .h-bar-x {
        display: none;
    }

    #menu {
        display: none !important;
    }

    .h-dropdown:hover .h-dropdown-content {
        display: block;
    }

    .h-text-big {
        font-size: 23px;
    }

    .h-quarter { float: left; width: 23.5%; }
    .h-half { float: left; width: 49%; }
    .h-third { float: left; width: 32%; }
    .h-two-third { float: left; width: 66%; }

    .h-column-gap {
        display: block;
        float: left;
        height: 1px;
        width: 2%;
    }

    .h-column-gap-tall {
        float: left;
    }

    .h-button-screen { font-size: 28px; }
    .h-button-screen-2 { font-size: 20px; }
    .h-heading-screen { font-size: 57px; }
    .h-heading-screen-inside { font-size: 40px; }
    .h-heading-form,
    .h-heading-support,
    .h-heading-article { font-size: 40px; }

    .h-container-screen { padding: 60px 0; }
    .h-container-screen-2,
    .h-container-screen-3 { padding: 48px 0; }

    .h-content,
    .h-content-header,
    .h-content-footer,
    .h-content-footer-bottom,
    .h-content-screen,
    .h-content-screen-2,
    .h-content-screen-inside,
    .h-content-form,
    .h-content-support,
    .h-content-article,
    .h-content-thumbnail {
        max-width: 1100px;
    }

    .h-description-screen { font-size: 23px; }
}

/* Mobile (max-width: 699px) */
@media screen and (max-width: 699px) {
    #menu .h-dropdown.active .h-dropdown-content {
        display: block;
    }

    .h-link-menu i {
        margin-left: 0;
        margin-right: 5px;
    }
}