/* Base Font Size (Desktop Defaults) */
html {
    font-size: 16px; /* 1rem = 16px */
}

body {
    font-size: 1rem; /* Default body font size: 16px */
    line-height: 1.6; /* Improve readability */
}

/* Headings */
h1 {
    font-size: 2.5rem; /* 40px */
    line-height: 1.2; /* Slightly tighter */
}

h2 {
    font-size: 2rem; /* 32px */
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem; /* 28px */
    line-height: 1.4;
}

p {
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    color : white;
}

/* Responsive Font Scaling for Smaller Devices */
@media (max-width: 768px) {
    html {
        font-size: 14px; /* 1rem = 14px, smaller scaling */
    }

    h1 {
        font-size: 2rem; /* 32px */
    }

    h2 {
        font-size: 1.75rem; /* 28px */
    }

    h3 {
        font-size: 1.5rem; /* 24px */
    }

    p {
        font-size: 0.9rem; /* 14px */
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px; /* 1rem = 12px, even smaller scaling */
    }

    h1 {
        font-size: 1.75rem; /* 28px */
    }

    h2 {
        font-size: 1.5rem; /* 24px */
    }

    h3 {
        font-size: 1.25rem; /* 20px */
    }

    p {
        font-size: 0.85rem; /* 13.6px */
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Base styles */
html, body {
    height: 100%; /* Full height for the viewport */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack header, main, and footer vertically */
    background-color: #222222; /* Dark background */
    color: #FFFFFF; /* Default text color */
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease; /* Smooth transition back */
    scroll-behavior:smooth;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000000;
    border-bottom: 2px solid #FFD700;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 50px;
        margin-right: 1rem;
    }

.company-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #FFD700;
}

.nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
}

    .nav a:hover {
        color: #50C878;
    }

/* Main content */
.content {
    flex: 1; /* Expand to fill the remaining space between header and footer */
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    box-sizing: border-box; /* Ensure padding is included in height/width calculations */
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    background-color: #000000;
    color: #FFD700;
    /*border-top: 2px solid #FFD700;*/
    margin-top: auto; /* Push the footer to the bottom of the page */
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

input, textarea, button {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

input, textarea {
    background-color: #333333;
    color: #FFFFFF;
}

button {
    background: linear-gradient(to right, #b4671c, #d69f58, #f3c97a); /* Adjust these colors to match the gradient */
    font-weight: bold; /* Optional: Enhance the font */
    color: #222222;
    cursor: pointer;
    font-size: 1.25em;
    transition: all 0.5s ease; /* Smooth transition back */
}

    button:not(.dropdown-toggle):not(.navbar-toggler):hover {
        background: linear-gradient(to right, #50c878, #8fdb8c, #aef3b5); /* Green gradient for hover effect */
    }
.navbar-toggler{
    max-width:fit-content;
}
/* Main Content Wrapper */
.page-container {
    display: flex;
    justify-content: center; /* Horizontally center content */
    align-items: center; /* Vertically center content */
    min-height: calc(100vh - 200px); /* Ensure full height minus header/footer */
    padding: 20px; /* Add some breathing space */
    box-sizing: border-box;
}

/* Inner Content Styling */
.page-content {
    max-width: 800px; /* Restrict content width for readability */
    width: 100%;
    background-color: #333333; /* Subtle contrast background for content */
    padding: 30px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    text-align: center; /* Center-align text */
}

    /* Headings */
    .page-content h1,
    .page-content h2 {
        font-family: 'Libre Baskerville', serif; /* Replace Playfair Display */
        color: #FFD700; /* Gold color for headings */
        margin-bottom: 20px;
    }

    /* Links */
    .page-content a {
        color: #50C878; /* Emerald green for links */
        text-decoration: none;
        font-weight: bold;
    }

        .page-content a:hover {
            color: #FFD700; /* Gold on hover */
            text-decoration: underline;
        }
/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Adjust link hover */
.navbar-nav .nav-link:hover {
    color: #50C878;
    text-decoration: underline;
}

/* Gold Bottom Border */
.g-bb {
    color: #FFD700;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #b4671c, #d69f58, #f3c97a) 1;
    background-clip: padding-box;
}

/* Gold Top Border */
.g-bt {
    color: #FFD700;
    border-top: 2px solid transparent;
    border-image: linear-gradient(to right, #b4671c, #d69f58, #f3c97a) 1;
    background-clip: padding-box;
}

/* Gold Left Border */
.g-bl {
    color: #FFD700;
    border-left: 2px solid transparent;
    border-image: linear-gradient(to bottom, #b4671c, #d69f58, #f3c97a) 1;
    background-clip: padding-box;
}

/* Gold Right Border */
.g-br {
    color: #FFD700;
    border-right: 2px solid transparent;
    border-image: linear-gradient(to bottom, #b4671c, #d69f58, #f3c97a) 1;
    background-clip: padding-box;
}