/* 1. RESET: Removes default spacing browsers add */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;   /*it restricts the browser to expand the size (after adding padding etc) beyond your content need.*/
}

/* 2. BODY: Sets the dark theme */
body {
    font-family: 'Courier New', monospace; /* Looks like code */
    background-color: #0b0c10; /* Very Dark Grey */
    color: #c5c6c7; /* Light Grey Text */
}

/* 3. NAVBAR STYLING */
.navbar {
    display: flex; /* VIVA TOPIC: Puts logo and links in a row */
    justify-content: space-between; /* Pushes logo to left, links to right */
    align-items: center; /* Centers them vertically */
    padding: 20px 50px;
    background-color: #1f2833; /* Slightly lighter dark for contrast */
    border-bottom: 2px solid #ff4d4d; /* Neon Cyan border */
}

.logo {
    display: flex;           /* Puts image and text in a row */
    align-items: center;     /* Aligns them vertically in the middle */
    font-size: 28px;
    font-weight: bold;
    color: white;
    gap: 15px;               /* Adds space between the image and the text */
}

/* This controls the size of your logo image */
.logo img {
    height: 55px;            /* Adjust this number to make it bigger/smaller */
    width: auto;             /* Maintains the aspect ratio */
}

.accent {
    color: #66fcf1; /* Neon Cyan color for "GUARD" */
}

/* 4. LINKS STYLING */
.nav-links {
    list-style: none; /* Removes bullet points */
    display: flex; /* Puts the list items in a row */
}

.nav-links li {
    margin-left: 20px; /* Space between links */
}

.nav-links a {
    text-decoration: none; /* Removes underline */
    color: white;
    font-size: 18px;
    transition: 0.3s; /* Makes hover effect smooth */
}

/* Hover Effect: Changes color when mouse is over link */
.nav-links a:hover {
    color: #66fcf1;
}

/* Active Class: Shows which page is currently open */
.nav-links a.active {
    border-bottom: 2px solid #66fcf1;
}
/* 5. HERO SECTION STYLING */
.hero {
    /* Height = 90% of the viewport height (screen size) */
    height: 90vh; 
    
    /* Background Image with a Dark Overlay */
    /* usage: linear-gradient(color1, color2), url(image) */
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('bg.png');
    background-size: cover;     /* Ensures image covers the whole area */
    background-position: center; /* Centers the image */
    
    /* Flexbox to center the text exactly in the middle */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #cccccc;
}

/* 6. BUTTON STYLING */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff0000; /* RED Button */
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px; /* Slightly rounded corners */
    transition: 0.3s;
    border: 2px solid #ff0000;
}

/* Button Hover Effect */
.btn:hover {
    background-color: transparent; /* Makes background see-through */
    color: #ff0000; /* Text turns RED */
}
/* 7. SERVICES SECTION */
.services-section {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 40px;
    color: white;
    margin-bottom: 50px;
}

/* 8. CARDS CONTAINER (The Grid) */
.cards-container {
    display: flex;
    justify-content: center; /* Centers cards in the middle */
    flex-wrap: wrap;         /* Allows cards to move to next line on small screens */
    gap: 30px;               /* Space between cards */
}

/* 9. INDIVIDUAL CARD STYLE */
.card {
    background-color: #1f2833; /* Dark Grey background */
    border: 1px solid #ff0000; /* Red Border */
    width: 250px;              /* Fixed width for uniform look */
    padding: 30px;
    border-radius: 10px;       /* Rounded corners */
    transition: 0.4s;          /* Smooth animation speed */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); /* Black shadow underneath */
}

/* HOVER EFFECT: The "Lift Up" Animation */
.card:hover {
    transform: translateY(-10px); /* Moves card UP by 10 pixels */
    background-color: #2c3e50;    /* Slightly lighter color on hover */
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2); /* Red glow shadow */
}

.icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.card h3 {
    color: white;
    margin-bottom: 15px;
}

.card p {
    color: #c5c6c7;
    font-size: 14px;
}

/* 10. PRICING SECTION */
.pricing-section {
    padding: 50px 20px;
    text-align: center;
}

/* Centers the table and allows scrolling on small screens */
.table-container {
    overflow-x: auto; /* Adds scroll bar if screen is too small */
    margin: 0 auto;
    width: 80%;
}

/* 11. TABLE STYLING */
table {
    width: 100%;
    border-collapse: collapse; /* Removes double borders */
    background-color: #1f2833;
    color: white;
    border: 1px solid #ff0000; /* Red Border around table */
}

/* Style the Header Row */
th {
    background-color: #ff0000; /* Red Header */
    color: white;
    padding: 15px;
    font-size: 18px;
}

/* Style the Data Cells */
td {
    padding: 15px;
    border-bottom: 1px solid #45a29e; /* Thin line between rows */
}

/* Hover Effect: Highlight the row your mouse is on */
tr:hover {
    background-color: #2c3e50;
}
/* 12. ABOUT PAGE STYLES */
.about-section {
    padding: 50px;
    text-align: center;
    color: #c5c6c7;
}

/* . MISSION & VISION STYLES */
.mission-vision-container {
    display: flex;
    justify-content: center; /* Puts boxes in the middle */
    gap: 30px;               /* Space between them */
    margin-top: 50px;
    flex-wrap: wrap;         /* Wraps on mobile */
}

.mv-box {
    background-color: #1f2833; /* Dark Grey */
    border-left: 5px solid #ff0000; /* Red stripe on the left side only */
    padding: 30px;
    width: 45%;              /* Each box takes up nearly half the width */
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* On small screens, make the boxes full width */
@media (max-width: 768px) {
    .mv-box {
        width: 100%;
    }
}

/* 13. CONTACT FORM STYLES */
.contact-section {
    padding: 50px 20px;
    text-align: center;
}

.form-container {
    max-width: 500px; /* Limits width so it doesn't stretch too wide */
    margin: 0 auto;   /* Centers the form */
    background-color: #1f2833;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

form {
    display: flex;
    flex-direction: column; /* Stacks inputs vertically */
    text-align: left;
}

label {
    color: white;
    margin-bottom: 5px;
    margin-top: 15px;
}

/* Style the Inputs and Textarea */
input, textarea {
    padding: 10px;
    background-color: #0b0c10;
    border: 1px solid #45a29e;
    color: white;
    font-family: 'Courier New', monospace; /* Hacker Font */
    border-radius: 5px;
    resize: none;
}

/* Change border to RED when you click inside */
input:focus, textarea:focus {
    outline: none;
    border-color: #ff0000;
}